1 2014-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7 and remove it for 32 bits case.
8 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
12 Disable lock elision with rdlocks if elision is not available.
14 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15 (sysdep_routines): Add lock elision objects.
16 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17 [pthread_mutex_t] (__spins): Rework to add lock elision field.
18 [pthread_mutex_t] (__elision): Add field.
19 [__PTHREAD_SPINS]: Adjust to init lock elision field.
20 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
21 elision definitions for powerpc.
22 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23 implementation of lock elision for powerpc.
24 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25 implementation of timed lock elision for powerpc.
26 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27 implementation of trylock with lock elision for powerpc.
28 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29 implementaion of unlock for lock elision for powerpc.
30 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
31 automatic enable lock elision for mutexes.
32 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33 transaction execution definitions for powerpc.
34 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
36 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
38 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
42 2015-01-09 Roland McGrath <roland@hack.frob.com>
44 * sysdeps/posix/shm-directory.c: Use <> rather than ""
45 for #include of <shm-directory.h>.
47 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
49 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
50 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
52 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
55 * NEWS: Mention bug fix.
56 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
57 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
58 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
60 2015-01-09 Torvald Riegel <triegel@redhat.com>
62 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
64 2015-01-09 Torvald Riegel <triegel@redhat.com>
66 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
68 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
70 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
71 pointer and cast to uintptr_t.
73 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
75 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
77 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
79 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
81 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
84 2015-01-08 Roland McGrath <roland@hack.frob.com>
86 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
87 <nptl/pthreadP.h> instead.
88 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
90 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
92 [__SIGRTMIN] (init): Function removed.
93 [__SIGRTMIN] (initialized): Variable removed.
94 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
95 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
96 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
97 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
98 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
99 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
100 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
101 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
102 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
103 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
104 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
105 * sysdeps/nptl/allocrtsig.c: New file.
106 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
107 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
108 * sysdeps/generic/testrtsig.h: File removed.
110 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
111 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
113 * nptl/nptl-init.c (pthread_functions): Conditionalize
114 .ptr__nptl_setxid initialization on [SIGSETXID].
116 * sysdeps/nptl/sys/procfs.h: New file.
117 * nptl_db/Makefile (headers): Add it.
118 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
120 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
121 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
122 * nptl/pthread_attr_setaffinity.c: Include it.
123 * nptl/pthread_setattr_default_np.c: Likewise.
124 * nptl/check-cpuset.h: New file.
126 2015-01-08 Richard Henderson <rth@redhat.com>
128 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
129 (CFLAGS-tst-execstack-prog.c): Likewise.
130 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
132 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
133 Sandra Loosemore <sandra@codesourcery.com>
134 Andrew Jenner <andrew@codesourcery.com>
135 Joseph Myers <joseph@codesourcery.com>
136 Nathan Sidwell <nathan@codesourcery.com>
138 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
139 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
140 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
141 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
142 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
143 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
144 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
145 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
146 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
147 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
148 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
149 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
150 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
151 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
152 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
153 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
154 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
156 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
159 timespec struct member in syscall macro.
160 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
161 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
162 first timeval struct member in syscall macro.
163 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
165 2015-01-07 Joseph Myers <joseph@codesourcery.com>
168 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
169 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
170 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
171 __feupdateenv and define as weak alias of __feupdateenv. Use
173 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
175 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
176 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
177 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
178 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
180 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
181 __feupdateenv and define as weak alias of __feupdateenv. Use
183 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
185 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
186 __feupdateenv and define as weak alias of __feupdateenv. Use
188 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
190 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
191 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
192 (__feupdateenv): Likewise.
193 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
194 __feupdateenv and define as weak alias of __feupdateenv. Use
196 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
197 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
199 * sysdeps/tile/math_private.h (__feupdateenv): New inline
201 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
203 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
204 __feupdateenv instead of feupdateenv.
205 (default_libc_feupdateenv_test): Likewise.
206 (libc_feresetround_ctx): Likewise.
208 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
210 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
213 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
215 * posix/regcomp.c (parse_bracket_exp): Initialize type to
216 COLL_SYM in a couple of places to avoid uninitialized variable
217 wanings on tilegx gcc 4.8.2.
219 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
221 * sysdeps/aarch64/strcpy.S: New file.
222 * sysdeps/aarch64/stpcpy.S: New file.
225 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
227 * sysdeps/aarch64/strrchr.S: New file.
230 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
233 * stdlib/setenv.c: Fix memory leak when setting large,
236 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
239 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
240 and tabs from buffer before parsing fstab entry.
241 * misc/tst-mntent.c (main): Add test for mount entry with
242 trailing spaces and tabs.
244 2015-01-06 Joseph Myers <joseph@codesourcery.com>
247 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
248 * math/fesetround.c (fesetround): Rename to __fesetround and
249 define as weak alias of __fesetround. Use libm_hidden_weak.
250 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
251 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
252 * sysdeps/arm/fesetround.c (fesetround): Likewise.
253 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
254 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
255 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
256 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
257 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
258 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
260 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
261 __fesetround_inline instead of __fesetround.
262 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
263 __fesetround and define as weak alias of __fesetround. Use
264 libm_hidden_weak. Call __fesetround_inline instead of
266 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
267 __fesetround and define as weak alias of __fesetround. Use
269 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
271 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
272 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
273 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
274 * sysdeps/tile/math_private.h (__fesetround): New inline function.
275 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
276 __fesetround and define as weak alias of __fesetround. Use
278 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
279 __fesetround instead of fesetround.
280 (default_libc_feholdexcept_setround): Likewise.
281 (libc_feholdsetround_ctx): Likewise.
282 (libc_feholdsetround_noex_ctx): Likewise.
285 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
286 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
287 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
288 and define as weak alias of __fesetenv. Use libm_hidden_weak.
289 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
290 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
291 define as weak alias of __fesetenv. Use libm_hidden_weak.
292 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
293 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
294 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
295 define as weak alias of __fesetenv. Use libm_hidden_weak.
296 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
297 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
298 define as weak alias of __fesetenv. Use libm_hidden_weak.
299 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
301 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
302 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
304 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
305 define as weak alias of __fesetenv. Use libm_hidden_weak.
306 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
307 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
308 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
309 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
310 and define as weak alias of __fesetenv. Use libm_hidden_weak.
311 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
312 __fesetenv instead of fesetenv.
313 (libc_feresetround_noex_ctx): Likewise.
314 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
315 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
316 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
317 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
318 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
319 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
320 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
321 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
322 (__feupdateenv): Likewise.
323 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
324 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
325 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
326 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
328 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
331 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
332 addresses have been freed.
334 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
336 * resolv/res_init.c (__res_vinit): Improve comments about nserv
339 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
341 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
342 Clean up check_pf allocation pattern. addresses
344 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
347 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
348 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
349 * nptl/pthread_exit.c (__pthread_exit): Likewise.
350 * nptl/pthread_join.c (pthread_join): Likewise.
351 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
352 * sysdeps/posix/waitid.c (__waitid): Likewise.
353 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
354 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
355 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
356 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
357 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
359 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
360 (__libc_pread64): Likewise.
361 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
362 (__libc_pwrite): Likewise.
363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
364 (__libc_pwrite64): Likewsie.
365 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
366 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
367 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
368 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
369 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
370 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
371 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
375 (__libc_pread64): Likewise.
376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
379 (__libc_pwrite64): Likewise.
380 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
381 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
382 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
383 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
384 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
385 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
386 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
387 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
388 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
389 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
390 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
391 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
392 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
393 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
394 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
395 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
398 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
400 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
401 (CFLAGS-test-double.c): Likewise.
402 (CFLAGS-test-ldouble.c): Likewise.
403 (CPPFLAGS-test-ifloat.c): Likewise.
404 (CPPFLAGS-test-idouble.c): Likewise.
405 (CPPFLAGS-test-ildoubl.c): Likewise.
406 (CFLAGS-test-test-fenv.c): Remove variable.
407 (CFLAGS-test-misc.c): Likewise.
409 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
412 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
413 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
414 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
415 CLOCKS_PER_SEC == 1000000.
416 * time/clocktest.c (main): Replace %ld with %jd and cast to
419 2015-01-05 Roland McGrath <roland@hack.frob.com>
421 * sysdeps/generic/unwind-resume.h: New file.
422 * sysdeps/gnu/unwind-resume.c: Include it.
423 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
424 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
426 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
427 global rather than static.
428 (_Unwind_Resume): Update user.
429 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
430 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
431 rather than static. Add __attribute__ ((cold)).
432 (_Unwind_Resume, __gcc_personality_v0): Update callers.
433 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
434 * sysdeps/arm/arm-unwind-resume.S: New file.
435 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
436 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
437 * sysdeps/arm/Makefile [$(subdir) = csu]
438 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
439 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
440 Add rt-arm-unwind-resume.
442 (libpthread-sysdep_routines, libpthread-shared-only-routines):
443 Add pt-arm-unwind-resume.
444 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
445 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
447 2015-01-05 Joseph Myers <joseph@codesourcery.com>
450 * include/fenv.h (__feholdexcept): Declare. Use
452 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
453 define as weak alias of __feholdexcept. Use libm_hidden_weak.
454 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
455 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
456 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
457 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
458 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
459 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
460 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
461 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
462 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
463 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
464 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
465 (feholdexcept): Likewise.
466 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
467 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
468 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
469 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
470 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
471 __feholdexcept instead of feholdexcept.
472 (default_libc_feholdexcept_setround): Likewise.
474 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
476 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
477 to avoid using stl/str to align destination.
479 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
481 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
483 2015-01-05 Joseph Myers <joseph@codesourcery.com>
486 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
487 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
488 Define as weak alias not strong alias.
490 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
492 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
496 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
498 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
499 for __vdso_* functions in declarations.
500 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
502 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
503 INTERNAL_VSYSCALL): Use struct return types to check for error.
505 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
506 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
507 function with cast from llround().
508 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
509 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
512 2015-01-05 Joseph Myers <joseph@codesourcery.com>
515 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
516 Define as weak alias not strong alias.
519 * ctype/ctype-c99.c: New file. isblank implementation moved from
521 * ctype/ctype-extn.c: ... here.
522 (__isblank_l): Move to ...
523 * ctype/ctype-c99_l.c: ... here. New file.
524 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
525 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
527 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
528 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
529 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
530 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
531 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
534 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
535 (posix_fadvise64): Define as weak alias not strong alias.
536 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
537 (posix_fallocate64): Likewise.
538 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
540 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
541 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
542 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
543 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
544 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
546 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
549 * NEWS: Mention bug fix.
550 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
551 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
552 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
553 (HOST_STACK_END_ADDR): Likewise.
555 2015-01-02 Joseph Myers <joseph@codesourcery.com>
558 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
559 * math/fegetround.c (fegetround): Rename to __fegetround and
560 define as weak alias of __fegetround. Use libm_hidden_weak.
561 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
562 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
563 * sysdeps/arm/fegetround.c (fegetround): Likewise.
564 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
565 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
566 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
567 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
568 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
569 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
570 Undefine after rather than before function definition; use
571 parentheses around function name in definition.
572 (__fegetround): Also undefine macro after function definition.
573 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
574 __fegetround and define as weak alias of __fegetround. Use
575 libm_hidden_weak. Do not undefine as macro.
576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
578 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
579 __fegetround and define as weak alias of __fegetround. Use
581 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
582 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
583 * sysdeps/tile/math_private.h (__fegetround): New inline function.
584 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
585 __fegetround and define as weak alias of __fegetround. Use
587 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
588 __fegetround instead of fegetround.
591 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
592 Condition macro definition on [__USE_MISC].
595 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
596 (struct sigaction): Change type of sa_flags field to int.
599 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
600 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
603 * nptl/version.c (banner): Use single year in copyright notice.
605 * NEWS: Update copyright dates.
606 * catgets/gencat.c (print_version): Likewise.
607 * csu/version.c (banner): Likewise.
608 * debug/catchsegv.sh: Likewise.
609 * debug/pcprofiledump.c (print_version): Likewise.
610 * debug/xtrace.sh (do_version): Likewise.
611 * elf/ldconfig.c (print_version): Likewise.
612 * elf/ldd.bash.in: Likewise.
613 * elf/pldd.c (print_version): Likewise.
614 * elf/sotruss.sh: Likewise.
615 * elf/sprof.c (print_version): Likewise.
616 * iconv/iconv_prog.c (print_version): Likewise.
617 * iconv/iconvconfig.c (print_version): Likewise.
618 * locale/programs/locale.c (print_version): Likewise.
619 * locale/programs/localedef.c (print_version): Likewise.
620 * login/programs/pt_chown.c (print_version): Likewise.
621 * malloc/memusage.sh (do_version): Likewise.
622 * malloc/memusagestat.c (print_version): Likewise.
623 * malloc/mtrace.pl: Likewise.
624 * manual/libc.texinfo: Likewise.
625 * nptl/version.c (banner): Likewise.
626 * nscd/nscd.c (print_version): Likewise.
627 * nss/getent.c (print_version): Likewise.
628 * nss/makedb.c (print_version): Likewise.
629 * posix/getconf.c (main): Likewise.
630 * scripts/test-installation.pl: Likewise.
631 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
633 2015-01-02 Will Newton <will.newton@linaro.org>
635 * sysdeps/arm/armv7/configure: Removed.
636 * sysdeps/arm/armv7/configure.ac: Likewise.
638 2015-01-02 Joseph Myers <joseph@codesourcery.com>
640 * All files with FSF copyright notices: Update copyright dates
641 using scripts/update-copyrights.
642 * intl/plural.c: Regenerated.
643 * locale/programs/charmap-kw.h: Likewise.
644 * locale/programs/locfile-kw.h: Likewise.
646 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
648 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
650 2014-12-31 Joseph Myers <joseph@codesourcery.com>
653 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
654 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
655 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
656 and define as weak alias of __fegetenv. Use libm_hidden_weak.
657 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
658 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
659 define as weak alias of __fegetenv. Use libm_hidden_weak.
660 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
661 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
662 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
663 define as weak alias of __fegetenv. Use libm_hidden_weak.
664 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
665 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
666 define as weak alias of __fegetenv. Use libm_hidden_weak.
667 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
669 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
670 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
672 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
673 define as weak alias of __fegetenv. Use libm_hidden_weak.
674 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
675 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
676 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
677 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
678 and define as weak alias of __fegetenv. Use libm_hidden_weak.
679 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
680 __fegetenv instead of fegetenv.
681 (libc_feholdsetround_noex_ctx): Likewise.
683 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
685 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
686 (Elf_MIPS_ABIFlags_v0): New structure.
687 (EF_MIPS_FP64): Define.
688 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
689 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
690 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
691 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
692 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
693 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
694 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
695 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
696 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
697 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
698 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
699 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
700 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
701 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
702 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
703 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
704 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
705 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
706 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
707 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
708 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
709 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
711 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
713 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
714 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
715 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
716 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
717 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
718 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
719 * sysdeps/mips/tst-abi-interlink.c: Likewise.
720 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
721 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
722 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
723 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
724 record the current FP ABI extension.
725 (mips-mode-switch): Define to show if kernel headers support mode
727 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
728 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
729 supported SYSV ABI version to 3.
730 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
733 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
734 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
736 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
738 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
740 2014-12-31 Joseph Myers <joseph@codesourcery.com>
742 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
743 __fegetround and redefine to call __fegetround. Remove condition
744 on [!__NO_MATH_INLINES].
745 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
747 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
751 instead of <fenv_libc.h>.
752 (__llrintl): Call fegetround instead of __fegetround.
753 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
754 instead of <fenv_libc.h>.
755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
756 (__lrintl): Call fegetround instead of __fegetround.
757 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
758 instead of <fenv_libc.h>.
759 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
760 (__rintl): Call fegetround instead of __fegetround.
762 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
764 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
767 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
770 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
771 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
772 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
774 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
776 * sysdeps/i386/tls-macros.h: Include <features.h>.
777 (TLS_LE): Use non-PIC version for GCC >= 5.0.
781 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
782 define for GCC >= 5.0.
784 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
786 * math/test-fenv.c (test_single_exception, set_single_exc,
787 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
788 feexcp_mask_test, feenable_test, fe_single_test): Add
789 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
790 case where they are not used.
791 * math/libm-test.inc: Likewise.
792 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
793 unused in the absence of FP rounding/exception support.
794 * stdio-common/tst-printf-round.c: Likewise.
795 * stdlib/tst-strtod-round.c: Likewise.
796 * stdlib/tst-strtod-underflow.c: Likewise.
798 2014-12-30 Joseph Myers <joseph@codesourcery.com>
801 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
802 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
803 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
804 __feraiseexcept and define as weak alias of __feraiseexcept. Use
806 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
807 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
808 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
810 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
811 __feraiseexcept and define as weak alias of __feraiseexcept. Use
813 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
815 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
816 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
817 __feraiseexcept and define as weak alias of __feraiseexcept. Use
819 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
821 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
822 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
823 (__feraiseexcept): Likewise.
824 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
825 __feraiseexcept and define as weak alias of __feraiseexcept. Use
827 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
828 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
830 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
831 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
833 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
835 (feraiseexcept): Define as weak not strong alias. Use
837 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
838 New inline function. Factored out of ...
839 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
840 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
841 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
843 * math/w_acos.c (__acos): Likewise.
844 * math/w_asin.c (__asin): Likewise.
845 * math/w_ilogb.c (__ilogb): Likewise.
846 * math/w_j0.c (y0): Likewise.
847 * math/w_j1.c (y1): Likewise.
848 * math/w_jn.c (yn): Likewise.
849 * math/w_log.c (__log): Likewise.
850 * math/w_log10.c (__log10): Likewise.
851 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
852 * sysdeps/aarch64/fpu/math_private.h
853 (libc_feupdateenv_test_aarch64): Likewise.
854 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
855 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
856 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
857 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
858 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
859 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
860 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
861 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
862 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
863 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
865 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
868 * io/test-utime.c (main): Replace %ld with %jd and cast to
870 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
871 * nptl/tst-mutex5.c: Include <stdint.h>.
872 (do_test): Replace %ld with %jd and cast to intmax_t.
873 * posix/tst-regex.c (run_test): Likewise.
874 (run_test_backwards): Likewise.
875 * rt/tst-clock.c: Include <stdint.h>.
876 (clock_test): Replace %ld with %jd and cast to intmax_t.
877 * rt/tst-cpuclock1.c: Include <stdint.h>.
878 (do_test): Replace %lu with %ju and cast to uintmax_t.
879 * rt/tst-cpuclock2.c: Include <stdint.h>.
880 (do_test): Replace %lu with %ju and cast to uintmax_t.
881 * rt/tst-mqueue1.c: Include <stdint.h>.
882 (check_attrs): Replace %ld with %jd and cast to intmax_t.
883 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
885 * rt/tst-mqueue4.c (do_test): Likewise.
886 * rt/tst-timer4.c: Include <stdint.h>.
887 (check_ts): Replace %ld with %jd and cast to intmax_t.
889 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
890 and cast to intmax_t.
891 * sysdeps/pthread/tst-timer.c (main): Likewise.
892 * time/clocktest.c (main): Likewise.
893 * time/tst-posixtz.c (do_test): Likewise.
894 * timezone/tst-timezone.c (main): Likewise.
896 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
897 H.J. Lu <hongjiu.lu@intel.com>
899 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
900 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
901 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
902 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
903 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
904 version if bit_Fast_Unaligned_Load is set.
905 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
906 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
907 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
908 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
909 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
910 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
912 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
913 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
914 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
916 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
917 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
918 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
919 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
921 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
923 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
924 instead of #if to avoid a Wundef warning.
925 * stdlib/tst-limits.c (do_test): Likewise.
927 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
928 parallel other exception macros.
929 (fegetenv): Convert from macro to extern inline so that it applies
930 retroactively to inline functions already seen by the compiler.
931 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
933 * posix/Makefile (before-compile): Use $(objpfx) for
934 posix-conf-vars-def.h.
936 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
938 * posix/getconf.c (main): Use size_t for type of I.
939 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
942 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
943 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
944 * posix/posix-envs.def: Likewise.
945 * sysdeps/posix/sysconf.c: Likewise.
946 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
947 (specs): Remove array.
948 * scripts/gen-posix-conf-vars.awk: Support generation of specs
951 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
952 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
953 (__sysconf): Use CONF_IS_* macros.
955 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
956 ($(objpfx)posix-conf-vars-def.h): New target.
957 * posix/posix-conf-vars.list: New file.
958 * posix/posix-conf-vars.h: New file.
959 * posix/confstr.c: Include posix-conf-vars.h.
960 (confstr): Use CONF_IS_* macros.
961 * posix/posix-envs.def: Include posix-conf-vars.h. Use
963 * scripts/gen-posix-conf-vars.awk: New file.
965 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
967 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
968 fegetround): Add no-op macros to avoid linknamespace issues.
970 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
971 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
973 * sysdeps/unix/sysv/linux/tile/sysdep.h
974 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
975 assembly-specific section to avoid a redefinition warning.
977 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
978 long before casting to pointer to avoid a cast warning.
980 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
982 * sysdeps/tile/tilegx/Implies: New file.
984 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
986 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
988 2014-12-23 Florian Weimer <fweimer@redhat.com>
990 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
992 2014-12-22 Joseph Myers <joseph@codesourcery.com>
994 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
996 * sysdeps/unix/sysv/linux/utimes.c: Do not include
998 (__utimes) [__NR_utimes]: Make code unconditional.
999 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1000 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1001 (__ASSUME_UTIMES): Do not undefine.
1002 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1003 (__ASSUME_UTIMES): Likewise.
1004 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1005 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1006 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1007 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1009 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1011 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1013 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1016 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1017 alias to weak alias for j0l, y0l.
1018 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1019 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1022 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1025 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1027 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1028 to zero if not already defined.
1030 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1033 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1034 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1035 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1036 (char *) casts added.
1037 * sysdeps/ieee754/k_standardf.c: New file.
1038 * sysdeps/ieee754/k_standardl.c: Likewise.
1039 * math/Makefile (libm-support): Remove k_standard.
1040 (libm-calls): Add k_standard.
1042 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1044 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1045 Optimize to avoid an unnecessary FPCR read.
1047 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1049 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1050 Optimize to reduce FPCR/FPSR accesses.
1052 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1054 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1055 Call libc_fetestexcept_aarch64.
1057 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1059 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1060 Call libc_fesetround_aarch64.
1062 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1065 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1066 (__bind): Do not define as weak alias.
1067 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1069 (__getsockname): Do not define as weak alias.
1071 2014-12-22 Will Newton <will.newton@linaro.org>
1073 * manual/install.texi: Document that we require bison 2.7
1075 * INSTALL: Regenerate.
1076 * configure.ac: Use AC_CHECK_PROG_VER instead of
1077 AC_PATH_PROG when checking for bison and check for
1078 version 2.7 or above.
1079 * configure: Regenerate.
1081 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1084 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1085 * sysdeps/tile/ffsll.c (ffsll): To here.
1087 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1089 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1091 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1093 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1095 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1096 hidden ___tls_get_addr.
1097 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1098 hidden __tls_get_addr.
1099 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1100 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1103 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1105 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1108 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1110 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1111 from "call _dl_init@PLT".
1112 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1114 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1116 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1119 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1121 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1123 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1126 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1129 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1131 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1133 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1134 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1135 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1136 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1137 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1139 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1141 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1142 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1143 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1144 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1145 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1147 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1149 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1151 * string/strncat.c (STRNCAT): Simplify implementation.
1153 2014-12-19 David S. Miller <davem@davemloft.net>
1155 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1156 access the quad as both a long double and as a series of 4 words.
1158 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1159 link_map->l_info array access.
1161 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1163 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1165 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1166 * math/atest-exp2.c (TIMEOUT): Likewise.
1167 * math/atest-sincos.c (TIMEOUT): Likewise.
1169 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1171 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1172 -Wno-error with -fno-builtin-lround.
1174 2014-12-19 Torvald Riegel <triegel@redhat.com>
1176 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1177 Contains futex constants and functions moved over from ...
1178 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1179 <lowlevellock-futex.h>.
1180 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1181 (lll_timedwait_tid): Add comments and parentheses around macro
1184 2014-12-19 Torvald Riegel <triegel@redhat.com>
1186 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1187 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1188 (__lll_private_flag): Remove.
1189 (lll_futex_wait): Likewise.
1190 (lll_futex_timed_wait): Likewise.
1191 (lll_futex_wake): Likewise.
1192 (lll_futex_requeue): Likewise.
1193 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1194 (__lll_timedwait_tid): Spell out argument names.
1195 (lll_timedwait_tid): Add comments and parentheses around macro
1197 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1198 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1200 2014-12-19 Torvald Riegel <triegel@redhat.com>
1202 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1203 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1204 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1205 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1206 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1207 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1208 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1209 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1210 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1211 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1213 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1214 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1215 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1216 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1217 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1218 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1219 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1220 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1222 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1224 * sysdeps/x86_64/x32/Makefile: New file.
1226 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1228 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1229 1L with (mp_limb_t) 1.
1231 2014-12-17 Roland McGrath <roland@hack.frob.com>
1233 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1234 * nptl/libc_pthread_init.c: ... here.
1235 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1236 * nptl/register-atfork.c: ... here.
1238 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1239 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1240 Use assert_perror to check its return value.
1241 (__gai_create_helper_thread): Likewise.
1243 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1245 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1247 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1250 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1252 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1254 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1256 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1258 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1259 (profil_counter): Likewise.
1260 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1261 (profil_counter): Likewise.
1262 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1264 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1266 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1267 (profil_counter): Likewise.
1268 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1270 [!__profil_counter] (profil_counter): Define as weak alias of
1272 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1273 (profil_counter): Rename to __profil_counter.
1274 [!__profil_counter] (profil_counter): Define as weak alias of
1276 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1277 (profil_counter): Rename to __profil_counter.
1278 [!__profil_counter] (profil_counter): Define as weak alias of
1280 * sysdeps/posix/profil.c: Update comment referring to
1282 (__profil): Use __profil_counter instead of profil_counter.
1283 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1284 __profil_counter. Use __profil_counter_ushort and
1285 __profil_counter_uint in definitions.
1286 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1287 instead of profil_counter_uint and profil_counter_ushort.
1290 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1291 define as weak alias of __inet_makeaddr.
1292 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1293 as weak alias of __inet_addr.
1294 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1295 as weak alias of __inet_pton. Use libc_hidden_weak.
1296 * include/arpa/inet.h (__inet_pton): Declare. Use
1298 (inet_makeaddr): Don't use libc_hidden_proto.
1299 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1300 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1301 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1302 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1304 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1305 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1307 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1309 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1311 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1313 * stdio-common/bug-vfprintf-nargs.c (do_test):
1314 Cast value to intptr_t to avoid format warning
1315 for usage with PRIdPTR printing macro.
1317 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1319 * libio/tst-widetext.c (do_test):
1320 Use format type %td instead of %Zd for ptrdiff_t
1321 in order to avoid format warning.
1323 2014-12-17 Andreas Schwab <schwab@suse.de>
1325 * nscd/mem.c (gc): Add size_t cast to match printf format.
1327 2014-12-16 Roland McGrath <roland@hack.frob.com>
1329 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1330 (init): Apply PTR_MANGLE to pointers before storing them.
1331 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1334 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1337 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1338 define as weak alias of __memrchr.
1339 (__memrchr): Do not define as strong alias of memrchr.
1340 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1342 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1343 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1344 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1347 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1348 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1349 (if_indextoname): Rename to __if_indextoname and define as weak
1350 alias of __if_indextoname. Use libc_hidden_weak.
1351 (if_freenameindex): Rename to __if_freenameindex and define as
1352 weak alias of __if_freenameindex.
1353 (if_nameindex): Rename to __if_nameindex and define as weak alias
1355 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1356 __if_nametoindex and define as weak alias of __if_nametoindex.
1357 Use libc_hidden_weak.
1358 (if_freenameindex): Rename to __if_freenameindex and define as
1359 weak alias of __if_freenameindex.
1360 (if_nameindex): Rename to __if_nameindex and define as weak alias
1362 (if_indextoname): Rename to __if_indextoname and define as weak
1363 alias of __if_indextoname. Use libc_hidden_weak.
1364 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1365 __if_nametoindex and define as weak alias of __if_nametoindex.
1366 Use libc_hidden_weak.
1367 (if_freenameindex): Rename to __if_freenameindex and define as
1368 weak alias of __if_freenameindex. Use libc_hidden_weak.
1369 (if_nameindex_netlink): Use __if_freenameindex instead of
1371 (if_nameindex): Rename to __if_nameindex and define as weak alias
1372 of __if_nameindex. Use libc_hidden_weak.
1373 (if_indextoname): Rename to __if_indextoname and define as weak
1374 alias of __if_indextoname. Use libc_hidden_weak.
1375 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1377 [!_ISOMAC] (__if_freenameindex): Likewise.
1378 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1380 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1382 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1383 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1384 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1385 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1386 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1387 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1388 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1390 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1392 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1393 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1395 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1397 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1398 subscript above bounds'
1400 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1403 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1405 * libio/tst-fopenloc.c: Use test-skeleton.c.
1407 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1408 (entry): Rename to ITEM.
1409 (do_test, comp): Adjust.
1411 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1413 2014-12-16 Torvald Riegel <triegel@redhat.com>
1415 * string/tester.c: Include <libc-internal.h>.
1416 (test_memset): Ignore -Wmemset-transposed-args.
1418 2014-12-16 Torvald Riegel <triegel@redhat.com>
1420 * misc/tst-mntent2.c (do_test): Fix warning.
1422 2014-12-16 Torvald Riegel <triegel@redhat.com>
1424 * elf/tst-unique4lib.cc(a): Mark as used.
1426 2014-12-16 Florian Weimer <fweimer@redhat.com>
1429 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1432 2014-12-16 Allan McRae <allan@archlinux.org>
1434 * stdio-common/Makefile (tests): Re-add bug26.
1436 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1439 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1442 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1444 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1445 (__lll_lock_wait): Likewise.
1446 (__lll_timedlock_wait): Likewise.
1447 (__lll_timedwait_tid): Likewise.
1448 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1449 (__lll_robust_timedlock_wait): Likewise.
1450 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1451 (lll_cond_trylock): Likewise.
1452 (__lll_lock): Likewise.
1453 (__lll_robust_lock): Likewise.
1454 (__lll_cond_lock): Likewise.
1455 (lll_robust_cond_lock): Likewise.
1456 (__lll_timedlock): Likewise.
1457 (__lll_robust_timedlock): Likewise.
1458 (__lll_unlock): Likewise.
1459 (__lll_robust_unlock): Likewise.
1460 (lll_wait_tid): Likewise.
1461 (lll_timedwait_tid): Likewise.
1463 2014-12-15 Torvald Riegel <triegel@redhat.com>
1465 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1467 2014-12-15 Torvald Riegel <triegel@redhat.com>
1469 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1471 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1473 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1474 * stdio-common/tst-sprintf.c: Likewise.
1476 2014-12-15 Torvald Riegel <triegel@redhat.com>
1478 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1480 2014-12-15 Jeff Law <law@redhat.com>
1483 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1484 on the heap. (CVE-2012-3406)
1485 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1486 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1487 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1489 2014-12-15 Will Newton <will.newton@linaro.org>
1491 * manual/install.texi: Bump required version of texinfo
1493 * INSTALL: Regenerated.
1494 * configure.ac: Check for makeinfo version 4.7 and above.
1495 * configure: Regenerated.
1497 2014-12-12 Roland McGrath <roland@hack.frob.com>
1499 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1500 PREFIX, string constant to insert between directory and name.
1501 * sysdeps/posix/shm_open.c: Update caller.
1502 * sysdeps/posix/shm_unlink.c: Likewise.
1503 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1504 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1505 (SEM_SHM_PREFIX): New macro.
1506 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1507 [$(have-thread-library) = no].
1508 * nptl/Makefile (libpthread-routines): Add shm-directory.
1509 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1510 * sysdeps/nptl/shm-directory.h: New file.
1511 * sysdeps/posix/shm-directory.c
1512 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1513 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1514 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1516 (__where_is_shmfs): Function removed.
1517 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1519 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1521 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1523 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1524 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1525 unconditional for use inside libpthread.
1526 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1528 2014-12-12 Roland McGrath <roland@hack.frob.com>
1530 * nptl/pthread_getaffinity.c: New file.
1531 * nptl/pthread_setaffinity.c: New file.
1532 * nptl/pthread_getname.c: New file.
1533 * nptl/pthread_setname.c: New file.
1535 * nptl/pthread_create.c (START_THREAD_DEFN)
1536 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1538 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1539 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1541 * resolv/res_send.c (send_vc): Disable warning resplen may
1542 be used uninitialized.
1544 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1547 (ATTR_NULL): New define checks ATTR against NULL.
1548 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1549 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1551 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1555 (mem2mem_check): Revert my previous change.
1556 (malloc_check_get_size): Revert my previous change.
1557 (mem2chunk_check): Revert my previous change.
1559 2014-12-11 Roland McGrath <roland@hack.frob.com>
1561 * sysdeps/posix/shm-directory.c: New file.
1562 * sysdeps/posix/shm-directory.h: New file.
1563 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1564 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1565 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1566 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1567 Transmute EPERM to EACCES.
1568 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1570 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1571 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1573 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1575 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1576 pointer and cast to uintptr_t.
1577 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1578 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1579 Add cast to avoid warning.
1580 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1582 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1584 * nptl/semaphore.h: Move to ...
1585 * sysdeps/pthread/semaphore.h: ... here.
1586 * Makefile (installed-headers): Change nptl/semaphore.h to
1587 sysdeps/pthread/semaphore.h.
1589 2014-12-11 Roland McGrath <roland@hack.frob.com>
1591 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1592 generated error format strings.
1594 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1595 -Wformat-extra-args warnings for scanf formats.
1596 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1597 test of zero-length format (duh).
1598 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1599 corner-case scanf format test.
1600 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1601 generated fprintf format string.
1602 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1603 corner-case sprintf format tests.
1604 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1605 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1606 -Wformat-extra-args warnings throughout.
1607 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1608 (CFLAGS-scanf4.c): Likewise.
1609 (CFLAGS-scanf7.c): Likewise.
1610 (CFLAGS-tst-sprintf.c): Likewise.
1611 (CFLAGS-tst-printf.c): Likewise.
1612 (CFLAGS-tst-printfsz.c): Likewise.
1614 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1616 * include/cpio.h: New file.
1617 * include/fmtmsg.h: Likewise.
1619 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1620 corresponding format argument to size_t.
1621 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1623 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1624 corresponding format argument to size_t.
1625 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1627 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1628 corresponding format argument to size_t.
1629 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1630 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1631 (CFLAGS-tst-mbswcs2.c): Likewise.
1632 (CFLAGS-tst-mbswcs3.c): Likewise.
1633 (CFLAGS-tst-mbswcs4.c): Likewise.
1634 (CFLAGS-tst-mbswcs5.c): Likewise.
1635 (CFLAGS-tst-trans.c): Likewise
1637 2014-12-11 Roland McGrath <roland@hack.frob.com>
1639 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1640 rather than assuming they won't contain any '%'s.
1642 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1644 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1645 inhibit_loop_to_libcall to avoid recursive calls.
1646 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1647 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1649 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1651 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1654 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1656 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1657 integer value instead of boolean.
1659 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1661 * malloc/malloc.c: Fix powerof2 check.
1663 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1665 * locale/programs/locfile.h (maybe_swap_uint32):
1666 Remove inline and add unused attribute.
1668 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1671 Truncating assembler expression to a .long expression.
1673 2014-12-11 Andreas Schwab <schwab@suse.de>
1675 * elf/rtld.c (struct map_args): Constify str member.
1676 (do_preload): Constify fname argument.
1678 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1681 constants definition.
1683 2014-12-11 Andreas Schwab <schwab@suse.de>
1686 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1687 FORCE_ELISION instead of DO_ELISION.
1688 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1690 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1693 * iconvdata/gconv-modules: Remove duplicate entry.
1695 2014-12-11 Will Newton <will.newton@linaro.org>
1697 Merge gettext 0.19.3 into intl/.
1699 This involves a number of cosmetic changes to comments
1700 and ANSI function definitions and prototypes throughout
1701 all the files. The gettext copyright header is used but
1702 with the date ranges taken from the glibc copy.
1704 * NEWS: Add gettext merge to 2.21.
1705 * intl/bindtextdom.c: Switch to gettext copyright.
1706 Use ANSI definitions and prototypes.
1707 Use gl_* locking primitives rather than __libc_* ones.
1708 Use __builtin_expect rather than __glibc_likely/unlikely.
1709 * intl/dcgettext.c: Switch to gettext copyright.
1710 Use ANSI definitions and prototypes.
1711 * intl/dcigettext.c: Switch to gettext copyright.
1712 Use ANSI definitions and prototypes.
1713 (INTDIV0_RAISES_SIGFPE): New define.
1714 Use gl_* locking primitives rather than __libc_* ones.
1715 Include eval-plural.h instead of plural-eval.c.
1716 Use __builtin_expect rather than __glibc_likely/unlikely.
1717 * intl/dcngettext.c: Switch to gettext copyright.
1718 Use ANSI definitions and prototypes.
1719 * intl/dgettext.c: Likewise.
1720 * intl/dngettext.c: Likewise.
1721 * intl/plural-eval.c: Renamed to...
1722 * intl/eval-plural.h: ...this.
1723 * intl/explodename.c: Switch to gettext copyright.
1724 Use ANSI definitions and prototypes.
1725 (_nl_explode_name): Use strchr instead of __rawmemchr.
1726 * intl/finddomain.c: Switch to gettext copyright.
1727 Use ANSI definitions and prototypes.
1728 Use gl_* locking primitives rather than __libc_* ones.
1729 (_nl_find_domain): Use malloc rather than alloca for
1730 allocation of temporary locale name.
1731 * intl/gettext.c: Switch to gettext copyright.
1732 Use ANSI definitions and prototypes.
1733 * intl/gettextP.h: Switch to gettext copyright.
1734 Use ANSI definitions and prototypes.
1735 Use gl_* locking primitives rather than __libc_* ones.
1736 * intl/gmo.h: Switch to gettext copyright.
1737 (struct sysdep_string): Move struct segment_pair outside of
1739 * intl/hash-string.c: Use ANSI definitions and prototypes.
1740 * intl/hash-string.h: Switch to gettext copyright.
1741 Use ANSI definitions and prototypes.
1742 * intl/l10nflist.c: Switch to gettext copyright.
1743 Use ANSI definitions and prototypes.
1744 (_nl_normalize_codeset): Avoid integer overflow.
1745 * intl/loadinfo.h: Switch to gettext copyright.
1746 Use ANSI definitions and prototypes.
1747 (LIBINTL_DLL_EXPORTED): New define.
1748 (PATH_SEPARATOR): New define.
1749 * intl/loadmsgcat.c: Switch to gettext copyright.
1750 * intl/localealias.c: Switch to gettext copyright.
1751 Use ANSI definitions and prototypes.
1752 (_nl_expand_alias): Use PATH_SEPARATOR.
1753 * intl/ngettext.c: Switch to gettext copyright.
1754 Use ANSI definitions and prototypes.
1755 * intl/plural-exp.c: Likewise.
1756 * intl/plural-exp.h: Switch to gettext copyright.
1757 Use ANSI definitions and prototypes.
1758 (struct expression): Move definition of enum operator outside
1759 of struct definition.
1760 * intl/plural.c: Regenerate.
1761 * intl/plural.y: Switch to gettext copyright.
1762 Use ANSI definitions and prototypes.
1764 * intl/textdomain.c: Switch to gettext copyright.
1765 Use ANSI definitions and prototypes.
1766 Use gl_* locking primitives rather than __libc_* ones.
1768 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1770 * debug/warning-nop.c: Add used atrribute.
1772 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1774 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1776 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1777 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1778 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1780 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1781 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1784 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1785 Undefine after defining function. Define as weak alias of
1786 __wcschr. Use libc_hidden_weak.
1787 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1788 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1789 (libc_hidden_def): Also define __GI___wcschr alias.
1790 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1791 __wcschr and define as weak alias of __wcschr.
1792 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1794 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1795 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1796 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1797 libc_hidden_weak. Do not use libc_hidden_def.
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1799 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1800 __GI___wcschr alias.
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1802 [IS_IN (libc)] (wcschr): Define as macro expanding to
1804 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1805 [IS_IN (libc)] (__wcschr_power6): Likewise.
1806 [IS_IN (libc)] (__wcschr_power7): Likewise.
1807 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1809 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1811 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1812 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1813 __wcschr and define as weak alias of __wcschr. Use
1814 libc_hidden_builtin_def.
1815 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1816 as weak alias of __wcschr. Use libc_hidden_weak.
1817 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1819 * time/era.c (_nl_init_era_entries): Likewise.
1820 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1822 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1823 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1825 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1827 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1828 format for long int variable.
1830 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1833 * manual/search.texi: (Array Sort Function): Remove claim how to make
1836 2014-12-10 Andreas Schwab <schwab@suse.de>
1839 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1840 user-controlled locks.
1842 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1844 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1847 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1849 * configure.ac (--disable-werror): New configure option.
1850 (enable_werror): New AC_SUBST.
1851 * configure: Regenerated.
1852 * config.make.in (enable-werror): New variable.
1853 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1855 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1856 * manual/install.texi (Configuring and compiling): Document
1858 * INSTALL: Regenerated.
1859 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1860 (CFLAGS-tst-chk2.c): Likewise.
1861 (CFLAGS-tst-chk3.c): Likewise.
1862 (CFLAGS-tst-chk4.cc): Likewise.
1863 (CFLAGS-tst-chk5.cc): Likewise.
1864 (CFLAGS-tst-chk6.cc): Likewise.
1865 (CFLAGS-tst-lfschk1.c): Likewise.
1866 (CFLAGS-tst-lfschk2.c): Likewise.
1867 (CFLAGS-tst-lfschk3.c): Likewise.
1868 (CFLAGS-tst-lfschk4.cc): Likewise.
1869 (CFLAGS-tst-lfschk5.cc): Likewise.
1870 (CFLAGS-tst-lfschk6.cc): Likewise.
1872 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1873 (main): Disable -Wdeprecated-declarations around calls to
1874 register_printf_function.
1876 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1877 (do_test): Disable -Wdiv-by-zero around some calls to
1878 fwrite_unlocked and fread_unlocked.
1880 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1881 (DIAG_POP_NEEDS_COMMENT): Likewise.
1882 (_DIAG_STR1): Likewise.
1883 (_DIAG_STR): Likewise.
1884 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1885 * stdio-common/bug21.c: Include <libc-internal.h>.
1886 (do_test): Disable -Wformat around call to sscanf.
1887 * stdio-common/scanf14.c: Include <libc-internal.h>.
1888 (main): Disable -Wformat around some calls to scanf functions.
1890 2014-12-09 Torvald Riegel <triegel@redhat.com>
1892 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1894 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1897 stack variable alignment.
1899 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1902 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1903 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1904 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1905 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1906 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1907 __getrlimit instead of getrlimit.
1908 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1909 __gettimeofday instead of gettimeofday.
1910 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1912 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1914 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1915 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1917 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1918 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1920 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1923 for wide-character tests.
1925 2014-12-04 Roland McGrath <roland@hack.frob.com>
1927 * io/openat64.c: #include <libc-internal.h>
1928 (__openat64): Prototypify. Use ignore_value on MODE.
1929 * io/openat.c: Likewise.
1930 * misc/reboot.c: #include <libc-internal.h>
1931 (reboot): Prototypify. Use ignore_value on HOWTO.
1932 * misc/ptrace.c: #include <libc-internal.h>
1933 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1935 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1937 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1938 XPG4, UNIX98 and XOPEN2K.
1939 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1941 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1943 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1945 * libio/fileops.c: Use ISO C style for function definitions.
1946 * libio/iofopen.c: Likewise.
1947 * libio/wfileops.c: Likewise.
1950 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1952 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1953 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1954 (fgets_func): Function pointer to fgets and fgetws.
1955 (do_ftell_test): Add test to verify ftell value after read
1957 (do_test): Set fgets_func.
1959 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1960 O_TRUNC flag for w and w+ modes.
1961 (do_rewind_test): Likewise.
1962 (do_ftell_test): Likewise.
1963 (do_write_test): Likewise.
1966 * libio/fileops.c (do_ftell): Seek only when there are
1968 * libio/wfileops.c (do_ftell_wide): Likewise.
1969 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1971 (do_one_test): Call it.
1973 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1975 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1976 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1977 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1979 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1980 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1981 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1983 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1985 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1987 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1990 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1991 as weak alias of __getifaddrs. Use libc_hidden_weak.
1992 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1993 __freeifaddrs. Use libc_hidden_weak.
1994 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1995 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1996 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1997 __freeifaddrs. Use libc_hidden_weak.
1998 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1999 __getifaddrs and define as weak alias of __getifaddrs. Use
2001 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2002 __freeifaddrs. Use libc_hidden_weak.
2003 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2005 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2006 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2008 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2011 * sysdeps/mips/start.S (__start): Use indirect jump to call
2014 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2016 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2018 * nptl/tst-mutex1.c: Include <stdbool.h>.
2019 [!ATTR] (ATTR_NULL): New macro.
2020 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2021 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2022 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2024 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2028 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2029 Change conditional to [__USE_MISC].
2032 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2034 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2036 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2038 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2040 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2041 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2042 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2043 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2044 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2045 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2046 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2047 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2048 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2050 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2052 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2054 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2055 Remove strpbrk objects.
2056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2057 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2058 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2059 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2060 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2061 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2063 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2064 Remove strcspn objects.
2065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2066 (__libc_ifunc_impl_list): Remove strcspn implementation.
2067 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2068 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2069 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2070 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2072 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2073 Remove strspn objetcs.
2074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2075 (__libc_ifunc_impl_list): Remove strspn implementation.
2076 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2077 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2078 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2079 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2081 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2085 (mem2mem_check): Add a terminator to the chain of checking blocks.
2086 (malloc_check_get_size): Use it here.
2087 (mem2chunk_check): Ditto.
2089 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2091 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2092 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2094 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2096 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2098 * nptl/nptl-init.c: Include libc-internal.h.
2099 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2101 * elf/ldconfig.c (search_dir): Expand comment.
2103 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2105 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2107 (linknamespace-symlist-stdlibs-tests): Likewise.
2108 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2109 instead of $(objpfx)symlist-stdlibs.
2110 (linknamespace-libs-isoc): New variable.
2111 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2112 (linknamespace-libs-ISO): New variable.
2113 (linknamespace-libs-ISO99): Likewise.
2114 (linknamespace-libs-ISO11): Likewise.
2115 (linknamespace-libs-XPG3): Likewise.
2116 (linknamespace-libs-XPG4): Likewise.
2117 (linknamespace-libs-POSIX): Likewise.
2118 (linknamespace-libs-UNIX98): Likewise.
2119 (linknamespace-libs-XOPEN2K): Likewise.
2120 (linknamespace-libs-POSIX2008): Likewise.
2121 (linknamespace-libs-XOPEN2K8): Likewise.
2122 ($(objpfx)symlist-stdlibs): Replace by
2123 $(linknamespace-symlist-stdlibs-tests). Use
2124 $(linknamespace-libs-$*) as set of libraries.
2125 ($(linknamespace-header-tests)): Update dependencies. Use
2126 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2127 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2128 * conform/linknamespace.pl: Remove comment about considering
2129 definitions of symbols from irrelevant libraries.
2131 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2134 * elf/dl-tls.c: Include <atomic.h>.
2135 (oom): Remove #ifdef SHARED/#endif.
2136 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2137 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2138 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2140 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2141 * nptl/Makefile (tests): Add tst-stack4.
2142 (modules-names): Add tst-stack4mod.
2143 ($(objpfx)tst-stack4): New.
2144 (tst-stack4mod.sos): Likewise.
2145 ($(objpfx)tst-stack4.out): Likewise.
2146 ($(tst-stack4mod.sos)): Likewise.
2148 * nptl/tst-stack4.c: New file.
2149 * nptl/tst-stack4mod.c: Likewise.
2151 2014-11-27 J. Brown <jb999@gmx.de>
2153 * sysdeps/x86/bits/string.h: Add recent CPUs.
2155 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2157 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2160 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2163 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2166 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2168 * nscd/connections.c: Include libc-internal.h because of macro
2171 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2173 * string/bits/string3.h (__warn_memset_zero_len): Don't
2174 declare for gcc newer than 5.0.
2175 (memset): Don't test for zero-length __LEN for gcc newer than
2178 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2180 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2181 size_t for %zu format.
2183 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2184 difference, not %ju.
2186 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2188 * include/libc-internal.h (ignore_value): New macro.
2189 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2192 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2195 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2196 pthread_cleanup_push to void *.
2198 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2203 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2204 instead of 1L << 52.
2206 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2207 * libio/bug-rewind2.c (do_test): Likewise.
2209 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2210 * debug/test-strcpy_chk-ifunc.c: Likewise.
2211 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2212 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2213 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2214 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2215 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2216 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2217 * Rules [$(multi-arch) = no] (tests): Do not filter out
2219 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2220 * debug/Makefile (tests-ifunc): Remove variable.
2221 (tests): Do not add $(tests-ifunc).
2222 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2223 (tests): Do not add $(tests-ifunc).
2224 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2225 [TEST_IFUNC]: Remove conditionals.
2226 * string/test-string.h (TEST_IFUNC): Remove macro.
2227 [TEST_IFUNC]: Remove conditionals.
2229 * string/test-strchr.c [!WIDE] (L): New macro.
2230 [WIDE] (L): Likewise.
2231 (check1): Use CHAR instead of char. Use L on string and character
2234 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2236 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2238 * sysdeps/powerpc/bits/atomic.h
2239 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2240 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2241 (atomic_exchange_and_add_acq): Likewise.
2242 (atomic_exchange_and_add_rel): Likewise.
2243 * sysdeps/powerpc/powerpc32/bits/atomic.h
2244 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2245 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2246 * sysdeps/powerpc/powerpc64/bits/atomic.h
2247 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2248 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2250 2014-11-26 Torvald Riegel <triegel@redhat.com>
2252 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2253 Change synchronization of __sched_fifo_min_prio and
2254 __sched_fifo_max_prio.
2255 * nptl/pthread_mutexattr_getprioceiling.c
2256 (pthread_mutexattr_getprioceiling): Likewise.
2257 * nptl/pthread_mutexattr_setprioceiling.c
2258 (pthread_mutexattr_setprioceiling): Likewise.
2259 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2260 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2263 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2265 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2268 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2270 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2271 third argument const.
2273 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2275 fnmatch: work around GCC compiler warning bug with uninit var
2276 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2277 This works around a bug with x86-64 GCC 4.9.2 and earlier
2278 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2279 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2280 used uninitialized in this function [-Wmaybe-uninitialized]".
2282 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2284 * posix/bug-regex31.c (main): Return RES not 0.
2286 2014-11-25 Anton Blanchard <anton@samba.org>
2288 * sysdeps/powerpc/bits/atomic.h
2289 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2291 2014-11-24 Sterling Augustine <saugustine@google.com>
2293 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2295 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2298 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2300 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2303 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2304 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2306 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2307 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2309 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2311 * string/strncpy.c (strncpy): Improve performance by using memset.
2313 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2315 * string/strcpy.c (strcpy):
2316 Improve performance by using strlen and memcpy.
2318 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2320 * string/strcoll_l.c (get_next_seq): __always_inline.
2321 * string/strcoll_l.c (do_compare): __always_inline.
2323 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2325 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2327 * include/mqueue.h: Likewise.
2328 * include/stdlib.h: Likewise.
2330 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2331 (get_null_defines): Adjust.
2332 * sunrpc/Makefile: Adjust comment.
2333 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2334 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2335 (CFLAGS-interp.c): Likewise.
2336 (CFLAGS-ldconfig.c): Likewise.
2337 (CPPFLAGS-.os): Likewise.
2338 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2339 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2340 * extra-modules.mk (extra-modules.mk): Likewise.
2341 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2342 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2343 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2344 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2345 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2346 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2347 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2348 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2349 * iconvdata/Makefile (CPPFLAGS): Likewise.
2350 (cpp-srcs-left): Add libof for all iconvdata routines.
2351 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2352 * include/assert.h: Likewise.
2353 * include/ctype.h: Likewise.
2354 * include/errno.h: Likewise.
2355 * include/libc-symbols.h: Likewise.
2356 * include/math.h: Likewise.
2357 * include/netdb.h: Likewise.
2358 * include/resolv.h: Likewise.
2359 * include/stdio.h: Likewise.
2360 * include/stdlib.h: Likewise.
2361 * include/string.h: Likewise.
2362 * include/sys/stat.h: Likewise.
2363 * include/wctype.h: Likewise.
2364 * intl/l10nflist.c: Likewise.
2365 * libidn/idn-stub.c: Likewise.
2366 * libio/libioP.h: Likewise.
2367 * nptl/libc_multiple_threads.c: Likewise.
2368 * nptl/pthreadP.h: Likewise.
2369 * posix/regex_internal.h: Likewise.
2370 * resolv/res_hconf.c: Likewise.
2371 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2372 * sysdeps/arm/memmove.S: Likewise.
2373 * sysdeps/arm/sysdep.h: Likewise.
2374 * sysdeps/generic/_itoa.h: Likewise.
2375 * sysdeps/generic/symbol-hacks.h: Likewise.
2376 * sysdeps/gnu/errlist.awk: Likewise.
2377 * sysdeps/gnu/errlist.c: Likewise.
2378 * sysdeps/i386/i586/memcpy.S: Likewise.
2379 * sysdeps/i386/i586/memset.S: Likewise.
2380 * sysdeps/i386/i686/memcpy.S: Likewise.
2381 * sysdeps/i386/i686/memmove.S: Likewise.
2382 * sysdeps/i386/i686/mempcpy.S: Likewise.
2383 * sysdeps/i386/i686/memset.S: Likewise.
2384 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2385 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2386 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2387 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2388 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2389 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2390 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2391 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2400 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2401 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2402 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2403 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2404 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2405 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2406 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2407 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2408 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2410 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2411 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2412 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2413 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2414 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2415 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2416 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2417 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2420 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2421 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2422 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2423 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2424 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2425 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2428 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2429 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2430 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2431 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2432 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2433 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2434 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2435 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2436 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2437 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2438 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2439 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2440 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2441 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2442 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2445 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2446 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2447 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2448 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2449 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2450 * sysdeps/posix/closedir.c: Likewise.
2451 * sysdeps/posix/opendir.c: Likewise.
2452 * sysdeps/posix/readdir.c: Likewise.
2453 * sysdeps/posix/rewinddir.c: Likewise.
2454 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2455 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2456 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2457 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2458 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2459 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2461 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2463 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2465 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2466 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2468 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2472 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2473 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2474 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2475 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2476 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2479 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2481 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2482 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2486 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2487 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2489 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2490 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2491 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2492 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2493 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2494 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2495 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2496 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2498 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2499 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2500 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2502 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2503 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2505 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2506 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2508 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2511 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2512 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2513 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2514 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2516 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2518 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2519 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2520 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2521 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2522 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2523 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2524 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2526 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2527 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2528 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2529 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2530 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2531 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2532 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2533 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2534 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2535 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2536 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2537 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2539 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2540 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2541 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2542 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2543 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2544 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2545 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2546 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2549 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2550 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2552 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2553 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2555 * sysdeps/unix/alpha/sysdep.S: Likewise.
2556 * sysdeps/unix/alpha/sysdep.h: Likewise.
2557 * sysdeps/unix/make-syscalls.sh: Likewise.
2558 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2559 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2560 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2561 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2562 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2563 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2564 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2565 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2566 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2567 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2568 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2569 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2571 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2572 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2573 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2574 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2575 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2576 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2577 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2578 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2579 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2580 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2581 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2582 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2583 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2584 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2587 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2588 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2592 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2596 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2597 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2598 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2599 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2600 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2601 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2602 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2608 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2609 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2610 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2611 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2614 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2616 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2617 * sysdeps/x86_64/memcpy.S: Likewise.
2618 * sysdeps/x86_64/memmove.c: Likewise.
2619 * sysdeps/x86_64/memset.S: Likewise.
2620 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2621 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2622 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2623 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2624 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2627 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2628 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2629 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2630 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2631 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2632 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2633 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2634 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2635 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2636 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2637 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2638 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2639 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2640 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2641 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2642 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2643 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2644 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2645 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2646 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2647 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2648 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2649 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2650 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2651 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2652 * sysdeps/x86_64/strcmp.S: Likewise.
2654 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2656 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2657 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2658 * elf/rtld-Rules: Likewise.
2659 * elf/setup-vdso.h: Likewise.
2660 * include/assert.h: Likewise.
2661 * include/bits/stdlib-float.h: Likewise.
2662 * include/errno.h: Likewise.
2663 * include/sys/stat.h: Likewise.
2664 * include/unistd.h: Likewise.
2665 * sysdeps/aarch64/setjmp.S: Likewise.
2666 * sysdeps/alpha/setjmp.S: Likewise.
2667 * sysdeps/arm/__longjmp.S: Likewise.
2668 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2669 * sysdeps/arm/setjmp.S: Likewise.
2670 * sysdeps/arm/sysdep.h: Likewise.
2671 * sysdeps/generic/_itoa.h: Likewise.
2672 * sysdeps/generic/dl-sysdep.h: Likewise.
2673 * sysdeps/generic/ldsodefs.h: Likewise.
2674 * sysdeps/i386/dl-tls.h: Likewise.
2675 * sysdeps/i386/setjmp.S: Likewise.
2676 * sysdeps/m68k/setjmp.c: Likewise.
2677 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2678 * sysdeps/mach/hurd/opendir.c: Likewise.
2679 * sysdeps/posix/getcwd.c: Likewise.
2680 * sysdeps/posix/opendir.c: Likewise.
2681 * sysdeps/posix/profil.c: Likewise.
2682 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2683 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2684 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2685 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2686 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2687 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2688 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2689 * sysdeps/s390/dl-tls.h: Likewise.
2690 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2691 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2692 * sysdeps/sh/sh3/setjmp.S: Likewise.
2693 * sysdeps/sh/sh4/setjmp.S: Likewise.
2694 * sysdeps/unix/alpha/sysdep.h: Likewise.
2695 * sysdeps/unix/arm/sysdep.S: Likewise.
2696 * sysdeps/unix/i386/sysdep.S: Likewise.
2697 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2698 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2699 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2701 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2702 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2703 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2704 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2705 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2706 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2707 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2708 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2712 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2716 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2720 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2721 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2722 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2724 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2725 * sysdeps/x86_64/setjmp.S: Likewise.
2727 * include/math.h: Use IS_IN instead of IS_IN_libm.
2728 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2730 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2731 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2733 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2734 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2736 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2738 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2739 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2740 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2741 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2742 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2743 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2744 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2745 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2746 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2747 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2748 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2749 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2750 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2751 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2752 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2753 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2754 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2755 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2756 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2757 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2758 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2759 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2760 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2771 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2772 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2773 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2774 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2775 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2776 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2782 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2783 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2784 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2785 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2786 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2787 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2788 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2789 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2790 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2791 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2792 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2794 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2795 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2797 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2799 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2800 * nptl/pthreadP.h: Likewise.
2801 * nptl_db/structs.def: Likewise.
2802 * sysdeps/arm/sysdep.h: Likewise.
2803 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2804 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2805 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2806 * sysdeps/unix/alpha/sysdep.h: Likewise.
2807 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2808 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2809 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2810 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2811 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2812 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2814 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2815 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2816 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2817 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2818 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2819 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2820 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2824 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2825 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2827 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2828 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2829 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2830 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2831 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2832 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2834 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2835 * nptl/pthreadP.h: Likewise.
2836 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2837 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2838 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2839 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2840 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2841 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2842 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2843 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2844 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2845 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2846 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2847 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2852 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2854 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2857 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2858 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2859 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2861 * dlfcn/dladdr.c: Use IS_IN.
2862 * dlfcn/dladdr1.c: Likewise.
2863 * dlfcn/dlclose.c: Likewise.
2864 * dlfcn/dlerror.c: Likewise.
2865 * dlfcn/dlinfo.c: Likewise.
2866 * dlfcn/dlmopen.c: Likewise.
2867 * dlfcn/dlopen.c: Likewise.
2868 * dlfcn/dlsym.c: Likewise.
2869 * dlfcn/dlvsym.c: Likewise.
2871 * include/ifaddrs.h: Use IS_IN.
2872 * inet/check_pf.c: Likewise.
2873 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2874 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2876 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2878 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2879 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2881 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2882 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2885 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2887 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2888 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2889 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2890 * include/libc-symbols.h (IS_IN_LIB): New macro.
2891 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2892 * include/netdb.h: Likewise.
2893 * include/stap-probe.h: Remove all uses of IN_LIB.
2895 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2896 instead of IN_MODULE.
2897 * include/libc-symbols.h (IN_MODULE): Define using
2899 (PASTE_NAME, PASTE_NAME1): New macros.
2900 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2902 (STAP_PROBE_ASM): Likewise.
2904 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2906 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2907 __mach_init in dlopened libc.
2909 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2911 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2912 * sysdeps/arm/preconfigure: Regenerate.
2914 2014-11-21 Roland McGrath <roland@hack.frob.com>
2916 * nptl/pthread_create.c (__pthread_create_2_1): Set
2917 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2918 when copying values from IATTR into PD.
2920 2014-11-21 Will Newton <will.newton@linaro.org>
2921 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2923 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2924 Refactor inline-asm. Also add comment.
2926 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2927 ElfW macro instead of hardcoded Elf64 types.
2928 (la_aarch64_gnu_pltenter): Likewise.
2929 * sysdeps/aarch64/dl-machine.h
2930 (elf_machine_runtime_setup): Use ElfW(Addr).
2932 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2933 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2934 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2935 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2936 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2937 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2938 (R_AARCH64_TLS_DTPMOD): This.
2939 (R_AARCH64_TLS_DTPREL64): Rename to ...
2940 (R_AARCH64_TLS_DTPREL): This.
2941 (R_AARCH64_TLS_TPREL64): Rename to ...
2942 (R_AARCH64_TLS_TPREL): This.
2943 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2944 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2945 R_AARCH64_TLS_TPREL64.
2946 (elf_machine_rela): Likewise.
2948 2014-11-21 Torvald Riegel <triegel@redhat.com>
2950 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2951 by setting it to 0. 64b atomics are not supported currently.
2953 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2956 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2957 search domain names.
2959 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2963 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2965 * posix/tst-getaddrinfo5.c: New.
2966 * posix/Makefile (tests): Add it.
2968 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2972 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2973 after parsing line but before break_if_match.
2974 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2975 if there is a protocol mismatch.
2977 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2979 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2980 because the potential race is on the user-supplied stream.
2982 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2984 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2985 string literal if not passed a buffer.
2986 * manual/job.texi (ctermid): Update reasoning, note deviation
2987 from posix, suggest mtasurace when not passed a buffer, for
2988 future non-preliminary safety notes.
2990 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2992 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2993 of not passing it a buffer.
2994 Reported by Peng Haitao.
2996 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2998 * manual/Makefile ($(objpfx)stamp-summary): Require
2999 check-safety.sh to pass.
3000 * manual/check-safety.sh: Wish for verification that every
3001 @deftypefn and @deftypefun is followed by a @safety remark.
3003 2014-11-20 Roland McGrath <roland@hack.frob.com>
3005 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3007 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3008 PTHREAD_CANCEL_ASYNCHRONOUS.
3009 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3012 * nptl/default-sched.h: New file.
3013 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3014 * nptl/pthread_create.c: Include it.
3015 (__pthread_create_2_1): Use collect_default_sched instead of making
3016 Linux syscalls here directly.
3018 2014-11-20 Torvald Riegel <triegel@redhat.com>
3020 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3021 __pthread_once): Use C11 atomics.
3023 2014-11-20 Torvald Riegel <triegel@redhat.com>
3025 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3027 2014-11-20 Torvald Riegel <triegel@redhat.com>
3029 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3030 atomic_thread_fence_acquire, atomic_thread_fence_release,
3031 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3032 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3033 atomic_compare_exchange_weak_relaxed,
3034 atomic_compare_exchange_weak_acquire,
3035 atomic_compare_exchange_weak_release,
3036 atomic_exchange_acquire, atomic_exchange_release,
3037 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3038 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3039 atomic_fetch_and_acquire,
3040 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3042 2014-11-20 Torvald Riegel <triegel@redhat.com>
3044 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3045 USE_ATOMIC_COMPILER_BUILTINS): Define.
3046 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3047 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3048 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3049 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3050 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3051 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3052 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3053 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3054 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3055 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3056 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3057 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3058 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3059 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3060 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3061 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3062 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3063 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3064 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3065 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3066 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3067 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3068 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3069 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3070 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3071 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3072 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3073 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3074 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3075 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3076 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3077 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3078 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3079 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3080 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3081 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3082 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3083 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3084 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3085 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3087 2014-11-19 Roland McGrath <roland@hack.frob.com>
3089 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3090 the sched_priority value here. It was already checked when the user
3091 called pthread_attr_setschedparam.
3093 * nptl/tst-bad-schedattr.c: New file.
3094 * nptl/Makefile (tests): Add it.
3096 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3097 Florian Weimer <fweimer@redhat.com>
3098 Joseph Myers <joseph@codesourcery.com>
3099 Adam Conrad <adconrad@0c3.net>
3100 Andreas Schwab <schwab@suse.de>
3101 Brooks <bmoses@google.com>
3104 * wordexp-test.c (__dso_handle): Add prototype.
3105 (__register_atfork): Likewise.
3106 (__app_register_atfork): New function.
3107 (registered_forks): New global.
3108 (register_fork): New function.
3109 (test_case): Add 3 new tests for WRDE_CMDSUB.
3110 (main): Call __app_register_atfork.
3111 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3112 fork count is non-zero fail the test.
3113 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3115 (parse_dollars): Remove check for WRDE_NOCMD.
3116 (parse_dquote): Likewise.
3118 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3120 * Makeconfig (built-modules): List non-library modules to be
3122 (module-cppflags): Include libc-modules.h for
3123 everything except shlib-versions.v.i.
3125 (before-compile): Add libc-modules.h.
3126 ($(common-objpfx)libc-modules.h,
3127 $(common-objpfx)libc-modules.stmp): New targets.
3128 (common-generated): Add libc-modules.h and libc-modules.stmp.
3129 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3130 * include/libc-symbols.h: Don't include libc-modules.h.
3131 * include/libc-modules.h: Remove file.
3132 * scripts/gen-libc-modules.awk: New script to generate
3134 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3135 Depend on libc-modules.stmp.
3137 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3139 * Makeconfig (in-module): Get value of libof set for the
3141 (CPPFLAGS): Use $(in-module).
3142 * Makerules: Don't suffix routine names for nonlib.
3143 * include/libc-modules.h: New file.
3144 * include/libc-symbols.h: Include libc-modules.h
3145 (IS_IN): New macro to replace IS_IN_* macros.
3146 * elf/Makefile: Set libof-* for each routine.
3147 * elf/rtld-Rules: Likewise.
3148 * extra-modules.mk: Likewise.
3149 * iconv/Makefile: Likewise.
3150 * iconvdata/Makefile: Likewise.
3151 * locale/Makefile: Likewise.
3152 * malloc/Makefile: Likewise.
3153 * nss/Makefile: Likewise.
3154 * sysdeps/gnu/Makefile: Likewise.
3155 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3156 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3157 * sysdeps/s390/s390-64/Makefile: Likewise.
3158 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3159 CPPFLAGS for nscd instead of nonlib.
3161 2014-11-18 Roland McGrath <roland@hack.frob.com>
3163 * nptl/createthread.c: New file.
3165 * nptl/createthread.c: Moved ...
3166 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3168 * nptl/createthread.c: Add proper top-line comment.
3169 (do_clone): Folded into ...
3170 (create_thread): ... here. Take new arguments STOPPED_START and
3171 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3172 increment __nptl_threads, do event-reporting logic, do
3173 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3174 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3175 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3176 just send SIGCANCEL.
3177 * nptl/pthread_create.c: Forward-declare create_thread before
3178 including createthread.c.
3179 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3180 declaration, and new macro START_THREAD_SELF to replace argument.
3181 Remove return statement.
3182 (report_thread_creation): New function.
3183 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3184 synchronization logic, and __nptl_nthreads increment here, around
3185 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3186 PD->parent_cancelhandling here, before create_thread. When
3187 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3188 __deallocate_stack, and ENOMEM translation here.
3190 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3193 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3194 (mptwo): Rename to __mptwo.
3195 (__inv): Use __mptwo instead of mptwo.
3196 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3197 (mptwo): Rename to __mptwo.
3198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3199 of mpone and __mptwo instead of mptwo.
3200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3202 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3203 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3204 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3205 of mpone and __mptwo instead of mptwo.
3206 (__mpranred): Use __mpone instead of mpone.
3207 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3209 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3210 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3211 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3212 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3213 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3214 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3215 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3216 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3217 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3218 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3219 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3220 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3221 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3222 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3223 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3224 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3225 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3226 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3227 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3229 2014-11-18 Tom de Vries <tom@codesoucery.com>
3231 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3232 replace BSD Handler xref with BSD Signal Handling.
3234 2014-11-17 Richard Henderson <rth@redhat.com>
3236 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3237 (_FP_PACK_RAW_2): Remove.
3238 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3239 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3240 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3241 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3242 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3243 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3244 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3245 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3246 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3247 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3248 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3249 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3250 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3251 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3252 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3253 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3255 2014-11-14 Roland McGrath <roland@hack.frob.com>
3257 * signal/signal.h [__USE_MISC]
3258 (struct sigvec): Remove type.
3259 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3260 (sigvec): Remove declaration.
3261 * sysdeps/posix/sigvec.c: Moved ...
3262 * signal/sigvec.c: ... here, replacing old file.
3263 (struct sigvec): New type, copied from old signal.h definition.
3264 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3265 (__sigvec): Convert definition to prototype.
3266 (sigvec): Replace weak_alias with compat_symbol.
3267 * signal/Versions (libc: GLIBC_2.21): New version set.
3268 * include/signal.h: Remove __sigvec declaration.
3269 * sysdeps/unix/bsd/sigvec.c: Remove file.
3270 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3271 * manual/signal.texi (BSD Handler): Remove subsection.
3272 Move siginterrupt up to ...
3273 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3274 (Blocking in BSD): Fold subsection into its parent.
3275 * NEWS: Mention sigvec removal.
3277 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3279 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3280 (DLA_FMS): Make definition conditional only on [__FMA4__].
3281 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3284 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3285 Make definition conditional only on [PROF].
3286 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3288 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3289 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3291 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3293 * include/signal.h (__sigpause): Move declaration above call to
3295 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3297 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3298 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3300 2014-11-14 David S. Miller <davem@davemloft.net>
3302 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3303 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3305 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3307 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3308 * configure: Regenerated.
3309 * manual/install.texi (Tools for Compilation): Document a
3310 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3311 compiler verified to work.
3312 * INSTALL: Regenerated.
3314 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3315 redeclare with asm name.
3316 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3317 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3318 including <string.h>.
3319 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3320 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3321 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3322 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3323 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3324 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3325 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3327 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3329 * stdlib/strtol.c (__strtol): Use prototype definition.
3332 * stdlib/strtol.c (SYM__): New macro.
3334 (__strtol): Likewise.
3335 (strtol): Rename to __strtol and define as weak alias of
3336 __strtol. Use libc_hidden_weak.
3338 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3340 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3341 Use numbered labels in inline assembly.
3343 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3345 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3346 Add setjmp LIBC_PROBE.
3347 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3349 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3350 Add longjmp, longjmp_target LIBC_PROBE.
3351 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3354 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3357 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3358 to get rid of unused variable warning.
3360 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3362 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3363 Check for unwind_backtrace == NULL only in SHARED case.
3364 (__backchain_backtrace): Compile only in SHARED case.
3365 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3367 (__backchain_backtrace): Declare as static.
3369 2014-11-12 Roland McGrath <roland@hack.frob.com>
3371 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3372 (__libc_multiple_threads_ptr): Variable moved ...
3373 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3375 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3377 * conform/GlibcConform.pm: New file.
3378 * conform/conformtest.pl: Use GlibcConform module.
3379 * conform/linknamespace.pl: New file.
3380 * conform/list-header-symbols.pl: Likewise.
3381 * conform/Makefile (linknamespace-symlists-base): New variable.
3382 (linknamespace-symlists-tests): Likewise.
3383 (linknamespace-header-base): Likewise.
3384 (linknamespace-header-tests): Likewise.
3385 (tests-special): Add new tests.
3386 ($(linknamespace-symlists-tests)): New rule.
3387 (linknamespace-libs): New variable.
3388 ($(objpfx)symlist-stdlibs): New rule.
3389 ($(linknamespace-header-tests)): Likewise.
3390 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3391 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3392 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3393 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3394 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3395 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3396 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3397 (test-xfail-ISO/math.h/linknamespace): Likewise.
3398 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3399 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3400 (test-xfail-ISO/time.h/linknamespace): Likewise.
3401 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3402 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3403 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3404 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3405 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3406 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3407 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3408 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3409 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3410 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3411 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3412 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3413 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3414 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3415 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3416 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3417 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3418 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3419 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3420 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3421 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3422 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3423 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3424 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3425 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3426 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3427 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3428 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3429 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3430 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3431 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3432 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3433 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3434 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3435 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3436 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3437 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3438 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3439 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3440 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3441 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3442 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3443 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3444 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3445 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3446 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3447 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3448 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3449 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3450 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3451 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3452 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3453 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3454 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3455 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3456 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3457 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3458 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3459 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3460 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3461 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3462 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3463 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3464 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3465 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3466 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3467 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3468 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3469 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3470 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3471 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3472 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3473 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3474 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3475 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3476 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3477 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3478 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3479 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3480 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3481 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3482 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3483 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3484 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3485 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3486 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3487 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3488 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3489 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3490 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3491 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3492 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3493 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3494 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3495 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3496 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3497 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3498 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3499 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3500 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3501 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3502 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3503 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3504 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3505 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3506 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3507 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3508 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3509 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3510 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3511 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3512 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3513 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3514 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3515 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3516 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3517 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3518 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3519 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3520 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3521 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3522 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3523 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3524 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3525 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3526 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3527 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3528 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3529 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3530 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3531 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3532 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3533 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3534 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3535 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3536 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3537 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3538 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3539 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3540 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3541 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3542 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3543 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3544 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3545 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3548 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3549 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3550 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3553 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3557 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3558 (memmem): Rename to __memmem and define as weak alias of
3559 __memmem. Use libc_hidden_weak.
3560 (__memmem): Use libc_hidden_def.
3561 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3562 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3566 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3567 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3568 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3569 and define as weak alias of __fgets_unlocked. Use
3571 (__fgets_unlocked): Use libc_hidden_def.
3572 * include/stdio.h (__fgets_unlocked): Declare. Use
3574 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3575 __fgets_unlocked instead of fgets_unlocked.
3576 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3577 (GET_NPROCS_CONF_PARSER): Likewise.
3578 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3579 (GET_NPROCS_CONF_PARSER): Likewise.
3582 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3583 weak alias of __wmemset. Use libc_hidden_weak.
3584 (__wmemset): Use libc_hidden_def.
3585 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3586 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3590 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3591 with asm name __mempcpy.
3592 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3595 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3596 and define as weak alias of __rawmemchr.
3597 (__rawmemchr): Do not define as strong alias of rawmemchr.
3600 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3602 (qsort): Call __qsort_r instead of qsort_r.
3603 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3604 (__qsort_r): Declare. Call libc_hidden_proto.
3605 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3607 * nscd/gai.c (__qsort_r): Define to qsort_r.
3608 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3609 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3610 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3613 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3614 define as weak alias of __malloc_info.
3617 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3618 as weak alias of __rewinddir. Don't use libc_hidden_def.
3619 (__rewinddir): Use libc_hidden_def.
3620 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3621 as weak alias of __rewinddir. Don't use libc_hidden_def.
3622 (__rewinddir): Use libc_hidden_def.
3623 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3624 weak alias of __rewinddir. Don't use libc_hidden_def.
3625 (__rewinddir): Use libc_hidden_def.
3626 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3627 (__rewinddir): Use libc_hidden_proto.
3628 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3630 (__getcwd): Use __rewinddir instead of rewinddir.
3633 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3634 alias of __fileno. Use libc_hidden_weak.
3635 (__fileno): Use libc_hidden_def.
3636 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3637 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3639 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3641 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3642 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3644 (fread_unlocked): Don't use libc_hidden_ver.
3645 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3646 and define as weak alias of __fread_unlocked. Don't use
3648 (__fread_unlocked): Use libc_hidden_def.
3649 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3650 (ftello): Don't use libc_hidden_proto.
3651 (__ftello): Declare. Use libc_hidden_proto.
3652 (fread_unlocked): Don't use libc_hidden_proto.
3653 (__fread_unlocked): Declare. Use libc_hidden_proto.
3654 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3655 and __ftello instead of fileno, fread_unlocked and ftello.
3657 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3659 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3663 (_dl_start_user): Likewise.
3664 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3666 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3667 Siddhesh Poyarekar <siddhesh@redhat.com>
3669 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3670 Move argv and envp down instead of moving argc up.
3671 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3673 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3676 * test-skeleton.c (main): Return successful if one of
3677 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3678 * string/tst-strcoll-overflow.c: Define expected status.
3680 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3683 * locale/iso-639.def: Define Bhili and Tulu language codes.
3685 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3687 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3689 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3692 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3694 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3696 * configure.ac: Updated check of minimal required version to
3698 * manual/install.texi (Tools for Compilation): Updated version
3700 * configure: Regenerated.
3701 * INSTALL: Likewise.
3703 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3705 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3708 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3710 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3711 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3712 (__waitpid): Don't define as alias. Use libc_hidden_def not
3714 (waitpid): Define as alias of __waitpid.
3715 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3717 (__waitpid): Don't define as alias. Use libc_hidden_def not
3719 (waitpid): Define as alias of __waitpid.
3720 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3721 __libc_waitpid alias.
3722 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3723 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3725 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3727 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3729 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3731 (__waitpid): Don't define as alias. Use libc_hidden_def not
3733 (waitpid): Define as alias of __waitpid.
3735 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3737 * manual/llio.texi: Add comment that write safety has been
3740 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3741 (localplt-build-dso): Add elf/ld.so.
3742 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3743 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3746 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3751 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3752 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3753 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3754 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3755 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3756 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3757 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3758 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3759 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3760 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3761 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3763 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3766 * include/libc-symbols.h (INTUSE): Remove macro.
3768 (INTVARDEF): Likewise.
3769 (_INTVARDEF): Likewise.
3770 (INTDEF2): Likewise.
3771 (INTVARDEF2): Likewise.
3772 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3773 rtld_hidden_def instead of INTVARDEF.
3774 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3775 (_dl_starting_up_internal): Remove declaration.
3776 (_dl_starting_up): Use rtld_hidden_proto.
3777 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3779 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3780 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3782 * elf/dl-writev.h (_dl_writev): Likewise.
3783 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3784 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3785 _dl_starting_up_internal.
3787 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3789 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3792 2014-11-05 Will Newton <will.newton@linaro.org>
3794 * benchtests/Makefile: (bench-malloc): Add malloc thread
3795 scalability benchmark.
3796 * benchtests/bench-malloc-threads.c: New file.
3798 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3800 * sysdeps/aarch64/strchrnul.S: New file.
3802 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3804 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3806 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3810 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3812 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3814 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3817 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3819 * catgets/test-gencat.c: Use test-skeleton.c.
3820 * catgets/tst-catgets.c: Likewise.
3821 * csu/tst-empty.c: Likewise.
3822 * elf/tst-audit2.c: Likewise.
3823 * elf/tst-global1.c: Likewise.
3824 * elf/tst-pathopt.c: Likewise.
3825 * elf/tst-piemod1.c: Likewise.
3826 * elf/tst-tls10.c: Likewise.
3827 * elf/tst-tls11.c: Likewise.
3828 * elf/tst-tls12.c: Likewise.
3829 * gnulib/tst-gcc.c: Likewise.
3830 * iconvdata/tst-e2big.c: Likewise.
3831 * iconvdata/tst-loading.c: Likewise.
3832 * iconv/tst-iconv1.c: Likewise.
3833 * iconv/tst-iconv2.c: Likewise.
3834 * inet/test-inet6_opt.c: Likewise.
3835 * inet/tst-gethnm.c: Likewise.
3836 * inet/tst-network.c: Likewise.
3837 * inet/tst-ntoa.c: Likewise.
3838 * intl/tst-codeset.c: Likewise.
3839 * intl/tst-gettext2.c: Likewise.
3840 * intl/tst-gettext3.c: Likewise.
3841 * intl/tst-ngettext.c: Likewise.
3842 * intl/tst-translit.c: Likewise.
3843 * io/test-stat.c: Likewise.
3844 * libio/test-fmemopen.c: Likewise.
3845 * libio/tst-freopen.c: Likewise.
3846 * libio/tst-sscanf.c: Likewise.
3847 * libio/tst-ungetwc1.c: Likewise.
3848 * libio/tst-ungetwc2.c: Likewise.
3849 * libio/tst-widetext.c: Likewise.
3850 * localedata/tst-ctype.c: Likewise.
3851 * localedata/tst-digits.c: Likewise.
3852 * localedata/tst-leaks.c: Likewise.
3853 * localedata/tst-mbswcs1.c: Likewise.
3854 * localedata/tst-mbswcs2.c: Likewise.
3855 * localedata/tst-mbswcs3.c: Likewise.
3856 * localedata/tst-mbswcs4.c: Likewise.
3857 * localedata/tst-mbswcs5.c: Likewise.
3858 * localedata/tst-setlocale.c: Likewise.
3859 * localedata/tst-trans.c: Likewise.
3860 * localedata/tst-wctype.c: Likewise.
3861 * localedata/tst-xlocale1.c: Likewise.
3862 * login/tst-grantpt.c: Likewise.
3863 * malloc/tst-calloc.c: Likewise.
3864 * malloc/tst-malloc.c: Likewise.
3865 * malloc/tst-mallocstate.c: Likewise.
3866 * malloc/tst-mcheck.c: Likewise.
3867 * malloc/tst-mtrace.c: Likewise.
3868 * malloc/tst-obstack.c: Likewise.
3869 * math/atest-exp2.c: Likewise.
3870 * math/atest-exp.c: Likewise.
3871 * math/atest-sincos.c: Likewise.
3872 * math/test-matherr.c: Likewise.
3873 * math/test-misc.c: Likewise.
3874 * math/test-powl.c: Likewise.
3875 * math/tst-definitions.c: Likewise.
3876 * misc/tst-dirname.c: Likewise.
3877 * misc/tst-efgcvt.c: Likewise.
3878 * misc/tst-fdset.c: Likewise.
3879 * misc/tst-hsearch.c: Likewise.
3880 * misc/tst-mntent2.c: Likewise.
3881 * nptl/tst-sem7.c: Likewise.
3882 * nptl/tst-sem8.c: Likewise.
3883 * nptl/tst-sem9.c: Likewise.
3884 * nss/test-netdb.c: Likewise.
3885 * posix/tst-fnmatch.c: Likewise.
3886 * posix/tst-getlogin.c: Likewise.
3887 * posix/tst-gnuglob.c: Likewise.
3888 * posix/tst-mmap.c: Likewise.
3889 * pwd/tst-getpw.c: Likewise.
3890 * resolv/tst-inet_ntop.c: Likewise.
3891 * rt/tst-timer.c: Likewise.
3892 * stdio-common/test-fseek.c: Likewise.
3893 * stdio-common/test-popen.c: Likewise.
3894 * stdio-common/test-vfprintf.c: Likewise.
3895 * stdio-common/tst-cookie.c: Likewise.
3896 * stdio-common/tst-fileno.c: Likewise.
3897 * stdio-common/tst-gets.c: Likewise.
3898 * stdio-common/tst-obprintf.c: Likewise.
3899 * stdio-common/tst-perror.c: Likewise.
3900 * stdio-common/tst-sprintf2.c: Likewise.
3901 * stdio-common/tst-sprintf3.c: Likewise.
3902 * stdio-common/tst-sprintf.c: Likewise.
3903 * stdio-common/tst-swprintf.c: Likewise.
3904 * stdio-common/tst-tmpnam.c: Likewise.
3905 * stdio-common/tst-unbputc.c: Likewise.
3906 * stdio-common/tst-wc-printf.c: Likewise.
3907 * stdlib/tst-environ.c: Likewise.
3908 * stdlib/tst-fmtmsg.c: Likewise.
3909 * stdlib/tst-limits.c: Likewise.
3910 * stdlib/tst-rand48-2.c: Likewise.
3911 * stdlib/tst-rand48.c: Likewise.
3912 * stdlib/tst-random2.c: Likewise.
3913 * stdlib/tst-random.c: Likewise.
3914 * stdlib/tst-strtol.c: Likewise.
3915 * stdlib/tst-strtoll.c: Likewise.
3916 * stdlib/tst-tls-atexit.c: Likewise.
3917 * stdlib/tst-xpg-basename.c: Likewise.
3918 * string/test-ffs.c: Likewise.
3919 * string/tst-bswap.c: Likewise.
3920 * string/tst-inlcall.c: Likewise.
3921 * string/tst-strtok.c: Likewise.
3922 * string/tst-strxfrm.c: Likewise.
3923 * sysdeps/x86_64/tst-audit10.c: Likewise.
3924 * sysdeps/x86_64/tst-audit3.c: Likewise.
3925 * sysdeps/x86_64/tst-audit4.c: Likewise.
3926 * sysdeps/x86_64/tst-audit5.c: Likewise.
3927 * time/tst-ftime_l.c: Likewise.
3928 * time/tst-getdate.c: Likewise.
3929 * time/tst-mktime3.c: Likewise.
3930 * time/tst-mktime.c: Likewise.
3931 * time/tst-posixtz.c: Likewise.
3932 * time/tst-strptime2.c: Likewise.
3933 * time/tst-strptime3.c: Likewise.
3934 * wcsmbs/tst-btowc.c: Likewise.
3935 * wcsmbs/tst-mbrtowc.c: Likewise.
3936 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3937 * wcsmbs/tst-wchar-h.c: Likewise.
3938 * wcsmbs/tst-wcpncpy.c: Likewise.
3939 * wcsmbs/tst-wcrtomb.c: Likewise.
3940 * wcsmbs/tst-wcsnlen.c: Likewise.
3941 * wcsmbs/tst-wcstof.c: Likewise.
3943 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3946 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3948 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3950 (_dl_mcount): Use rtld_hidden_proto.
3951 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3953 * elf/rtld.c (_rtld_global_ro): Likewise.
3956 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3957 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3958 of _dl_init_internal.
3959 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3960 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3961 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3962 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3963 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3964 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3965 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3966 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3967 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3968 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3969 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3970 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3971 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3972 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3973 * sysdeps/tile/dl-start.S (_start): Likewise.
3974 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3975 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3978 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3979 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3980 (rtld_progname): Make macro definition unconditional.
3981 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3983 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3984 (dl_main): Likewise.
3985 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3986 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3987 instead of _dl_argv_internal.
3988 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3989 __GI__dl_argv instead of INTUSE(_dl_argv).
3990 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3991 __GI__dl_argv instead of _dl_argv_internal.
3993 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3994 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3996 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3997 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3999 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4000 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4002 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4003 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4005 2014-11-04 Andreas Schwab <schwab@suse.de>
4007 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4009 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4012 mtvsrd instruction in binary form.
4014 2014-11-03 Andreas Schwab <schwab@suse.de>
4017 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4018 for less than MB_LEN_MAX use a local buffer of that size.
4019 * libio/tst-fputws.c: New file.
4020 * libio/Makefile (tests): Add tst-fputws.
4022 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4024 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4025 the size of the fpu_fr.fpu_dregs[] array.
4027 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4029 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4030 (__nanosleep): Do not define as alias.
4031 (nanosleep): Define as alias of __nanosleep.
4032 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4033 __libc_nanosleep name.
4035 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4037 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4038 install.texi in comment.
4040 2014-10-31 Torvald Riegel <triegel@redhat.com>
4042 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4043 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4044 ... add here and use lwsync or sync ...
4045 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4046 ... and add here using lwsync.
4048 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4050 * elf/dl-machine-reject-phdr.h: New file.
4051 * elf/dl-load.c: #include that.
4052 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4053 if that returned true.
4055 2014-10-31 Roland McGrath <roland@hack.frob.com>
4058 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4059 gen-as-const-headers chunk. Add a big scare comment after the last
4060 safe place to touch before-compile.
4062 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4064 * manual/install.texi (Tools for Compilation): Update autoconf
4065 version requirements.
4066 * INSTALL: Regenerated.
4068 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4069 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4070 (__libc_pselect): Likewise.
4073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4078 2014-10-31 Torvald Riegel <triegel@redhat.com>
4080 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4081 correct barrier instruction.
4082 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4084 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4087 2014-10-30 Roland McGrath <roland@hack.frob.com>
4089 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4090 after defining inlines. Instead, just use parens to defeat macro
4091 expansion of __isctype in its declaration.
4093 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4095 * include/sys/uio.h (__libc_readv): Remove declaration.
4096 (__libc_writev): Likewise.
4097 * misc/readv.c (__libc_readv): Rename to __readv.
4098 (__readv): Do not define as alias.
4099 (readv): Define as alias of __readv.
4100 * misc/writev.c (__libc_writev): Rename to __writev.
4101 (__writev): Do not define as alias.
4102 (writev): Define as alias of __writev.
4103 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4104 (__readv): Do not define as alias.
4105 (readv): Define unconditionally as alias of __readv.
4106 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4107 (__writev): Do not define as alias.
4108 (writev): Define unconditionally as alias of __writev.
4109 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4111 (writev): Do not define __libc_writev name.
4113 2014-10-30 Roland McGrath <roland@hack.frob.com>
4115 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4116 (convert_charseq): New function, broken out of ...
4117 (use_from_charmap): ... here. Call it.
4118 (use_to_charmap): Use convert_charseq and free instead of duplicating
4119 its code with a variable-length stack struct.
4121 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4123 * include/fcntl.h (__libc_creat): Remove declaration.
4124 * io/creat.c (__libc_creat): Rename to creat.
4125 (creat): Do not define as alias.
4126 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4127 of creat instead of __libc_creat.
4128 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4130 (creat): Do not define as alias.
4131 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4133 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4138 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4140 * manual/llio.texi: Add comments discussing why write() may be
4141 considered MT-unsafe on Linux.
4143 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4145 * dl-load.c (local_strdup): Remove.
4146 (expand_dynamic_string_token): Use __strdup.
4147 (decompose_rpath): Likewise.
4148 (_dl_map_object): Likewise.
4150 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4153 * sysdeps/generic/unwind-dw2-fde.c
4154 (__register_frame_info_bases_internal): Do not declare.
4155 (__register_frame_info_table_bases_internal): Likewise.
4156 (__deregister_frame_info_bases_internal): Likewise.
4157 (__register_frame_info_bases): Declare and use hidden_proto before
4158 definition. Use hidden_def instead of INTDEF.
4159 (__register_frame_info_table_bases): Likewise.
4160 (__deregister_frame_info_bases): Likewise.
4161 (__register_frame_info): Do not use INTUSE.
4162 (__register_frame): Likewise.
4163 (__register_frame_info_table): Likewise.
4164 (__register_frame_table): Likewise.
4165 (__deregister_frame_info): Likewise.
4166 (__deregister_frame): Likewise.
4168 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4171 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4173 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4175 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4178 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4181 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4182 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4183 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4184 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4185 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4186 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4187 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4188 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4189 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4190 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4191 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4192 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4193 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4195 (setfsuid): Likewise.
4196 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4197 (setfsuid): Likewise.
4198 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4199 (setfsuid): Likewise.
4200 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4202 (setfsuid): Likewise.
4203 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4204 (setfsuid): Likewise.
4205 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4207 (setfsuid): Likewise.
4209 2014-10-27 Andreas Schwab <schwab@suse.de>
4212 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4213 check for Slow_SSE4_2 feature bit.
4214 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4215 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4216 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4217 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4219 2014-10-24 Roland McGrath <roland@hack.frob.com>
4221 * configure.ac: Validate compiler version with a empirical test of
4222 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4224 * configure: Regenerated.
4226 * inet/htons.c (htons): Prototypify.
4227 * inet/htonl.c (htonl): Likewise.
4229 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4231 * string/strncat.c (strncat): Improve performance by using strlen.
4233 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4235 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4237 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4239 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4240 Call libc_fetestexcept_aarch64.
4242 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4244 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4245 Call libc_feholdexcept_aarch64.
4247 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4249 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4250 Call get_rounding_mode.
4252 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4254 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4257 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4259 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4262 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4265 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4266 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4267 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4268 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4269 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4270 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4271 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4272 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4273 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4274 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4275 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4276 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4277 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4278 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4279 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4280 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4281 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4282 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4283 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4284 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4285 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4286 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4287 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4288 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4289 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4290 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4291 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4292 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4293 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4294 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4295 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4296 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4297 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4298 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4299 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4300 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4302 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4303 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4305 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4307 (geteuid): Likewise.
4310 (getresgid): Likewise.
4311 (getresuid): Likewise.
4312 (getgroups): Likewise.
4313 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4314 (geteuid): Likewise.
4317 (getresgid): Likewise.
4318 (getresuid): Likewise.
4319 (getgroups): Likewise.
4320 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4321 (geteuid): Likewise.
4324 (getresgid): Likewise.
4325 (getresuid): Likewise.
4326 (getgroups): Likewise.
4327 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4329 (geteuid): Likewise.
4332 (getresgid): Likewise.
4333 (getresuid): Likewise.
4334 (getgroups): Likewise.
4335 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4336 (geteuid): Likewise.
4339 (getresgid): Likewise.
4340 (getresuid): Likewise.
4341 (getgroups): Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4344 (geteuid): Likewise.
4347 (getgroups): Likewise.
4350 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4351 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4352 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4353 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4355 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4356 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4357 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4358 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4361 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4362 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4364 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4367 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4371 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4374 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4379 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4381 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4384 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4386 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4389 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4391 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4392 Remove unused include.
4394 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4396 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4397 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4398 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4399 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4401 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4402 Helge Deller <deller@gmx.de>
4405 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4406 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4407 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4409 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4412 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4413 Remove macro definition.
4414 (__ashrdi3_v_glibc20): Likewise.
4415 (__lshrdi3_v_glibc20): Likewise.
4416 (__cmpdi2_v_glibc20): Likewise.
4417 (__ucmpdi2_v_glibc20): Likewise.
4418 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4419 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4420 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4421 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4422 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4423 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4425 2014-10-22 Roland McGrath <roland@hack.frob.com>
4427 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4428 old GNU extension [0] syntax.
4429 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4430 alloca rather than an array member with variable length.
4431 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4432 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4433 (parse_opt): ... here. Likewise use alloca there.
4434 Validate the -i argument before checking for rootness.
4435 (send_shutdown): New function, broken out of ...
4436 (parse_opt): ... here.
4438 2014-10-22 Roland McGrath <roland@hack.frob.com>
4440 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4441 macro to get at the _rt_local_ro field.
4442 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4443 ([PIC] case) or _dl_hwcap ([!PIC] case).
4444 * sysdeps/arm/setjmp.S: Likewise.
4446 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4447 * sysdeps/arm/configure.ac: New check to define it.
4448 * sysdeps/arm/configure: Regenerated.
4449 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4450 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4451 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4452 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4453 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4454 Use move/movt pair instead of a load.
4455 (LDST_GLOBAL): Macro removed.
4456 (LDR_GLOBAL): New macro replaces it.
4457 (LDR_HIDDEN): New macro.
4458 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4459 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4461 * setjmp/tst-setjmp-static.c: New file.
4462 * setjmp/Makefile (tests): Add it.
4463 (tests-static): New variable.
4465 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4468 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4470 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4473 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4475 2014-10-21 Roland McGrath <roland@hack.frob.com>
4477 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4479 2014-10-20 Roland McGrath <roland@hack.frob.com>
4481 * io/fts.c (dirent_not_directory): New function.
4482 (fts_build): Call it.
4484 2014-10-20 Roland McGrath <roland@hack.frob.com>
4486 * nptl/version.c (__nptl_main): Use normal __write rather than
4488 (banner): Update copyright years.
4490 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4492 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4493 * nptl/pthread_cond_timedwait.c: Likewise.
4494 * nptl/pthread_mutex_timedlock.c: Likewise.
4495 * nptl/sem_timedwait.c: Likewise.
4497 * sysdeps/nptl/bits/libc-lock.h
4498 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4499 (__libc_lock_init_recursive): Return void, not 0.
4500 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4501 (__libc_rwlock_init): Likewise.
4502 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4504 2014-10-20 Torvald Riegel <triegel@redhat.com>
4507 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4508 (__pthread_once_slow): ... here.
4509 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4510 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4512 2014-10-20 Torvald Riegel <triegel@redhat.com>
4515 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4516 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4517 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4518 * nptl/pthread_once.c (__pthread_once): Likewise.
4521 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4524 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4526 (writev): Use __libc_writev as strong name.
4527 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4528 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4530 2014-10-17 Roland McGrath <roland@hack.frob.com>
4532 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4534 * sysdeps/i386/nptl/tls.h
4535 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4536 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4538 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4539 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4540 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4541 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4542 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4543 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4545 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4546 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4548 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4550 (__pthread_mutex_init): ... here. Call it.
4551 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4552 Conditionalize PI cases on [__NR_futex].
4553 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4554 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4555 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4557 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4558 conditional on [SIGSETXID].
4559 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4560 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4561 is defined. Likewise for SIGSETXID.
4562 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4563 Conditionalize definitions on [SIGSETXID].
4564 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4565 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4566 unblocking on [SIGCANCEL].
4568 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4569 [__NR_set_robust_list].
4571 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4573 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4574 (do_compare): Likewise.
4576 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4579 * string/strcoll_l.c: Don't include stdio.h.
4580 (coll_seq): Remove members idxarr and rulearr.
4581 (get_next_seq_cached): Remove function.
4582 (get_next_seq): Likewise.
4583 (get_next_seq_nocache): Rename to get_next_seq.
4584 (do_compare): Remove function.
4585 (do_compare_nocache): Rename to do_compare.
4586 (STRCOLL): Remove weight and rules cache.
4588 2014-10-16 Roland McGrath <roland@hack.frob.com>
4590 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4591 * sysdeps/arm/sfp-machine.h: ... to here.
4592 * sysdeps/arm/Implies: Remove arm/soft-fp.
4594 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4596 * conform/data/sys/utsname.h-data (*_t): Allow.
4597 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4598 [POSIX] (WEXITED): Do not expect constant.
4599 [POSIX] (WSTOPPED): Likewise.
4600 [POSIX] (WNOHANG): Likewise.
4601 [POSIX] (WNOWAIT): Likewise.
4602 [POSIX] (siginfo_t): Do not expect type or elements.
4603 [POSIX] (pid_t): Do not expect type.
4604 [POSIX] (signal.h): Do not allow header.
4605 [POSIX] (sys/resource.h): Likewise.
4606 [POSIX] (si_*): Do not allow pattern.
4607 [POSIX] (W*): Likewise.
4608 [POSIX] (P_*): Likewise.
4609 [POSIX] (BUS_*): Likewise.
4610 [POSIX] (CLD_*): Likewise.
4611 [POSIX] (FPE_*): Likewise.
4612 [POSIX] (ILL_*): Likewise.
4613 [POSIX] (POLL_*): Likewise.
4614 [POSIX] (SEGV_*): Likewise.
4615 [POSIX] (SI_*): Likewise.
4616 [POSIX] (TRAP_*): Likewise.
4617 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4620 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4623 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4624 infinite loop when __recvmsg returns 0.
4626 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4628 * CANCEL-FCT-WAIVE: Remove file.
4629 * CANCEL-FILE-WAIVE: Likewise.
4632 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4633 instead of INTVARDEF.
4634 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4635 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4636 rtld_hidden_data_def instead of INTVARDEF.
4637 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4638 * elf/dl-deps.c (expand_dst): Likewise.
4639 * elf/dl-load.c (_dl_dst_count): Likewise.
4640 (_dl_dst_substitute): Likewise.
4641 (decompose_rpath): Likewise.
4642 (_dl_init_paths): Likewise.
4643 (open_path): Likewise.
4644 (_dl_map_object): Likewise.
4645 * elf/rtld.c (dl_main): Likewise.
4646 (process_dl_audit): Likewise.
4647 (process_envvars): Likewise.
4648 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4650 (__libc_enable_secure): Use rtld_hidden_proto.
4652 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4655 (add_path): New function broken out of _dl_rtld_di_serinfo.
4656 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4658 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4660 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4661 parentheses around macro arguments.
4662 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4663 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4664 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4665 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4666 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4667 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4668 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4670 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4671 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4672 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4673 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4674 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4675 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4676 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4677 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4678 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4679 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4680 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4681 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4682 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4683 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4684 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4685 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4686 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4688 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4689 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4690 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4691 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4692 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4693 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4694 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4695 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4696 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4697 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4699 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4700 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4701 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4702 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4703 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4704 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4705 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4706 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4707 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4708 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4709 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4710 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4711 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4712 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4713 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4714 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4715 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4716 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4717 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4718 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4719 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4720 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4721 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4722 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4723 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4724 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4725 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4726 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4727 (_FP_FRAC_SRS_1): Likewise.
4728 (_FP_FRAC_CLZ_1): Likewise.
4729 (_FP_MUL_MEAT_1_imm): Likewise.
4730 (_FP_MUL_MEAT_1_wide): Likewise.
4731 (_FP_MUL_MEAT_1_hard): Likewise.
4732 (_FP_SQRT_MEAT_1): Likewise.
4733 (_FP_FRAC_ASSEMBLE_1): Likewise.
4734 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4735 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4736 (__FP_CLZ_2): Likewise.
4737 (_FP_MUL_MEAT_2_wide): Likewise.
4738 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4739 (_FP_MUL_MEAT_2_gmp): Likewise.
4740 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4741 (_FP_SQRT_MEAT_2): Likewise.
4742 (_FP_FRAC_ASSEMBLE_2): Likewise.
4743 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4744 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4745 (_FP_FRAC_CLZ_4): Likewise.
4746 (_FP_MUL_MEAT_4_wide): Likewise.
4747 (_FP_MUL_MEAT_4_gmp): Likewise.
4748 (_FP_SQRT_MEAT_4): Likewise.
4749 (_FP_FRAC_ASSEMBLE_4): Likewise.
4750 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4751 * soft-fp/op-common.h (_FP_CMP): Likewise.
4752 (_FP_CMP_EQ): Likewise.
4753 (_FP_CMP_UNORD): Likewise.
4754 (_FP_TO_INT): Likewise.
4755 (_FP_FROM_INT): Likewise.
4756 [!__FP_CLZ] (__FP_CLZ): Likewise.
4757 (_FP_DIV_HELP_imm): Likewise.
4758 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4761 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4762 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4764 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4765 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4766 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4769 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4770 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4771 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4772 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4773 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4774 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4775 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4776 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4781 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4782 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4783 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4784 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4786 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4787 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4788 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4789 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4790 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4791 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4792 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4793 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4794 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4795 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4796 (FP_UNPACK_RAW_SP): Likewise.
4797 (FP_PACK_RAW_S): Likewise.
4798 (FP_PACK_RAW_SP): Likewise.
4799 (FP_UNPACK_S): Likewise.
4800 (FP_UNPACK_SP): Likewise.
4801 (FP_UNPACK_SEMIRAW_S): Likewise.
4802 (FP_UNPACK_SEMIRAW_SP): Likewise.
4803 (FP_PACK_S): Likewise.
4804 (FP_PACK_SP): Likewise.
4805 (FP_PACK_SEMIRAW_S): Likewise.
4806 (FP_PACK_SEMIRAW_SP): Likewise.
4807 (_FP_SQRT_MEAT_S): Likewise.
4808 (FP_CMP_S): Likewise.
4809 (FP_CMP_EQ_S): Likewise.
4810 (FP_CMP_UNORD_S): Likewise.
4811 (FP_TO_INT_S): Likewise.
4812 (FP_FROM_INT_S): Likewise.
4814 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4816 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4817 (FP_EX_INVALID_IMZ): Likewise.
4818 (FP_EX_INVALID_IMZ_FMA): Likewise.
4819 (FP_EX_INVALID_ISI): Likewise.
4820 (FP_EX_INVALID_ZDZ): Likewise.
4821 (FP_EX_INVALID_IDI): Likewise.
4822 (FP_EX_INVALID_SQRT): Likewise.
4823 (FP_EX_INVALID_CVI): Likewise.
4824 (FP_EX_INVALID_VC): Likewise.
4825 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4826 "invalid" exceptions.
4827 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4828 (_FP_ADD_INTERNAL): Likewise.
4829 (_FP_MUL): Likewise.
4830 (_FP_FMA): Likewise.
4831 (_FP_DIV): Likewise.
4832 (_FP_CMP_CHECK_NAN): Likewise.
4833 (_FP_SQRT): Likewise.
4834 (_FP_TO_INT): Likewise.
4835 (FP_EXTEND): Likewise.
4837 2014-10-09 Allan McRae <allan@archlinux.org>
4839 * po/fr.po: Update French translation from translation project.
4841 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4844 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4846 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4847 (__cxa_atexit): Use libc_hidden_proto.
4848 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4851 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4853 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4854 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4855 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4856 [!_ISOMAC] (__iswctype_internal): Likewise.
4857 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4858 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4860 (fcntl): Remove __fcntl_internal alias.
4861 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4862 __connect_internal alias.
4863 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4866 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4867 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4869 (_FP_CHECK_FLUSH_ZERO): New macro.
4870 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4871 (_FP_CMP): Likewise.
4872 (_FP_CMP_EQ): Likewise.
4873 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4875 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4876 (FP_TRUNC): Likewise.
4878 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4879 treated as invalid conversion, not as normal exponent.
4881 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4882 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4883 (_FP_CMP_EQ): Likewise.
4884 (_FP_CMP_UNORD): Likewise.
4885 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4886 (FP_CMP_EQ_D): Likewise.
4887 (FP_CMP_UNORD_D): Likewise.
4888 * soft-fp/extended.h (FP_CMP_E): Likewise.
4889 (FP_CMP_EQ_E): Likewise.
4890 (FP_CMP_UNORD_E): Likewise.
4891 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4892 (FP_CMP_EQ_Q): Likewise.
4893 (FP_CMP_UNORD_Q): Likewise.
4894 * soft-fp/single.h (FP_CMP_S): Likewise.
4895 (FP_CMP_EQ_S): Likewise.
4896 (FP_CMP_UNORD_S): Likewise.
4897 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4898 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4899 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4900 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4901 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4902 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4903 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4904 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4905 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4906 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4907 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4908 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4909 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4911 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4913 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4914 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4916 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4918 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4919 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4920 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4921 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4923 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4925 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4926 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4928 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4930 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4931 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4932 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4933 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4936 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4937 a subnormal result, set the underflow exception if trapping on
4938 underflow is enabled.
4939 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4940 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4941 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4943 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4944 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4945 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4946 * soft-fp/extendxftf2.c (__extendxftf2): Use
4947 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4949 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4950 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4951 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4952 FP_HANDLE_EXCEPTIONS.
4953 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4954 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4955 FP_HANDLE_EXCEPTIONS.
4956 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4957 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4958 FP_HANDLE_EXCEPTIONS.
4959 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4960 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4961 FP_HANDLE_EXCEPTIONS.
4963 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4966 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4967 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4969 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4970 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4972 (__adjtimex): Define using libc_hidden_ver.
4973 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4975 (ntp_gettime): Call __adjtimex directly.
4976 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4978 (ntp_gettimex): Call __adjtimex directly.
4979 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4980 __adjtimex_internal alias.
4982 2014-10-08 Roland McGrath <roland@hack.frob.com>
4985 * nscd/nscd.c (more_help): Rewrite list of tables collection
4986 using xstrdup and asprintf.
4988 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4990 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4991 Roland McGrath <roland@hack.frob.com>
4993 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4994 (do_lookup_unique): ... local function 'enter' here; update callers.
4996 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4998 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4999 compat_symbol calls on [SHARED].
5000 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5001 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5003 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5004 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5005 (oldsetrlimit): Remove.
5006 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5008 (lchown): New syscall entry.
5009 (oldsetrlimit): Remove.
5010 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5011 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5012 (oldsetrlimit): Remove.
5013 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5016 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5017 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5018 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5019 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5020 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5021 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5023 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5028 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5030 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5031 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5032 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5033 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5034 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5036 (__old_sem_post): Likewise.
5038 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5040 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5041 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5042 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5043 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5044 Use INLINE_VSYSCALL macro.
5045 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5046 __vdso_clock_gettime.
5047 * sysdeps/unix/sysv/linux/tile/init-first.c
5048 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5049 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5050 __vdso_clock_gettime.
5052 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5053 to set up frame more cleanly.
5055 * sysdeps/tile/memcmp.c: New file.
5057 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5059 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5060 * sysdeps/tile/tilegx/strcasestr.c: New file.
5061 * sysdeps/tile/tilegx/strnlen.c: New file.
5062 * sysdeps/tile/tilegx/strstr.c: New file.
5064 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5066 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5068 * nptl/tst-setuid3.c: Write errors to stdout.
5070 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5073 (preload): New functions broken out of _dl_map_object_deps.
5074 (_dl_map_object_deps): Remove a nested function. Update call sites.
5076 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5079 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5080 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5082 2014-10-01 Steve Ellcey <sellcey@mips.com>
5084 * sysdeps/mips/strcmp.S: New.
5086 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5089 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5091 (mkdirat): Likewise.
5092 (readlinkat): Likewise.
5093 (renameat): Likewise.
5094 (symlinkat): Likewise.
5095 (unlinkat): Likewise.
5096 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5097 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5098 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5099 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5100 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5101 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5102 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5104 2014-09-30 Will Newton <will.newton@linaro.org>
5106 * math/math.h: Define long double math functions if
5107 _LIBC_TEST is defined.
5108 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5110 * localedata/Makefile: Move assignment to tests-special
5111 into an ifdef testing run-built-tests.
5112 * timezone/Makefile: Likewise.
5114 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5116 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5117 with $(BASH) not $(SHELL).
5119 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5120 Matthew LeGendre <legendre1@llnl.gov>
5123 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5126 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5128 * stdio-common/printf_fp.c
5129 (hack_digit): New function, broken out of ...
5130 (__printf_fp): ... local function here. Update call sites.
5131 hack_digit now takes an additional parameter that is a pointer
5132 to a struct of the referenced locals. Those locals moved inside
5133 the struct and references updated.
5135 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5137 * aclocal.m4: Require autoconf 2.69.
5138 * configure: Regenerated.
5139 * sysdeps/aarch64/configure: Likewise.
5140 * sysdeps/alpha/configure: Likewise.
5141 * sysdeps/arm/armv7/configure: Likewise.
5142 * sysdeps/arm/configure: Likewise.
5143 * sysdeps/ia64/configure: Likewise.
5144 * sysdeps/mach/configure: Likewise.
5145 * sysdeps/mips/configure: Likewise.
5146 * sysdeps/s390/configure: Likewise.
5147 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5150 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5152 * sysdeps/ia64/configure.ac: Likewise.
5154 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5157 specify symbol version for ld.so. Do not include entry for
5159 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5160 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5164 * Makeconfig [$(build-shared) = yes]
5165 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5167 [$(build-shared) = yes && $(soversions.mk-done) = t]
5168 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5169 [$(build-shared) = yes && $(soversions.mk-done) = t]
5170 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5172 [$(build-shared) = yes && $(soversions.mk-done) = t]
5173 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5175 [$(build-shared) = yes && $(soversions.mk-done) = t]
5176 (common-generated): Don't append gnu/lib-names.h and
5177 gnu/lib-names.stmp here.
5178 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5179 (lib-names-h-abi): New variable.
5180 [$(build-shared) = yes && $(soversions.mk-done) = t]
5181 (lib-names-stmp-abi): Likewise.
5182 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5183 abi-variants] (before-compile): Append
5184 $(common-objpfx)$(lib-names-h-abi).
5185 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5186 abi-variants] (common-generated): Append gnu/lib-names.h.
5187 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5188 abi-variants] (install-others-nosubdir): Depend on
5189 $(inst_includedir)/$(lib-names-h-abi).
5190 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5191 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5192 [$(build-shared) = yes && $(soversions.mk-done) = t]
5193 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5194 [$(build-shared) = yes && $(soversions.mk-done) = t]
5195 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5196 [$(build-shared) = yes && $(soversions.mk-done) = t]
5197 (common-generated): Append $(lib-names-h-abi) and
5198 $(lib-names-stmp-abi).
5199 * scripts/lib-names.awk: Do not handle multi being set.
5200 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5202 (abi-lp64_be-ld-soname): Likewise.
5203 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5205 (abi-hard-ld-soname): Likewise.
5206 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5207 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5209 (abi-o32_hard-ld-soname): Likewise.
5210 (abi-o32_soft_2008-ld-soname): Likewise.
5211 (abi-o32_hard_2008-ld-soname): Likewise.
5212 (abi-n32_soft-ld-soname): Likewise.
5213 (abi-n32_hard-ld-soname): Likewise.
5214 (abi-n32_soft_2008-ld-soname): Likewise.
5215 (abi-n32_hard_2008-ld-soname): Likewise.
5216 (abi-n64_soft-ld-soname): Likewise.
5217 (abi-n64_hard-ld-soname): Likewise.
5218 (abi-n64_soft_2008-ld-soname): Likewise.
5219 (abi-n64_hard_2008-ld-soname): Likewise.
5220 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5222 (abi-64-v2-ld-soname): Likewise.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5225 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5227 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5229 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5231 (abi-64-ld-soname): Likewise.
5232 (abi-x32-ld-soname): Likewise.
5233 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5235 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5237 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5240 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5241 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5242 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5243 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5244 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5245 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5246 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5247 syscall entry for GLIBC_2.2 symbol version.
5248 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5251 (setrlimit): Likewise.
5252 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5255 2014-09-23 Will Newton <will.newton@linaro.org>
5257 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5258 _LINUX_ARM_SYSDEP_H include guard too.
5259 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5262 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5264 * sysdeps/unix/sysv/linux/eventfd.c:
5265 Make first argument unsigned.
5266 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5267 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5269 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5271 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5272 * socket/sys/socket.h: Likewise
5273 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5275 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5277 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5279 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5281 * time/tst-ftime.c: New test.
5282 * time/Makefile (tests): Add tst-ftime.
5284 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5286 * soft-fp/extended.h: Fix comment formatting.
5287 * soft-fp/op-1.h: Likewise.
5288 * soft-fp/op-2.h: Likewise.
5289 * soft-fp/op-4.h: Likewise.
5290 * soft-fp/op-8.h: Likewise.
5291 * soft-fp/op-common.h: Likewise.
5292 * soft-fp/soft-fp.h: Likewise.
5294 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5296 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5299 * Makeconfig (soversions-default-setname): Remove variable.
5300 ($(common-objpfx)soversions.i): Don't pass default_setname to
5302 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5303 oldest_abi to abi-versions.awk.
5304 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5305 * config.make.in (oldest-abi): Remove variable.
5306 * configure.ac (--enable-oldest-abi): Remove configure option.
5307 * configure: Regenerated.
5308 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5310 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5311 * scripts/soversions.awk: Do not handle default_setname variable.
5312 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5314 * sysdeps/mach/hurd/configure: Regenerated.
5315 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5317 * sysdeps/unix/sysv/linux/configure: Regenerated.
5319 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5321 * elf/Makefile (CFLAGS-interp.c): Remove.
5322 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5324 * elf/interp.c: Include generated runtime-linker.h
5326 * Makerules (lib%.so): Don't include $(+interp) in
5328 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5329 * dlfcn/eval.c: Remove file.
5331 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5335 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5339 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5341 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5342 Jakub Jelinek <jakub@redhat.com>
5345 * libio/stdio.h: Check definition of __fortify_function
5346 instead of __extern_always_inline to include bits/stdio2.h.
5347 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5348 check if __extern_always_inline is defined.
5349 [__USE_MISC || __USE_XOPEN]: Likewise.
5350 [__USE_ISOC99] Likewise.
5351 * misc/sys/cdefs.h (__fortify_function): Define only if
5352 __extern_always_inline is defined.
5353 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5354 __extern_always_inline and __extern_inline only for g++-4.3
5355 and newer or a compatible gcc.
5357 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5360 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5361 last change to handle zero prefix length.
5363 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5365 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5368 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5371 2014-09-13 Allan McRae <allan@archlinux.org>
5373 * po/ru.po: Update Russian translation from translation project.
5375 2014-09-12 Roland McGrath <roland@hack.frob.com>
5377 * locale/programs/locale.c (show_locale_vars): Inline local function
5378 into its sole call site. Clean up some style nits.
5379 (print_item): New function, broken out of ...
5380 (show_info): ... local function here. Clean up style nits.
5382 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5384 (set_class_defaults): ... local function set_default here.
5385 Define set_default as a macro locally to pass constant parameters.
5386 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5387 rather than a shared local.
5389 * stdlib/rpmatch.c (try): New function, broken out of ...
5390 (rpmatch): ... local function here. Also, prototypify definition.
5392 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5394 * scripts/soversions.awk: Do not handle configuration names.
5395 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5396 vendor and os variables to soversions.awk.
5397 * configure.ac: Do not modify gnu-* host_os.
5398 * configure: Regenerated
5399 * shlib-versions: Remove first column with configuration names.
5400 * nptl/shlib-versions: Likewise.
5401 * nptl_db/shlib-versions: Likewise.
5402 * sysdeps/hppa/shlib-versions: Likewise.
5403 * sysdeps/m68k/shlib-versions: Likewise.
5404 * sysdeps/mach/hurd/shlib-versions: Likewise.
5405 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5406 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5407 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5408 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5409 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5410 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5411 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5412 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5415 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5416 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5417 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5418 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5419 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5420 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5421 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5422 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5425 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5428 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5430 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5432 * shlib-versions: Remove OS-specific entries. Moved to files in
5434 * sysdeps/mach/hurd/shlib-versions: New file.
5435 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5437 * nptl/shlib-versions: Remove architecture-specific entries.
5438 Moved to files in sysdeps.
5439 * shlib-versions: Likewise.
5440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5442 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5443 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5444 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5445 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5447 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5448 (UDP_NO_CHECK6_RX): Likewise.
5450 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5452 * sysdeps/posix/sysconf.c (__sysconf): Spell
5453 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5455 2014-08-12 Florian Weimer <fweimer@redhat.com>
5457 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5459 * iconv/Versions (__gconv_transliterate): Export for use from
5461 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5462 (struct __gconv_trans_data, __gconv_trans_fct,
5463 __gconv_trans_context_fct, __gconv_trans_query_fct,
5464 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5466 (struct __gconv_step_data): Remove __trans member.
5467 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5468 longer hidden. Remove unused trans_data argument.
5469 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5470 (__gconv_translit_find): Remove declaration.
5471 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5473 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5474 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5475 trans_data argument. Add hidden definition.
5476 (__gconv_translit_find): Remove.
5477 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5478 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5479 * iconv/skeleton.c: Remove transliteration initialization.
5480 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5481 __gconv_step_data initialization.
5482 * libio/iofwide.c (__libio_translit_): Remove.
5483 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5484 * wcsmbs/btowc.c (__btowc): Likewise.
5485 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5486 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5487 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5488 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5489 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5490 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5491 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5492 * wcsmbs/wctob.c (wctob): Likewise.
5494 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5497 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5498 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5500 * sysdeps/x86/Makefile: Adjust.
5502 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5503 Roland McGrath <roland@hack.frob.com>
5505 * locale/weight.h: Add include guard.
5506 (findidx): Make static rather than auto; take new parameters
5507 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5508 * locale/weightwc.h: Likewise.
5509 * posix/fnmatch_loop.c
5510 (FCT): Change type of EXTRA from int32_t to wint_t.
5511 Don't include either header inside the function.
5512 Call FINDIDX rather than findidx, and pass new arguments.
5513 #undef FINDIDX at the end of the file.
5514 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5515 FINDIDX before including fnmatch_loop.c for the non-wide version.
5516 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5517 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5518 for the wide version.
5519 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5520 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5521 Pass new arguments to findidx.
5522 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5523 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5524 Don't #include it inside the function. Pass new arguments to findidx.
5525 * posix/regex_internal.h
5526 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5527 (re_string_elem_size_at): Don't #include it inside the function.
5528 Pass new arguments to findidx.
5529 * string/strcoll_l.c: #include WEIGHT_H at top level.
5530 (get_next_seq): Don't #include it inside the function.
5531 Pass new arguments to findidx.
5532 (get_next_seq_nocache): Likewise.
5533 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5534 (STRXFRM): Don't #include it inside the function.
5535 Pass new arguments to findidx.
5537 2014-09-11 Florian Weimer <fweimer@redhat.com>
5540 * malloc/malloc.c (unlink): Turn asserts into a call to
5543 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5546 * libio/wfileops (do_ftell_wide): Free OUT.
5548 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5550 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5552 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5555 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5556 group if the current group is empty.
5558 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5560 * benchtests/bench-memset.c (test_main): Add more test from size
5561 from 32 to 512 bytes.
5562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5563 Add POWER8 memset object.
5564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5565 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5566 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5568 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5570 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5571 multiarch POWER8 memset optimization.
5572 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5573 POWER8 memset optimization.
5575 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5576 Remove bzero multiarch objects.
5577 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5578 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5579 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5580 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5582 [__bzero]: Redefine to specific name.
5583 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5584 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5585 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5587 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5588 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5590 2014-09-10 Florian Weimer <fweimer@redhat.com>
5592 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5593 warnings into errors.
5595 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5596 __cxa_thread_atexit_impl prototype.
5598 2014-09-09 Steve Ellcey <sellcey@mips.com>
5600 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5601 Fix capitalization of error message.
5603 2014-09-09 Steve Ellcey <sellcey@mips.com>
5605 * sysdeps/mips/preconfigure: Modify ABI tests.
5607 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5609 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5611 2014-09-07 Roland McGrath <roland@hack.frob.com>
5612 Carlos O'Donell <carlos@systemhalted.org>
5614 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5615 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5616 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5617 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5618 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5619 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5620 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5621 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5622 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5623 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5624 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5625 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5626 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5627 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5628 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5629 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5630 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5631 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5632 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5633 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5634 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5635 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5636 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5637 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5638 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5639 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5640 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5641 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5642 Deconditionalize the code that was previously under [RESET_PID].
5643 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5644 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5645 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5646 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5649 2014-09-08 Allan McRae <allan@archlinux.org>
5651 * version.h (RELEASE): Set to "development".
5652 (VERSION): Set to "2.20.90"
5654 2014-09-07 Allan McRae <allan@archlinux.org
5656 * version.h (RELEASE): Set to "stable".
5657 (VERSION): Set to "2.20"
5658 * include/features.h (__GLIBC_MINOR__): Set to 20.
5660 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5663 * po/ko.po: Update Korean translation from translation project.
5665 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5668 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5669 macro for handling signed relocations.
5671 2014-09-03 Florian Weimer <fweimer@redhat.com>
5674 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5675 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5677 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5678 * iconvdata/ibm935.c (BODY): Likewise.
5679 * iconvdata/ibm937.c (BODY): Likewise.
5680 * iconvdata/ibm939.c (BODY): Likewise.
5681 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5683 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5685 * iconvdata/run-iconv-test.sh: New test loop for checking for
5688 2014-09-02 Khem Raj <raj.khem@gmail.com>
5690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5693 2014-09-01 Allan McRae <allan@archlinux.org>
5695 * po/eo.po: Update Esperanto translation from translation project.
5697 * po/ca.po: Update Catalan translation from translation project.
5699 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5701 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5704 2014-08-27 Mark Wielaard <mjw@redhat.com>
5707 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5708 to call set_thread_area instead of hand written asm.
5709 (__NR_set_thread_area): Removed define.
5710 (TLS_FLAG_WRITABLE): Likewise.
5711 (__ASSUME_SET_THREAD_AREA): Remove check.
5712 (TLS_EBX_ARG): Remove define.
5713 (TLS_LOAD_EBX): Likewise.
5715 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5717 Simplify atomicity of socket creation in bind.
5719 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5720 looking up the name after linking the file.
5722 2014-08-27 Allan McRae <allan@archlinux.org>
5724 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5726 2014-08-26 Florian Weimer <fweimer@redhat.com>
5729 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5730 trans_compare, open_translit, __gconv_translit_find):
5731 Remove module loading code.
5733 2014-08-26 Allan McRae <allan@archlinux.org>
5735 * po/vi.po: Update Vietnamese translation from translation project.
5737 * po/uk.po: Update Ukrainian translation from translation project.
5739 * po/fr.po: Update French translation from translation project.
5741 * po/ru.po: Update Russian translation from translation project.
5743 * po/pl.po: Update Polish translation from translation project.
5745 * po/cs.po: Update Czech translation from translation project.
5747 * po/de.po: Update German translation from translation project.
5749 * po/bg.po: Update Bulgarian translation from translation project.
5751 * po/sv.po: Update Sweedish translation from translation project.
5753 * po/nl.po: Update Dutch translation from translation project.
5755 * po/es.po: Update Spanish translation from translation project.
5757 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5759 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5761 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5762 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5763 (CPPFLAGS-iconvconfig): Likewise.
5764 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5766 * include/libc-symbols.h: Remove unnecessary check for
5768 * nptl/pthreadP.h: Likewise.
5769 * sysdeps/aarch64/setjmp.S: Likewise.
5770 * sysdeps/alpha/setjmp.S: Likewise.
5771 * sysdeps/arm/sysdep.h: Likewise.
5772 * sysdeps/i386/setjmp.S: Likewise.
5773 * sysdeps/m68k/setjmp.c: Likewise.
5774 * sysdeps/posix/getcwd.c: Likewise.
5775 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5776 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5777 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5778 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5779 * sysdeps/sh/sh3/setjmp.S: Likewise.
5780 * sysdeps/sh/sh4/setjmp.S: Likewise.
5781 * sysdeps/unix/alpha/sysdep.h: Likewise.
5782 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5784 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5785 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5789 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5790 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5791 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5792 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5793 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5795 * sysdeps/x86_64/setjmp.S: Likewise.
5797 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5802 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5803 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5805 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5807 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5810 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5811 and __x86_64__ when disabling x87 inline functions.
5813 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5816 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5817 asm statement with __cpuid_count.
5819 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5821 * configure.ac: Change __ehdr_start code to dereference the struct.
5822 Run readelf on the output to look for relocations.
5823 * configure: Regenerated.
5825 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5828 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5830 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5832 2014-08-12 Roland McGrath <roland@hack.frob.com>
5834 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5836 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5839 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5840 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5842 2014-08-12 Sean Anderson <seanga2@gmail.com>
5844 * malloc/malloc.c: Fix typo in comment.
5846 2014-08-09 Allan McRae <allan@archlinux.org>
5848 * Regenerate libc.po.
5850 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5852 * intl/tst-gettext2.sh: Check every lang file for creation.
5854 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5856 * sysdeps/aarch64/fpu/math_private.h
5857 (libc_feholdsetround_noex_aarch64_ctx): New function.
5859 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5861 * sysdeps/arm/armv6/strcpy.S (strcpy):
5862 Fix performance issue in misaligned cases.
5864 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5867 Move definition from termios.h.
5868 (struct termio): Likewise.
5869 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5870 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5871 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5872 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5874 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5875 Move definition to ioctl-types.h
5876 (struct termio): Likewise.
5877 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5878 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5879 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5880 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5883 2014-08-05 Richard Henderson <rth@redhat.com>
5885 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5887 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5889 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5890 Use __feraiseexcept.
5891 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5892 Protect libm symbols with IS_IN_libm.
5894 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5896 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5898 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5900 2014-08-04 Will Newton <will.newton@linaro.org>
5902 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5905 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5907 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5908 variants for each function.
5910 2014-08-04 Roland McGrath <roland@hack.frob.com>
5912 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5914 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5915 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5917 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5918 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5919 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5920 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5921 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5922 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5923 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5924 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5925 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5926 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5927 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5928 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5929 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5930 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5931 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5932 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5933 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5934 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5935 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5936 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5937 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5938 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5939 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5940 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5941 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5942 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5943 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5944 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5945 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5946 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5947 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5948 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5949 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5950 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5951 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5952 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5953 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5954 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5955 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5956 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5957 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5958 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5959 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5960 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5961 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5963 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5964 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5965 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5966 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5967 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5968 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5969 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5971 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5972 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5974 2014-08-04 Roland McGrath <roland@hack.frob.com>
5976 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5977 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5978 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5979 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5980 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5981 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5983 2014-08-04 Roland McGrath <roland@hack.frob.com>
5985 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5986 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5987 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5988 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5990 2014-08-04 Roland McGrath <roland@hack.frob.com>
5992 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5993 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5994 (__libc_vfork): Define function under this name.
5995 (__vfork): Define as an alias.
5996 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5997 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5999 2014-08-04 Roland McGrath <roland@hack.frob.com>
6001 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6002 that was previously under [RESET_PID].
6003 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6005 2014-08-04 Andreas Schwab <schwab@suse.de>
6007 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6009 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6011 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6014 2014-08-01 Roland McGrath <roland@hack.frob.com>
6016 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6018 2014-08-01 Richard Henderon <rth@redhat.com>
6020 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6021 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6022 typo in exact zero test.
6023 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6027 2014-08-01 Roland McGrath <roland@hack.frob.com>
6029 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6030 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6031 * sysdeps/arm/sysdep.h: ... here.
6032 [!__ASSEMBLER__]: Include <stdint.h>.
6034 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6036 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6037 (HAVE_WCTYPE_H): Likewise.
6038 (HAVE_ISWCTYPE): Likewise.
6039 (ENABLE_NLS): Likewise.
6040 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6041 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6043 * posix/regex_internal.c: Check if DEBUG is defined and is
6046 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6047 (HAVE_MBSRTOWCS): Likewise.
6048 * posix/fnmatch.c: Include string.h unconditionally.
6050 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6052 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6055 2014-07-31 Roland McGrath <roland@hack.frob.com>
6057 * sysdeps/generic/safe-fatal.h: New file.
6058 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6059 * nptl/forward.c: Include it.
6060 (__pthread_unwind): Use __safe_fatal as default action, rather
6061 than a bogus use of INTERNAL_SYSCALL that could never work.
6063 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6064 * configure.ac (libc_cv_builtin_trap): New test.
6065 * configure: Regenerated.
6066 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6067 (ABORT_INSTRUCTION): Define using __builtin_trap.
6069 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6070 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6071 * sysdeps/nptl/nptl-signals.h: New file.
6072 * nptl/pthreadP.h: Include <nptl-signals.h>.
6074 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6076 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6077 (ONE_DIRECTION): Define.
6078 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6079 (ONE_DIRECTION): Define.
6080 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6081 (ONE_DIRECTION): Define.
6083 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6085 * sysdeps/s390/Makefile: Delete file.
6086 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6087 * sysdeps/s390/__longjmp.c: Delete file.
6088 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6089 Remove fields __flags and __reserved.
6090 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6092 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6093 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6094 * sysdeps/s390/rtld-setjmp.S: Likewise.
6095 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6096 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6097 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6098 * sysdeps/s390/s390-32/setjmp.S: ... here.
6100 (__sigsetjmp): Remove setting __flags field.
6101 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6102 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6103 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6104 * sysdeps/s390/s390-64/setjmp.S: ... here.
6106 (__sigsetjmp): Remove setting __flags field.
6107 * sysdeps/s390/setjmp.S: Delete file.
6108 * sysdeps/s390/sigjmp.c: Likewise.
6109 * sysdeps/s390/v1-longjmp.c: Likewise.
6110 * sysdeps/s390/v1-setjmp.h: Likewise.
6111 * sysdeps/s390/v1-sigjmp.c: Likewise.
6112 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6113 Remove v1-longjmp_chk.
6114 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6115 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6116 Include debug/longjmp_chk.c and add versioning.
6117 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6118 Include nptl/pt-longjmp.c and add versioning.
6119 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6120 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6121 Include __longjmp.c.
6122 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6125 (__getcontext): Remove setting __flags field.
6127 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6128 Don't restore upper high grps.
6129 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6131 (__swapcontext): Remove setting uc_flags field.
6132 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6134 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6135 Include __longjmp.c.
6136 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6138 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6139 (__getcontext): Remove setting __flags field.
6141 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6142 (__swapcontext): Remove setting uc_flags field.
6143 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6145 Remove fields uc_high_gprs and __reserved.
6146 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6147 New file with reverted content.
6148 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6149 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6151 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6154 2014-07-31 Andreas Schwab <schwab@suse.de>
6156 * config.h.in (HAVE_IFUNC): Define to 0.
6157 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6160 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6163 memmove-avx-unaligned, memcpy-avx-unaligned and
6164 mempcpy-avx-unaligned.
6165 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6166 Add tests for AVX memcpy functions.
6167 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6168 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6170 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6171 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6173 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6174 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6176 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6177 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6178 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6180 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6183 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6186 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6189 * manual/llio.texi: Add section about open file description locks.
6190 * manual/examples/ofdlocks.c: Example of open file description
6192 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6193 F_OFD_SETLK, and F_OFD_SETLKW.
6195 2014-07-23 Allan McRae <allan@archlinux.org>
6197 * po/es.po: Update Spanish translation from translation project.
6199 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6201 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6203 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6206 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6207 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6208 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6210 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6213 * math/fesetenv.c (__fesetenv)
6214 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6215 * math/feupdateenv.c (__feupdateenv)
6216 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6218 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6219 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6220 (__ASSUME_SOCKETCALL): Do not define.
6222 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6223 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6224 (__ASSUME_SOCKETCALL): Do not define.
6225 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6226 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6227 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6228 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6229 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6230 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6231 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6232 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6235 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6236 (__ASSUME_SOCKETCALL): Do not define.
6237 (__ASSUME_IPC64): Define unconditionally.
6238 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6239 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6240 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6241 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6242 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6243 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6244 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6247 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6248 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6249 (__ASSUME_SOCKETCALL): Do not define.
6250 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6251 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6252 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6253 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6254 (__ASSUME_REQUEUE_PI): Define unconditionally.
6255 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6256 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6257 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6258 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6259 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6260 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6262 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6263 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6264 (__ASSUME_SOCKETCALL): Do not define.
6265 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6266 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6267 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6268 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6269 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6270 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6272 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6273 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6274 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6275 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6276 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6277 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6278 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6279 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6280 (__ASSUME_GETCPU_SYSCALL): Likewise.
6282 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6283 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6284 cases for individual architectures.
6285 * sysdeps/gnu/configure: Regenerated.
6286 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6287 LIBC_SLIBDIR_RTLDDIR.
6288 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6289 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6290 LIBC_SLIBDIR_RTLDDIR.
6291 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6293 LIBC_SLIBDIR_RTLDDIR.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6296 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6297 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6299 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6300 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6302 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6303 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6304 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6305 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6307 * sysdeps/aarch64/shlib-versions: Move to ...
6308 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6309 * sysdeps/alpha/shlib-versions: Move to ...
6310 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6311 * sysdeps/arm/shlib-versions: Move to ...
6312 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6313 * sysdeps/hppa/shlib-versions: Move all contents except for
6314 libgcc_s entry to ...
6315 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6317 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6318 * sysdeps/ia64/shlib-versions: Move to ...
6319 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6321 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6322 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6323 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6324 * sysdeps/microblaze/shlib-versions: Move to ...
6325 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6326 * sysdeps/mips/shlib-versions: Move to ...
6327 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6329 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6330 * sysdeps/tile/shlib-versions: Move to ...
6331 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6332 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6334 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6335 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6337 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6339 2014-07-17 Will Newton <will.newton@linaro.org>
6341 * sysdeps/arm/bits/atomic.h
6342 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6343 (__arch_compare_and_exchange_bool_16_int): Likewise.
6344 (__arch_compare_and_exchange_bool_64_int): Likewise.
6346 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6347 into an #else block.
6349 2014-07-16 Roland McGrath <roland@hack.frob.com>
6351 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6352 just Linux configurations. Test empirically that the compiler sets
6353 __ARM_EABI__, rather than using the tuple to decide.
6354 * sysdeps/arm/preconfigure: Regenerated.
6355 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6356 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6357 contents appended ...
6358 * sysdeps/arm/configure.ac: ... here.
6359 * sysdeps/arm/configure: Regenerated.
6361 2014-07-15 Roland McGrath <roland@hack.frob.com>
6363 * nptl/pthread_kill.c: New file.
6364 * nptl/pthread_sigmask.c: New file.
6365 * nptl/pthread_sigqueue.c: New file.
6367 * sysdeps/nptl/lowlevellock.h: New file.
6368 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6369 * sysdeps/nptl/lowlevellock-futex.h: New file.
6371 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6372 Remove dead declarations.
6374 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6376 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6377 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6379 * sysdeps/x86_64/configure.ac: Likewise.
6380 * sysdeps/i386/configure: Regenerated.
6381 * sysdeps/x86_64/configure: Likewise.
6382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6383 memset-avx2 only if config-cflags-avx2 is yes.
6384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6385 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6387 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6388 only if HAVE_AVX2_SUPPORT is defined.
6389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6391 2014-07-14 Alan Modra <amodra@gmail.com>
6394 * elf/elf.h (DT_PPC64_NUM): Correct value.
6395 * NEWS: Add to fixed bug list.
6397 2014-07-13 Jim Meyering <meyering@fb.com>
6400 regex: don't deref NULL upon heap allocation failure
6401 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6402 failure in one more place.
6403 To trigger the segfault, configure grep -with-included-regex,
6404 build it, and run these commands:
6405 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6407 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6409 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6411 2014-07-11 Richard Henderson <rth@redhat.com>
6413 * sysdeps/aarch64/libm-test-ulps: Update.
6415 2014-07-10 Florian Weimer <fweimer@redhat.com>
6418 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6419 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6420 (__nptl_setxid): Initialize error member. Call
6421 __nptl_setxid_error.
6422 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6423 * nptl/descr.h (struct xid_command): Add error member.
6424 * nptl/tst-setuid3.c: New file.
6425 * nptl/Makefile (tests): Add it.
6427 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6431 (__lll_trylock): Use __lll_base_trylock.
6432 (__lll_cond_trylock): Likewise.
6434 2014-07-10 Roland McGrath <roland@hack.frob.com>
6436 * nptl/pthread_create.c (start_thread): Use atomic_or and
6437 lll_futex_wake directly rather than lll_robust_dead.
6438 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6439 (lll_robust_dead): Macro removed.
6440 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6441 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6442 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6443 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6444 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6445 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6446 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6447 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6448 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6449 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6450 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6451 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6452 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6453 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6454 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6456 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6457 Use atomic_compare_and_exchange_val_acq directly rather than
6459 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6460 (__lll_robust_trylock, lll_robust_trylock): Removed.
6461 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6462 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6463 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6464 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6465 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6466 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6467 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6468 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6469 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6470 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6471 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6472 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6473 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6474 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6476 2014-07-02 Florian Weimer <fweimer@redhat.com>
6478 * manual/locale.texi (Locale Names): New section documenting
6479 locale name syntax. Adjust menu and node chaining accordingly.
6480 (Choosing Locale): Reference Locale Names, Locale Categories.
6481 Mention setting LC_ALL=C. Reflect that name syntax is now
6483 (Locale Categories): New section title. Reference Locale Names.
6484 LC_ALL is an environment variable, but not a category.
6485 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6486 description, now in Locale Name. Reference that section. Locale
6487 name syntax is now documented.
6489 2014-07-02 Florian Weimer <fweimer@redhat.com>
6492 * locale/findlocale.c (name_present, valid_locale_name): New
6494 (_nl_find_locale): Use the loc_name variable to store name
6495 candidates. Call name_present and valid_locale_name to check and
6496 validate locale names. Return an error if the locale is invalid.
6498 2014-07-02 Florian Weimer <fweimer@redhat.com>
6500 * locale/setlocale.c (setlocale): Use strdup for allocating
6501 composite name copy.
6503 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6505 Sync up with gnulib.
6506 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6507 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6508 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6509 and _GL_ARG_NONNULL.
6510 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6511 [!_LIBC]: Include code for Windows and Cygwin.
6512 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6513 Include prototype for int strerror_r.
6514 [!_LIBC] (is_open): New function.
6515 (flush_stdout): New function.
6516 (print_errno_message): Use it.
6518 (error_at_line): Likewise.
6519 (error_tail) Add function attribute macros. Use
6522 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6524 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6526 * io/ftw.c: Include sys/param.h unconditionally.
6528 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6531 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6533 (freecache): New function to free CACHE on exit.
6535 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6538 2014-07-09 David S. Miller <davem@davemloft.net>
6540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6542 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6543 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6544 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6545 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6546 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6547 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6548 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6549 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6550 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6551 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6552 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6553 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6554 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6556 2014-07-09 Andreas Schwab <schwab@suse.de>
6558 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6560 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6561 (do_test): Likewise.
6563 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6565 2014-07-09 Will Newton <will.newton@linaro.org>
6567 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6568 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6569 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6570 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6571 * sysdeps/hppa/start.S (_start): Likewise.
6573 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6575 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6577 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6580 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6582 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6583 after checking that it is non-NULL.
6585 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6587 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589 * sysdeps/powerpc/memmove.c: Remove file.
6590 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6591 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6592 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6593 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6594 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6595 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6596 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6597 string memmove instead of removed powerpc one.
6599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6600 [weak_alias]: Fix compiler warning due trailing data.
6601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6602 [weak_alias]: Likewise.
6603 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6604 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6607 (__libc_ifunc_impl_list): Add memmove functions.
6609 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6611 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6613 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6615 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6617 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6619 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6621 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6623 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6625 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6627 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6629 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6631 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6633 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6635 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6637 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6639 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6641 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6643 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6646 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6649 to avoid alignment traps in non-cacheable memory.
6650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6652 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6654 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6655 file: multiarch power7 memmove.
6656 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6657 multiarch default memmove.
6658 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6659 multiarch memove for powerpc32/power4.
6661 * string/bcopy.c: Use full path to include memmove.c.
6662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6664 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6665 bcopy for powerpc64.
6666 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6667 bcopy for powerpc64.
6668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6669 and memmove implementations.
6670 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6671 optimized multiarch memmove for POWER7/powerpc64.
6672 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6673 default multiarch memmove for powerpc64.
6674 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6675 multiarch for powerpc64.
6676 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6677 for POWER7/powerpc64.
6678 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6679 memmove for POWER7/powerpc64.
6681 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6684 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6685 __ELF_NATIVE_CLASS equal to 64.
6687 2014-07-07 Roland McGrath <roland@hack.frob.com>
6689 * sysdeps/nptl/lowlevellock.h: File removed.
6691 * NEWS: NPTL is no longer an add-on!
6692 * nptl/internaltypes.h: Moved ...
6693 * sysdeps/nptl/internaltypes.h: ... here.
6694 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6695 * sysdeps/nptl/fork.c: Likewise.
6696 * sysdeps/nptl/gai_misc.h: Likewise.
6697 * sysdeps/nptl/librt-cancellation.c: Likewise.
6698 * sysdeps/nptl/jmp-unwind.c: Likewise.
6699 * sysdeps/nptl/setxid.h: Likewise.
6700 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6701 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6702 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6703 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6704 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6705 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6706 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6707 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6708 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6709 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6710 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6711 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6712 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6713 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6714 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6715 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6716 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6717 * nptl/Makeconfig: Moved ...
6718 * sysdeps/nptl/Makeconfig: ... here.
6719 * nptl/configure: File removed.
6720 * nptl/ANNOUNCE: File removed.
6721 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6722 * sysdeps/unix/sysv/linux/configure: Regenerated.
6724 * nptl/Makefile (routines): Add libc_pthread_init,
6725 libc_multiple_threads, register-atfork and unregister-atfork.
6726 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6727 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6728 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6729 pthread-pi-defines.sym, structsem.sym.
6730 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6731 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6732 [$(subdir) = nptl] (tests): Add tst-setgetname.
6733 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6734 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6735 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6736 [!LIBC_SIGACTION]: Remove aliases.
6737 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6738 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6739 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6740 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6741 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6742 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6743 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6744 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6745 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6746 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6747 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6748 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6749 __libc_allocate_rtsig_private.
6750 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6751 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6752 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6753 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6754 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6755 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6756 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6757 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6758 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6759 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6760 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6761 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6762 * nptl/internaltypes.h: ... here.
6763 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6764 * sysdeps/nptl/jmp-unwind.c: ... here.
6765 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6766 * nptl/libc-lowlevellock.c: ... here.
6767 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6768 * nptl/libc_multiple_threads.c: ... here.
6769 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6770 * nptl/libc_pthread_init.c: ... here.
6771 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6772 * nptl/lowlevelbarrier.sym: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6774 * nptl/lowlevelcond.sym: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6776 * nptl/lowlevellock.c: ... here.
6777 * nptl/lowlevellock.h: Moved ...
6778 * sysdeps/nptl/lowlevellock.h: ... here.
6779 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6780 * nptl/lowlevelrobustlock.c: ... here.
6781 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6782 * nptl/lowlevelrobustlock.sym: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6784 * nptl/lowlevelrwlock.sym: ... here.
6785 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6786 * nptl/pt-fork.c: ... here.
6787 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6788 * nptl/pthread-pi-defines.sym: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6790 * nptl/pthread_attr_getaffinity.c: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6792 * nptl/pthread_attr_setaffinity.c: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6794 * nptl/pthread_mutex_cond_lock.c: ... here.
6795 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6797 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6798 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6799 * nptl/pthread_once.c: ... here, replacing old file.
6800 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6801 * nptl/pthread_yield.c: ... here.
6802 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6803 * nptl/register-atfork.c: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6805 * nptl/sem_post.c: ... here.
6806 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6807 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6808 * nptl/sem_timedwait.c: ... here.
6809 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6810 * nptl/sem_trywait.c: ... here.
6811 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6812 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6813 * nptl/sem_wait.c: ... here.
6814 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6815 * nptl/structsem.sym: ... here.
6816 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6817 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6818 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6819 * nptl/unregister-atfork.c: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6821 * nptl/unwindbuf.sym: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6823 * sysdeps/nptl/fork.c: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6825 * sysdeps/nptl/fork.h: ... here.
6826 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6827 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6828 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6830 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6831 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6832 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6834 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6836 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6837 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6838 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6839 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6840 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6842 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6843 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6844 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6845 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6846 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6848 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6849 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6850 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6851 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6852 * sysdeps/unix/sysv/linux/raise.c: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6854 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6855 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6856 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6857 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6858 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6859 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6860 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6861 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6862 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6863 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6864 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6865 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6866 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6867 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6869 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6871 * sysdeps/generic/memcopy.h: Add comment for
6872 MEMCPY_OK_FOR_FWD_MEMMOVE.
6874 2014-07-04 Will Newton <will.newton@linaro.org>
6876 * string/memchr.c: Merge from gnulib.
6877 [_LIBC]: Remove conditionals.
6878 (__ptr_t): Remove define.
6879 (LONG_MAX_32_BITS): Likewise.
6880 (LONG_MAX): Likewise.
6881 (MEMCHR): Use ANSI prototype and optimize algorithm.
6883 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6885 2014-07-03 Roland McGrath <roland@hack.frob.com>
6887 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6888 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6890 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6891 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6892 in a bare environment with no <stdlib.h> installed.
6893 * sysdeps/nptl/configure: Regenerated.
6895 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6897 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6898 AC_EGREP_CPP for kernel header checks, so they only succeed if
6899 including <linux/version.h> actually works right.
6900 * sysdeps/unix/sysv/linux/configure: Regenerated.
6902 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6903 value so it's not diagnosed as unused.
6905 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6906 thing) with "ifeq ($(subdir),rt)".
6908 2014-07-03 Richard Henderson <rth@redhat.com>
6910 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6911 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6912 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6914 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6915 (math_force_eval): New.
6917 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6918 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6920 * sysdeps/alpha/fpu/s_round.c: Remove file.
6921 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6923 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6924 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6925 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6926 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6927 (_dl_start, print_statistics): Likewise.
6928 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6929 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6931 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6932 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6933 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6934 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6936 (HP_SMALL_TIMING_AVAIL): Define.
6937 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6939 (HP_SMALL_TIMING_AVAIL): Define.
6940 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6941 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6943 * sysdeps/aarch64/hp-timing.h: New file.
6945 * sysdeps/generic/hp-timing.h: Remove dead comment.
6946 * sysdeps/generic/hp-timing-common.h: New file.
6947 * sysdeps/alpha/hp-timing.h: Include it.
6948 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6949 * sysdeps/i386/i686/hp-timing.h: Likewise.
6950 * sysdeps/ia64/hp-timing.h: Likewise.
6951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6952 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6953 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6954 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6955 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6956 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6959 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6960 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6961 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6962 * elf/rtld.c (_dl_start_final): Likewise.
6963 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6964 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6965 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6966 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6967 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6968 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6969 (HP_TIMING_DIFF_INIT): Remove.
6970 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6972 (HP_TIMING_DIFF_INIT): Remove.
6973 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6974 * sysdeps/i386/i686/hp-timing.c: Remove file.
6975 * sysdeps/x86_64/hp-timing.c: Remove file.
6976 * sysdeps/ia64/hp-timing.c: Remove file.
6977 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6978 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6979 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6980 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6982 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6983 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6984 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6985 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6987 (HP_TIMING_ACCUM): Remove.
6988 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6989 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6990 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6992 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6993 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6994 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6995 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6997 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6999 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7001 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7003 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7005 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7007 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7009 Sync up with gettext.
7010 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7011 [_MSC_VER]: Include malloc.h
7012 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7013 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7014 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7015 TEMP_FAILURE_RETRY. Cast return of alloca.
7016 [!_LIBC] Call gl_rwlock_init.
7017 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7019 2014-07-02 Roland McGrath <roland@hack.frob.com>
7021 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7022 before checking its value.
7024 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7026 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7028 * debug/memcpy_chk.c: Don't include pagecopy.h.
7029 * debug/mempcpy_chk.c: Likewise.
7030 * string/memcpy.c: Likewise.
7031 * string/memmove.c: Likewise.
7032 * sysdeps/powerpc/memmove.c: Likewise.
7033 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7034 definition of PAGE_COPY_FWD_MAYBE here...
7035 * sysdeps/generic/pagecopy.h: ... from here.
7036 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7038 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7039 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7045 (__libc_ifunc_impl_list): Likewise.
7046 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7047 multiarch strcat for PPC64.
7048 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7049 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7051 2014-07-02 Roland McGrath <roland@hack.frob.com>
7053 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7055 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7057 * intl/loadmsgcat.c: Remove declaration of
7058 get_sysdep_segment_value.
7059 (get_sysdep_segment_value): Use ISO C style.
7060 (_nl_load_domain): Use ISO C style. Get rid of redundant
7061 semicolon. Fix typo and formatting in comment.
7062 (_nl_unload_domain): Use ISO C style.
7064 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7066 2014-07-02 Will Newton <will.newton@linaro.org>
7068 * malloc/obstack.c: Merge from gnulib master.
7069 [HAVE_CONFIG_H]: Remove conditional code.
7070 [!_LIBC]: Include config.h.
7071 [!ELIDE_CODE]: Don't include inttypes.h, include
7072 stdint.h unconditionally.
7073 (print_and_abort): Mark as _Noreturn.
7074 (_obstack_allocated_p): Mark as __attribute_pure__.
7075 (obstack_free): Rename to __obstack_free.
7076 [!__attribute__]: Remove conditional code.
7077 * malloc/obstack.h: Merge from gnulib master.
7078 [__cplusplus]: Move conditional down.
7079 [!__attribute_pure__]: Define __attribute_pure__ here
7080 if it is not already defined.
7081 (_obstack_memory_used): Mark as __attribute_pure__.
7082 [!__obstack_free]: Define as obstack_free.
7083 [__GNUC__]: Remove check for ancient NeXT gcc.
7085 2014-07-02 Will Newton <will.newton@linaro.org>
7086 Paul Eggert <eggert@cs.ucla.edu>
7088 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7090 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7092 * resolv/gethnamaddr.c: Add comment warning that the file is
7095 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7097 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7100 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7101 entry for aio_cancel and aio_cancel64.
7102 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7103 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7104 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7105 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7106 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7107 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7108 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7109 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7110 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7111 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7112 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7113 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7114 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7116 2014-07-01 Roland McGrath <roland@hack.frob.com>
7118 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7119 * nptl/pthread_mutex_lock.c: Likewise.
7120 * nptl/pthread_mutex_timedlock.c: Likewise.
7121 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7123 2014-07-01 Richard henderson <rth@redhat.com>
7125 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7126 (__isnan, __isnanl): Remove.
7127 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7129 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7131 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7133 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7135 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7137 * resolv/nss_dns/dns-host.c (getanswer_r)
7138 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7140 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7142 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7143 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7145 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7146 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7148 2014-07-01 Roland McGrath <roland@hack.frob.com>
7150 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7151 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7153 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7154 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7156 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7157 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7159 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7160 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7162 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7163 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7164 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7165 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7167 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7168 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7169 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7173 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7175 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7178 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7180 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7181 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7182 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7183 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7184 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7185 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7186 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7187 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7188 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7189 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7190 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7191 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7192 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7193 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7194 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7196 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7197 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7198 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7199 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7200 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7201 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7202 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7203 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7205 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7208 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7209 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7212 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7216 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7218 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7219 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7221 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7223 * sysdeps/arm/libm-test-ulps: Regenerated.
7225 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7226 Roland McGrath <roland@hack.frob.com>
7228 * test-skeleton.c (signal_handler): Kill the whole process group
7229 before killing the child individually.
7230 (main): Report any failure on `setpgid'.
7232 2014-06-30 Roland McGrath <roland@hack.frob.com>
7234 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7235 from _TLS_H to _ARM_NPTL_TLS_H.
7236 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7237 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7239 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7242 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7243 (__expm1l): Return argument unchanged when small but not
7246 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7248 (_FP_UNPACK_RAW_1_P): Likewise.
7249 (_FP_PACK_RAW_1): Likewise.
7250 (_FP_PACK_RAW_1_P): Likewise.
7251 (_FP_MUL_MEAT_1_wide): Likewise.
7252 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7253 (_FP_MUL_MEAT_1_hard): Likewise.
7254 (_FP_DIV_MEAT_1_imm): Likewise.
7255 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7256 (_FP_DIV_MEAT_1_udiv): Likewise.
7257 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7258 (_FP_UNPACK_RAW_2): Likewise.
7259 (_FP_UNPACK_RAW_2_P): Likewise.
7260 (_FP_PACK_RAW_2): Likewise.
7261 (_FP_PACK_RAW_2_P): Likewise.
7262 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7263 (_FP_MUL_MEAT_2_wide): Likewise.
7264 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7265 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7266 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7267 (_FP_MUL_MEAT_2_gmp): Likewise.
7268 (_FP_DIV_MEAT_2_udiv): Likewise.
7269 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7270 (_FP_FRAC_SRL_4): Likewise.
7271 (_FP_FRAC_SRST_4): Likewise.
7272 (_FP_FRAC_SRS_4): Likewise.
7273 (_FP_UNPACK_RAW_4): Likewise.
7274 (_FP_UNPACK_RAW_4_P): Likewise.
7275 (_FP_PACK_RAW_4): Likewise.
7276 (_FP_PACK_RAW_4_P): Likewise.
7277 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7278 (_FP_MUL_MEAT_4_wide): Likewise.
7279 (_FP_MUL_MEAT_4_gmp): Likewise.
7280 (umul_ppppmnnn): Likewise.
7281 (_FP_DIV_MEAT_4_udiv): Likewise.
7282 (__FP_FRAC_ADD_4): Likewise.
7283 (__FP_FRAC_SUB_3): Likewise.
7284 (__FP_FRAC_SUB_4): Likewise.
7285 (__FP_FRAC_DEC_3): Likewise.
7286 (__FP_FRAC_DEC_4): Likewise.
7287 (__FP_FRAC_ADDI_4): Likewise.
7288 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7289 (_FP_FRAC_SRL_8): Likewise.
7290 (_FP_FRAC_SRS_8): Likewise.
7292 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7294 (FP_UNPACK_RAW_EP): Likewise.
7295 (FP_PACK_RAW_E): Likewise.
7296 (FP_PACK_RAW_EP): Likewise.
7297 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7298 (_FP_ISSIGNAN): Likewise.
7299 (_FP_ADD_INTERNAL): Likewise.
7300 (_FP_FMA): Likewise.
7301 (_FP_CMP): Likewise.
7302 (_FP_SQRT): Likewise.
7303 (_FP_TO_INT): Likewise.
7304 (_FP_FROM_INT): Likewise.
7305 (FP_EXTEND): Likewise.
7306 (_FP_DIV_MEAT_N_loop): Likewise.
7308 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7310 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7313 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7316 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7317 result with correct sign in case of exponents that produce
7318 overflow except for X very close to 1.
7320 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7322 mktime: merge #if/#ifdef usage from glibc
7323 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7324 as that works with both Glibc's and Gnulib's style.
7325 See thread starting at Siddhesh Poyarekar's bug report at:
7326 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7328 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7330 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7331 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7332 * sysdeps/tile/tilegx/memmove.c: Remove file.
7334 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7336 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7337 abi-name definition.
7338 * scripts/soversions.awk: Do not handle or generate ABI lines.
7339 * shlib-versions: Remove ABI entries.
7340 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7341 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7343 2014-06-27 Roland McGrath <roland@hack.frob.com>
7345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7346 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7347 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7348 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7349 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7350 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7353 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7355 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7356 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7358 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7360 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7362 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7364 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7366 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7369 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7371 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7373 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7379 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7380 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7384 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7386 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7388 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7389 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7390 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7393 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7395 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7396 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7398 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7401 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7403 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7406 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7408 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7409 Identical file removed.
7410 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7412 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7414 Identical file removed.
7415 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7416 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7417 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7419 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7421 Identical file removed.
7422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7425 Identical file removed.
7426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7429 Identical file removed.
7430 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7431 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7433 Identical file removed.
7434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7436 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7438 Identical file removed.
7439 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7441 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7443 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7445 Identical file removed.
7446 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7448 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7451 Identical file removed.
7452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7454 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7456 Identical file removed.
7457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7459 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7460 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7461 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7464 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7466 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7467 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7468 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7470 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7471 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7472 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7473 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7474 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7476 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7479 * nscd/nscd.c (monitor_child): Return exit status of child
7480 instead of return value from wait syscall.
7482 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7484 * configure.ac (libc_commonpagesize): Remove variable.
7485 (libc_relro_required): Likewise.
7486 (libc_cv_z_relro): Remove configure test.
7487 * configure: Regenerated.
7488 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7490 (libc_relro_required): Likewise.
7491 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7492 (libc_relro_required): Likewise.
7493 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7494 (libc_relro_required): Likewise.
7495 * sysdeps/arm/preconfigure: Regenerated.
7496 * sysdeps/ia64/preconfigure: Remove file.
7497 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7499 (libc_relro_required): Likewise.
7503 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7504 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7505 recompute overflowing results in original rounding mode.
7506 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7507 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7508 recompute overflowing results in original rounding mode.
7509 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7510 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7511 recompute overflowing results in original rounding mode.
7512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7513 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7514 recompute overflowing results in original rounding mode.
7515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7516 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7517 recompute overflowing results in original rounding mode.
7518 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7519 (libc_feholdsetround_ctx): New macro.
7520 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7521 * sysdeps/i386/fpu/libm-test-ulps: Update.
7522 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7524 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7526 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7527 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7528 corresponding .cpsetup call.
7530 2014-06-26 Roland McGrath <roland@hack.frob.com>
7532 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7533 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7534 * sysdeps/arm/Makefile [$(subdir) = csu]
7535 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7536 (static-only-routines): Add aeabi_read_tp here.
7537 (shared-only-routines): Add libc-aeabi_read_tp here.
7538 (CFLAGS-libc-start.c): Add -fexceptions here.
7539 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7540 (sysdep_routines, static-only-routines, shared-only-routines):
7541 Don't add to these here.
7542 (CFLAGS-libc-start.c): Likewise.
7544 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7545 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7546 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7547 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7548 * sysdeps/arm/Makefile [$(subdir) = rt]
7549 (librt-sysdep_routines, librt-shared-only-routines):
7550 Append rt-aeabi_unwind_cpp_pr1 here.
7551 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7552 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7553 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7554 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7555 Append nptl-aeabi_unwind_cpp_pr1 here.
7556 (tests): Filter out tst-cleanupx4 here.
7557 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7558 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7559 Don't do those here.
7561 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7563 * scripts/list-sources.sh: Do not handle ports specially.
7565 2014-06-26 Roland McGrath <roland@hack.frob.com>
7567 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7568 * sysdeps/arm/feupdateenv.c: Likewise.
7570 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7572 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7574 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7575 trailing whitespace removed.
7576 * scripts/config.guess: Update to version 2014-03-23.
7577 * scripts/config.sub: Update to version 2014-05-01
7578 * scripts/install-sh: Update to version 2013-12-25.23.
7579 * scripts/move-if-change: Update from gnulib.
7581 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7583 * debug/memmove_chk.c: Remove pagecopy.h include.
7585 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7587 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7588 identical to gnulib mktime.
7590 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7592 * configure.ac: Do not test for machine being rs6000. Do not test
7594 * configure: Regenerated.
7596 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7598 * configure: Regenerated.
7599 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7600 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7601 Remove configure test.
7602 * sysdeps/arm/configure: Regenerated.
7603 * sysdeps/nptl/configure.ac: Do not check
7604 libc_cv_asm_cfi_directives.
7605 * sysdeps/nptl/configure: Regenerated.
7606 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7607 * sysdeps/x86_64/nptl/configure: Remove generated file.
7608 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7610 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7612 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7614 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7615 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7616 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7619 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7620 instead of whether it is defined.
7621 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7622 * sysdeps/hppa/dl-machine.h: Likewise.
7623 * sysdeps/ia64/dl-machine.h: Likewise.
7624 * sysdeps/m68k/dl-machine.h: Likewise.
7625 * sysdeps/microblaze/dl-machine.h: Likewise.
7626 * sysdeps/mips/dl-machine.: Likewise.
7627 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7628 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7629 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7630 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7631 * sysdeps/sh/dl-machine.h: Likewise.
7632 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7633 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7634 * sysdeps/tile/dl-machine.h: Likewise.
7635 * sysdeps/x86_64/dl-machine.h: Likewise.
7637 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7639 (verify_persistent_db): Likewise.
7641 2014-06-26 Roland McGrath <roland@hack.frob.com>
7643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7644 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7646 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7649 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7652 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7654 Identical file removed.
7655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7656 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7658 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7660 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7662 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7664 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7667 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7669 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7671 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7674 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7676 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7678 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7680 Identical file removed.
7681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7682 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7684 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7687 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7692 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7694 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7696 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7698 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7701 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7704 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7706 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7709 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7711 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7713 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7715 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7716 * sysdeps/unix/sysv/linux/s390/Versions
7717 (libpthread: GLIBC_2.19): New version set.
7718 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7719 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7720 (librt: GLIBC_2.3.3): New version set.
7721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7722 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7723 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7724 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7725 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7726 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7727 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7728 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7729 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7730 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7731 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7732 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7733 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7734 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7735 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7736 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7737 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7738 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7739 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7740 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7741 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7745 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7746 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7747 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7748 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7749 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7750 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7751 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7752 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7753 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7755 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7761 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7763 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7765 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7768 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7769 (__libc_vfork): Define the function under this name.
7770 [!NOT_IN_libc] (__vfork): Make this an alias.
7771 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7772 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7773 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7774 (__libc_vfork): Define the function under this name.
7775 [!NOT_IN_libc] (__vfork): Make this an alias.
7776 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7777 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7778 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7779 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7780 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7781 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7784 code that was previously under [RESET_PID].
7785 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7786 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7787 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7790 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7791 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7792 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7793 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7794 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7795 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7796 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7797 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7798 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7801 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7803 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7804 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7809 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7819 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7821 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7822 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7823 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7825 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7826 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7827 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7828 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7829 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7831 2014-06-25 Roland McGrath <roland@hack.frob.com>
7833 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7834 that was previously under [RESET_PID].
7835 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7837 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7839 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7840 not undefine and redefine.
7841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7842 [O_CLOEXEC]: Make code unconditional.
7843 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7844 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7845 <kernel-features.h>.
7846 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7847 conditional variable definition.
7848 (shm_open) [O_CLOEXEC]: Make code unconditional.
7849 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7852 * configure.ac (USE_REGPARMS): Don't define here.
7853 * configure: Regenerated.
7854 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7855 * sysdeps/i386/configure: Regenerated.
7857 * nptl/createthread.c: Don't include kernel-features.h.
7858 * nptl/pthread_cancel.c: Likewise.
7859 * nptl/pthread_condattr_setclock.c: Likewise.
7860 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7861 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7862 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7863 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7864 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7865 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7866 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7869 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7870 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7871 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7872 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7873 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7874 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7875 * nscd/gai.c: Likewise.
7876 * nss/nss_db/db-open.c: Likewise.
7877 * sysdeps/generic/ldsodefs.h: Likewise.
7878 * sysdeps/sh/nptl/tls.h: Likewise.
7879 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7880 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7881 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7882 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7883 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7884 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7885 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7886 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7887 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7888 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7889 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7890 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7891 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7892 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7893 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7894 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7895 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7896 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7897 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7898 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7899 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7901 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7902 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7903 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7906 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7907 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7908 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7909 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7910 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7911 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7912 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7913 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7914 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7915 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7916 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7917 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7918 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7919 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7920 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7921 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7922 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7923 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7924 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7925 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7926 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7927 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7928 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7929 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7930 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7931 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7932 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7933 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7934 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7935 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7936 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7959 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7960 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7961 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7962 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7963 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7964 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7965 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7966 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7967 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7968 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7969 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7970 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7971 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7972 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7973 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7974 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7976 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7977 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7978 * sysdeps/unix/sysv/linux/system.c: Likewise.
7979 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7980 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7981 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7982 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7983 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7984 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7985 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7987 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7988 * configure: Regenerated.
7989 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7991 * configure.ac (base_machine): Do not set specially for particular
7993 * configure: Regenerated.
7994 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7995 settings from configure.ac.
7996 * sysdeps/i386/preconfigure: New file.
7997 * sysdeps/s390/preconfigure: Likewise.
7998 * sysdeps/sh/preconfigure: Likewise.
7999 * sysdeps/sparc/preconfigure: Likewise.
8001 2014-06-25 Roland McGrath <roland@hack.frob.com>
8003 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8004 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8005 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8006 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8007 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8008 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8009 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8010 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8011 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8012 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8013 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8014 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8015 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8016 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8017 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8018 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8019 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8020 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8021 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8023 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8024 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8025 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8026 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8027 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8028 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8029 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8030 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8031 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8032 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8033 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8034 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8035 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8036 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8037 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8038 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8039 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8040 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8041 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8042 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8044 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8050 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8052 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8054 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8056 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8057 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8058 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8060 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8063 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8065 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8068 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8076 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8085 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8088 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8093 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8097 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8099 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8101 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8104 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8107 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8112 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8114 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8121 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8124 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8129 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8131 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8133 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8135 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8137 * timezone/checktab.awk: Update from tzcode 2014e.
8138 * timezone/private.h: Likewise.
8139 * timezone/tzfile.h: Likewise.
8140 * timezone/zdump.c: Likewise.
8141 * timezone/zic.c: Likewise.
8143 * sysdeps/unix/sysv/linux/kernel-features.h
8144 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8146 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8147 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8148 Remove conditional code.
8150 2014-06-25 Will Newton <will.newton@linaro.org>
8152 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8153 (_dl_arm_cap_flags): Add HWCAP2 values.
8154 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8155 (_DL_HWCAP_COUNT): Increase to 37.
8156 (_DL_HWCAP_LAST): New define.
8157 (_DL_HWCAP2_LAST): New define.
8158 (_dl_procinfo): Add support for printing
8160 (_dl_string_hwcap): Use _dl_hwcap_string.
8162 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8166 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8168 * README: Do not mention ports directory.
8170 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8172 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8173 <kernel-features.h>.
8174 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8175 conditional variable definition.
8176 (__futimes): Update comment.
8177 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8178 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8181 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8182 arguments close to 0.
8183 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8185 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8187 * math/auto-libm-test-in: Add more tests of exp10.
8188 * math/auto-libm-test-out: Regenerated.
8189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8191 * sysdeps/unix/sysv/linux/kernel-features.h
8192 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8193 * sysdeps/unix/sysv/linux/readv.c: Do not include
8194 <kernel-features.h>.
8195 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8196 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8197 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8199 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8201 * sysdeps/unix/sysv/linux/writev.c: Do not include
8202 <kernel-features.h>.
8203 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8204 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8205 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8207 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8210 2014-06-25 Will Newton <will.newton@linaro.org>
8212 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8213 comment changes throughout the file. Remove checks
8214 for HAVE_*_H definitions that are not required.
8215 (__gen_tempname): Call abort if an unknown kind value is
8218 2014-06-25 Andreas Schwab <schwab@suse.de>
8221 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8222 scalbln, scalblnf, scalblnl in libc.
8224 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8227 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8228 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8229 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8231 2014-06-24 Roland McGrath <roland@hack.frob.com>
8233 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8234 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8235 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8236 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8238 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8239 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8241 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8242 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8243 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8244 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8245 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8246 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8247 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8248 * sysdeps/x86/bits/semaphore.h: ... here.
8249 * sysdeps/x86/nptl/elide.h: Moved ...
8250 * sysdeps/x86/elide.h: ... here.
8251 * sysdeps/x86_64/nptl/Implies: File removed.
8252 * sysdeps/i386/nptl/Implies: File removed.
8254 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8257 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8258 return the argument for normal arguments with exponent below -64.
8259 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8261 * math/auto-libm-test-in: Add another test of expm1.
8262 * math/auto-libm-test-out: Regenerated.
8265 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8266 calling __erfcl for arguments at least 16.
8267 * math/auto-libm-test-in: Add more tests of erf.
8268 * math/auto-libm-test-out: Regenerated.
8270 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8271 individual architectures.
8272 * sysdeps/unix/sysv/linux/configure: Regenerated.
8273 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8274 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8275 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8276 (ldd_rewrite_script): Define variable.
8277 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8282 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8283 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8284 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8285 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8286 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8287 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8288 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8289 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8291 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8294 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8295 Rename member __data.d to __data.__elision_data.
8297 2014-06-24 Wilco <wdijkstr@arm.com>
8299 * NEWS: Add 16918 to fixed bug list.
8301 2014-06-24 Wilco <wdijkstr@arm.com>
8303 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8305 2014-06-24 Wilco <wdijkstr@arm.com>
8307 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8308 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8309 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8310 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8311 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8312 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8313 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8316 2014-06-24 Wilco <wdijkstr@arm.com>
8318 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8320 2014-06-24 Wilco <wdijkstr@arm.com>
8322 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8323 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8324 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8325 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8327 2014-06-24 Wilco <wdijkstr@arm.com>
8330 * sysdeps/arm/feupdateenv.c (feupdateenv):
8331 Rewrite to reduce FPSCR accesses and fix return value.
8333 2014-06-24 Wilco <wdijkstr@arm.com>
8335 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8336 Optimize to avoid unnecessary FPSCR writes.
8337 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8338 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8339 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8340 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8342 2014-06-24 Wilco <wdijkstr@arm.com>
8344 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8345 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8346 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8347 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8348 Call libc_fetestexcept_vfp.
8349 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8350 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8351 __SOFTFP__ ifdef so that they can be built for softfp.
8353 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8355 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8356 argument type signed char.
8358 * Makerules (check-abi): Dump diff of symlist if the test
8361 2014-06-23 Roland McGrath <roland@hack.frob.com>
8363 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8366 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8367 Remove unused variable ST.
8369 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8373 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8374 small arguments before calling __expm1.
8375 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8376 small arguments before calling __expm1f.
8377 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8378 small arguments before calling __expm1l.
8379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8381 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8382 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8383 spurious underflow for some cosh tests.
8384 * math/auto-libm-test-out: Regenerated.
8385 * sysdeps/i386/fpu/libm-test-ulps: Update.
8388 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8389 (__ieee754_y1): Set errno if return value overflows.
8390 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8391 (__ieee754_y1f): Set errno if return value overflows.
8392 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8393 (__ieee754_y1l): Set errno if return value overflows.
8394 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8395 (__ieee754_y1l): Set errno if return value overflows.
8396 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8397 * math/auto-libm-test-out: Regenerated.
8399 * math/gen-auto-libm-tests.c: Document use of
8400 ignore-zero-inf-sign.
8401 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8402 (input_flags): Add ignore-zero-inf-sign.
8403 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8404 * math/gen-libm-test.pl (generate_testfile): Handle
8405 ignore-zero-inf-sign.
8406 * math/auto-libm-test-in: Mark some cpow tests with
8407 ignore-zero-inf-sign and some with xfail-rounding.
8408 * math/auto-libm-test-out: Regenerated.
8409 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8410 * sysdeps/i386/fpu/libm-test-ulps: Update.
8411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8414 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8415 overflowing or underflowing operations take place with sign of
8417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8418 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8419 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8420 (__ieee754_pow): Recompute overflowing and underflowing results in
8421 original rounding mode.
8422 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8423 (__powl_helper): Allow negative argument X and scale negated value
8424 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8425 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8426 overflowing or underflowing operations take place with sign of
8428 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8430 * math/auto-libm-test-in: Add more tests of pow.
8431 * math/auto-libm-test-out: Regenerated.
8432 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8433 (pow_tonearest_test_data): Remove.
8434 (pow_test_tonearest): Likewise.
8435 (pow_towardzero_test_data): Likewise.
8436 (pow_test_towardzero): Likewise.
8437 (pow_downward_test_data): Likewise.
8438 (pow_test_downward): Likewise.
8439 (pow_upward_test_data): Likewise.
8440 (pow_test_upward): Likewise.
8441 (main): Don't call removed functions.
8442 * sysdeps/i386/fpu/libm-test-ulps: Update.
8443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8445 2014-06-23 Roland McGrath <roland@hack.frob.com>
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8621 2014-06-23 Will Newton <will.newton@linaro.org>
8622 Wilco <wdijkstr@arm.com>
8624 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8625 implementation. Include get-rounding-mode.h.
8626 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8627 [!libc_feholdsetround_noex_ctx]: Define
8628 libc_feholdsetround_noex_ctx.
8629 [!libc_feholdsetround_noexf_ctx]: Define
8630 libc_feholdsetround_noexf_ctx.
8631 [!libc_feholdsetround_noexl_ctx]: Define
8632 libc_feholdsetround_noexl_ctx.
8633 (libc_feholdsetround_ctx): New function.
8634 (libc_feresetround_ctx): New function.
8635 (libc_feholdsetround_noex_ctx): New function.
8636 (libc_feresetround_noex_ctx): New function.
8638 2014-06-23 Roland McGrath <roland@hack.frob.com>
8640 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8641 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8642 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8643 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8644 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8645 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8647 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8648 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8649 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8650 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8651 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8652 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8654 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8656 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8657 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8659 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8662 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8664 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8667 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8671 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8673 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8676 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8677 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8679 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8681 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8682 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8684 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8685 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8686 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8687 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8688 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8689 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8690 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8692 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8695 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8698 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8700 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8702 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8704 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8711 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8715 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8718 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8719 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8720 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8721 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8722 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8724 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8725 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8737 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8738 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8739 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8741 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8742 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8744 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8745 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8746 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8747 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8751 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8753 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8756 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8757 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8758 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8759 (IPV6_PMTUDISC_INTERFACE): Likewise.
8760 (IPV6_PMTUDISC_OMIT): Likewise.
8762 2014-06-23 Andreas Schwab <schwab@suse.de>
8764 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8765 Remove unused errout label.
8767 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8769 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8770 macro: hardware supports Vector Crypto instructions.
8772 2014-06-23 Will Newton <will.newton@linaro.org>
8774 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8775 rather than __builtin_expect.
8777 * elf/dl-lookup.c (undefined_msg): Remove variable.
8778 (_dl_lookup_symbol_x): Replace undefined_msg with string
8781 * elf/dl-lookup.c (do_lookup_unique): New function.
8782 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8783 to a separate function.
8785 2014-06-23 Andreas Schwab <schwab@suse.de>
8788 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8789 before reading the next line.
8791 2014-06-23 Will Newton <will.newton@linaro.org>
8793 * test-skeleton.c (signal_handler): Use printf and %m
8794 rather than perror. Use printf rather than fprintf to
8795 stderr. Use puts rather than fputs to stderr.
8798 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8800 * nscd/nscd.c (thread_info_t): Remove typedef.
8801 (thread_info): Remove variable.
8803 2014-06-21 Allan McRae <allan@archlinux.org>
8805 * NEWS: Mention CVE-2014-4043.
8807 2014-06-20 Roland McGrath <roland@hack.frob.com>
8809 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8810 * nptl/smp.h: ... here.
8812 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8814 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8815 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8816 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8817 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8819 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8820 * nptl/stack-aliasing.h: New file.
8821 * sysdeps/i386/i686/stack-aliasing.h: New file.
8822 * sysdeps/i386/i686/nptl/Makefile: File removed.
8823 * sysdeps/x86_64/stack-aliasing.h: New file.
8824 * sysdeps/x86_64/nptl/Makefile
8825 (CFLAGS-pthread_create.c): Variable removed.
8827 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8828 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8830 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8831 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8834 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8836 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8837 (__ASSUME_SIGFRAME_V2): Remove macro.
8838 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8839 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8840 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8841 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8842 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8843 Declare as function. Remove conditional macro definitions.
8844 (__default_rt_sa_restorer): Likewise.
8845 (__default_sa_restorer_v1): Remove declaration.
8846 (__default_sa_restorer_v2): Likewise.
8847 (__default_rt_sa_restorer_v1): Likewise.
8848 (__default_rt_sa_restorer_v2): Likewise.
8849 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8850 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8851 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8853 2014-06-20 Roland McGrath <roland@hack.frob.com>
8855 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8856 (libpthread-routines): Add sysdep.
8857 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8858 * sysdeps/unix/sysv/linux/sparc/Versions
8859 (libpthread: GLIBC_2.3.3): New version set.
8860 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8861 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8862 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8863 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8864 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8865 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8867 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8868 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8869 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8870 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8871 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8873 * sysdeps/sparc/nptl/sem_init.c: ... here.
8874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8875 * sysdeps/sparc/nptl/sem_post.c: ... here.
8876 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8877 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8878 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8879 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8880 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8881 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8882 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8883 (libpthread-routines): Add cpu_relax.
8884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8886 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8887 (librt: GLIBC_2.3.3): New version set.
8888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8889 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8890 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8891 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8894 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8897 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8899 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8901 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8903 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8905 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8908 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8912 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8924 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8928 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8931 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8937 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8939 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8946 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8948 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8950 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8951 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8952 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8953 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8954 * nscd/nscd.c: Likewise.
8955 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8956 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8957 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8958 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8960 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8961 <kernel-features.h>.
8962 (init_mq_netlink): Remove conditional have_sock_cloexec
8963 definitions. Remove code conditional on have_sock_cloexec < 0.
8964 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8965 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8966 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8967 <kernel-features.h>.
8968 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8969 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8971 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8974 Add tests for memset_chk and memset.
8976 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8979 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8982 * elf/tst-dl-iter-static.c: New file.
8983 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8985 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8988 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8990 * sysdeps/unix/sysv/linux/kernel-features.h
8991 (__ASSUME_F_GETOWN_EX): Remove macro.
8992 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8993 <kernel-features.h>.
8994 (miss_F_GETOWN_EX): Remove variable or macro.
8995 (do_fcntl): Do not check miss_F_GETOWN_EX.
8996 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8998 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9001 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9002 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9004 * sysdeps/unix/sysv/linux/kernel-features.h
9005 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9006 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9007 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9008 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9010 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9013 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9014 Fix calculation of the symbol's value.
9015 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9016 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9017 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9018 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9019 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9020 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9021 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9022 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9023 (modules-names): Add `tst-armtlsdescmod',
9024 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9025 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9026 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9027 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9028 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9029 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9030 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9031 ($(objpfx)tst-armtlsdescloc): New dependency.
9032 ($(objpfx)tst-armtlsdescextnow): Likewise.
9033 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9034 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9036 * sysdeps/arm/configure: Regenerate.
9038 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9040 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9041 (__atfct_seterrno_2): Likewise.
9042 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9043 <kernel-features.h>.
9044 (__ASSUME_ATFCTS): Do not undefine and redefine.
9045 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9046 (__have_atfcts): Remove conditional definition.
9047 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9048 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9049 unreachable if [__ASSUME_ATFCTS].
9050 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9051 not undefine and redefine.
9052 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9053 <kernel-features.h>.
9054 (faccessat) [__NR_faccessat]: Make code unconditional.
9055 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9056 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9057 <kernel-features.h>.
9058 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9059 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9060 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9061 <kernel-features.h>.
9062 (fchownat) [__NR_fchownat]: Make code unconditional.
9063 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9064 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9065 <kernel-features.h>.
9066 (futimesat) [__NR_futimesat]: Make code unconditional.
9067 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9068 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9069 <kernel-features.h>.
9070 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9071 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9072 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9073 <kernel-features.h>.
9074 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9075 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9076 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9077 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9078 <kernel-features.h>.
9079 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9080 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9081 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9082 <kernel-features.h>.
9083 (linkat) [__NR_linkat]: Make code unconditional.
9084 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9085 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9086 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9087 <kernel-features.h>.
9088 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9089 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9090 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9091 <kernel-features.h>.
9092 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9093 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9094 * sysdeps/unix/sysv/linux/openat.c: Do not include
9095 <kernel-features.h>.
9096 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9097 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9098 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9099 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9100 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9101 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9102 <kernel-features.h>.
9103 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9104 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9105 result of INLINE_SYSCALL directly, not via int variable.
9106 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9107 <kernel-features.h>.
9108 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9109 (renameat) [__NR_renameat]: Make code unconditional.
9110 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9111 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9112 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9113 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9114 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9115 (__ASSUME_ATFCTS): Do not undefine and redefine.
9116 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9117 <kernel-features.h>.
9118 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9119 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9120 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9121 <kernel-features.h>.
9122 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9123 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9124 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9125 (__ASSUME_ATFCTS): Do not undefine and redefine.
9126 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9127 <kernel-features.h>.
9128 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9129 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9130 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9131 <kernel-features.h>.
9132 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9133 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9135 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9137 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9139 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9142 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9143 constructed tree before returning error.
9144 * posix/bug-regexp36.c: Expand test case.
9146 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9149 * math/libm-test.inc (scalbln_test_date):
9150 Add errno expectations.
9151 * math/w_scalblnf.c: New File.
9152 Add wrapper which checks for setting errno to ERANGE.
9153 Add weak_alias for corresponding scalbln function.
9154 * math/w_scalbln.c: Likewise.
9155 * math/w_scalblnl.c: Likewise.
9156 * math/Makefile (libm-calls): Add w_scalbln.
9157 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9158 Remove weak_alias for corresponding scalbln function.
9159 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9161 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9163 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9164 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9165 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9166 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9167 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9168 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9169 Remove long_double_symbol for scalblnl function in libm, libc.
9170 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9171 Add wrapper which checks for setting errno to ERANGE.
9172 Add long_double_symbol for scalblnl function in libm, libc.
9173 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9174 Remove long_double_symbol for scalblnl in libm.
9175 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9176 Add wrapper which checks for setting errno to ERANGE.
9177 Add long_double_symbol for scalblnl function in libm.
9178 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9179 Do not use wrapper because of own implementation.
9181 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9183 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9184 3 bytes for __pad1 for x32.
9185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9187 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9188 H.J. Lu <hongjiu.lu@intel.com>
9190 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9191 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9192 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9193 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9194 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9196 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9199 * posix/regcomp.c (parse_expression): Deallocate partially
9200 constructed tree before returning error.
9201 * posix/Makefile.c (tests): Add bug-regex36.
9202 (generated): Add bug-regex36.mtrace.
9203 (tests-special): Add $(objpfx)bug-regex36-mem.out
9204 (bug-regex36-ENV): New variable.
9205 ($(objpfx)bug-regex36-mem.out): New rule.
9206 * posix/bug-regex36.c: New file.
9208 2014-06-19 Will Newton <will.newton@linaro.org>
9210 * malloc/malloc.c (systrim): If extra is zero then return
9213 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9215 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9217 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9219 * sysdeps/aarch64/strchr.S: New file.
9221 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9224 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9225 from arguments -2 or below.
9226 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9227 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9229 2014-06-18 Andreas Schwab <schwab@suse.de>
9232 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9233 of a bracket expr not to run off the end of the string.
9234 * posix/Makefile (tests): Add tst-fnmatch3.
9235 * posix/tst-fnmatch3.c: New file.
9237 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9239 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9240 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9241 [$(cross-compiling) = no]: Likewise.
9242 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9243 [$(cross-compiling) = no]: Likewise.
9245 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9248 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9249 double, adjusted for any remainder from the high double.
9250 * math/libm-test.inc (nearbyint): Add tests.
9253 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9255 * nptl/sysdeps/powerpc/Makefile: Moved ...
9256 * sysdeps/powerpc/nptl/Makefile: ... here.
9257 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9258 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9259 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9260 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9261 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9262 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9263 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9264 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9265 * nptl/sysdeps/powerpc/tls.h: Moved ...
9266 * sysdeps/powerpc/nptl/tls.h: ... here.
9268 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9271 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9272 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9273 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9274 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9275 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9276 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9277 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9278 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9279 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9281 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9283 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9285 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9287 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9290 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9293 2014-06-16 Florian Weimer <fweimer@redhat.com>
9296 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9297 non-executed part of the test.
9299 2014-06-16 Andreas Schwab <schwab@suse.de>
9301 * string/bits/string2.h (strdup, strndup): Update feature guard.
9303 2014-06-14 David S. Miller <davem@davemloft.net>
9305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9307 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9309 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9310 that was previously under [RESET_PID].
9311 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9313 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9314 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9315 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9316 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9317 (__libc_vfork): New strong alias.
9318 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9320 2014-06-14 Andi Kleen <ak@linux.intel.com>
9322 * sysdeps/generic/elide.h: New file.
9324 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9326 * Makefile (installed-headers): Adjust path of pthread.h header.
9328 2014-06-13 Roland McGrath <roland@hack.frob.com>
9330 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9331 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9333 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9335 * nptl/sysdeps/s390/Makefile: Moved ...
9336 * sysdeps/s390/nptl/Makefile: ... here.
9337 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9338 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9339 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9340 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9341 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9342 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9343 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9344 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9345 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9346 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9347 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9348 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9349 * nptl/sysdeps/s390/tls.h: Moved ...
9350 * sysdeps/s390/nptl/tls.h: ... here.
9352 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9353 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9355 2014-06-13 David S. Miller <davem@davemloft.net>
9357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9364 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9365 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9366 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9367 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9368 Remove RESET_PID cpp guards.
9369 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9370 Remove RESET_PID cpp guards.
9371 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9373 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9375 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9378 2014-06-13 Andi Kleen <ak@linux.intel.com>
9380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9382 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9383 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9384 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9388 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9389 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9393 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9394 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9398 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9399 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9401 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9402 (pthread_rwlock_rdlock): Add elision.
9403 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9404 (pthread_rwlock_wrlock): Add elision.
9405 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9406 (pthread_rwlock_trywrlock): Add elision.
9407 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9408 (pthread_rwlock_tryrdlock): Add elision.
9409 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9410 (pthread_rwlock_tryrdlock): Add elision unlock.
9411 * nptl/sysdeps/pthread/pthread.h:
9412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9413 (PTHREAD_RWLOCK_INITIALIZER,
9414 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9415 Handle new elision field.
9416 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9417 * sysdeps/arm/nptl/bits/pthreadtypes.h
9418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9419 * sysdeps/sh/nptl/bits/pthreadtypes.h
9420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9421 * sysdeps/tile/nptl/bits/pthreadtypes.h
9422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9423 * sysdeps/a/nptl/bits/pthreadtypes.h
9424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9425 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9427 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9429 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9431 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9433 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9435 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9437 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9439 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9441 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9442 (elision_init): Set try_xbegin to zero when no RTM.
9443 * sysdeps/x86/nptl/bits/pthreadtypes.h
9444 (pthread_rwlock_t): Change __pad1 to __rwelision.
9445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9447 2014-06-13 Andi Kleen <ak@linux.intel.com>
9449 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9450 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9451 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9452 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9454 2014-06-13 Meador Inge <meadori@codesourcery.com>
9457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9458 that the cached result has been set before returning it.
9460 2014-06-12 Roland McGrath <roland@hack.frob.com>
9462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9463 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9464 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9465 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9466 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9467 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9469 * nptl/sysdeps/sparc/Makefile: Moved ...
9470 * sysdeps/sparc/nptl/Makefile: ... here.
9471 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9472 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9473 * nptl/sysdeps/sparc/tls.h: Moved ...
9474 * sysdeps/sparc/nptl/tls.h: ... here.
9475 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9476 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9477 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9478 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9479 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9480 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9481 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9482 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9483 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9484 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9485 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9486 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9487 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9488 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9489 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9490 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9491 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9494 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9495 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9497 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9500 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9501 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9504 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9506 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9507 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9509 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9510 (struct list_links): Type removed.
9511 (struct thread_node, struct timer_node): Replace struct list_links
9512 with struct list_head.
9513 (list_unlink_ip): Likewise.
9514 * sysdeps/pthread/timer_routines.c
9515 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9516 (list_append, list_insbefore): Likewise.
9517 (list_init): Function removed.
9518 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9519 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9520 * sysdeps/pthread/Makefile: ... here, new file.
9522 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9523 * sysdeps/nptl/Implies: ... here.
9524 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9525 * nptl/sysdeps/pthread/list.h: Moved ...
9526 * include/list.h: ... here.
9527 * nptl/sysdeps/pthread/createthread.c: Moved ...
9528 * nptl/createthread.c: ... here.
9529 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9530 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9531 * nptl/pt-longjmp.c: ... here.
9532 * nptl/sysdeps/pthread/Makefile: Moved ...
9533 * sysdeps/nptl/Makefile: ... here.
9534 * nptl/sysdeps/pthread/Subdirs: Moved ...
9535 * sysdeps/nptl/Subdirs: ... here.
9536 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9537 * sysdeps/nptl/aio_misc.h: ... here.
9538 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9539 * sysdeps/nptl/bits/libc-lock.h: ... here.
9540 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9541 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9542 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9543 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9544 * nptl/sysdeps/pthread/configure: Moved ...
9545 * sysdeps/nptl/configure: ... here.
9546 * nptl/sysdeps/pthread/configure.ac: Moved ...
9547 * sysdeps/nptl/configure.ac: ... here.
9548 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9549 * sysdeps/nptl/gai_misc.h: ... here.
9550 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9551 * sysdeps/nptl/librt-cancellation.c: ... here.
9552 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9553 * sysdeps/nptl/malloc-machine.h: ... here.
9554 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9555 * sysdeps/nptl/pthread-functions.h: ... here.
9556 * nptl/sysdeps/pthread/pthread.h: Moved ...
9557 * sysdeps/nptl/pthread.h: ... here.
9558 * nptl/sysdeps/pthread/setxid.h: Moved ...
9559 * sysdeps/nptl/setxid.h: ... here.
9560 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9561 * sysdeps/nptl/sigfillset.c: ... here.
9562 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9563 * sysdeps/nptl/tcb-offsets.h: ... here.
9564 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9565 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9566 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9567 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9568 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9569 * sysdeps/pthread/allocalim.h: ... here.
9570 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9571 * sysdeps/pthread/bits/sigthread.h: ... here.
9572 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9573 * sysdeps/pthread/flockfile.c: ... here.
9574 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9575 * sysdeps/pthread/ftrylockfile.c: ... here.
9576 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9577 * sysdeps/pthread/funlockfile.c: ... here.
9578 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9579 * sysdeps/pthread/posix-timer.h: ... here.
9580 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9581 * sysdeps/pthread/timer_create.c: ... here.
9582 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9583 * sysdeps/pthread/timer_delete.c: ... here.
9584 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9585 * sysdeps/pthread/timer_getoverr.c: ... here.
9586 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9587 * sysdeps/pthread/timer_gettime.c: ... here.
9588 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9589 * sysdeps/pthread/timer_routines.c: ... here.
9590 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9591 * sysdeps/pthread/timer_settime.c: ... here.
9592 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9593 * sysdeps/pthread/tst-timer.c: ... here.
9594 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9595 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9597 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9598 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9600 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9601 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9602 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9603 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9604 Update #include target.
9605 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9606 * sysdeps/i386/i686/nptl/Makefile: ... here.
9607 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9608 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9609 Update #include target.
9610 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9611 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9612 * nptl/sysdeps/i386/Makefile: Moved ...
9613 * sysdeps/i386/nptl/Makefile: ... here.
9614 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9615 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9616 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9617 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9618 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9619 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9620 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9621 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9622 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9623 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9624 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9625 * nptl/sysdeps/i386/tls.h: Moved ...
9626 * sysdeps/i386/nptl/tls.h: ... here.
9628 * sysdeps/sh/Makefile [$(subdir) = csu]
9629 (gen-as-const-headers): Add tcb-offsets.sym.
9630 * nptl/sysdeps/sh/Makefile: File removed.
9631 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9632 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9633 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9634 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9635 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9636 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9637 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9638 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9639 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9640 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9641 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9642 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9643 * nptl/sysdeps/sh/tls.h: Moved ...
9644 * sysdeps/sh/nptl/tls.h: ... here.
9645 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9646 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9648 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9650 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9651 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9652 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9653 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9654 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9656 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9658 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9660 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9662 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9664 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9666 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9668 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9671 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9672 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9677 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9678 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9679 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9680 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9681 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9682 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9683 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9684 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9685 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9686 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9687 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9688 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9689 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9690 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9691 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9692 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9694 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9696 * posix/spawn_faction_addopen.c: Include string.h.
9698 2014-06-11 Roland McGrath <roland@hack.frob.com>
9700 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9701 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9702 * nptl/sysdeps/x86_64/Makefile: Moved ...
9703 * sysdeps/x86_64/nptl/Makefile: ... here.
9704 * nptl/sysdeps/x86_64/configure: Moved ...
9705 * sysdeps/x86_64/nptl/configure: ... here.
9706 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9707 * sysdeps/x86_64/nptl/configure.ac: ... here.
9708 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9709 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9710 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9711 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9712 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9713 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9714 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9715 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9716 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9717 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9718 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9719 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9720 * nptl/sysdeps/x86_64/tls.h: Moved ...
9721 * sysdeps/x86_64/nptl/tls.h: ... here.
9722 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9723 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9724 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9725 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9727 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9729 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9733 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9735 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9737 [POSIX] (off_t): Likewise.
9738 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9739 [POSIX] (S_ISBLK): Require macro.
9740 [POSIX] (S_ISCHR): Likewise.
9741 [POSIX] (S_ISDIR): Likewise.
9742 [POSIX] (S_ISFIFO): Likewise.
9743 [POSIX] (S_ISREG): Likewise.
9744 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9746 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9748 [POSIX] (time_t): Likewise.
9749 [POSIX] (timer_t): Likewise.
9751 2014-06-11 Florian Weimer <fweimer@redhat.com>
9754 * posix/spawn_int.h (struct __spawn_action): Make the path string
9755 non-const to support deallocation.
9756 * posix/spawn_faction_addopen.c
9757 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9758 * posix/spawn_faction_destroy.c
9759 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9760 path in all spawn_do_open actions.
9761 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9762 posix_spawn_file_actions_addopen.
9764 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9766 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9767 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9768 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9769 conditional code always true.
9770 (__libc_vfork): New alias.
9772 2014-06-11 Roland McGrath <roland@hack.frob.com>
9774 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9775 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9777 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9779 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9780 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9782 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9783 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9785 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9786 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9788 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9790 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9791 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9792 multiarch strcmp for PPC64.
9793 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9794 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9796 multiarch optimizations.
9797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9798 (__libc_ifunc_impl_list): Likewise.
9800 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9802 * benchtests/scripts/validate_benchout.py: New script.
9803 * benchtests/Makefile (bench-func): Call it.
9804 * benchtests/scripts/benchout.schema.json: New file.
9806 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9808 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9809 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9810 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9811 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9812 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9813 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9814 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9815 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9816 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9817 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9818 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9819 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9820 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9821 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9822 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9823 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9928 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9930 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9931 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9933 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9942 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9946 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9949 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9950 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9952 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9954 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9955 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9957 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9959 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9961 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9962 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9963 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9965 2014-06-10 Wilco <wdijkstr@arm.com>
9967 * math/test-fenv-return.c: New file.
9968 * math/Makefile: Add new test test-fenv-return.
9970 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9973 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9975 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9976 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9977 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9978 0.0L for an argument of 1.0L.
9979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9981 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9982 value when x - 1 is zero.
9983 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9984 * sysdeps/i386/fpu/libm-test-ulps: Update.
9985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9990 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9992 2014-06-09 Roland McGrath <roland@hack.frob.com>
9994 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9995 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9997 2014-06-09 Roland McGrath <roland@hack.frob.com>
9999 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10000 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10002 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10003 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10005 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10006 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10008 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10009 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10011 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10012 if not already defined.
10013 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10014 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10015 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10016 (TLS_INIT_TP): Use it.
10017 (TLS_DEFINE_INIT_TP): New macro.
10018 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10020 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10022 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10024 [POSIX] (IXANY): Likewise.
10025 [POSIX] (OLCUC): Likewise.
10026 [POSIX || POSIX2008] (CBAUD): Do not allow.
10027 [POSIX || POSIX2008] (DEFECHO): Likewise.
10028 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10029 [POSIX || POSIX2008] (ECHOKE): Likewise.
10030 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10031 [POSIX || POSIX2008] (EXTA): Likewise.
10032 [POSIX || POSIX2008] (EXTB): Likewise.
10033 [POSIX || POSIX2008] (FLUSHO): Likewise.
10034 [POSIX || POSIX2008] (LOBLK): Likewise.
10035 [POSIX || POSIX2008] (PENDIN): Likewise.
10036 [POSIX || POSIX2008] (SWTCH): Likewise.
10037 [POSIX || POSIX2008] (VDISCARD): Likewise.
10038 [POSIX || POSIX2008] (VDSUSP): Likewise.
10039 [POSIX || POSIX2008] (VLNEXT): Likewise.
10040 [POSIX || POSIX2008] (VREPRINT): Likewise.
10041 [POSIX || POSIX2008] (VSTATUS): Likewise.
10042 [POSIX || POSIX2008] (VWERASE): Likewise.
10043 (B*): Change to B[0123456789]*.
10044 * conform/data/time.h-data [POSIX || UNIX98]
10045 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10046 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10047 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10048 [POSIX] (tm_*): Do not allow.
10050 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10052 * Makefile (install): Don't set LANGUAGE.
10053 * Makefile.in (install): Likewise.
10054 * assert/Makefile (test-assert-ENV): Remove variable.
10055 (test-assert-perr-ENV): Likewise.
10056 * elf/Makefile (neededtest4-ENV): Likewise.
10057 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10058 [$(cross-compiling) = no]: Don't set LANGUAGE.
10059 * io/ftwtest-sh (LANG): Remove variable.
10060 * libio/Makefile (tst-widetext-ENV): Likewise.
10061 * manual/install.texi (Running make install): Don't refer to
10062 environment settings for make install.
10063 * INSTALL: Regenerated.
10064 * nptl/tst-tls6.sh: Don't set LANG.
10065 * posix/globtest.sh (LANG): Remove variable.
10066 * string/Makefile (tester-ENV): Likewise.
10067 (inl-tester-ENV): Likewise.
10068 (noinl-tester-ENV): Likewise.
10069 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10070 [$(cross-compiling) = no]: Don't set LANGUAGE.
10071 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10072 without explicit environment settings.
10074 2014-06-06 Roland McGrath <roland@hack.frob.com>
10076 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10077 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10078 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10079 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10081 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10083 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10084 other files in the crypt directory.
10085 * crypt/crypt.c: Remove duplicate includes.
10086 * crypt/crypt-entry.c: Likewise.
10087 * crypt/crypt_util.c: Likewise.
10089 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10091 * Makeconfig (run-program-env): New variable.
10092 (run-program-prefix-before-env): Likewise.
10093 (run-program-prefix-after-env): Likewise.
10094 (run-program-prefix): Define in terms of new variables.
10095 (built-program-cmd-before-env): New variable.
10096 (built-program-cmd-after-env): Likewise.
10097 (built-program-cmd): Define in terms of new variables.
10098 (test-program-prefix-before-env): New variable.
10099 (test-program-prefix-after-env): Likewise.
10100 (test-program-prefix): Define in terms of new variables.
10101 (test-program-cmd-before-env): New variable.
10102 (test-program-cmd-after-env): Likewise.
10103 (test-program-cmd): Define in terms of new variables.
10104 * Rules (make-test-out): Use $(run-program-env).
10105 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10106 (help): Do not mention environment variables. Mention
10107 --timeoutfactor option.
10108 (timeoutfactor): New variable.
10109 (blacklist_exports): Remove function.
10110 (exports): Remove variable.
10111 (command): Do not include ${exports}.
10112 * manual/install.texi (Configuring and compiling): Do not mention
10113 test wrappers preserving environment variables. Mention that last
10114 assignment to a variable must take precedence.
10115 * INSTALL: Regenerated.
10116 * benchtests/Makefile (run-bench): Use $(run-program-env).
10117 * catgets/Makefile ($(objpfx)test1.cat): Use
10118 $(built-program-cmd-before-env), $(run-program-env) and
10119 $(built-program-cmd-after-env).
10120 ($(objpfx)test2.cat): Do not specify environment variables
10122 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10123 $(run-program-env) and $(built-program-cmd-after-env).
10124 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10125 $(run-program-env) and $(test-program-cmd-after-env).
10126 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10128 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10129 run_program_env and test_program_cmd_after_env arguments.
10130 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10131 * elf/tst-pathopt.sh: Use run_program_env argument.
10132 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10133 $(test-wrapper-env) and $(run-program-env).
10134 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10135 run_program_env arguments.
10136 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10137 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10138 $(test-program-prefix-before-env), $(run-program-env) and
10139 $(test-program-prefix-after-env).
10140 ($(objpfx)tst-gettext2.out): Likewise.
10141 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10142 run_program_env and test_program_prefix_after_env arguments.
10143 * intl/tst-gettext2.sh: Likewise.
10144 * intl/tst-gettext4.sh: Do not set environment variables
10146 * intl/tst-gettext6.sh: Likewise.
10147 * intl/tst-translit.sh: Likewise.
10148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10149 $(test-program-prefix-before-env), $(run-program-env) and
10150 $(test-program-prefix-after-env).
10151 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10152 run_program_env and test_program_prefix_after_env arguments.
10153 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10154 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10155 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10156 explicitly with each use of ${test_wrapper_env}.
10157 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10158 $(test-program-prefix-before-env), $(run-program-env) and
10159 $(test-program-prefix-after-env).
10160 * posix/tst-getconf.sh: Do not set environment variables
10162 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10163 run_program_env and test_program_prefix_after_env arguments.
10164 * stdio-common/tst-printf.sh: Do not set environment variables
10166 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10167 $(test-program-prefix-before-env), $(run-program-env) and
10168 $(test-program-prefix-after-env).
10169 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10170 run_program_env and test_program_prefix_after_env arguments.
10171 Split $test calls into $test_pre and $test.
10172 * timezone/Makefile (build-testdata): Use
10173 $(built-program-cmd-before-env), $(run-program-env) and
10174 $(built-program-cmd-after-env).
10176 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10178 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10179 strlen for non SHARED builds.
10181 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10183 * nptl/allocatestack.c (check_list): Inlined function...
10184 (__reclaim_stacks): ... here.
10186 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10189 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10192 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10194 * Rules (make-test-out): Include
10195 LOCPATH=$(common-objpfx)localedata in default environment.
10196 * debug/Makefile (tst-chk1-ENV): Remove variable.
10197 (tst-chk2-ENV): Likewise.
10198 (tst-chk3-ENV): Likewise.
10199 (tst-chk4-ENV): Likewise.
10200 (tst-chk5-ENV): Likewise.
10201 (tst-chk6-ENV): Likewise.
10202 (tst-lfschk1-ENV): Likewise.
10203 (tst-lfschk2-ENV): Likewise.
10204 (tst-lfschk3-ENV): Likewise.
10205 (tst-lfschk4-ENV): Likewise.
10206 (tst-lfschk5-ENV): Likewise.
10207 (tst-lfschk6-ENV): Likewise.
10208 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10209 (tst-iconv7-ENV): Likewise.
10210 * intl/Makefile (LOCPATH-ENV): Likewise.
10211 (tst-codeset-ENV): Likewise.
10212 (tst-gettext3-ENV): Likewise.
10213 (tst-gettext5-ENV): Likewise.
10214 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10215 (tst-fopenloc-ENV): Likewise.
10216 (tst-fgetws-ENV): Remove variable.
10217 (tst-ungetwc1-ENV): Likewise.
10218 (tst-ungetwc2-ENV): Likewise.
10219 (bug-ungetwc2-ENV): Likewise.
10220 (tst-swscanf-ENV): Likewise.
10221 (bug-ftell-ENV): Likewise.
10222 (tst-fgetwc-ENV): Likewise.
10223 (tst-fseek-ENV): Likewise.
10224 (tst-ftell-partial-wide-ENV): Likewise.
10225 (tst-ftell-active-handler-ENV): Likewise.
10226 (tst-ftell-append-ENV): Likewise.
10227 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10228 (tst-regexloc-ENV): Likewise.
10229 (bug-regex1-ENV): Likewise.
10230 (tst-regex-ENV): Likewise.
10231 (tst-regex2-ENV): Likewise.
10232 (bug-regex5-ENV): Likewise.
10233 (bug-regex6-ENV): Likewise.
10234 (bug-regex17-ENV): Likewise.
10235 (bug-regex18-ENV): Likewise.
10236 (bug-regex19-ENV): Likewise.
10237 (bug-regex20-ENV): Likewise.
10238 (bug-regex22-ENV): Likewise.
10239 (bug-regex23-ENV): Likewise.
10240 (bug-regex25-ENV): Likewise.
10241 (bug-regex26-ENV): Likewise.
10242 (bug-regex30-ENV): Likewise.
10243 (bug-regex32-ENV): Likewise.
10244 (bug-regex33-ENV): Likewise.
10245 (bug-regex34-ENV): Likewise.
10246 (bug-regex35-ENV): Likewise.
10247 (tst-rxspencer-ENV): Likewise.
10248 (tst-rxspencer-no-utf8-ENV): Likewise.
10249 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10250 (tst-sscanf-ENV): Likewise.
10251 (tst-swprintf-ENV): Likewise.
10252 (tst-swscanf-ENV): Likewise.
10253 (test-vfprintf-ENV): Likewise.
10254 (scanf13-ENV): Likewise.
10255 (bug14-ENV): Likewise.
10256 (tst-grouping-ENV): Likewise.
10257 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10258 (tst-strtod3-ENV): Likewise.
10259 (tst-strtod4-ENV): Likewise.
10260 (tst-strtod5-ENV): Likewise.
10261 (testmb2-ENV): Likewise./
10262 * string/Makefile (tst-strxfrm-ENV): Likewise.
10263 (tst-strxfrm2-ENV): Likewise.
10264 (bug-strcoll1-ENV): Likewise.
10265 (test-strcasecmp-ENV): Likewise.
10266 (test-strncasecmp-ENV): Likewise.
10267 * time/Makefile (tst-strptime-ENV): Likewise.
10268 (tst-ftime_l-ENV): Likewise.
10269 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10270 (tst-mbrtowc-ENV): Likewise.
10271 (tst-wcrtomb-ENV): Likewise.
10272 (tst-mbrtowc2-ENV): Likewise.
10273 (tst-c16c32-1-ENV): Likewise.
10274 (tst-mbsnrtowcs-ENV): Likewise.
10276 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10278 * manual/resource.texi (How to get information about the memory
10279 subsystem?): Fix typo.
10280 Reported by Peon de la Parra Ivan <peon@keba.com>
10282 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10285 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10286 (pthread_spin_lock): Branch out of spin loop to proper location.
10287 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10288 (pthread_spin_lock): Likewise.
10290 * nptl/tst-spin4.c: New test.
10291 * nptl/Makefile (tests): Add tst-spin4.
10293 2014-06-03 Andreas Schwab <schwab@suse.de>
10296 * resolv/res_send.c (send_dg): Reload file descriptor after
10299 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10301 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10303 2014-06-03 Richard Henderson <rth@redhat.com>
10305 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10306 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10307 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10308 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10309 in the SAVE_PID block.
10310 (__libc_vfork): New alias.
10311 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10313 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10314 child in registers, not on the stack. Remove RESET_PID conditionals.
10315 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10317 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10319 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10321 2014-06-03 Wilco <wdijkstr@arm.com>
10323 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10324 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10325 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10326 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10327 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10330 2014-06-03 Wilco <wdijkstr@arm.com>
10332 * sysdeps/aarch64/fpu/math_private.h
10333 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10334 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10335 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10336 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10339 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10341 * crypt/crypt-private.h: Include ufc-crypt.h.
10342 (__b64_from_24bit): Declare extern.
10343 * crypt/crypt_util.c(__b64_from_24bit): New function.
10344 (b64t): New static const variable.
10345 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10346 (b64t): Remove variable.
10347 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10348 * crypt/sha256-crypt.c: Include crypt-private.h.
10349 (b64t): Remove variable.
10350 (__sha256_crypt_r): Remove b64_from_24bit and replace
10351 with __b64_from_24bit.
10352 * crypt/sha512-crypt.c: Likewise.
10354 2014-06-02 Roland McGrath <roland@hack.frob.com>
10356 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10357 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10358 Label the code __libc_vfork rather than __vfork.
10359 [!NOT_IN_libc] (vfork): Define as weak alias.
10360 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10361 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10362 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10364 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10366 * malloc/malloc.c (malloc_info): Fix format specifier for
10369 2014-06-02 Wilco <wdijkstr@arm.com>
10371 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10374 2014-06-02 Wilco <wdijkstr@arm.com>
10377 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10378 Rewrite to reduce FPCR/FPSR accesses.
10380 2014-06-01 David S. Miller <davem@davemloft.net>
10382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10384 2014-05-31 David S. Miller <davem@davemloft.net>
10386 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10387 to occur in round to nearest mode when |x| >= 2.0
10389 2014-05-30 Richard Henderson <rth@twiddle.net>
10391 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10392 (PSEUDO_RET_NOERRNO): Remove.
10393 (ret): Don't redefine.
10394 (ret_NOERRNO): Define in terms of ret.
10395 (ret_ERRVAL): Likewise.
10397 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10398 use of PSEUDO_RET; perform the error check directly.
10400 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10402 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10405 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10407 * malloc/malloc (malloc_info): Fix formatting.
10409 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10410 Roland McGrath <roland@hack.frob.com>
10412 * malloc/malloc (malloc_info): Also print mmapped statistics.
10414 2014-05-30 Roland McGrath <roland@hack.frob.com>
10416 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10417 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10419 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10421 * malloc/malloc.c (malloc_info): Inline mi_arena.
10423 2014-05-29 Richard Henderson <rth@twiddle.net>
10425 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10426 Remove comma before expanding ASM_ARGS_##nr.
10427 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10428 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10430 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10431 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10432 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10433 (ASM_ARGS_1): Add leading comma.
10435 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10436 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10437 to __errno_location.
10438 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10439 Remove the expected plt for __errno_location.
10441 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10442 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10445 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10446 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10447 it and break it down.
10448 (DOCARGS_0, DOCARGS_1): Do nothing.
10449 (DOCARGS_2): Update to store into the new stack frame.
10450 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10451 (UNDOCARGS_1): Update to restore from the new stack frame.
10452 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10453 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10455 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10456 (SINGLE_THREAD_P): New parameter for result regno.
10457 (PSEUDO): Update to match; use cbz instead of beq.
10459 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10460 Use ENTRY to define the _nocancel entry point. Share the syscall
10461 and syscall error check paths with the cancel path.
10464 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10465 whitespace; tabs before and after asm mnemonics.
10467 2014-05-29 Eric Wong <normalperson@yhbt.net>
10470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10471 Call fstat64 or stat64 internally, depending on arguments passed.
10472 Replace stat buffer argument with file descriptor argument.
10473 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10474 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10475 Pass fd to __internal_statvfs instead of calling fstat64.
10476 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10477 Pass fd to __internal_statvfs64 instead of calling fstat64.
10478 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10479 Pass -1 to __internal_statvfs instead of calling stat64.
10480 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10481 Pass -1 to __internal_statvfs64 instead of calling stat64.
10483 2014-05-28 Roland McGrath <roland@hack.frob.com>
10485 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10486 that was previously under [RESET_PID].
10487 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10489 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10490 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10492 2014-05-27 Roland McGrath <roland@hack.frob.com>
10494 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10496 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10497 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10499 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10501 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10503 2014-05-27 Andreas Schwab <schwab@suse.de>
10505 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10507 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10508 * elf/rtld.c (init_tls, dl_main): Likewise.
10509 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10510 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10511 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10512 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10513 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10514 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10515 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10516 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10517 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10518 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10519 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10520 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10521 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10522 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10523 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10524 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10525 * sysdeps/generic/tls.h: Update description.
10527 2014-05-27 Will Newton <will.newton@linaro.org>
10530 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10531 and restore r2 rather than just restoring.
10533 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10536 * libio/tst-ftell-append.c: New test case.
10537 * libio/Makefile (tests): Add test case.
10538 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10540 * libio/wfileops.c (do_ftell_wide): Likewise.
10542 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10546 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10550 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10551 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10552 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10553 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10554 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10555 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10562 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10563 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10564 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10565 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10568 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10569 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10571 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10573 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10575 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10576 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10577 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10580 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10582 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10587 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10597 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10605 conditional [RESET_PID].
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10614 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10615 (__libc_vfork): New strong alias.
10616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10623 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10624 (__libc_vfork): New strong alias.
10625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10630 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10632 * malloc/malloc.c (mi_arena): New function.
10633 (malloc_info): Remove nested function mi_arena. Call non-nosted
10636 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10638 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10640 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10641 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10642 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10643 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10644 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10645 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10646 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10648 2014-05-26 Andreas Schwab <schwab@suse.de>
10651 * locale/programs/repertoire.c (repertoire_read): Add slash
10652 between I18NPATH element and file name.
10653 * locale/programs/locfile.c (locfile_read): Likewise.
10655 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10657 * nptl/pthread_mutexattr_settype.c
10658 (__pthread_mutexattr_settype):
10659 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10661 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10663 * nptl/tst-mutex5 (do_test):
10664 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10666 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10668 * benchtests/README: Document 'init' directive.
10669 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10671 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10672 (parse_file): Recognize 'init' directive.
10674 2014-05-26 Kyle McMartin <kyle@redhat.com>
10677 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10678 alignment of struct pthread.
10680 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10683 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10684 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10685 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10686 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10688 2014-05-25 Richard Henderson <rth@twiddle.net>
10690 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10691 (SINGLE_THREAD_P_PIC): Remove.
10692 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10693 (SINGLE_THREAD_P_PIC): Remove.
10695 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10696 branch to syscall error ...
10697 (PSEUDO): ... here.
10698 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10699 from __local_syscall_error to .Lsyscall_error.
10700 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10701 (SYSCALL_ERROR): Update label name.
10703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10704 Do not use DOARGS/UNDOARGS.
10705 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10706 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10707 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10708 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10709 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10714 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10715 define if !NOT_IN_libc.
10716 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10717 define with non-default symbol versions.
10719 2014-05-23 Richard Henderson <rth@twiddle.net>
10721 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10722 (vfork, __vfork): Define via compat_symbol.
10724 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10725 [!HAVE_IFUNC] (vfork_compat): Remove.
10726 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10728 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10731 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10732 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10735 2014-05-23 Richard Henderson <rth@twiddle.net>
10737 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10738 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10739 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10740 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10742 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10743 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10745 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10746 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10747 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10748 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10749 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10750 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10751 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10752 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10753 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10754 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10755 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10757 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10759 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10760 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10761 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10763 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10764 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10765 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10769 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10770 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10771 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10772 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10773 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10775 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10776 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10777 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10778 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10779 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10780 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10781 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10782 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10783 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10784 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10785 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10786 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10787 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10789 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10791 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10793 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10795 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10796 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10797 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10799 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10800 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10801 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10802 before exiting on error.
10803 (__libc_vfork): New strong alias.
10804 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10805 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10807 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10808 that was previously under [RESET_PID].
10809 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10811 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10813 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10816 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10817 value when x - 1 is zero.
10818 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10819 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10820 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10821 0.0L for an argument of 1.0L.
10822 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10824 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10825 value when x - 1 is zero.
10826 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10827 * sysdeps/i386/fpu/libm-test-ulps: Update.
10828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10830 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10832 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10833 alphasort and versionsort.
10835 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10837 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10839 [copysignf]: Likewise.
10841 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10843 * crypt/md5-crypt.c: Fix formatting.
10845 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10847 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10848 (b64_from_24bit): New function.
10850 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10853 libc_hidden_builtin_def to ifunc.
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10855 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10857 2014-05-21 Roland McGrath <roland@hack.frob.com>
10859 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10860 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10862 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10864 * nscd/Depend (linuxthreads): Remove.
10866 * resolv/Depend (linuxthreads): Remove.
10867 * rt/Depend (linuxthreads): Remove.
10869 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10870 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10871 $(common-objpfx)elf/.
10872 (link-libc-before-gnulib): Likewise.
10873 (elfobjdir): Remove variable.
10874 * Makefile (install): Use $(elf-objpfx) instead of
10875 $(common-objpfx)elf/.
10876 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10878 (link-libc-deps): Likewise.
10879 ($(common-objpfx)libc.so): Likewise.
10880 ($(common-objpfx)linkobj/libc.so): Likewise.
10881 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10882 instead of $(common-objpfx)elf/.
10883 (symbolic-link-list): Likewise.
10884 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10885 [$(cross-compiling) = no]: Likewise.
10886 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10888 (static-gnulib-arch): Likewise.
10889 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10890 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10891 $(common-objpfx)elf/.
10893 2014-05-21 Richard Henderson <rth@redhat.com>
10895 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10896 (SINGLE_THREAD_P): Use the correct width load. Fold
10897 into the ldr offset.
10899 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10900 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10902 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10904 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10905 (libgcc_s_resume): Use __attribute_used__.
10906 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10909 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10912 optimization when used with float constants.
10914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10916 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10919 * locale/nl_langinfo_l.c: Make direct reference to every
10920 _nl_current_CATEGORY symbol.
10921 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10922 (tests-static): Add tst-langinfo-static.
10923 (tests-special): Add tst-langinfo-static.out.
10924 ($(objpfx)tst-langinfo.out): Redirect output.
10925 ($(objpfx)tst-langinfo-static.out): New.
10926 * localedata/tst-langinfo.sh: Send output to stdout.
10927 * localedata/tst-langinfo-static.c: New file.
10930 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10931 when the shift amount is modulo the limb size.
10933 2014-05-20 Richard Henderson <rth@redhat.com>
10936 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10937 Change type of sa_flags from unsigned int to int.
10940 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10942 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10944 2014-05-20 Will Newton <will.newton@linaro.org>
10946 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10947 Test the return value of the system call in the nocancel case.
10949 2014-05-20 Will Newton <will.newton@linaro.org>
10950 Yvan Roux <yvan.roux@linaro.org>
10952 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10953 #include of asm/ptrace.h.
10954 (PTRACE_GET_THREAD_AREA): Remove #undef.
10955 (PTRACE_GETHBPREGS): Likewise.
10956 (PTRACE_SETHBPREGS): Likewise.
10957 (struct user_regs_struct): New structure.
10958 (struct user_fpsimd_struct): New structure.
10959 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10960 #include of asm/ptrace.h and second #include of sys/user.h.
10961 (PTRACE_GET_THREAD_AREA): Remove #undef.
10962 (PTRACE_GETHBPREGS): Likewise.
10963 (PTRACE_SETHBPREGS): Likewise.
10964 (ELF_NGREG): Use new struct user_regs_struct.
10965 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10967 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10970 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10972 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10975 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10976 membar to avoid block loads/stores to overlap previous stores.
10978 2014-05-17 Richard Henderson <rth@redhat.com>
10980 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10981 Create the __##syscall_name##_nocancel entry point.
10982 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10983 Remove; let the sysdep-cancel.h code create it.
10985 2014-05-17 David S. Miller <davem@davemloft.net>
10987 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10988 Protect with __USE_GNU.
10989 (TIOCSET_TEMPT): Likewise.
10990 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10991 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10992 these are already provided in bits/ioctl-types.h
10994 2014-05-16 Roland McGrath <roland@hack.frob.com>
10996 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10997 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10999 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11000 Use wait4 regardless of [__NR_waitpid].
11002 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11005 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11006 (_FP_NANSIGN_Q): Set the quiet bit.
11008 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11010 * benchtests/Makefile
11011 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11012 not $(common-objpfx)math/libm.so.
11013 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11014 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11015 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11016 $(common-objpfx)dlfcn/libdl.so.
11017 ($(objpfx)tst-audit8): Depend on $(libm), not
11018 $(common-objpfx)math/libm.so.
11019 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11020 not $(common-objpfx)dlfcn/libdl.so.
11022 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11023 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11024 [$(build-shared) = yes].
11025 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11026 $(common-objpfx)nptl/libpthread.so.
11027 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11028 $(common-objpfx)math/libm.so$(libm.so-version) or
11029 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11030 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11031 $(common-objpfx)dlfcn/libdl.so.
11032 * setjmp/Makefile (link-libm): Remove variable.
11033 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11034 * stdio-common/Makefile (link-libm): Remove variable.
11035 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11036 * stdlib/Makefile (link-libm): Remove variable.
11037 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11038 ($(objpfx)tst-strtod-round): Likewise.
11039 ($(objpfx)tst-tininess): Likewise.
11040 ($(objpfx)tst-strtod-underflow): Likewise.
11041 ($(objpfx)tst-strtod6): Likewise.
11042 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11043 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11044 $(common-objpfx)dlfcn/libdl.so.
11046 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11049 BSD terminal modes definitions.
11051 2014-05-16 Roland McGrath <roland@hack.frob.com>
11053 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11054 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11056 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11057 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11058 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11059 Don't do #include_next.
11060 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11061 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11062 Don't do #include_next.
11063 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11064 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11065 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11066 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11068 2014-05-16 Allan McRae <allan@archlinux.org>
11070 * po/sv.po: Update Swedish translation from translation project.
11072 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11075 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11078 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11079 errno if the TIOCGPTN ioctl fails with an error different than
11081 * login/tst-ptsname.c: New file.
11082 * login/Makefile (tests): Add tst-ptsname.
11085 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11088 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11092 herrno to return EAI_AGAIN.
11094 2014-05-14 Roland McGrath <roland@hack.frob.com>
11096 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11097 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11098 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11099 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11103 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11104 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11105 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11107 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11108 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11109 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11110 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11111 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11112 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11113 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11114 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11115 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11116 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11117 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11118 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11119 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11120 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11121 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11122 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11123 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11124 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11125 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11127 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11129 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11132 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11134 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11136 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11138 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11140 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11142 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11144 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11146 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11148 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11150 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11152 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11154 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11156 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11158 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11161 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11163 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11165 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11167 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11169 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11171 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11173 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11175 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11177 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11179 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11182 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11186 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11187 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11188 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11189 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11190 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11191 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11192 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11194 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11195 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11196 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11197 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11198 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11200 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11202 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11204 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11206 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11208 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11213 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11214 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11215 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11216 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11218 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11219 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11221 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11222 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11223 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11224 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11225 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11231 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11234 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11235 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11237 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11239 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11242 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11244 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11246 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11248 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11251 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11254 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11256 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11257 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11259 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11264 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11266 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11267 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11268 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11270 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11276 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11279 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11282 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11283 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11284 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11287 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11288 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11289 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11290 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11291 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11293 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11296 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11301 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11302 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11304 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11305 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11307 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11309 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11313 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11315 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11316 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11317 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11319 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11323 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11325 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11328 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11329 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11331 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11333 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11335 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11338 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11339 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11340 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11341 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11342 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11343 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11344 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11345 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11347 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11350 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11353 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11355 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11358 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11362 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11363 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11364 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11365 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11366 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11367 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11368 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11369 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11370 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11372 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11374 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11375 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11377 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11378 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11380 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11381 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11382 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11384 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11385 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11386 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11387 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11388 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11391 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11392 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11393 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11394 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11396 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11397 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11401 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11406 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11408 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11410 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11413 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11420 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11422 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11424 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11426 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11427 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11428 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11429 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11430 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11431 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11432 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11434 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11435 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11436 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11437 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11438 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11440 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11441 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11443 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11444 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11445 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11446 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11447 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11448 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11449 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11454 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11455 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11457 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11459 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11461 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11463 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11464 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11465 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11466 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11467 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11476 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11492 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11496 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11497 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11502 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11504 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11505 that was previously under [RESET_PID].
11506 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11507 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11508 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11510 * sysdeps/i386/nptl/Implies: New file.
11511 * sysdeps/x86_64/nptl/Implies: New file.
11512 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11513 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11514 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11515 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11517 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11518 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11519 (__libc_vfork): New strong alias.
11520 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11521 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11523 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11524 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11525 (__libc_vfork): New strong alias.
11526 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11527 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11529 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11530 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11531 (__libc_vfork): New strong alias.
11532 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11533 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11534 * nptl/pt-vfork.c: New file.
11535 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11536 (libpthread: GLIBC_2.20): New version set (empty).
11538 2014-05-14 Will Newton <will.newton@linaro.org>
11540 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11543 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11546 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11547 arguments with exponent 65 or above.
11548 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11549 arguments 0x1p113L or above.
11550 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11551 to arguments 0x1p107L or above.
11552 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11553 positive arguments with exponent 65 or above.
11554 * math/auto-libm-test-in: Add more tests of log1p.
11555 * math/auto-libm-test-out: Regenerated.
11558 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11559 non-finite arguments is +0.
11560 * math/s_cacosf.c (__cacosf): Likewise.
11561 * math/s_cacosl.c (__cacosl): Likewise.
11562 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11563 * sysdeps/i386/fpu/libm-test-ulps: Update.
11564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11567 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11569 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11570 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11571 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11572 for explicit high bit of mantissa when testing for argument equal
11574 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11575 * sysdeps/i386/fpu/libm-test-ulps: Update.
11576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11579 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11580 (__erf): Scale by 16 instead of 8 in potentially underflowing
11581 case. Ensure exception if result actually underflows.
11582 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11583 (__erff): Scale by 16 instead of 8 in potentially underflowing
11584 case. Ensure exception if result actually underflows.
11585 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11586 (efx8): Remove variable.
11587 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11588 case. Ensure exception if result actually underflows.
11589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11590 (efx8): Remove variable.
11591 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11592 case. Ensure exception if result actually underflows.
11593 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11594 (efx8): Remove variable.
11595 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11596 case. Ensure exception if result actually underflows.
11597 * math/auto-libm-test-in: Add more tests of erf.
11598 * math/auto-libm-test-out: Regenerated.
11600 2014-05-14 Andreas Schwab <schwab@suse.de>
11602 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11603 Remove code conditionalized on USE___THREAD.
11605 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11606 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11609 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11612 Define unconditionally.
11613 (__ASSUME_O_CLOEXEC): Likewise.
11614 (__ASSUME_SOCK_CLOEXEC): Likewise.
11615 (__ASSUME_IN_NONBLOCK): Likewise.
11616 (__ASSUME_PIPE2): Likewise.
11617 (__ASSUME_EVENTFD2): Likewise.
11618 (__ASSUME_SIGNALFD4): Likewise.
11619 (__ASSUME_DUP3): Likewise.
11620 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11621 (__ASSUME_DUP3): Do not define.
11622 (__ASSUME_EVENTFD2): Likewise.
11623 (__ASSUME_IN_NONBLOCK): Likewise.
11624 (__ASSUME_O_CLOEXEC): Likewise.
11625 (__ASSUME_PIPE2): Likewise.
11626 (__ASSUME_SIGNALFD4): Likewise.
11627 (__ASSUME_SOCK_CLOEXEC): Likewise.
11628 (__ASSUME_UTIMES): Undefine.
11629 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11630 (__ASSUME_UTIMES): Do not define.
11631 (__ASSUME_O_CLOEXEC): Likewise.
11632 (__ASSUME_SOCK_CLOEXEC): Likewise.
11633 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11634 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11636 (__ASSUME_PIPE2): Likewise.
11637 (__ASSUME_EVENTFD2): Likewise.
11638 (__ASSUME_SIGNALFD4): Likewise.
11639 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11640 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11642 (__ASSUME_EVENTFD2): Likewise.
11643 (__ASSUME_SIGNALFD4): Likewise.
11644 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11645 (__ASSUME_32BITUIDS): Likewise.
11646 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11647 (__ASSUME_IPC64): Likewise.
11648 (__ASSUME_ST_INO_64_BIT): Likewise.
11649 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11650 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11651 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11652 (__ASSUME_UTIMES): Do not define.
11653 (__ASSUME_PSELECT): Likewise.
11654 (__ASSUME_PPOLL): Likewise.
11655 (__ASSUME_O_CLOEXEC): Likewise.
11656 (__ASSUME_SOCK_CLOEXEC): Likewise.
11657 (__ASSUME_IN_NONBLOCK): Likewise.
11658 (__ASSUME_PIPE2): Likewise.
11659 (__ASSUME_EVENTFD2): Likewise.
11660 (__ASSUME_SIGNALFD4): Likewise.
11661 (__ASSUME_DUP3): Likewise.
11662 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11663 (__ASSUME_UTIMES): Likewise.
11664 (__ASSUME_O_CLOEXEC): Likewise.
11665 (__ASSUME_SOCK_CLOEXEC): Likewise.
11666 (__ASSUME_IN_NONBLOCK): Likewise.
11667 (__ASSUME_PIPE2): Likewise.
11668 (__ASSUME_EVENTFD2): Likewise.
11669 (__ASSUME_SIGNALFD4): Likewise.
11670 (__ASSUME_DUP3): Likewise.
11671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11672 (__ASSUME_UTIMES): Likewise.
11673 (__ASSUME_O_CLOEXEC): Likewise.
11674 (__ASSUME_SOCK_CLOEXEC): Likewise.
11675 (__ASSUME_IN_NONBLOCK): Likewise.
11676 (__ASSUME_PIPE2): Likewise.
11677 (__ASSUME_EVENTFD2): Likewise.
11678 (__ASSUME_SIGNALFD4): Likewise.
11679 (__ASSUME_DUP3): Likewise.
11680 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11682 (__ASSUME_UTIMES): Likewise.
11683 (__ASSUME_EVENTFD2): Likewise.
11684 (__ASSUME_SIGNALFD4): Likewise.
11685 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11686 (__ASSUME_O_CLOEXEC): Likewise.
11687 (__ASSUME_SOCK_CLOEXEC): Likewise.
11688 (__ASSUME_IN_NONBLOCK): Likewise.
11689 (__ASSUME_PIPE2): Likewise.
11690 (__ASSUME_EVENTFD2): Likewise.
11691 (__ASSUME_SIGNALFD4): Likewise.
11692 (__ASSUME_DUP3): Likewise.
11693 (__ASSUME_UTIMES): Undefine.
11695 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11696 feclearexcept. Remove symbol versioning code.
11697 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11698 symbol versioning code.
11699 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11700 symbol versioning code.
11701 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11702 feupdateenv. Remove symbol versioning code.
11703 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11704 fegetexceptflag. Remove symbol versioning code.
11705 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11706 fesetexceptflag. Remove symbol versioning code.
11707 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11708 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11709 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11710 (__posix_fadvise64_l32): Remove prototype.
11711 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11714 2014-05-13 Roland McGrath <roland@hack.frob.com>
11716 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11717 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11718 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11719 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11721 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11723 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11724 current working directory
11726 2014-05-13 Roland McGrath <roland@hack.frob.com>
11728 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11729 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11730 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11731 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11732 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11733 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11734 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11735 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11736 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11737 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11738 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11739 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11740 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11741 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11742 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11743 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11744 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11745 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11746 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11747 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11749 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11750 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11751 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11752 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11753 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11754 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11755 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11756 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11757 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11758 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11759 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11760 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11761 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11762 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11763 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11764 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11765 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11766 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11767 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11768 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11769 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11771 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11772 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11774 * sysdeps/unix/sysv/linux/arm/Makefile
11775 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11776 Add rt-aeabi_unwind_cpp_pr1.
11777 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11778 Add nptl-aeabi_unwind_cpp_pr1.
11779 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11780 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11781 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11782 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11783 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11784 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11786 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11787 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11788 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11789 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11791 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11792 Deconditionalize the code that was previously under [RESET_PID].
11793 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11795 * sysdeps/generic/exit-thread.h: New file.
11796 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11797 * include/unistd.h (__exit_thread): Remove declaration.
11798 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11799 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11800 * csu/libc-start.c: Include <exit-thread.h>.
11801 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11802 * nptl/pthread_create.c: Include <exit-thread.h>.
11803 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11804 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11805 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11806 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11807 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11808 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11809 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11810 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11811 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11812 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11813 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11814 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11815 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11816 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11817 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11818 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11819 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11821 2014-05-13 Andreas Schwab <schwab@suse.de>
11823 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11825 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11827 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11828 (__ASSUME_UTIMES): Do not condition on kernel version.
11829 (__ASSUME_PSELECT): Define unconditionally.
11830 (__ASSUME_PPOLL): Likewise.
11831 (__ASSUME_ATFCTS): Likewise.
11832 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11833 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11834 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11835 (__ASSUME_UTIMENSAT): Define unconditionally.
11836 (__ASSUME_PRIVATE_FUTEX): Likewise.
11837 (__ASSUME_FALLOCATE): Likewise.
11838 (__ASSUME_O_CLOEXEC): Likewise.
11839 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11840 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11841 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11842 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11843 (__ASSUME_IN_NONBLOCK): Likewise.
11844 (__ASSUME_PIPE2): Likewise.
11845 (__ASSUME_EVENTFD2): Likewise.
11846 (__ASSUME_SIGNALFD4): Likewise.
11847 (__ASSUME_DUP3): Likewise.
11848 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11849 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11850 (__ASSUME_AT_RANDOM): Likewise.
11851 (__ASSUME_PREADV): Likewise.
11852 (__ASSUME_PWRITEV): Likewise.
11853 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11854 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11855 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11856 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11857 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11859 (__ASSUME_O_CLOEXEC): Define unconditionally.
11860 (__ASSUME_PSELECT): Do not undefine conditionally.
11861 (__ASSUME_PPOLL): Likewise.
11862 (__ASSUME_ATFCTS): Likewise.
11863 (__ASSUME_SET_ROBUST_LIST): Likewise.
11864 (__ASSUME_UTIMENSAT): Likewise.
11865 (__ASSUME_FDATASYNC): Define unconditionally.
11866 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11867 (__ASSUME_SIGFRAME_V2): Likewise.
11868 )__ASSUME_EVENTFD2): Likewise.
11869 (__ASSUME_SIGNALFD4): Likewise.
11870 (__ASSUME_PSELECT): Do not undefine conditionally.
11871 (__ASSUME_PPOLL): Likewise.
11872 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11873 (__ASSUME_PSELECT): Define unconditionally.
11874 (__ASSUME_PPOLL): Likewise.
11875 (__ASSUME_O_CLOEXEC): Likewise.
11876 (__ASSUME_SOCK_CLOEXEC): Likewise.
11877 (__ASSUME_IN_NONBLOCK): Likewise.
11878 (__ASSUME_PIPE2): Likewise.
11879 (__ASSUME_EVENTFD2): Likewise.
11880 (__ASSUME_SIGNALFD4): Likewise.
11881 (__ASSUME_DUP3): Likewise.
11882 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11883 (__ASSUME_O_CLOEXEC): Likewise.
11884 (__ASSUME_SOCK_CLOEXEC): Likewise.
11885 (__ASSUME_IN_NONBLOCK): Likewise.
11886 (__ASSUME_PIPE2): Likewise.
11887 (__ASSUME_EVENTFD2): Likewise.
11888 (__ASSUME_SIGNALFD4): Likewise.
11889 (__ASSUME_DUP3): Likewise.
11890 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11891 (__ASSUME_EVENTFD2): Likewise.
11892 (__ASSUME_SIGNALFD4): Likewise.
11893 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11895 2014-05-12 Andreas Schwab <schwab@suse.de>
11898 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11899 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11900 than maximum RPC packet size.
11901 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11902 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11903 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11904 (_nss_nis_getservbyport_r): Likewise.
11906 2014-05-12 Will Newton <will.newton@linaro.org>
11908 * malloc/Makefile (tests): Add tst-mallopt.
11909 * malloc/tst-mallopt.c: New file.
11911 2014-05-09 Roland McGrath <roland@hack.frob.com>
11913 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11914 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11916 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11918 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11919 (tst-tlsmod6.so): Likewise.
11921 2014-05-09 Roland McGrath <roland@hack.frob.com>
11923 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11925 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11928 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11929 and <dl-procinfo.h>.
11930 (__fegetenv): Save SSE state in envp->__eip if supported.
11931 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11932 envp->__eip if supported.
11933 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11934 and <dl-procinfo.h>.
11935 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11936 __data_offset and __data_selector in environment to 0. Set SSE
11937 state if supported.
11938 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11940 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11942 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11944 2014-05-09 Will Newton <will.newton@linaro.org>
11946 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11947 and libc_relro_required for ARM.
11948 * sysdeps/arm/preconfigure: Regenerate.
11950 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11951 Stefan Liebler <stli@linux.vnet.ibm.com>
11953 * config.make.in (enable-lock-elision): New Makefile variable.
11954 * configure.ac: Likewise.
11955 * configure: Regenerate.
11956 * sysdeps/s390/configure.ac:
11957 Add check for gcc transactions support.
11958 * sysdeps/s390/configure: Regenerate.
11959 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11960 Build elision files if enabled.
11961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11962 Add lock elision support for s390.
11963 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11964 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11965 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11966 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11967 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11968 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11975 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11977 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11978 (__lll_timedlock_elision, __lll_lock_elision)
11979 (__lll_unlock_elision, __lll_trylock_elision)
11980 (lll_timedlock_elision, lll_lock_elision)
11981 (lll_unlock_elision, lll_trylock_elision): Add.
11982 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11983 (pthread_mutex_t): Add lock elision support for s390.
11985 2014-05-14 Wilco <wdijkstr@arm.com>
11987 * sysdeps/arm/fclrexcpt.c: Cleanup.
11988 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11989 * sysdeps/arm/feenablxcpt.c: Cleanup.
11990 * sysdeps/arm/fegetenv.c: Cleanup.
11991 * sysdeps/arm/fegetexcept.c: Cleanup.
11992 * sysdeps/arm/fegetround.c: Cleanup.
11993 * sysdeps/arm/feholdexcpt.c: Cleanup.
11994 * sysdeps/arm/fesetenv.c: Cleanup.
11995 * sysdeps/arm/fesetround.c: Cleanup.
11996 * sysdeps/arm/feupdateenv.c: Cleanup.
11997 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11998 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11999 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12000 * sysdeps/arm/ftestexcept.c: Cleanup.
12001 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12002 * sysdeps/arm/setfpucw.c: Cleanup.
12004 2014-05-09 Will Newton <will.newton@linaro.org>
12006 * sysdeps/arm/armv7/strcmp.S: New file.
12007 * NEWS: Mention addition of ARMv7 optimized strcmp.
12009 2014-05-08 Roland McGrath <roland@hack.frob.com>
12011 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12012 look for %.ac rather than %.in.
12014 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12015 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12016 * sysdeps/mach/hurd/configure: Regenerated.
12017 * sysdeps/unix/sysv/linux/configure: Regenerated.
12019 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12021 2014-05-07 Steve Ellcey <sellcey@mips.com>
12024 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12028 2014-05-07 Andreas Schwab <schwab@suse.de>
12030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12031 when skipping over non-matching result from nscd.
12033 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12036 * nptl/sockperf.c (client): Check socket return value.
12039 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12040 nscd security class.
12042 2014-05-06 Roland McGrath <roland@hack.frob.com>
12044 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12045 * sysdeps/arm/unwind.h: ... here.
12047 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12050 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12053 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12055 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12056 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12057 multiarch strncpy for PPC64.
12058 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12059 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12061 multiarch optimizations.
12062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12063 (__libc_ifunc_impl_list): Likewise.
12064 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12066 multiarch stpncpy for PPC64.
12067 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12068 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12070 2014-05-06 Andreas Schwab <schwab@suse.de>
12073 * gmon/mcount.c (_MCOUNT_DECL): Use
12074 atomic_compare_and_exchange_bool_acq instead of
12075 catomic_compare_and_exchange_bool_acq.
12077 2014-05-05 Roland McGrath <roland@hack.frob.com>
12079 * elf/Makefile (others, install-bin): Remove pldd.
12080 (pldd-modules): Variable removed.
12081 ($(objpfx)pldd): Target removed.
12082 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12083 (others, install-bin): Append pldd here.
12084 ($(objpfx)pldd): New target.
12086 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12087 to 0, so the first #if test emitted later doesn't see it undefined.
12088 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12089 * sysdeps/gnu/errlist.c: Regenerated.
12091 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12094 [libc_hidden_builtin_def]: Define to empty value.
12095 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12096 [libc_hidden_builtin_def]: Likewise.
12097 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12098 [libc_hidden_builtin_def]: Likewise.
12099 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12100 [libc_hidden_builtin_def]: Likewise.
12101 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12102 __redirect_memcpy and define ifunc as default hidden symbol.
12103 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12104 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12106 2014-05-04 Adam Conrad <adconrad@0c3.net>
12108 * locale/iso-4217.def: Reintroduce XDR currency.
12110 2014-05-04 Allan McRae <allan@archlinux.org>
12112 * po/eo.po: Update Esperanto translation from translation project.
12114 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12116 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12117 and FEATURE_INDEX_MAX to 1.
12118 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12120 2014-05-01 Steve Ellcey <sellcey@mips.com>
12122 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12123 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12124 * iconvdata/big5.c (ONE_DIRECTION): Define.
12125 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12126 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12127 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12128 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12129 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12130 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12131 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12132 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12133 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12134 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12135 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12136 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12137 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12138 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12139 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12140 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12141 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12142 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12143 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12144 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12145 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12146 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12147 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12148 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12149 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12150 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12151 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12152 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12153 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12154 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12155 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12156 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12157 * iconvdata/johab.c (ONE_DIRECTION): Define.
12158 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12159 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12160 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12161 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12162 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12163 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12164 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12165 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12166 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12167 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12169 2014-05-01 Roland McGrath <roland@hack.frob.com>
12171 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12172 (_IO_JUMPS_OFFSET): Define to 0.
12174 * nptl/sysdeps/pthread/bits/libc-lock.h
12175 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12176 (__libc_lock_define_initialized_recursive): Always define using
12177 initializer. Modern compilers treat uninitialized (implicit zero) and
12178 explicit zero initializers the same (i.e. put the datum in bss).
12180 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12182 * nscd/nscd-client.h: Include <string.h>.
12184 2014-05-01 David S. Miller <davem@davemloft.net>
12187 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12188 multiple zero bytes exist at the end of a string.
12189 Reported by Aurelien Jarno <aurelien@aurel32.net>
12191 * string/test-strcmp.c (check): Add explicit test for situations where
12192 there are multiple zero bytes after the first.
12194 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12197 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12198 when compiling wprintf.
12199 * stdio-common/tstdiomisc.c (t3): New function.
12202 2014-05-01 Steve Ellcey <sellcey@mips.com>
12204 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12205 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12206 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12207 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12209 2014-05-01 Steve Ellcey <sellcey@mips.com>
12211 * stdlib/longlong.h: Updated from GCC.
12213 2014-05-01 Will Newton <will.newton@linaro.org>
12214 Bernard Ogden <bernie.ogden@linaro.org>
12216 * NEWS: Update fixed bug list.
12219 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12221 2014-04-30 David S. Miller <davem@davemloft.net>
12223 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12224 (libc_feholdexcept_setround_sparc_ctx): New function.
12225 (libc_fesetenv_sparc_ctx): Likewise.
12226 (libc_feupdateenv_sparc_ctx): Likewise.
12227 (libc_feholdsetround_sparc_ctx): Likewise.
12228 (libc_feholdexcept_setround_ctx): Define.
12229 (libc_feholdexcept_setroundf_ctx): Likewise.
12230 (libc_feholdexcept_setroundl_ctx): Likewise.
12231 (libc_fesetenv_ctx): Likewise.
12232 (libc_fesetenvf_ctx): Likewise.
12233 (libc_fesetenvl_ctx): Likewise.
12234 (libc_feupdateenv_ctx): Likewise.
12235 (libc_feupdateenvf_ctx): Likewise.
12236 (libc_feupdateenvl_ctx): Likewise.
12237 (libc_feresetround_ctx): Likewise.
12238 (libc_feresetroundf_ctx): Likewise.
12239 (libc_feresetroundl_ctx): Likewise.
12240 (libc_feholdsetround_ctx): Likewise.
12241 (libc_feholdsetroundf_ctx): Likewise.
12242 (libc_feholdsetroundl_ctx): Likewise.
12244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12245 with __USE_GNU instead of XOPEN cpp guards.
12247 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12251 with XOPEN cpp guards.
12253 2014-04-30 Julian Brown <julian@codesourcery.com>
12256 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12259 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12262 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12264 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12265 * sysdeps/unix/sysv/linux/configure: Regenerated.
12266 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12267 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12268 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12269 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12270 * README: Update reference to required Linux kernel version.
12271 * manual/install.texi (Linux): Update reference to required Linux
12272 kernel headers version.
12273 * INSTALL: Regenerated.
12275 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12277 [POSIX] (limits.h): Likewise.
12278 [POSIX] (math.h): Likewise.
12279 [POSIX] (sys/wait.h): Likewise.
12280 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12282 [POSIX] (stddef.h): Do not allow header inclusion.
12284 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12286 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12288 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12290 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12291 Return immediately after lll_futex_wake.
12293 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12296 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12298 (datahead_init_pos): Call datahead_init_common early.
12299 (datahead_init_neg): Likewise.
12301 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12302 datahead_init_neg): New functions.
12303 * nscd/aicache.c (addhstaiX): Use them.
12304 * nscd/grpcache.c (cache_addgr): Likewise.
12305 * nscd/hstcache.c (cache_addhst): Likewise.
12306 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12307 * nscd/netgroupcache.c (do_notfound): Likewise.
12308 (addgetnetgrentX): Likewise.
12309 (addinnetgrX): Likewise.
12310 * nscd/pwdcache.c (cache_addpw): Likewise.
12311 * nscd/servicescache.c (cache_addserv): Likewise.
12313 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12314 Atsushi Onoe <atsushi@onoe.org>
12319 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12320 one response is valid.
12321 * resolv/res_send.c (send_dg): Check for validity of other
12322 response if the current response is a referral.
12324 2014-04-29 Steve Ellcey <sellcey@mips.com>
12326 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12328 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12331 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12332 Always divide by positive zero when computing -Inf result.
12333 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12334 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12336 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12338 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12339 FPSCR if value do not change.
12340 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12341 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12342 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12343 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12344 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12345 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12348 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12350 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12351 * sysdeps/unix/sysv/linux/hppa: Move directory from
12352 ports/systeps/unix/sysv/linux/hppa.
12353 * README: Update listing for hppa-*-linux-gnu.
12355 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12358 * manual/stdio.texi (Hook functions): Fix types of stream hook
12361 * socket/sys/socket.h: Fix typo in comment.
12363 2014-04-28 Wilco <wdijkstr@arm.com>
12365 * sysdeps/arm/fenv_private.h: New file.
12366 * sysdeps/arm/math_private.h: New file.
12367 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12369 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12371 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12373 (La_x86_64_retval): Likewise.
12375 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12377 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12378 fpsr if value didn't change.
12379 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12380 to fpcr if value didn't change.
12381 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12382 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12383 fpsr or fpcr if value didn't change.
12384 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12385 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12386 fpcr if value didn't change.
12387 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12388 to fpsr if value didn't change.
12390 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12392 * nptl/tst-sem3.c: Use test-skeleton.c
12393 (main): Rename to do_test. Use return instead of
12395 * nptl/tst-sem4.c: Use test-skeleton.c
12396 (main): Rename to do_test.
12398 2014-04-22 David S. Miller <davem@davemloft.net>
12400 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12401 (struct sigaction): New struct member __glibc_reserved0, change
12402 type of sa_flags to int.
12404 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12406 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12407 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12409 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12411 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12412 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12414 2014-04-22 Will Newton <will.newton@linaro.org>
12415 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12417 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12418 (__longjmp): Add longjmp and longjmp_target SystemTap
12420 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12421 (__sigsetjmp): Add setjmp SystemTap probe.
12423 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12425 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12426 match manual order.
12428 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12430 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12432 * sysdeps/powerpc/fpu/fenv_private.h
12433 (libc_feholdexcept_setroundl_ctx): Define to
12434 libc_feholdexcept_setround_ppc_ctx.
12435 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12436 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12437 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12438 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12440 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12442 * sysdeps/aarch64/math-tests.h: New file.
12444 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12446 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12449 Check and set bit_AVX2_Usable.
12450 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12452 (bit_AVX2): Likewise.
12453 (index_AVX2_Usable): Likewise.
12454 (CPUID_AVX2): Likewise.
12455 (HAS_AVX2): Likewise.
12457 2014-04-17 Will Newton <will.newton@linaro.org>
12459 * manual/setjmp.texi (System V contexts): Add note that
12460 calling setcontext on a context created by a call to a
12461 signal handler is undefined. Update text to note that
12462 setcontext from a signal handler is possible but not
12466 * stdlib/tst-setcontext.c: Include signal.h.
12467 (main): Check that the signal stack before and
12468 after swapcontext is the same.
12470 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12471 Re-implement to restore registers in user code and avoid
12472 rt_sigreturn system call.
12474 2014-04-17 Wilco <wdijkstr@arm.com>
12476 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12477 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12478 * math/test-fenv.c: Skip exception trap tests on targets which only
12479 support non-stop mode.
12481 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12482 Wilco Dijkstra <wilco.dijkstra@arm.com>
12484 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12485 (libc_feholdsetround_aarch64_ctx)
12486 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12487 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12488 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12489 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12490 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12491 (libc_feresetround_noexl_ctx): Define.
12493 2014-04-16 Richard Henderson <rth@redhat.com>
12495 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12497 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12500 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12501 const from the non-libc, non-ldso copy.
12503 * sysdeps/alpha/libm-test-ulps: Regenerate.
12505 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12506 Wilco Dijkstra <wilco.dijkstra@arm.com>
12508 * sysdeps/aarch64/fpu/math_private.h: New file.
12510 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12512 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12514 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12517 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12518 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12520 Intel MPX bound registers before _dl_profile_fixup.
12521 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12522 registers after _dl_profile_fixup. Save and restore bound
12523 registers bnd0/bnd1 when calling _dl_call_pltexit.
12524 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12525 (LR_BND_OFFSET): Likewise.
12526 (LRV_BND0_OFFSET): Likewise.
12527 (LRV_BND1_OFFSET): Likewise.
12529 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12531 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12533 * sysdeps/mach/hurd/i386/tls.h: ... here.
12534 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12535 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12538 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12540 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12542 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12544 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12546 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12549 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12550 * sysdeps/s390/configure: Regenerate.
12553 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12554 Set round-to-nearest internally to reduce error accumulation.
12556 2014-04-16 Alan Modra <amodra@gmail.com>
12560 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12561 * math/libm-test.inc (frexp_test_data): Add tests.
12562 * NEWS: Update fixed bug list.
12564 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12566 * benchtests/Makefile: Depend on libraries in build directory.
12567 (bench-math): Separate out math tests.
12568 (bench-pthread): Separate out pthread tests.
12569 (bench): Include math and pthread tests.
12571 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12574 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12575 _dl_debug_initialize.
12577 * configure.ac: Remove SELinux header check.
12578 * configure: Regenerate.
12579 * nscd/selinux.c (perms): Array of const char* to permission names.
12580 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12581 default policy. Call string_to_security_class and string_to_av_perm to
12582 translate strings. Enforce default policy and call avs_has_perm with
12583 results of translated strings.
12585 2014-04-13 David S. Miller <davem@davemloft.net>
12587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12589 2014-04-12 Allan McRae <allan@archlinux.org>
12592 * manual/string.texi (Collation Functions): Fix qsort argument
12594 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12596 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12598 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12599 Make the test a no-op if there are no exceptions defined.
12601 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12603 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12604 enable-hardcoded-path-in-tests
12606 2014-04-11 Will Newton <will.newton@linaro.org>
12608 * benchtests/Makefile (extra-objs): Add json-lib.o.
12609 (bench-func): Tidy up JSON output.
12610 * benchtests/bench-skeleton.c: Include json-lib.h.
12611 (main): Use JSON library functions to do output of
12613 * benchtests/bench-timing-type.c (main): Output the
12614 timing type simply, leaving formatting to the user.
12615 * benchtests/json-lib.c: New file.
12616 * benchtests/json-lib.h: Likewise.
12618 2014-04-11 Torvald Riegel <triegel@redhat.com>
12621 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12622 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12623 memory barriers. Add comments.
12624 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12625 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12626 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12627 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12628 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12629 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12631 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12633 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12634 * sysdeps/s390/s390-64/configure.ac: ... this ...
12635 * sysdeps/s390/configure.ac: ... to here.
12636 * sysdeps/s390/s390-32/configure: Delete file.
12637 * sysdeps/s390/s390-64/configure: Delete file.
12638 * sysdeps/s390/configure: Regenerate.
12640 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12642 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12644 2014-04-11 Will Newton <will.newton@linaro.org>
12646 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12647 to zero if it is not defined elsewhere. (mtrim): Test
12648 the value of MALLOC_DEBUG with #if rather than #ifdef.
12650 2014-04-10 Torvald Riegel <triegel@redhat.com>
12652 * benchtests/pthread_once-inputs: New file.
12653 * benchtests/pthread_once-source.c: New file.
12654 * benchtests/README: Update documentation.
12656 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12657 H.J. Lu <hongjiu.lu@intel.com>
12660 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12661 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12662 * sysdeps/x86_64/configure: Regenerated.
12663 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12665 (REGISTER_SAVE_RAX): Likewise.
12666 (REGISTER_SAVE_RCX): Likewise.
12667 (REGISTER_SAVE_RDX): Likewise.
12668 (REGISTER_SAVE_RSI): Likewise.
12669 (REGISTER_SAVE_RDI): Likewise.
12670 (REGISTER_SAVE_R8): Likewise.
12671 (REGISTER_SAVE_R9): Likewise.
12672 (REGISTER_SAVE_BND0): Likewise.
12673 (REGISTER_SAVE_BND1): Likewise.
12674 (REGISTER_SAVE_BND2): Likewise.
12675 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12676 bound registers when calling _dl_fixup.
12678 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12680 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12681 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12683 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12684 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12685 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12686 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12687 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12688 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12689 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12691 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12694 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12695 pathconf(_PC_NAME_MAX).
12697 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12699 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12700 Remove macro usage.
12701 (__PTHREAD_SPINS): Move definition to ...
12702 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12703 (__PTHREAD_SPINS): ... here.
12704 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12705 (__PTHREAD_SPIN): Likewise.
12706 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12707 (__PTHREAD_SPIN): Likewise.
12708 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12709 (__PTHREAD_SPIN): Likewise.
12710 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12711 (__PTHREAD_SPIN): Likewise.
12712 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12713 (__PTHREAD_SPIN): Likewise.
12714 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12715 (__PTHREAD_SPIN): Likewise.
12716 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12717 (__PTHREAD_SPIN): Likewise.
12718 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12719 (__PTHREAD_SPIN): Likewise.
12720 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12721 (__PTHREAD_SPIN): Likewise.
12722 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12723 (__PTHREAD_SPIN): Likewise.
12724 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12725 (__PTHREAD_SPIN): Likewise.
12726 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12727 (__PTHREAD_SPIN): Likewise.
12729 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12730 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12731 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12734 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12735 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12736 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12737 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12738 correct imply path.
12739 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12740 strlen symbol for non multi-arch builds.
12741 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12742 missing hidden_def and weak_alias.
12744 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12746 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12748 2014-04-07 Will Newton <will.newton@linaro.org>
12750 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12751 and contents. [!_LIBC] Remove #ifndef and contents.
12752 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12753 * string/memccpy.c (__memccpy): Use ANSI prototype.
12754 * string/memfrob.c (memfrob): Likewise.
12755 * string/strcoll.c (STRCOLL): Likewise.
12756 * string/strlen.c (strlen): Likewise.
12757 * string/strtok.c (STRTOK): Likewise.
12758 * string/strcat.c: Remove unused #include of memcopy.h.
12759 (strcat): Use ANSI prototype.
12760 * string/strchr.c: Remove unused #include of memcopy.h.
12761 (strchr): Use ANSI prototype.
12762 * string/strcmp.c: Remove unused #include of memcopy.h.
12763 (strcmp): Use ANSI prototype.
12764 * string/strcpy.c: Remove unused #include of memcopy.h.
12765 (strcpy): Use ANSI prototype.
12767 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12769 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12770 * config.make.in (config-extra-cppflags): Set it from
12771 libc_extra_cppflags.
12772 * configure.ac (libc_extra_cflags): Make it accumulate over
12773 configure fragments.
12774 (libc_extra_cppflags): New flag.
12775 * configure. Regenerate.
12776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12777 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12778 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12783 result for FE_DOWNWARD rounding mode.
12784 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12788 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12790 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12791 in function argument name.
12793 2014-04-03 David Svoboda <svoboda@cert.org>
12796 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12799 2014-04-03 Roland McGrath <roland@hack.frob.com>
12801 * elf/dl-unmap-segments.h: New file.
12802 * sysdeps/generic/ldsodefs.h
12803 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12804 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12805 * elf/dl-fptr.c: Likewise.
12806 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12807 * sysdeps/aarch64/tlsdesc.c: Likewise.
12808 * sysdeps/arm/tlsdesc.c: Likewise.
12809 * sysdeps/i386/tlsdesc.c: Likewise.
12810 * sysdeps/tile/dl-runtime.c: Likewise.
12811 * sysdeps/x86_64/tlsdesc.c: Likewise.
12812 * elf/dl-load.h: New file.
12813 * elf/dl-load.c: Include it.
12814 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12815 Macros moved to dl-load.h.
12816 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12817 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12818 Use _dl_unmap_segments in place of __munmap.
12819 Break out segment-mapping loop into ...
12820 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12822 2014-04-03 Will Newton <will.newton@linaro.org>
12824 * elf/dl-lookup.c (do_lookup_x): Remove comment
12825 referring to nested function and move variable
12826 declarations down to before first use.
12828 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12832 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12834 * math/s_catanf.c (__catanf): Likewise.
12835 * math/s_catanh.c (__catanh): Likewise.
12836 * math/s_catanhf.c (__catanhf): Likewise.
12837 * math/s_catanhl.c (__catanhl): Likewise.
12838 * math/s_catanl.c (__catanl): Likewise.
12839 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12840 by positive zero when computing -Inf result.
12841 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12842 (catanh_test): Likewise.
12843 * sysdeps/i386/fpu/libm-test-ulps: Update.
12844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12847 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12848 instead of using underflowing value in computing result.
12849 * math/s_clog10.c (__clog10): Likewise.
12850 * math/s_clog10f.c (__clog10f): Likewise.
12851 * math/s_clog10l.c (__clog10l): Likewise.
12852 * math/s_clogf.c (__clogf): Likewise.
12853 * math/s_clogl.c (__clogl): Likewise.
12854 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12855 (clog10_test): Likewise.
12856 * sysdeps/i386/fpu/libm-test-ulps: Update.
12857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12859 2014-04-02 Alan Modra <amodra@gmail.com>
12862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12863 output when value is near a power of two. Use int64_t for lx and
12864 remove casts. Use decimal rather than hex exponent constants.
12865 Don't use long double multiplication when double will suffice.
12866 * math/libm-test.inc (nextafter_test_data): Add tests.
12867 * NEWS: Add 16739 and 16786 to bug list.
12869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12871 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12873 2014-04-01 Will Newton <will.newton@linaro.org>
12875 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12876 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12878 2014-04-01 Florian Weimer <fweimer@redhat.com>
12881 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12882 * nptl/tst-setuid2.c: New file.
12883 * nptl/Makefile (xtests): Add tst-setuid2.
12885 2014-04-01 Alan Modra <amodra@gmail.com>
12888 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12890 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12894 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12895 set errno as appropriate.
12896 * math/w_scalbf.c (__scalbf): Likewise.
12897 * math/w_scalbl.c (__scalbl): Likewise.
12898 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12899 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12900 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12901 Add more NaN tests.
12904 * math/w_atan2.c: Include <errno.h>.
12905 (__atan2): Set errno for result underflowing to zero.
12906 * math/w_atan2f.c: Include <errno.h>.
12907 (__atan2f): Set errno for result underflowing to zero.
12908 * math/w_atan2l.c: Include <errno.h>.
12909 (__atan2l): Set errno for result underflowing to zero.
12910 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12912 * math/auto-libm-test-out: Regenerated.
12914 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12916 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12917 Encode instruction correctly in little endian.
12918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12922 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12924 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12927 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12930 * sysdeps/unix/sysv/linux/kernel-features.h
12931 [__sparc__ && !__arch64__ && !__sparc_v9__]
12932 (__ASSUME_SET_ROBUST_LIST): Do not define.
12933 [__sparc__ && !__arch64__ && !__sparc_v9__]
12934 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12935 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12937 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12938 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12939 (__ASSUME_REQUEUE_PI): Likewise.
12940 (__ASSUME_SET_ROBUST_LIST): Likewise.
12941 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12942 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12944 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12947 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12949 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12951 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12952 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12954 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12955 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12959 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12961 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12963 2014-03-31 Will Newton <will.newton@linaro.org>
12965 * benchtests/Makefile (bench): Add ffs and ffsll to list
12967 * benchtests/ffs-inputs: New file.
12968 * benchtests/ffsll-inputs: Likewise.
12970 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12973 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12974 too large before casting to int.
12975 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12976 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12977 * math/libm-test.inc (scalb_test_data): Add more tests.
12979 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12981 * benchtests/Makefile (DETAILED_OPT): New make option.
12982 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12984 * benchtests/bench-skeleton.c: Include stdbool.h.
12985 (main): Store and print timings per input.
12986 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12987 member to each argument value.
12988 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12989 (_print_arg_data): Initialize per-input timing to 0.
12991 * benchtests/Makefile (timing-type): New binary.
12992 (bench-clean): Also remove bench-timing-type.
12993 (bench): New target for timing-type.
12994 (bench-func): Print output in JSON format.
12995 * benchtests/bench-skeleton.c (main): Print output in JSON
12997 * benchtests/bench-timing-type.c: New file.
12998 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12999 (TIMING_PRINT_STATS): Remove.
13000 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13003 * benchtests/bench-modf.c: Remove.
13004 * benchtests/modf-inputs: New inputs file.
13006 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13009 * math/s_clog10.c (M_PI_LOG10E): New macro.
13010 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13011 imaginary parts are 0.
13012 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13013 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13014 imaginary parts are 0.
13015 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13016 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13017 imaginary parts are 0.
13018 * math/libm-test.inc (clog10_test_data): Update expected results
13019 for when real and imaginary parts are 0.
13021 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13023 * elf/dl-load.c: Finish conversion of __builtin_expect into
13024 __glibc_{un}likely.
13026 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13029 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13030 1+x for argument with exponent below -67.
13031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13033 * math/auto-libm-test-in: Add more tests of exp.
13034 * math/auto-libm-test-out: Regenerated.
13036 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13039 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13040 (nscd_getnetgrent): Use it.
13043 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13046 2014-03-27 Andi Kleen <ak@linux.intel.com>
13048 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13049 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13050 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13051 (lll_robust_unlock): Remove out of line section. Use cfi
13053 (LLL_STUB_UNWIND_INFO*): Remove.
13054 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13055 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13056 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13057 (lll_robust_unlock): Remove out of line section. Use cfi
13059 (LLL_STUB_UNWIND_INFO*): Remove.
13061 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13064 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13067 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13069 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13071 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13076 * math/test-fenv-preserve.c: New file.
13077 * math/Makefile (tests): Add test-fenv-preserve.
13079 2014-03-26 Will Newton <will.newton@linaro.org>
13081 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13083 2014-03-25 Roland McGrath <roland@hack.frob.com>
13085 * scripts/versionlist.awk: Partition the version sets and emit all
13086 GLIBC_* (sorted) before all others (sorted).
13088 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13090 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13091 GLIBC_2.2.5 version.
13093 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13095 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13098 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13103 2014-03-25 Andreas Schwab <schwab@suse.de>
13105 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13106 label to be used after in6ailist is initialized.
13108 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13110 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13111 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13113 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13117 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13119 (fp_formats): Update initializers.
13120 (init_fp_formats): Initialize new field.
13121 (output_for_one_input_case): Allow underflow for results up to
13123 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13124 * math/auto-libm-test-in: Don't mark some underflows from asin and
13126 * math/auto-libm-test-out: Regenerated.
13127 * sysdeps/i386/fpu/libm-test-ulps: Update.
13128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13130 2014-03-25 Andreas Schwab <schwab@suse.de>
13132 * libio/Makefile (tst-ftell-partial-wide-ENV)
13133 (tst-ftell-active-handler-ENV): Define.
13135 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13137 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13139 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13141 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13143 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13145 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13146 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13147 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13149 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13152 * elf/dl-load.c (open_verify): Add mode parameter.
13153 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13154 (open_path): Change from boolean 'secure' to complete flag 'mode'
13155 (_dl_map_object): Adjust.
13156 * elf/Makefile (tests): Add tst-dlopen-aout.
13157 * elf/tst-dlopen-aout.c: New test.
13159 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13162 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13163 (struct stat): Rename member pad0 to __glibc_reserved0.
13166 * sysdeps/s390/s390-32/bits/wordsize.h
13167 (__WORDSIZE32_SIZE_ULONG): New define.
13168 * sysdeps/s390/s390-64/bits/wordsize.h
13169 (__WORDSIZE32_SIZE_ULONG): Likewise.
13170 * sysdeps/generic/stdint.h (SIZE_MAX):
13171 Define as UL if __WORDSIZE32_SIZE_ULONG.
13174 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13175 (__glibc_reserved0): New variable.
13176 (sa_flags): Change type to int.
13178 * posix/Makefile (before-compile): Use += before-compile instead
13181 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13182 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13184 2014-03-20 Andreas Schwab <schwab@suse.de>
13187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13188 non-matching result from nscd.
13190 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13192 * scripts/bench.py: Moved to ...
13193 * benchtests/scripts/bench.py: ... here.
13194 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13196 2014-03-24 Andreas Schwab <schwab@suse.de>
13199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13200 alloca_account and account alloca use for struct in6ailist.
13202 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13205 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13206 rounding mode to recompute results that overflow to infinity or
13208 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13210 * math/auto-libm-test-out: Regenerated.
13211 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13212 (ccosh_test): Likewise.
13213 (csin_test_data): Use plus_oflow.
13214 (csin_test): Use ALL_RM_TEST.
13215 (csinh_test_data): Use plus_oflow.
13216 (csinh_test): Use ALL_RM_TEST.
13217 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13220 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13222 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13223 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13224 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13227 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13228 when x - 1 is zero.
13229 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13230 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13231 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13232 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13234 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13235 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13237 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13238 * sysdeps/i386/fpu/libm-test-ulps: Update.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13241 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13243 * scripts/bench.pl: Remove file.
13244 * scripts/bench.py: New benchmark script.
13245 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13246 * benchtests/README: Mention python dependency.
13247 * scripts/pylintrc: New file.
13248 * scripts/pylint: New file.
13250 * bits/mathdef.h: Use #ifdef instead of #if.
13251 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13253 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13254 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13255 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13256 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13258 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13259 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13261 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13263 and strpbrk-ppc64 objects.
13264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13265 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13267 multiarch strpbrk for POWER7.
13268 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13269 multiarch strpbrk for PPC64.
13270 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13272 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13273 strpbrk for POWER7.
13275 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13277 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13278 (atan_test): Likewise.
13279 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13280 (atanh_test): Use ALL_RM_TEST.
13281 (atan2_test_data): Likewise.
13282 (cabs_test): Likewise.
13283 (cacosh_test): Likewise.
13284 (carg_test): Likewise.
13285 (casin_test): Likewise.
13286 (casinh_test): Likewise.
13287 (cbrt_test): Likewise.
13288 (csqrt_test): Likewise.
13289 (erf_test): Likewise.
13290 (erfc_test): Likewise.
13291 (pow10_test): Likewise.
13292 (exp2_test): Likewise.
13293 (hypot_test): Likewise.
13294 (j0_test): Likewise.
13295 (j1_test): Likewise.
13296 (lgamma_test): Likewise.
13297 (gamma_test): Likewise.
13298 (sincos_test): Likewise.
13299 (tanh_test): Likewise.
13300 (y0_test): Likewise.
13301 (y1_test): Likewise.
13302 * sysdeps/i386/fpu/libm-test-ulps: Update.
13303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13305 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13307 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13309 and strcspn-ppc64 objects.
13310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13311 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13312 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13313 multiarch strcspn for POWER7.
13314 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13315 multiarch strcspn for PPC64.
13316 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13318 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13319 strcspn for POWER7.
13321 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13323 * math/gen-libm-test.pl (generate_testfile): Expect only function
13324 name as argument to AUTO_TESTS_* and pass results for all rounding
13325 modes to parse_args.
13326 (parse_auto_input): Separate inputs of automatic tests from
13327 outputs before storing in %auto_tests.
13328 * math/libm-test.inc (acos_test_data): Update call to
13330 (acos_test): Use ALL_RM_TEST.
13331 (acos_tonearest_test_data): Remove.
13332 (acos_test_tonearest): Likewise.
13333 (acos_towardzero_test_data): Likewise.
13334 (acos_test_towardzero): Likewise.
13335 (acos_downward_test_data): Likewise.
13336 (acos_test_downward): Likewise.
13337 (acos_upward_test_data): Likewise.
13338 (acos_test_upward): Likewise.
13339 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13340 (asin_test_data): Likewise.
13341 (asin_test): Use ALL_RM_TEST.
13342 (asin_tonearest_test_data): Remove.
13343 (asin_test_tonearest): Likewise.
13344 (asin_towardzero_test_data): Likewise.
13345 (asin_test_towardzero): Likewise.
13346 (asin_downward_test_data): Likewise.
13347 (asin_test_downward): Likewise.
13348 (asin_upward_test_data): Likewise.
13349 (asin_test_upward): Likewise.
13350 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13351 (atan_test_data): Likewise.
13352 (atanh_test_data): Likewise.
13353 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13354 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13355 (carg_test_data): Likewise.
13356 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13357 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13358 (ccosh_test_data): Likewise.
13359 (cexp_test_data): Likewise.
13360 (clog_test_data): Likewise.
13361 (clog10_test_data): Likewise.
13362 (cos_test_data): Update call to AUTO_TESTS_f_f.
13363 (cos_test): Use ALL_RM_TEST.
13364 (cos_tonearest_test_data): Remove.
13365 (cos_test_tonearest): Likewise.
13366 (cos_towardzero_test_data): Likewise.
13367 (cos_test_towardzero): Likewise.
13368 (cos_downward_test_data): Likewise.
13369 (cos_test_downward): Likewise.
13370 (cos_upward_test_data): Likewise.
13371 (cos_test_upward): Likewise.
13372 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13373 (cosh_test): Use ALL_RM_TEST.
13374 (cosh_tonearest_test_data): Remove.
13375 (cosh_test_tonearest): Likewise.
13376 (cosh_towardzero_test_data): Likewise.
13377 (cosh_test_towardzero): Likewise.
13378 (cosh_downward_test_data): Likewise.
13379 (cosh_test_downward): Likewise.
13380 (cosh_upward_test_data): Likewise.
13381 (cosh_test_upward): Likewise.
13382 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13383 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13384 (ctan_test_data): Likewise.
13385 (ctan_test): Use ALL_RM_TEST.
13386 (ctan_tonearest_test_data): Remove.
13387 (ctan_test_tonearest): Likewise.
13388 (ctan_towardzero_test_data): Likewise.
13389 (ctan_test_towardzero): Likewise.
13390 (ctan_downward_test_data): Likewise.
13391 (ctan_test_downward): Likewise.
13392 (ctan_upward_test_data): Likewise.
13393 (ctan_test_upward): Likewise.
13394 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13395 (ctanh_test): Use ALL_RM_TEST.
13396 (ctanh_tonearest_test_data): Remove.
13397 (ctanh_test_tonearest): Likewise.
13398 (ctanh_towardzero_test_data): Likewise.
13399 (ctanh_test_towardzero): Likewise.
13400 (ctanh_downward_test_data): Likewise.
13401 (ctanh_test_downward): Likewise.
13402 (ctanh_upward_test_data): Likewise.
13403 (ctanh_test_upward): Likewise.
13404 (erf_test_data): Update call to AUTO_TESTS_f_f.
13405 (erfc_test_data): Likewise.
13406 (exp_test_data): Likewise.
13407 (exp_test): Use ALL_RM_TEST.
13408 (exp_tonearest_test_data): Remove.
13409 (exp_test_tonearest): Likewise.
13410 (exp_towardzero_test_data): Likewise.
13411 (exp_test_towardzero): Likewise.
13412 (exp_downward_test_data): Likewise.
13413 (exp_test_downward): Likewise.
13414 (exp_upward_test_data): Likewise.
13415 (exp_test_upward): Likewise.
13416 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13417 (exp10_test): Use ALL_RM_TEST.
13418 (exp10_tonearest_test_data): Remove.
13419 (exp10_test_tonearest): Likewise.
13420 (exp10_towardzero_test_data): Likewise.
13421 (exp10_test_towardzero): Likewise.
13422 (exp10_downward_test_data): Likewise.
13423 (exp10_test_downward): Likewise.
13424 (exp10_upward_test_data): Likewise.
13425 (exp10_test_upward): Likewise.
13426 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13427 (expm1_test_data): Likewise.
13428 (expm1_test): Use ALL_RM_TEST.
13429 (expm1_tonearest_test_data): Remove.
13430 (expm1_test_tonearest): Likewise.
13431 (expm1_towardzero_test_data): Likewise.
13432 (expm1_test_towardzero): Likewise.
13433 (expm1_downward_test_data): Likewise.
13434 (expm1_test_downward): Likewise.
13435 (expm1_upward_test_data): Likewise.
13436 (expm1_test_upward): Likewise.
13437 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13438 (fma_test): Use ALL_RM_TEST.
13439 (fma_towardzero_test_data): Remove.
13440 (fma_test_towardzero): Likewise.
13441 (fma_downward_test_data): Likewise.
13442 (fma_test_downward): Likewise.
13443 (fma_upward_test_data): Likewise.
13444 (fma_test_upward): Likewise.
13445 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13446 (j0_test_data): Update call to AUTO_TESTS_f_f.
13447 (j1_test_data): Likewise.
13448 (jn_test_data): Update call to AUTO_TESTS_if_f.
13449 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13450 (log_test_data): Update call to AUTO_TESTS_f_f.
13451 (log10_test_data): Likewise.
13452 (log1p_test_data): Likewise.
13453 (log2_test_data): Likewise.
13454 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13455 (pow_tonearest_test_data): Likewise.
13456 (sin_test_data): Update call to AUTO_TESTS_f_f.
13457 (sin_test): Use ALL_RM_TEST.
13458 (sin_tonearest_test_data): Remove.
13459 (sin_test_tonearest): Likewise.
13460 (sin_towardzero_test_data): Likewise.
13461 (sin_test_towardzero): Likewise.
13462 (sin_downward_test_data): Likewise.
13463 (sin_test_downward): Likewise.
13464 (sin_upward_test_data): Likewise.
13465 (sin_test_upward): Likewise.
13466 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13467 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13468 (sinh_test): Use ALL_RM_TEST.
13469 (sinh_tonearest_test_data): Remove.
13470 (sinh_test_tonearest): Likewise.
13471 (sinh_towardzero_test_data): Likewise.
13472 (sinh_test_towardzero): Likewise.
13473 (sinh_downward_test_data): Likewise.
13474 (sinh_test_downward): Likewise.
13475 (sinh_upward_test_data): Likewise.
13476 (sinh_test_upward): Likewise.
13477 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13478 (sqrt_test): Use ALL_RM_TEST.
13479 (sqrt_tonearest_test_data): Remove.
13480 (sqrt_test_tonearest): Likewise.
13481 (sqrt_towardzero_test_data): Likewise.
13482 (sqrt_test_towardzero): Likewise.
13483 (sqrt_downward_test_data): Likewise.
13484 (sqrt_test_downward): Likewise.
13485 (sqrt_upward_test_data): Likewise.
13486 (sqrt_test_upward): Likewise.
13487 (tan_test_data): Update call to AUTO_TESTS_f_f.
13488 (tan_test): Use ALL_RM_TEST.
13489 (tan_tonearest_test_data): Remove.
13490 (tan_test_tonearest): Likewise.
13491 (tan_towardzero_test_data): Likewise.
13492 (tan_test_towardzero): Likewise.
13493 (tan_downward_test_data): Likewise.
13494 (tan_test_downward): Likewise.
13495 (tan_upward_test_data): Likewise.
13496 (tan_test_upward): Likewise.
13497 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13498 (tgamma_test_data): Likewise.
13499 (y0_test_data): Likewise.
13500 (y1_test_data): Likewise.
13501 (yn_test_data): Update call to AUTO_TESTS_if_f.
13502 (main): Do not call removed functions.
13504 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13506 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13507 (ldexp_test_data): Remove.
13508 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13510 (scalb_test): Use ALL_RM_TEST.
13512 2014-03-19 Andreas Schwab <schwab@suse.de>
13514 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13516 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13519 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13520 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13521 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13522 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13523 (__ASSUME_PREADV): Undefine.
13524 (__ASSUME_PWRITEV): Likewise.
13526 2014-03-18 Roland McGrath <roland@hack.frob.com>
13528 * bits/mman-linux.h: Add comment about non-Linux use.
13529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13530 bits/mman-linux.h resting place.
13532 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13533 * bits/mman-linux.h: ... here.
13535 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13537 * conform/conformtest.pl: Add standard definition when calling C
13538 preprocessor on data files.
13539 (checknamespace): Remove unused variable.
13541 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13543 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13544 minus_oflow, plus_uflow and minus_uflow in expected results.
13545 * math/libm-test.inc (scalbn_test_data): Add more tests of
13546 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13548 (scalbn_test): Use ALL_RM_TEST.
13549 (scalbln_test_data): Add more tests of negative arguments. Use
13550 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13551 (scalbln_test): Use ALL_RM_TEST.
13553 2014-03-18 Roland McGrath <roland@hack.frob.com>
13555 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13557 2014-03-18 Will Newton <will.newton@linaro.org>
13559 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13560 inaccurate comment.
13562 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13564 * Makerules [!subdir] (check-abi): Exit with error status if a
13567 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13569 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13570 for rint. Include results for all rounding modes.
13571 (nearbyint_test): Use ALL_RM_TEST.
13572 (rint_test_data): Include all tests used for nearbyint.
13574 2014-03-17 Will Newton <will.newton@linaro.org>
13576 * nptl/sysdeps/pthread/pthread.h: Revert previous
13579 * sysdeps/generic/ldsodefs.h: Revert previous
13582 * libio/genops.c: Revert previous change.
13583 * libio/libioP.h: Likewise.
13584 * stdio-common/vfprintf.c: Likewise.
13586 * sysdeps/generic/math_private.h: Revert previous
13589 * sysdeps/generic/math_private.h: Check whether
13590 HAVE_RM_CTX is defined with #ifdef rather
13593 * argp/argp-fmtstream.h: Check whether
13594 __STRICT_ANSI__ is defined with #ifdef rather
13596 * argp/argp.h: Likewise.
13598 * libio/genops.c: Check whether
13599 _IO_JUMPS_OFFSET is defined with #ifdef rather
13601 * libio/libioP.h: Likewise.
13602 * stdio-common/vfprintf.c: Likewise.
13604 * sysdeps/generic/ldsodefs.h: Check whether
13605 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13608 * nptl/sysdeps/pthread/pthread.h: Check
13609 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13612 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13614 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13616 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13620 * libio/fileops.c (_IO_file_open): Seek to end of file but
13621 don't cache the offset.
13622 (get_file_offset): Remove function.
13623 (do_ftell): Use cached offset when available.
13624 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13625 don't cache the offset.
13626 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13628 (do_one_test): Call it.
13629 (do_ftell_test): Fix up expected old offset for a+ mode.
13630 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13633 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13634 up test status with function return status.
13635 (do_write_test): Likewise.
13636 (do_append_test): Likewise.
13638 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13639 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13642 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13644 * math/gen-libm-test.pl (parse_args): Handle results specified for
13645 each rounding mode separately.
13646 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13647 tests and results from lrint_tonearest_test_data,
13648 lrint_towardzero_test_data, lrint_downward_test_data and
13649 lrint_upward_test_data.
13650 (lrint_test): Use ALL_RM_TEST.
13651 (lrint_tonearest_test_data): Remove.
13652 (lrint_test_tonearest): Likewise.
13653 (lrint_towardzero_test_data): Likewise.
13654 (lrint_test_towardzero): Likewise.
13655 (lrint_downward_test_data): Likewise.
13656 (lrint_test_downward): Likewise.
13657 (lrint_upward_test_data): Likewise.
13658 (lrint_test_upward): Likewise.
13659 (llrint_test_data): Merge in per-rounding-mode tests and results
13660 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13661 llrint_downward_test_data and llrint_upward_test_data.
13662 (llrint_test): Use ALL_RM_TEST.
13663 (llrint_tonearest_test_data): Remove.
13664 (llrint_test_tonearest): Likewise.
13665 (llrint_towardzero_test_data): Likewise.
13666 (llrint_test_towardzero): Likewise.
13667 (llrint_downward_test_data): Likewise.
13668 (llrint_test_downward): Likewise.
13669 (llrint_upward_test_data): Likewise.
13670 (llrint_test_upward): Likewise.
13671 (rint_test_data): Merge in per-rounding-mode tests and results
13672 from rint_tonearest_test_data, rint_towardzero_test_data,
13673 rint_downward_test_data and rint_upward_test_data. Add
13674 per-rounding-mode results for tests not in those arrays.
13675 (rint_test): Use ALL_RM_TEST.
13676 (rint_tonearest_test_data): Remove.
13677 (rint_test_tonearest): Likewise.
13678 (rint_towardzero_test_data): Likewise.
13679 (rint_test_towardzero): Likewise.
13680 (rint_downward_test_data): Likewise.
13681 (rint_test_downward): Likewise.
13682 (rint_upward_test_data): Likewise.
13683 (rint_test_upward): Likewise.
13684 (main): Don't call removed functions.
13686 2014-03-14 Roland McGrath <roland@hack.frob.com>
13688 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13689 "Compiled on ..." crapola. It is anti-useful.
13691 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13693 * scripts/evaluate-test.sh: Handle fourth argument to determine
13694 whether test run should stop on failure.
13695 * Makeconfig (stop-on-test-failure): New variable.
13696 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13697 $(stop-on-test-failure).
13698 * Makefile (tests): Give a summary of results from testing and
13699 exit with failure status if they include an ERROR or FAIL.
13700 (xtests): Likewise.
13701 * manual/install.texi (Configuring and compiling): Mention
13702 stop-on-test-failure=y.
13703 * INSTALL: Regenerated.
13705 2014-03-14 Roland McGrath <roland@hack.frob.com>
13707 * scripts/versionlist.awk: New file.
13708 * Makerules [$(build-shared) = yes]
13709 (postclean-generated): Add Versions.def, not Versions.def.v and
13711 ($(common-objpfx)Versions.def.v.i): Target removed.
13712 ($(common-objpfx)Versions.def): New target.
13713 ($(common-objpfx)Versions.all): Depend on that rather that
13714 $(common-objpfx)Versions.def.v.
13715 * Versions.def: File removed.
13717 * Makeconfig (+gccwarn): Add -Wundef.
13718 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13719 a dl-sysdep.h breaking its contract.
13720 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13721 * include/stackinfo.h: New file.
13722 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13723 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13724 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13725 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13726 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13727 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13728 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13729 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13730 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13731 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13732 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13733 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13734 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13735 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13736 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13738 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13741 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13743 * math/libm-test.inc (round_test_data): Add more tests.
13746 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13748 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13751 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13753 * math/libm-test.inc (ceil_test_data): Add more tests.
13755 * math/libm-test.inc (trunc_test_data): Add more tests related to
13758 2014-03-14 Roland McGrath <roland@hack.frob.com>
13760 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13761 with #if rather than #ifdef.
13762 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13764 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13766 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13767 first. Disable AVX-512 GCC support if assembler doesn't support
13769 * sysdeps/x86_64/configure: Regenerated.
13771 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13773 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13774 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13775 (__old_pthread_attr_setstack): Likewise.
13776 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13777 [!_STACK_GROWS_DOWN]: Likewise.
13779 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13781 * config.make.in (have-bash2): Delete.
13782 * configure.ac (libc_cv_have_bash2): Delete.
13783 * configure: Regenerate.
13784 * elf/Makefile (common-ldd-rewrite): Rename to ...
13785 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13786 (sh-ldd-rewrite): Delete.
13787 (bash-ldd-rewrite): Delete.
13788 (have-bash2): Delete checks.
13789 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13792 * config.make.in (have-ksh): Delete.
13794 * configure.ac (libc_cv_have_ksh): Delete.
13795 * configure: Regenerate.
13797 * elf/Makefile: Delete $(have-ksh) check.
13798 ($(objpfx)sotruss): Change KSH to BASH.
13799 * elf/sotruss.ksh: Rename to ...
13800 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13801 function style to match POSIX. Drop ksh vim mode setting.
13803 * manual/time.texi (Specifying the Time Zone with TZ): Change
13804 Tuesday to Thursday.
13806 * debug/tst-longjmp_chk2.c: Update header comment.
13807 (stackoverflow_handler): Add comment. Call assert on pass value.
13809 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13812 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13813 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13814 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13815 (La_x86_64_vector): Add zmm.
13816 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13817 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13818 ($(objpfx)tst-audit10): New target.
13819 ($(objpfx)tst-audit10.out): Likewise.
13820 (tst-audit10-ENV): New.
13821 (AVX512-CFLAGS): Likewise.
13822 (CFLAGS-tst-audit10.c): Likewise.
13823 (CFLAGS-tst-auditmod10a.c): Likewise.
13824 (CFLAGS-tst-auditmod10b.c): Likewise.
13825 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13826 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13827 * sysdeps/x86_64/configure: Regenerated.
13828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13829 AVX-512 zmm register support.
13830 (_dl_x86_64_save_sse): Likewise.
13831 (_dl_x86_64_restore_sse): Likewise.
13832 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13833 size vector registers.
13834 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13835 (ZMM_SIZE): Likewise.
13836 * sysdeps/x86_64/tst-audit10.c: New file.
13837 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13838 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13840 2014-03-13 Roland McGrath <roland@hack.frob.com>
13842 * configure.ac (HAVE_EHDR_START): New check.
13843 * configure: Regenerated.
13844 * config.h.in (HAVE_EHDR_START): New #undef.
13845 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13846 assuming the lowest-addressed segment maps the start of the file.
13848 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13850 * INSTALL: Regenerated.
13852 2014-03-13 Will Newton <will.newton@linaro.org>
13854 * manual/setjmp.texi (System V contexts): Improve
13855 clarity and grammar of documentation.
13857 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13860 * elf/Makefile (tests): Add tst-pie2.
13861 (tests-pie): Add tst-pie2.
13862 * elf/tst-pie2.c: New file.
13863 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13865 * elf/rtld.c (map_doit): Load executable as lt_executable.
13866 (dl_main): Likewise.
13868 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13871 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13872 (__ASSUME_PSELECT): Undefine.
13874 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13877 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13878 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13880 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13881 selector for static builds.
13883 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13886 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13889 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13891 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13892 IFUNC selector for static builds.
13894 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13896 * sysdeps/mips/math_private.h [__mips_hard_float]
13897 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13898 libc_feresetround_mips_ctx.
13899 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13900 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13901 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13904 * math/s_nextafter.c (__nextafter): Do not return value from
13905 overflowing computation.
13906 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13907 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13910 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13912 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13913 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13915 2014-03-11 Roland McGrath <roland@hack.frob.com>
13917 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13918 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13919 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13920 the new mov targetting sp.
13922 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13925 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13926 Define it for static builds as well.
13927 (NO_BZERO_IMPL): Likewise.
13929 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13931 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13932 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13933 multiarch strspn for PPC64.
13934 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13935 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13937 (__libc_ifunc_impl_list): Likewise.
13938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13939 multiarch optimizations
13940 * string/strspn.c (strspn): Using macro to redefine symbol name.
13942 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13943 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13945 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13946 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13947 multiarch strncat for PPC64.
13948 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13949 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13950 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13951 (__libc_ifunc_impl_list): Likewise.
13952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13953 multiarch optimizations
13955 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13958 * nscd/nscd.service: Make service type forking.
13960 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13962 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13963 sign in non default rounding modes.
13964 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13966 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13968 * math/libm-test.inc (ALL_RM_TEST): New macro.
13969 (ceil_test): Use ALL_RM_TEST.
13970 (cimag_test): Likewise.
13971 (conj_test): Likewise.
13972 (copysign_test): Likewise.
13973 (cproj_test): Likewise.
13974 (creal_test): Likewise.
13975 (fabs_test): Likewise.
13976 (floor_test): Likewise.
13977 (fmax_test): Likewise.
13978 (fmin_test): Likewise.
13979 (fmod_test): Likewise.
13980 (fpclassify_test): Likewise.
13981 (frexp_test): Likewise.
13982 (ilogb_test): Likewise.
13983 (isfinite_test): Likewise.
13984 (finite_test): Likewise.
13985 (isgreater_test): Likewise.
13986 (isgreaterequal_test): Likewise.
13987 (isinf_test): Likewise.
13988 (isless_test): Likewise.
13989 (islessequal_test): Likewise.
13990 (islessgreater_test): Likewise.
13991 (isnan_test): Likewise.
13992 (isnormal_test): Likewise.
13993 (issignaling_test): Likewise.
13994 (isunordered_test): Likewise.
13995 (logb_test): Likewise.
13996 (logb_downward_test_data): Remove.
13997 (logb_test_downward): Likewise.
13998 (lround_test): Use ALL_RM_TEST.
13999 (llround_test): Likewise.
14000 (modf_test): Likewise.
14001 (nexttoward_test): Likewise.
14002 (remainder_test): Likewise.
14003 (drem_test): Likewise.
14004 (remainder_tonearest_test_data): Likewise.
14005 (remainder_test_tonearest): Likewise.
14006 (drem_test_tonearest): Likewise.
14007 (remainder_towardzero_test_data): Likewise.
14008 (remainder_test_towardzero): Likewise.
14009 (drem_test_towardzero): Likewise.
14010 (remainder_downward_test_data): Likewise.
14011 (remainder_test_downward): Likewise.
14012 (drem_test_downward): Likewise.
14013 (remainder_upward_test_data): Likewise.
14014 (remainder_test_upward): Likewise.
14015 (drem_test_upward): Likewise.
14016 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14017 (round_test): Use ALL_RM_TEST.
14018 (signbit_test): Likewise.
14019 (trunc_test): Likewise.
14020 (significand_test): Likewise.
14021 (main): Don't call removed functions.
14023 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14026 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14027 || __USE_XOPEN2K8].
14028 (ILL_ILLOPN): Likewise.
14029 (ILL_ILLADR): Likewise.
14030 (ILL_ILLTRP): Likewise.
14031 (ILL_PRVOPC): Likewise.
14032 (ILL_PRVREG): Likewise.
14033 (ILL_COPROC): Likewise.
14034 (ILL_BADSTK): Likewise.
14035 (FPE_INTDIV): Likewise.
14036 (FPE_INTOVF): Likewise.
14037 (FPE_FLTDIV): Likewise.
14038 (FPE_FLTOVF): Likewise.
14039 (FPE_FLTUND): Likewise.
14040 (FPE_FLTRES): Likewise.
14041 (FPE_FLTINV): Likewise.
14042 (FPE_FLTSUB): Likewise.
14043 (SEGV_MAPERR): Likewise.
14044 (SEGV_ACCERR): Likewise.
14045 (BUS_ADRALN): Likewise.
14046 (BUS_ADRERR): Likewise.
14047 (BUS_OBJERR): Likewise.
14048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14049 (TRAP_TRACE): Likewise.
14050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14052 (CLD_KILLED): Likewise.
14053 (CLD_DUMPED): Likewise.
14054 (CLD_TRAPPED): Likewise.
14055 (CLD_STOPPED): Likewise.
14056 (CLD_CONTINUED): Likewise.
14057 (POLL_IN): Likewise.
14058 (POLL_OUT): Likewise.
14059 (POLL_MSG): Likewise.
14060 (POLL_ERR): Likewise.
14061 (POLL_PRI): Likewise.
14062 (POLL_HUP): Likewise.
14063 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14065 (ILL_ILLOPN): Likewise.
14066 (ILL_ILLADR): Likewise.
14067 (ILL_ILLTRP): Likewise.
14068 (ILL_PRVOPC): Likewise.
14069 (ILL_PRVREG): Likewise.
14070 (ILL_COPROC): Likewise.
14071 (ILL_BADSTK): Likewise.
14072 (FPE_INTDIV): Likewise.
14073 (FPE_INTOVF): Likewise.
14074 (FPE_FLTDIV): Likewise.
14075 (FPE_FLTOVF): Likewise.
14076 (FPE_FLTUND): Likewise.
14077 (FPE_FLTRES): Likewise.
14078 (FPE_FLTINV): Likewise.
14079 (FPE_FLTSUB): Likewise.
14080 (SEGV_MAPERR): Likewise.
14081 (SEGV_ACCERR): Likewise.
14082 (BUS_ADRALN): Likewise.
14083 (BUS_ADRERR): Likewise.
14084 (BUS_OBJERR): Likewise.
14085 (BUS_MCEERR_AR): Likewise.
14086 (BUS_MCEERR_AO): Likewise.
14087 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14088 (TRAP_TRACE): Likewise.
14089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14091 (CLD_KILLED): Likewise.
14092 (CLD_DUMPED): Likewise.
14093 (CLD_TRAPPED): Likewise.
14094 (CLD_STOPPED): Likewise.
14095 (CLD_CONTINUED): Likewise.
14096 (POLL_IN): Likewise.
14097 (POLL_OUT): Likewise.
14098 (POLL_MSG): Likewise.
14099 (POLL_ERR): Likewise.
14100 (POLL_PRI): Likewise.
14101 (POLL_HUP): Likewise.
14102 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14103 (ILL_ILLOPN): Likewise.
14104 (ILL_ILLADR): Likewise.
14105 (ILL_ILLTRP): Likewise.
14106 (ILL_PRVOPC): Likewise.
14107 (ILL_PRVREG): Likewise.
14108 (ILL_COPROC): Likewise.
14109 (ILL_BADSTK): Likewise.
14110 (FPE_INTDIV): Likewise.
14111 (FPE_INTOVF): Likewise.
14112 (FPE_FLTDIV): Likewise.
14113 (FPE_FLTOVF): Likewise.
14114 (FPE_FLTUND): Likewise.
14115 (FPE_FLTRES): Likewise.
14116 (FPE_FLTINV): Likewise.
14117 (FPE_FLTSUB): Likewise.
14118 (SEGV_MAPERR): Likewise.
14119 (SEGV_ACCERR): Likewise.
14120 (BUS_ADRALN): Likewise.
14121 (BUS_ADRERR): Likewise.
14122 (BUS_OBJERR): Likewise.
14123 (BUS_MCEERR_AR): Likewise.
14124 (BUS_MCEERR_AO): Likewise.
14125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14126 (TRAP_TRACE): Likewise.
14127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14129 (CLD_KILLED): Likewise.
14130 (CLD_DUMPED): Likewise.
14131 (CLD_TRAPPED): Likewise.
14132 (CLD_STOPPED): Likewise.
14133 (CLD_CONTINUED): Likewise.
14134 (POLL_IN): Likewise.
14135 (POLL_OUT): Likewise.
14136 (POLL_MSG): Likewise.
14137 (POLL_ERR): Likewise.
14138 (POLL_PRI): Likewise.
14139 (POLL_HUP): Likewise.
14140 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14142 (ILL_ILLOPN): Likewise.
14143 (ILL_ILLADR): Likewise.
14144 (ILL_ILLTRP): Likewise.
14145 (ILL_PRVOPC): Likewise.
14146 (ILL_PRVREG): Likewise.
14147 (ILL_COPROC): Likewise.
14148 (ILL_BADSTK): Likewise.
14149 (ILL_BADIADDR): Likewise.
14150 (ILL_BREAK): Likewise.
14151 (FPE_INTDIV): Likewise.
14152 (FPE_INTOVF): Likewise.
14153 (FPE_FLTDIV): Likewise.
14154 (FPE_FLTOVF): Likewise.
14155 (FPE_FLTUND): Likewise.
14156 (FPE_FLTRES): Likewise.
14157 (FPE_FLTINV): Likewise.
14158 (FPE_FLTSUB): Likewise.
14159 (FPE_DECOVF): Likewise.
14160 (FPE_DECDIV): Likewise.
14161 (FPE_DECERR): Likewise.
14162 (FPE_INVASC): Likewise.
14163 (FPE_INVDEC): Likewise.
14164 (SEGV_MAPERR): Likewise.
14165 (SEGV_ACCERR): Likewise.
14166 (SEGV_PSTKOVF): Likewise.
14167 (BUS_ADRALN): Likewise.
14168 (BUS_ADRERR): Likewise.
14169 (BUS_OBJERR): Likewise.
14170 (BUS_MCEERR_AR): Likewise.
14171 (BUS_MCEERR_AO): Likewise.
14172 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14173 (TRAP_TRACE): Likewise.
14174 (TRAP_BRANCH): Likewise.
14175 (TRAP_HWBKPT): Likewise.
14176 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14178 (CLD_KILLED): Likewise.
14179 (CLD_DUMPED): Likewise.
14180 (CLD_TRAPPED): Likewise.
14181 (CLD_STOPPED): Likewise.
14182 (CLD_CONTINUED): Likewise.
14183 (POLL_IN): Likewise.
14184 (POLL_OUT): Likewise.
14185 (POLL_MSG): Likewise.
14186 (POLL_ERR): Likewise.
14187 (POLL_PRI): Likewise.
14188 (POLL_HUP): Likewise.
14189 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14190 (ILL_ILLOPN): Likewise.
14191 (ILL_ILLADR): Likewise.
14192 (ILL_ILLTRP): Likewise.
14193 (ILL_PRVOPC): Likewise.
14194 (ILL_PRVREG): Likewise.
14195 (ILL_COPROC): Likewise.
14196 (ILL_BADSTK): Likewise.
14197 (FPE_INTDIV): Likewise.
14198 (FPE_INTOVF): Likewise.
14199 (FPE_FLTDIV): Likewise.
14200 (FPE_FLTOVF): Likewise.
14201 (FPE_FLTUND): Likewise.
14202 (FPE_FLTRES): Likewise.
14203 (FPE_FLTINV): Likewise.
14204 (FPE_FLTSUB): Likewise.
14205 (SEGV_MAPERR): Likewise.
14206 (SEGV_ACCERR): Likewise.
14207 (BUS_ADRALN): Likewise.
14208 (BUS_ADRERR): Likewise.
14209 (BUS_OBJERR): Likewise.
14210 (BUS_MCEERR_AR): Likewise.
14211 (BUS_MCEERR_AO): Likewise.
14212 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14213 (TRAP_TRACE): Likewise.
14214 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14216 (CLD_KILLED): Likewise.
14217 (CLD_DUMPED): Likewise.
14218 (CLD_TRAPPED): Likewise.
14219 (CLD_STOPPED): Likewise.
14220 (CLD_CONTINUED): Likewise.
14221 (POLL_IN): Likewise.
14222 (POLL_OUT): Likewise.
14223 (POLL_MSG): Likewise.
14224 (POLL_ERR): Likewise.
14225 (POLL_PRI): Likewise.
14226 (POLL_HUP): Likewise.
14227 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14228 (ILL_ILLOPN): Likewise.
14229 (ILL_ILLADR): Likewise.
14230 (ILL_ILLTRP): Likewise.
14231 (ILL_PRVOPC): Likewise.
14232 (ILL_PRVREG): Likewise.
14233 (ILL_COPROC): Likewise.
14234 (ILL_BADSTK): Likewise.
14235 (FPE_INTDIV): Likewise.
14236 (FPE_INTOVF): Likewise.
14237 (FPE_FLTDIV): Likewise.
14238 (FPE_FLTOVF): Likewise.
14239 (FPE_FLTUND): Likewise.
14240 (FPE_FLTRES): Likewise.
14241 (FPE_FLTINV): Likewise.
14242 (FPE_FLTSUB): Likewise.
14243 (SEGV_MAPERR): Likewise.
14244 (SEGV_ACCERR): Likewise.
14245 (BUS_ADRALN): Likewise.
14246 (BUS_ADRERR): Likewise.
14247 (BUS_OBJERR): Likewise.
14248 (BUS_MCEERR_AR): Likewise.
14249 (BUS_MCEERR_AO): Likewise.
14250 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14251 (TRAP_TRACE): Likewise.
14252 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14254 (CLD_KILLED): Likewise.
14255 (CLD_DUMPED): Likewise.
14256 (CLD_TRAPPED): Likewise.
14257 (CLD_STOPPED): Likewise.
14258 (CLD_CONTINUED): Likewise.
14259 (POLL_IN): Likewise.
14260 (POLL_OUT): Likewise.
14261 (POLL_MSG): Likewise.
14262 (POLL_ERR): Likewise.
14263 (POLL_PRI): Likewise.
14264 (POLL_HUP): Likewise.
14265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14266 (ILL_ILLOPN): Likewise.
14267 (ILL_ILLADR): Likewise.
14268 (ILL_ILLTRP): Likewise.
14269 (ILL_PRVOPC): Likewise.
14270 (ILL_PRVREG): Likewise.
14271 (ILL_COPROC): Likewise.
14272 (ILL_BADSTK): Likewise.
14273 (FPE_INTDIV): Likewise.
14274 (FPE_INTOVF): Likewise.
14275 (FPE_FLTDIV): Likewise.
14276 (FPE_FLTOVF): Likewise.
14277 (FPE_FLTUND): Likewise.
14278 (FPE_FLTRES): Likewise.
14279 (FPE_FLTINV): Likewise.
14280 (FPE_FLTSUB): Likewise.
14281 (SEGV_MAPERR): Likewise.
14282 (SEGV_ACCERR): Likewise.
14283 (BUS_ADRALN): Likewise.
14284 (BUS_ADRERR): Likewise.
14285 (BUS_OBJERR): Likewise.
14286 (BUS_MCEERR_AR): Likewise.
14287 (BUS_MCEERR_AO): Likewise.
14288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14289 (TRAP_TRACE): Likewise.
14290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14292 (CLD_KILLED): Likewise.
14293 (CLD_DUMPED): Likewise.
14294 (CLD_TRAPPED): Likewise.
14295 (CLD_STOPPED): Likewise.
14296 (CLD_CONTINUED): Likewise.
14297 (POLL_IN): Likewise.
14298 (POLL_OUT): Likewise.
14299 (POLL_MSG): Likewise.
14300 (POLL_ERR): Likewise.
14301 (POLL_PRI): Likewise.
14302 (POLL_HUP): Likewise.
14303 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14304 (ILL_ILLOPN): Likewise.
14305 (ILL_ILLADR): Likewise.
14306 (ILL_ILLTRP): Likewise.
14307 (ILL_PRVOPC): Likewise.
14308 (ILL_PRVREG): Likewise.
14309 (ILL_COPROC): Likewise.
14310 (ILL_BADSTK): Likewise.
14311 (ILL_DBLFLT): Likewise.
14312 (ILL_HARDWALL): Likewise.
14313 (FPE_INTDIV): Likewise.
14314 (FPE_INTOVF): Likewise.
14315 (FPE_FLTDIV): Likewise.
14316 (FPE_FLTOVF): Likewise.
14317 (FPE_FLTUND): Likewise.
14318 (FPE_FLTRES): Likewise.
14319 (FPE_FLTINV): Likewise.
14320 (FPE_FLTSUB): Likewise.
14321 (SEGV_MAPERR): Likewise.
14322 (SEGV_ACCERR): Likewise.
14323 (BUS_ADRALN): Likewise.
14324 (BUS_ADRERR): Likewise.
14325 (BUS_OBJERR): Likewise.
14326 (BUS_MCEERR_AR): Likewise.
14327 (BUS_MCEERR_AO): Likewise.
14328 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14329 (TRAP_TRACE): Likewise.
14330 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14332 (CLD_KILLED): Likewise.
14333 (CLD_DUMPED): Likewise.
14334 (CLD_TRAPPED): Likewise.
14335 (CLD_STOPPED): Likewise.
14336 (CLD_CONTINUED): Likewise.
14337 (POLL_IN): Likewise.
14338 (POLL_OUT): Likewise.
14339 (POLL_MSG): Likewise.
14340 (POLL_ERR): Likewise.
14341 (POLL_PRI): Likewise.
14342 (POLL_HUP): Likewise.
14343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14344 (ILL_ILLOPN): Likewise.
14345 (ILL_ILLADR): Likewise.
14346 (ILL_ILLTRP): Likewise.
14347 (ILL_PRVOPC): Likewise.
14348 (ILL_PRVREG): Likewise.
14349 (ILL_COPROC): Likewise.
14350 (ILL_BADSTK): Likewise.
14351 (FPE_INTDIV): Likewise.
14352 (FPE_INTOVF): Likewise.
14353 (FPE_FLTDIV): Likewise.
14354 (FPE_FLTOVF): Likewise.
14355 (FPE_FLTUND): Likewise.
14356 (FPE_FLTRES): Likewise.
14357 (FPE_FLTINV): Likewise.
14358 (FPE_FLTSUB): Likewise.
14359 (SEGV_MAPERR): Likewise.
14360 (SEGV_ACCERR): Likewise.
14361 (BUS_ADRALN): Likewise.
14362 (BUS_ADRERR): Likewise.
14363 (BUS_OBJERR): Likewise.
14364 (BUS_MCEERR_AR): Likewise.
14365 (BUS_MCEERR_AO): Likewise.
14366 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14367 (TRAP_TRACE): Likewise.
14368 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14370 (CLD_KILLED): Likewise.
14371 (CLD_DUMPED): Likewise.
14372 (CLD_TRAPPED): Likewise.
14373 (CLD_STOPPED): Likewise.
14374 (CLD_CONTINUED): Likewise.
14375 (POLL_IN): Likewise.
14376 (POLL_OUT): Likewise.
14377 (POLL_MSG): Likewise.
14378 (POLL_ERR): Likewise.
14379 (POLL_PRI): Likewise.
14380 (POLL_HUP): Likewise.
14381 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14382 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14385 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14386 before #include of <time.h>.
14387 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14388 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14389 (test-xfail-UNIX98/sched.h/conform): Likewise.
14391 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14393 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14394 error absence of trapping exception support.
14395 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14397 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14399 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14400 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14401 * timezone/Makefile (testdata): Move definition above include of
14403 (test-zones): New variable.
14404 (tests-special): Add zone files.
14405 (build-testdata): Use $(evaluate-test).
14407 * elf/Makefile (tests-special): Rename tests to end with .out.
14408 ($(objpfx)noload-mem): Likewise.
14409 ($(objpfx)tst-leaks1-mem): Likewise.
14410 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14411 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14412 $(objpfx)test-iconvconfig.out.
14413 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14414 set -e inside subshell and redirect output to file.
14415 * iconvdata/Makefile (generated): Rename tests to end with .out.
14417 (tests-special): Rename tests to end with .out.
14418 ($(objpfx)mtrace-tst-loading): Likewise.
14419 * intl/Makefile (generated): Likewise.
14420 (tests-special): Likewise.
14421 ($(objpfx)mtrace-tst-gettext): Likewise.
14422 * misc/Makefile (generated): Likewise.
14423 (tests-special): Likewise.
14424 ($(objpfx)tst-error1-mem): Likewise.
14425 * nptl/Makefile (tests-special): Likewise.
14426 ($(objpfx)tst-stack3-mem): Likewise.
14427 (generated): Likewise.
14428 * posix/Makefile (generated): Likewise.
14429 (tests-special): Likewise.
14430 (xtests-special): Likewise.
14431 ($(objpfx)tst-fnmatch-mem): Likewise.
14432 ($(objpfx)bug-regex2-mem): Likewise.
14433 ($(objpfx)bug-regex14-mem): Likewise.
14434 ($(objpfx)bug-regex21-mem): Likewise.
14435 ($(objpfx)bug-regex31-mem): Likewise.
14436 ($(objpfx)tst-vfork3-mem): Likewise.
14437 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14438 ($(objpfx)tst-pcre-mem): Likewise.
14439 ($(objpfx)tst-boost-mem): Likewise.
14440 ($(objpfx)bug-ga2-mem): Likewise.
14441 ($(objpfx)bug-glob2-mem): Likewise.
14442 * resolv/Makefile (generate): Likewise.
14443 (tests-special): Likewise.
14444 (xtests-special): Likewise.
14445 (generated): Likewise.
14446 ($(objpfx)mtrace-tst-leaks): Likewise.
14447 ($(objpfx)mtrace-tst-leaks2): Likewise.
14449 * scripts/merge-test-results.sh: New file.
14450 * Makefile (tests-special-notdir): New variable.
14451 (tests): Run merge-test-results.sh.
14452 (xtests): Likewise.
14453 * Rules (tests-special-notdir): New variable.
14454 (xtests-special-notdir): Likewise.
14455 (tests): Run merge-test-results.sh
14456 (xtests): Likewise.
14458 * Makeconfig (test-xfail-name): New variable.
14459 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14460 compute variable name for expected failures.
14461 * conform/Makefile (conformtest-headers-data): New variable.
14462 (conformtest-standards): Likewise.
14463 (conformtest-headers-ISO): Likewise.
14464 (conformtest-headers-ISO99): Likewise.
14465 (conformtest-headers-ISO11): Likewise.
14466 (conformtest-headers-POSIX): Likewise.
14467 (conformtest-headers-XPG3): Likewise.
14468 (conformtest-headers-XPG4): Likewise.
14469 (conformtest-headers-UNIX98): Likewise.
14470 (conformtest-headers-XOPEN2K): Likewise.
14471 (conformtest-headers-POSIX2008): Likewise.
14472 (conformtest-headers-XOPEN2K8): Likewise.
14473 (conformtest-header-list-base): Likewise.
14474 (conformtest-header-list-tests): Likewise.
14475 (conformtest-header-base): Likewise.
14476 (conformtest-header-tests): Likewise.
14477 (tests-special): Add $(conformtest-header-list-tests). If
14478 [$(fast-check) && !$(cross-compiling)], add
14479 $(conformtest-header-tests) instead of
14480 $(objpfx)run-conformtest.out.
14481 (generated): Add $(conformtest-header-list-base). If
14482 [$(fast-check) && !$(cross-compiling)], add
14483 $(conformtest-header-base). Remove previous setting.
14484 ($(conformtest-header-list-tests)): New target.
14485 (test-xfail-run-conformtest): Remove variable.
14486 ($(objpfx)run-conformtest.out): Remove target.
14487 (test-xfail-ISO11/complex.h/conform): New variable.
14488 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14489 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14490 (test-xfail-XPG3/varargs.h/conform): Likewise.
14491 (test-xfail-XPG4/varargs.h/conform): Likewise.
14492 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14493 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14494 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14495 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14496 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14497 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14498 (test-xfail-XPG3/ftw.h/conform): Likewise.
14499 (test-xfail-XPG3/grp.h/conform): Likewise.
14500 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14501 (test-xfail-XPG3/limits.h/conform): Likewise.
14502 (test-xfail-XPG3/pwd.h/conform): Likewise.
14503 (test-xfail-XPG3/search.h/conform): Likewise.
14504 (test-xfail-XPG3/signal.h/conform): Likewise.
14505 (test-xfail-XPG3/stdio.h/conform): Likewise.
14506 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14507 (test-xfail-XPG3/string.h/conform): Likewise.
14508 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14509 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14510 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14511 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14512 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14513 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14514 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14515 (test-xfail-XPG3/termios.h/conform): Likewise.
14516 (test-xfail-XPG3/time.h/conform): Likewise.
14517 (test-xfail-XPG3/unistd.h/conform): Likewise.
14518 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14519 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14520 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14521 (test-xfail-XPG4/netdb.h/conform): Likewise.
14522 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14523 (test-xfail-XPG4/signal.h/conform): Likewise.
14524 (test-xfail-XPG4/stdio.h/conform): Likewise.
14525 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14526 (test-xfail-XPG4/stropts.h/conform): Likewise.
14527 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14528 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14529 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14530 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14531 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14532 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14533 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14534 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14535 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14536 (test-xfail-XPG4/termios.h/conform): Likewise.
14537 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14538 (test-xfail-XPG4/unistd.h/conform): Likewise.
14539 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14540 (test-xfail-POSIX/sched.h/conform): Likewise.
14541 (test-xfail-POSIX/signal.h/conform): Likewise.
14542 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14543 (test-xfail-POSIX/tar.h/conform): Likewise.
14544 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14545 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14546 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14547 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14548 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14549 (test-xfail-UNIX98/sched.h/conform): Likewise.
14550 (test-xfail-UNIX98/signal.h/conform): Likewise.
14551 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14552 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14553 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14554 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14555 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14556 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14557 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14558 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14559 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14560 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14561 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14562 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14563 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14564 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14565 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14566 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14567 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14568 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14569 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14570 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14571 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14572 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14573 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14574 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14575 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14576 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14577 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14578 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14579 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14580 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14581 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14582 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14583 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14584 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14585 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14586 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14587 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14588 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14589 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14590 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14591 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14592 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14593 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14594 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14595 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14596 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14597 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14598 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14599 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14600 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14601 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14602 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14603 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14604 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14605 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14606 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14607 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14608 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14609 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14610 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14611 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14612 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14613 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14614 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14615 (conformtest-cc-flags): Likewise.
14616 ($(conformtest-header-tests): New target.
14617 * conform/check-header-lists.sh: New file.
14618 * conform/run-conformtest.sh: Remove.
14620 * conform/conformtest.pl: Allow ' and \ in values given for
14622 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14624 [POSIX] (sys/types.h): Likewise.
14625 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14627 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14629 * conform/data/signal.h-data (SIGIO): Remove expectation.
14630 [XPG3] (SIGBUS): Do not expect.
14631 [POSIX || XPG3] (SIGPOLL): Likewise.
14632 [POSIX || XPG3] (SIGPROF): Likewise.
14633 [POSIX || XPG3] (SIGSYS): Likewise.
14634 [XPG3] (SIGTRAP): Likewise.
14635 [POSIX || XPG3] (SIGURG): Likewise.
14636 [POSIX || XPG3] (SIGVTALRM): Likewise.
14637 [POSIX || XPG3] (SIGXCPU): Likewise.
14638 [POSIX || XPG3] (SIGXFSZ): Likewise.
14639 [POSIX] (SA_SIGINFO): Expect.
14640 [XPG3] (siginfo_t): Do not expect type or contents.
14641 [POSIX] (si_pid): Do not expect element.
14642 [POSIX] (si_uid): Likewise.
14643 [POSIX] (si_addr): Likewise.
14644 [POSIX] (si_status): Likewise.
14645 [POSIX] (si_band): Likewise.
14646 [XPG4] (si_value): Likewise.
14647 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14648 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14649 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14650 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14651 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14652 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14653 [POSIX || XPG3] (ILL_COPROC): Likewise.
14654 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14655 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14656 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14657 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14658 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14659 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14660 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14661 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14662 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14663 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14664 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14665 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14666 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14667 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14668 [POSIX || XPG3] (CLD_EXITED): Likewise.
14669 [POSIX || XPG3] (CLD_KILLED): Likewise.
14670 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14671 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14672 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14673 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14674 [POSIX || XPG3] (POLL_IN): Likewise.
14675 [POSIX || XPG3] (POLL_OUT): Likewise.
14676 [POSIX || XPG3] (POLL_MSG): Likewise.
14677 [POSIX || XPG3] (POLL_ERR): Likewise.
14678 [POSIX || XPG3] (POLL_PRI): Likewise.
14679 [POSIX || XPG3] (POLL_HUP): Likewise.
14680 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14681 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14682 (SIG*): Do not allow.
14683 [XPG3] (si_*): Likewise.
14684 [XPG3] (SI_*): Likewise.
14685 [XPG3 || XPG4] (sigev_*): Likewise.
14686 [XPG3 || XPG4] (SIGEV_*): Likewise.
14687 [XPG3 || XPG4] (sival_*): Likewise.
14688 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14689 [POSIX || XPG3] (BUS_*): Likewise.
14690 [POSIX || XPG3] (CLD_*): Likewise.
14691 [POSIX || XPG3] (FPE_*): Likewise.
14692 [POSIX || XPG3] (ILL_*): Likewise.
14693 [POSIX || XPG3] (POLL_*): Likewise.
14694 [POSIX || XPG3] (SEGV_*): Likewise.
14695 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14696 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14697 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14698 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14699 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14700 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14701 Specify type and value.
14702 (TVERSLEN): Likewise.
14703 (REGTYPE): Likewise.
14704 (AREGTYPE): Likewise.
14705 (LNKTYPE): Likewise.
14706 (SYMTYPE): Likewise.
14707 (CHRTYPE): Likewise.
14708 (BLKTYPE): Likewise.
14709 (DIRTYPE): Likewise.
14710 (FIFOTYPE): Likewise.
14711 (CONTTYPE): Likewise.
14715 (TUREAD): Likewise.
14716 (TUWRITE): Likewise.
14717 (TUEXEC): Likewise.
14718 (TGREAD): Likewise.
14719 (TGWRITE): Likewise.
14720 (TGEXEC): Likewise.
14721 (TOREAD): Likewise.
14722 (TOWRITE): Likewise.
14723 (TOEXEC): Likewise.
14724 [POSIX] (TSVTX): Expect constant.
14726 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14728 * Makefile (tests): Change dependencies to ....
14729 (tests-special): ... additions to this variable.
14730 (tests): Depend on $(tests-special).
14731 * Makerules (check-abi-list): New variable.
14732 (check-abi): Depend on $(check-abi-list).
14733 [$(subdir) = elf] (tests-special): Add
14734 $(objpfx)check-abi-libc.out.
14735 [$(build-shared) = yes && subdir] (tests-special): Add
14737 [$(build-shared) = yes && subdir] (tests): Do not depend on
14739 * Rules (tests): Depend on $(tests-special).
14740 (xtests): Depend on $(xtests-special).
14741 * catgets/Makefile (tests): Change dependencies to ....
14742 (tests-special): ... additions to this variable.
14743 * conform/Makefile (tests): Change dependencies to ....
14744 (tests-special): ... additions to this variable.
14745 * elf/Makefile (tests): Change dependencies to ....
14746 (tests-special): ... additions to this variable.
14747 * grp/Makefile (tests): Change dependencies to ....
14748 (tests-special): ... additions to this variable.
14749 * iconv/Makefile (xtests): Change dependencies to ....
14750 (xtests-special): ... additions to this variable.
14751 * iconvdata/Makefile (tests): Change dependencies to ....
14752 (tests-special): ... additions to this variable.
14753 * intl/Makefile (tests): Change dependencies to ....
14754 (tests-special): ... additions to this variable. Also add
14755 $(objpfx)tst-gettext.out.
14756 * io/Makefile (tests): Change dependencies to ....
14757 (tests-special): ... additions to this variable.
14758 * libio/Makefile (tests): Change dependencies to ....
14759 (tests-special): ... additions to this variable.
14760 * malloc/Makefile (tests): Change dependencies to ....
14761 (tests-special): ... additions to this variable.
14762 * misc/Makefile (tests): Change dependencies to ....
14763 (tests-special): ... additions to this variable.
14764 * nptl/Makefile (tests): Change dependencies to ....
14765 (tests-special): ... additions to this variable.
14766 * nptl_db/Makefile (tests): Change dependencies to ....
14767 (tests-special): ... additions to this variable.
14768 * posix/Makefile (tests): Change dependencies to ....
14769 (tests-special): ... additions to this variable.
14770 (xtests): Change dependencies to ....
14771 (xtests-special): ... additions to this variable.
14772 * resolv/Makefile (tests): Change dependencies to ....
14773 (tests-special): ... additions to this variable.
14774 (xtests): Change dependencies to ....
14775 (xtests-special): ... additions to this variable.
14776 * stdio-common/Makefile (tests): Change dependencies to ....
14777 (tests-special): ... additions to this variable.
14778 (do-tst-unbputc): Remove target.
14779 (do-tst-printf): Likewise.
14780 * stdlib/Makefile (tests): Change dependencies to ....
14781 (tests-special): ... additions to this variable.
14782 * string/Makefile (tests): Change dependencies to ....
14783 (tests-special): ... additions to this variable.
14784 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14785 (tests-special): ... additions to this variable.
14787 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14789 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14791 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14792 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14794 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14795 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14796 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14797 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14798 * conform/data/libgen.h-data [XPG3]: Likewise.
14799 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14800 * conform/data/ndbm.h-data [XPG3]: Likewise.
14801 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14802 * conform/data/netdb.h-data [XPG3]: Likewise.
14803 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14804 * conform/data/poll.h-data [XPG3]: Likewise.
14805 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14806 * conform/data/strings.h-data [XPG3]: Likewise.
14807 * conform/data/stropts.h-data [XPG3]: Likewise.
14808 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14809 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14810 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14812 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14813 * conform/data/sys/time.h-data [XPG3]: Likewise.
14814 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14815 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14816 * conform/data/sys/un.h-data [XPG3]: Likewise.
14817 * conform/data/syslog.h-data [XPG3]: Likewise.
14818 * conform/data/ucontext.h-data [XPG3]: Likewise.
14819 * conform/data/utmpx.h-data [XPG3]: Likewise.
14820 * conform/data/varargs.h-data [UNIX98]: Enable file.
14822 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14824 * math/libm-test.inc (struct test_f_f_data): Move expected results
14825 into structure for each rounding mode.
14826 (struct test_ff_f_data): Likewise.
14827 (struct test_ff_f_data_nexttoward): Likewise.
14828 (struct test_fi_f_data): Likewise.
14829 (struct test_fl_f_data): Likewise.
14830 (struct test_if_f_data): Likewise.
14831 (struct test_fff_f_data): Likewise.
14832 (struct test_c_f_data): Likewise.
14833 (struct test_f_f1_data): Likewise.
14834 (struct test_fF_f1_data): Likewise.
14835 (struct test_ffI_f1_data): Likewise.
14836 (struct test_c_c_data): Likewise.
14837 (struct test_cc_c_data): Likewise.
14838 (struct test_f_i_data): Likewise.
14839 (struct test_ff_i_data): Likewise.
14840 (struct test_f_l_data): Likewise.
14841 (struct test_f_L_data): Likewise.
14842 (struct test_fFF_11_data): Likewise.
14844 (RM_FE_DOWNWARD): Likewise.
14845 (RM_FE_TONEAREST): Likewise.
14846 (RM_FE_TOWARDZERO): Likewise.
14847 (RM_FE_UPWARD): Likewise.
14848 (RUN_TEST_LOOP_f_f): Update references to expected results.
14849 (RUN_TEST_LOOP_2_f): Likewise.
14850 (RUN_TEST_LOOP_fff_f): Likewise.
14851 (RUN_TEST_LOOP_c_f): Likewise.
14852 (RUN_TEST_LOOP_f_f1): Likewise.
14853 (RUN_TEST_LOOP_fF_f1): Likewise.
14854 (RUN_TEST_LOOP_fI_f1): Likewise.
14855 (RUN_TEST_LOOP_ffI_f1): Likewise.
14856 (RUN_TEST_LOOP_c_c): Likewise.
14857 (RUN_TEST_LOOP_cc_c): Likewise.
14858 (RUN_TEST_LOOP_f_i): Likewise.
14859 (RUN_TEST_LOOP_f_i_tg): Likewise.
14860 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14861 (RUN_TEST_LOOP_f_b): Likewise.
14862 (RUN_TEST_LOOP_f_b_tg): Likewise.
14863 (RUN_TEST_LOOP_f_l): Likewise.
14864 (RUN_TEST_LOOP_f_L): Likewise.
14865 (RUN_TEST_LOOP_fFF_11): Likewise.
14866 * math/gen-libm-test.pl (parse_args): Output four copies of
14867 expected results for each test.
14869 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14870 (__ASSUME_UTIMES): Remove.
14871 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14872 (__ASSUME_UTIMES): Likewise.
14874 * math/gen-auto-libm-tests.c: Update comment on output format.
14875 (output_for_one_input_case): Generate before-rounding and
14876 after-rounding information as conditions on output flags not
14877 floating-point format.
14878 * math/auto-libm-test-out: Regenerated.
14879 * math/gen-libm-test.pl (cond_value): New function.
14880 (or_cond_value): Use cond_value.
14881 (generate_testfile): Handle conditional exceptions.
14883 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14885 * math/libm-test.inc (max_valid_error): New variable.
14886 (init_max_error): Take new argument specifying whether function
14887 results are exactly determined. Set max_valid_error and bound
14888 other variables for errors based on this argument.
14889 (set_max_error): Do not record results above max_valid_error.
14890 (check_float_internal): Only accept errors of up to 0.5ulps if
14891 also at most max_valid_error.
14892 (START): Take new argument EXACT and pass it to init_max_error.
14893 (acos_test): Update call to START.
14894 (acos_test_tonearest): Likewise.
14895 (acos_test_towardzero): Likewise.
14896 (acos_test_downward): Likewise.
14897 (acos_test_upward): Likewise.
14898 (acosh_test): Likewise.
14899 (asin_test): Likewise.
14900 (asin_test_tonearest): Likewise.
14901 (asin_test_towardzero): Likewise.
14902 (asin_test_downward): Likewise.
14903 (asin_test_upward): Likewise.
14904 (asinh_test): Likewise.
14905 (atan_test): Likewise.
14906 (atanh_test): Likewise.
14907 (atan2_test): Likewise.
14908 (cabs_test): Likewise.
14909 (cacos_test): Likewise.
14910 (cacosh_test): Likewise.
14911 (carg_test): Likewise.
14912 (casin_test): Likewise.
14913 (casinh_test): Likewise.
14914 (catan_test): Likewise.
14915 (catanh_test): Likewise.
14916 (cbrt_test): Likewise.
14917 (ccos_test): Likewise.
14918 (ccosh_test): Likewise.
14919 (ceil_test): Likewise.
14920 (cexp_test): Likewise.
14921 (cimag_test): Likewise.
14922 (clog_test): Likewise.
14923 (clog10_test): Likewise.
14924 (conj_test): Likewise.
14925 (copysign_test): Likewise.
14926 (cos_test): Likewise.
14927 (cos_test_tonearest): Likewise.
14928 (cos_test_towardzero): Likewise.
14929 (cos_test_downward): Likewise.
14930 (cos_test_upward): Likewise.
14931 (cosh_test): Likewise.
14932 (cosh_test_tonearest): Likewise.
14933 (cosh_test_towardzero): Likewise.
14934 (cosh_test_downward): Likewise.
14935 (cosh_test_upward): Likewise.
14936 (cpow_test): Likewise.
14937 (cproj_test): Likewise.
14938 (creal_test): Likewise.
14939 (csin_test): Likewise.
14940 (csinh_test): Likewise.
14941 (csqrt_test): Likewise.
14942 (ctan_test): Likewise.
14943 (ctan_test_tonearest): Likewise.
14944 (ctan_test_towardzero): Likewise.
14945 (ctan_test_downward): Likewise.
14946 (ctan_test_upward): Likewise.
14947 (ctanh_test): Likewise.
14948 (ctanh_test_tonearest): Likewise.
14949 (ctanh_test_towardzero): Likewise.
14950 (ctanh_test_downward): Likewise.
14951 (ctanh_test_upward): Likewise.
14952 (erf_test): Likewise.
14953 (erfc_test): Likewise.
14954 (exp_test): Likewise.
14955 (exp_test_tonearest): Likewise.
14956 (exp_test_towardzero): Likewise.
14957 (exp_test_downward): Likewise.
14958 (exp_test_upward): Likewise.
14959 (exp10_test): Likewise.
14960 (exp10_test_tonearest): Likewise.
14961 (exp10_test_towardzero): Likewise.
14962 (exp10_test_downward): Likewise.
14963 (exp10_test_upward): Likewise.
14964 (pow10_test): Likewise.
14965 (exp2_test): Likewise.
14966 (expm1_test): Likewise.
14967 (expm1_test_tonearest): Likewise.
14968 (expm1_test_towardzero): Likewise.
14969 (expm1_test_downward): Likewise.
14970 (expm1_test_upward): Likewise.
14971 (fabs_test): Likewise.
14972 (fdim_test): Likewise.
14973 (floor_test): Likewise.
14974 (fma_test): Likewise.
14975 (fma_test_towardzero): Likewise.
14976 (fma_test_downward): Likewise.
14977 (fma_test_upward): Likewise.
14978 (fmax_test): Likewise.
14979 (fmin_test): Likewise.
14980 (fmod_test): Likewise.
14981 (fpclassify_test): Likewise.
14982 (frexp_test): Likewise.
14983 (hypot_test): Likewise.
14984 (ilogb_test): Likewise.
14985 (isfinite_test): Likewise.
14986 (finite_test): Likewise.
14987 (isgreater_test): Likewise.
14988 (isgreaterequal_test): Likewise.
14989 (isinf_test): Likewise.
14990 (isless_test): Likewise.
14991 (islessequal_test): Likewise.
14992 (islessgreater_test): Likewise.
14993 (isnan_test): Likewise.
14994 (isnormal_test): Likewise.
14995 (issignaling_test): Likewise.
14996 (isunordered_test): Likewise.
14997 (j0_test): Likewise.
14998 (j1_test): Likewise.
14999 (jn_test): Likewise.
15000 (ldexp_test): Likewise.
15001 (lgamma_test): Likewise.
15002 (gamma_test): Likewise.
15003 (lrint_test): Likewise.
15004 (lrint_test_tonearest): Likewise.
15005 (lrint_test_towardzero): Likewise.
15006 (lrint_test_downward): Likewise.
15007 (lrint_test_upward): Likewise.
15008 (llrint_test): Likewise.
15009 (llrint_test_tonearest): Likewise.
15010 (llrint_test_towardzero): Likewise.
15011 (llrint_test_downward): Likewise.
15012 (llrint_test_upward): Likewise.
15013 (log_test): Likewise.
15014 (log10_test): Likewise.
15015 (log1p_test): Likewise.
15016 (log2_test): Likewise.
15017 (logb_test): Likewise.
15018 (logb_test_downward): Likewise.
15019 (lround_test): Likewise.
15020 (llround_test): Likewise.
15021 (modf_test): Likewise.
15022 (nearbyint_test): Likewise.
15023 (nextafter_test): Likewise.
15024 (nexttoward_test): Likewise.
15025 (pow_test): Likewise.
15026 (pow_test_tonearest): Likewise.
15027 (pow_test_towardzero): Likewise.
15028 (pow_test_downward): Likewise.
15029 (pow_test_upward): Likewise.
15030 (remainder_test): Likewise.
15031 (drem_test): Likewise.
15032 (remainder_test_tonearest): Likewise.
15033 (drem_test_tonearest): Likewise.
15034 (remainder_test_towardzero): Likewise.
15035 (drem_test_towardzero): Likewise.
15036 (remainder_test_downward): Likewise.
15037 (drem_test_downward): Likewise.
15038 (remainder_test_upward): Likewise.
15039 (drem_test_upward): Likewise.
15040 (remquo_test): Likewise.
15041 (rint_test): Likewise.
15042 (rint_test_tonearest): Likewise.
15043 (rint_test_towardzero): Likewise.
15044 (rint_test_downward): Likewise.
15045 (rint_test_upward): Likewise.
15046 (round_test): Likewise.
15047 (scalb_test): Likewise.
15048 (scalbn_test): Likewise.
15049 (scalbln_test): Likewise.
15050 (signbit_test): Likewise.
15051 (sin_test): Likewise.
15052 (sin_test_tonearest): Likewise.
15053 (sin_test_towardzero): Likewise.
15054 (sin_test_downward): Likewise.
15055 (sin_test_upward): Likewise.
15056 (sincos_test): Likewise.
15057 (sinh_test): Likewise.
15058 (sinh_test_tonearest): Likewise.
15059 (sinh_test_towardzero): Likewise.
15060 (sinh_test_downward): Likewise.
15061 (sinh_test_upward): Likewise.
15062 (sqrt_test): Likewise.
15063 (sqrt_test_tonearest): Likewise.
15064 (sqrt_test_towardzero): Likewise.
15065 (sqrt_test_downward): Likewise.
15066 (sqrt_test_upward): Likewise.
15067 (tan_test): Likewise.
15068 (tan_test_tonearest): Likewise.
15069 (tan_test_towardzero): Likewise.
15070 (tan_test_downward): Likewise.
15071 (tan_test_upward): Likewise.
15072 (tanh_test): Likewise.
15073 (tgamma_test): Likewise.
15074 (trunc_test): Likewise.
15075 (y0_test): Likewise.
15076 (y1_test): Likewise.
15077 (yn_test): Likewise.
15078 (significand_test): Likewise.
15080 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15081 individual tests in comment.
15082 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15083 (prev_max_error): New variable.
15084 (prev_real_max_error): Likewise.
15085 (prev_imag_max_error): Likewise.
15086 (compare_ulp_data): Don't refer to test names in comment.
15087 (find_test_ulps): Remove function.
15088 (find_function_ulps): Likewise.
15089 (find_complex_function_ulps): Likewise.
15090 (init_max_error): Take function name as argument. Look up ulps
15092 (print_ulps): Remove function.
15093 (print_max_error): Use prev_max_error instead of calling
15094 find_function_ulps.
15095 (print_complex_max_error): Use prev_real_max_error and
15096 prev_imag_max_error instead of calling find_complex_function_ulps.
15097 (check_float_internal): Take max_ulp parameter instead of calling
15098 find_test_ulps. Don't call print_ulps.
15099 (check_float): Update call to check_float_internal.
15100 (check_complex): Update calls to check_float_internal.
15101 (START): Pass argument to init_max_error.
15102 * math/gen-libm-test.pl (%results): Don't include "kind"
15104 (parse_ulps): Don't handle ulps of individual tests.
15105 (print_ulps_file): Likewise.
15106 (output_ulps): Likewise.
15107 * math/README.libm-test: Update.
15108 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15110 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15111 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15112 * sysdeps/arm/libm-test-ulps: Likewise.
15113 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15114 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15115 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15116 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15117 * sysdeps/microblaze/libm-test-ulps: Likewise.
15118 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15119 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15120 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15121 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15122 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15123 * sysdeps/sh/libm-test-ulps: Likewise.
15124 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15125 * sysdeps/tile/libm-test-ulps: Likewise.
15126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15128 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15130 * math/libm-test.inc (print_complex_max_error): Check separately
15131 whether real and imaginary errors are within allowed range and
15132 pass 0 to print_complex_function_ulps instead of value within
15135 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15137 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15139 (get_handles_fopen): Likewise.
15140 (do_write_test): Likewise.
15142 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15144 * libio/fileops.c (do_ftell): Use cached offset when
15146 * libio/iofwide.c (do_ftell_wide): Likewise.
15147 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15149 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15152 * libio/libioP.h (get_file_offset): New function.
15153 * libio/fileops.c (get_file_offset): Likewise.
15154 (do_ftell): Likewise.
15155 (_IO_new_file_seekoff): Split out ftell logic.
15156 * libio/wfileops.c (do_ftell_wide): Likewise.
15157 (_IO_wfile_seekoff): Split out ftell logic.
15158 * libio/tst-ftell-active-handler.c: New test case.
15159 * libio/Makefile (tests): Add it.
15161 2014-03-03 Roland McGrath <roland@hack.frob.com>
15163 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15164 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15166 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15169 * nscd/connections.c (nscd_init): Call do_exit.
15170 (start_threads): Call do_exit and notify_parent.
15171 (begin_drop_privileges): Call do_exit.
15172 (finish_drop_privileges): Likewise.
15173 * nscd/selinux.c (preserve_capabilities): Likewise.
15174 (install_real_capabilities): Likewise.
15175 (nscd_selinux_enabled): Likewise.
15176 (avc_create_thread): Likewise.
15177 (avc_alloc_lock): Likewise.
15178 (nscd_avc_init): Likewise.
15179 * nscd/nscd.c (parent_fd): New static variable.
15180 (main): Create a pipe between parent and child processes.
15181 Skip closing parent_fd.
15182 (monitor_child): New function.
15183 (do_exit): Likewise.
15184 (notify_parent): Likewise.
15185 * nscd/nscd.h (notify_parent): Likewise.
15186 (do_exit): Likewise.
15188 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15190 * malloc/malloc.c (__libc_calloc): Revert last change.
15192 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15196 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15198 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15202 (__libc_ifunc_impl_list): Likewise.
15203 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15204 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15205 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15206 * string/strrchr.c: Define STRRCHR.
15208 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15210 * benchtest/bench-strtok.c (simple_strtok): Delete.
15211 (strtok_string): Use as benchmark.
15212 * string/strtok (STRTOK): New macro.
15214 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15216 * manual/threads.texi: Add header and standard comments to all
15219 * elf/dl-lookup.c (check_match): New function.
15220 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15221 (do_lookup_x): Remove nested function check_match. Use non-nested
15222 function check_match.
15224 2014-02-28 Roland McGrath <roland@hack.frob.com>
15226 * csu/Makefile (generated, before-compile): Use += rather than =.
15227 * catgets/Makefile (generated, generated-dirs): Likewise.
15228 * debug/Makefile (generated): Likewise.
15229 * dlfcn/Makefile (generated): Likewise.
15230 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15231 * iconvdata/Makefile (before-compile, generated): Likewise.
15232 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15233 * libio/Makefile (generated): Likewise.
15234 * malloc/Makefile (generated): Likewise.
15235 * manual/Makefile (generated, generated-dirs): Likewise.
15236 * misc/Makefile (generated): Likewise.
15237 * posix/Makefile (generated): Likewise.
15238 * resolv/Makefile (generated): Likewise.
15239 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15240 * timezone/Makefile (generated, generated-dirs): Likewise.
15242 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15244 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15246 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15247 power8 implementation.
15248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15249 file: POWER8 llround ifunc implementation.
15250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15251 (__lllround): Add POWER8 implementation.
15252 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15253 POWER8 llround implementation.
15255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15256 power8 implementation.
15257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15258 file: POWER8 llrint ifunc implementation.
15259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15260 Add POWER8 implementation.
15261 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15262 POWER8 llrint implementation.
15264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15265 power8 implementation.
15266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15267 file: POWER8 finite ifunc implementation.
15268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15269 Add POWER8 implementation.
15270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15272 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15273 POWER8 finite implementation.
15274 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15277 power8 implementation.
15278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15279 file: POWER8 isinf ifunc implementation.
15280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15281 POWER8 implementation.
15282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15284 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15285 isinf implementation.
15286 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15288 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15289 (INIT_ARCH): Add hwcap2 initialization.
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15291 power8 implementation.
15292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15293 file: POWER8 isnan ifunc implementation.
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15295 POWER8 implementation.
15296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15299 isnan implementation.
15300 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15302 2014-02-27 Joey Ye <joey.ye@arm.com>
15304 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15305 (_FP_NANFRAC_Q): Set to zero.
15307 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15310 * math/auto-libm-test-in: New test inputs.
15311 * math/auto-libm-test-out: Regenerate.
15312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15315 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15317 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15319 * scripts/evaluate-test.sh: Take new argument indicating whether
15320 failure is expected.
15321 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15322 indicating whether failure is expected.
15323 * conform/Makefile (test-xfail-run-conformtest): New variable.
15324 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15326 * posix/Makefile (test-xfail-annexc): New variable.
15327 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15329 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15331 * argp/Makefile: Include Makeconfig immediately after defining
15333 * assert/Makefile: Likewise.
15334 * benchtests/Makefile: Likewise.
15335 * catgets/Makefile: Likewise.
15336 * conform/Makefile: Likewise.
15337 * crypt/Makefile: Likewise.
15338 * csu/Makefile: Likewise.
15339 (all): Remove target.
15340 * ctype/Makefile: Include Makeconfig immediately after defining
15342 * debug/Makefile: Likewise.
15343 * dirent/Makefile: Likewise.
15344 * dlfcn/Makefile: Likewise.
15345 * gmon/Makefile: Likewise.
15346 * gnulib/Makefile: Likewise.
15347 * grp/Makefile: Likewise.
15348 * gshadow/Makefile: Likewise.
15349 * hesiod/Makefile: Likewise.
15350 * hurd/Makefile: Likewise.
15351 (all): Remove target.
15352 * iconvdata/Makefile: Include Makeconfig immediately after
15354 * inet/Makefile: Likewise.
15355 * intl/Makefile: Likewise.
15356 * io/Makefile: Likewise.
15357 * libio/Makefile: Likewise.
15358 (all): Remove target.
15359 * locale/Makefile: Include Makeconfig immediately after defining
15361 * login/Makefile: Likewise.
15362 * mach/Makefile: Likewise.
15363 (all): Remove target.
15364 * malloc/Makefile: Include Makeconfig immediately after defining
15366 (all): Remove target.
15367 * manual/Makefile: Include Makeconfig immediately after defining
15369 * math/Makefile: Likewise.
15370 * misc/Makefile: Likewise.
15371 * nis/Makefile: Likewise.
15372 * nss/Makefile: Likewise.
15373 * po/Makefile: Likewise.
15374 (all): Remove target.
15375 * posix/Makefile: Include Makeconfig immediately after defining
15377 * pwd/Makefile: Likewise.
15378 * resolv/Makefile: Likewise.
15379 * resource/Makefile: Likewise.
15380 * rt/Makefile: Likewise.
15381 * setjmp/Makefile: Likewise.
15382 * shadow/Makefile: Likewise.
15383 * signal/Makefile: Likewise.
15384 * socket/Makefile: Likewise.
15385 * soft-fp/Makefile: Likewise.
15386 * stdio-common/Makefile: Likewise.
15387 * stdlib/Makefile: Likewise.
15388 * streams/Makefile: Likewise.
15389 * string/Makefile: Likewise.
15390 * sunrpc/Makefile: Likewise.
15391 (all): Remove target.
15392 * sysvipc/Makefile: Include Makeconfig immediately after defining
15394 * termios/Makefile: Likewise.
15395 * time/Makefile: Likewise.
15396 * timezone/Makefile: Likewise.
15397 (all): Remove target.
15398 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15400 * wctype/Makefile: Likewise.
15402 2014-02-26 Steve Ellcey <sellcey@mips.com>
15404 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15405 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15406 (libc_feholdexcept_setround_mips): Ditto.
15407 (libc_feholdsetround): New.
15408 (libc_feholdsetroundf): New.
15409 (libc_feholdsetroundl): New.
15410 (libc_feupdateenv_test_mips): New.
15411 (libc_feupdateenv_test): New.
15412 (libc_feupdateenv_testf): New.
15413 (libc_feupdateenv_testl): New.
15414 (libc_feresetround): New.
15415 (libc_feresetroundf): New.
15416 (libc_feresetroundl): New.
15417 (libc_fetestexcept_mips): New.
15418 (libc_fetestexcept): New.
15419 (libc_fetestexceptf): New.
15420 (libc_fetestexceptl): New.
15421 (HAVE_RM_CTX): New.
15422 (libc_feholdexcept_setround_mips_ctx): New.
15423 (libc_feholdexcept_setround_ctx): New.
15424 (libc_feholdexcept_setroundf_ctx): New.
15425 (libc_feholdexcept_setroundl_ctx): New.
15426 (libc_fesetenv_mips_ctx): New.
15427 (libc_fesetenv_ctx): New.
15428 (libc_fesetenv_ctxf): New.
15429 (libc_fesetenv_ctxl): New.
15430 (libc_feupdateenv_mips_ctx): New.
15431 (libc_feupdateenv_ctx): New.
15432 (libc_feupdateenvf_ctx): New.
15433 (libc_feupdateenvl_ctx): New.
15434 (libc_feholdsetround_mips_ctx): New.
15435 (libc_feholdsetround_ctx): New.
15436 (libc_feholdsetroundf_ctx): New.
15437 (libc_feholdsetroundl_ctx): New.
15438 (libc_feresetround_mips_ctx): New.
15439 (libc_feresetround_ctx): New.
15440 (libc_feresetroundf_ctx): New.
15441 (libc_feresetroundl_ctx): New.
15443 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15445 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15447 * manual/ipc.texi: New file.
15448 * manual/Makefile (chapters): Add ipc.
15449 * manual/job.texi: Add "Inter-Process Communication" to next.
15450 * manual/process.texi: Add "Inter-Process Communication" to prev.
15452 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15456 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15458 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15460 * manual/arith.texi: Fix spaces after sentences.
15461 * manual/charset.texi: Likewise.
15462 * manual/errno.texi: Likewise.
15463 * manual/install.texi: Likewise.
15464 * manual/llio.texi: Likewise.
15465 * manual/locale.texi: Likewise.
15466 * manual/maint.texi: Likewise.
15467 * manual/math.texi: Likewise.
15468 * manual/memory.texi: Likewise.
15469 * manual/message.texi: Likewise.
15470 * manual/probes.texi: Likewise.
15471 * manual/resource.texi: Likewise.
15472 * manual/signal.texi: Likewise.
15473 * manual/socket.texi: Likewise.
15474 * manual/stdio.texi: Likewise.
15475 * manual/string.texi: Likewise.
15476 * manual/time.texi: Likewise.
15477 * manual/users.texi: Likewise.
15479 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15482 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15483 _DEFAULT_SOURCE is defined.
15485 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15486 Carlos O'Donell <carlos@redhat.com>
15489 * elf/dl-tls.c (_dl_count_modids): New function.
15490 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15491 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15492 audit library and increment generation counter.
15493 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15494 * elf/tst-audit9.c: New file.
15495 * elf/tst-auditmod9a.c: New file.
15496 * elf/tst-auditmod9b.c: New file.
15497 * elf/Makefile: Add rules to build and run tst-audit9.
15499 2014-02-25 Florian Weimer <fweimer@redhat.com>
15502 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15504 2014-02-25 Will Newton <will.newton@linaro.org>
15506 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15507 (__longjmp): Restore sp and lr before restoring callee
15508 saved registers. Add longjmp and longjmp_target
15509 SystemTap probe point.
15510 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15511 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15512 Define to zero to match jmpbuf layout.
15513 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15514 (__sigsetjmp): Save sp and lr before saving callee
15515 saved registers. Add setjmp SystemTap probe point.
15517 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15519 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15521 2014-02-24 Andreas Schwab <schwab@suse.de>
15524 * elf/pldd.c (wait_for_ptrace_stop): New function.
15525 (main): Call it after attaching.
15527 2014-02-22 Roland McGrath <roland@hack.frob.com>
15529 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15530 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15531 Versions files is now verboten.
15532 * hurd/Versions (libc: GLIBC_2.0):
15533 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15534 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15535 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15536 * mach/Versions: Likewise.
15538 * csu/Versions: Remove unused %include.
15539 * resolv/Versions: Likewise.
15541 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15543 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15544 ($(objpfx)check-local-headers.out): Likewise.
15545 ($(objpfx)begin-end-check.out): Likewise.
15546 * Makerules (check-abi-%.out): Likewise.
15547 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15548 ($(objpfx)test2.cat): Likewise.
15549 ($(objpfx)de/libc.cat): Likewise.
15550 ($(objpfx)test-gencat.out): Likewise.
15551 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15552 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15553 ($(objpfx)noload-mem): Likewise.
15554 ($(objpfx)tst-pathopt.out): Likewise.
15555 ($(objpfx)tst-rtld-load-self.out): Likewise.
15556 ($(objpfx)tst-array1-cmp.out): Likewise.
15557 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15558 ($(objpfx)tst-array2-cmp.out): Likewise.
15559 ($(objpfx)tst-array3-cmp.out): Likewise.
15560 ($(objpfx)tst-array4-cmp.out): Likewise.
15561 ($(objpfx)tst-array5-cmp.out): Likewise.
15562 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15563 ($(objpfx)check-textrel.out): Likewise.
15564 ($(objpfx)check-execstack.out): Likewise.
15565 ($(objpfx)check-localplt.out): Likewise.
15566 ($(objpfx)order2-cmp.out): Likewise.
15567 ($(objpfx)tst-leaks1-mem): Likewise.
15568 ($(objpfx)tst-leaks1-static-mem): Likewise.
15569 ($(objpfx)tst-initorder-cmp.out): Likewise.
15570 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15571 ($(objpfx)tst-unused-dep.out): Likewise.
15572 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15573 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15574 * iconv/Makefile (test-iconvconfig): Likewise.
15575 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15576 ($(objpfx)iconv-test.out): Likewise.
15577 ($(objpfx)tst-tables.out): Likewise.
15578 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15579 ($(objpfx)tst-gettext.out): Likewise.
15580 ($(objpfx)tst-translit.out): Likewise.
15581 ($(objpfx)tst-gettext2.out): Likewise.
15582 ($(objpfx)tst-gettext4.out): Likewise.
15583 ($(objpfx)tst-gettext6.out): Likewise.
15584 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15585 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15586 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15587 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15588 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15589 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15590 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15591 ($(objpfx)wordexp-tst.out): Likewise.
15592 ($(objpfx)annexc.out): Likewise.
15593 ($(objpfx)tst-fnmatch-mem): Likewise.
15594 ($(objpfx)bug-regex2-mem): Likewise.
15595 ($(objpfx)bug-regex14-mem): Likewise.
15596 ($(objpfx)bug-regex21-mem): Likewise.
15597 ($(objpfx)bug-regex31-mem): Likewise.
15598 ($(objpfx)tst-vfork3-mem): Likewise.
15599 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15600 ($(objpfx)tst-pcre-mem): Likewise.
15601 ($(objpfx)tst-boost-mem): Likewise.
15602 ($(objpfx)tst-getconf.out): Likewise.
15603 ($(objpfx)bug-ga2-mem): Likewise.
15604 ($(objpfx)bug-glob2-mem): Likewise.
15605 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15606 ($(objpfx)mtrace-tst-leaks2): Likewise.
15607 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15608 ($(objpfx)tst-printf.out): Likewise.
15609 ($(objpfx)tst-setvbuf1.out): Likewise.
15610 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15611 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15612 ($(objpfx)tst-fmtmsg.out): Likewise.
15613 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15614 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15616 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15617 * bits/sigaction.h [__USE_MISC]: Likewise.
15618 * bits/waitstatus.h: Update #endif comments.
15619 * ctype/ctype.h: Likewise.
15620 * dirent/dirent.h: Likewise.
15621 [__USE_MISC]: Remove redundant conditionals.
15622 * grp/grp.h: Update #endif comments.
15623 [__USE_GNU]: Remove redundant conditionals.
15624 [__USE_MISC]: Likewise.
15625 * inet/netinet/in.h [__USE_GNU]: Likewise.
15626 * io/sys/stat.h [__USE_MISC]: Likewise.
15627 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15628 * libio/bits/stdio.h: Update #endif comments.
15629 [__USE_MISC]: Remove redundant conditionals.
15630 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15631 * libio/stdio.h: Update #endif comments.
15632 [__USE_MISC]: Remove redundant conditionals.
15633 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15634 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15635 * math/math.h: Update #else and #endif comments.
15636 [__USE_MISC]: Remove redundant conditionals.
15637 * misc/sys/uio.h: Update #endif comments.
15638 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15639 * posix/glob.h [__USE_MISC]: Likewise.
15640 * posix/sys/types.h: Update #endif comments.
15641 [__USE_MISC]: Remove redundant conditionals.
15642 * posix/sys/wait.h: Update #endif comments.
15643 [__USE_MISC]: Remove redundant conditionals.
15644 * posix/unistd.h: Update #endif comments.
15645 [__USE_MISC]: Remove redundant conditionals.
15646 * pwd/pwd.h [__USE_GNU]: Likewise.
15647 [__USE_MISC]: Likewise.
15648 * resolv/netdb.h [__USE_GNU]: Likewise.
15649 * signal/signal.h: Update #endif comments.
15650 [__USE_MISC]: Remove redundant conditionals.
15651 * stdlib/stdlib.h: Update #else and #endif comments.
15652 [__USE_MISC]: Remove redundant conditionals.
15653 [__USE_GNU]: Likewise.
15654 * string/bits/string2.h [__USE_MISC]: Likewise.
15655 * string/string.h: Update #endif comments.
15656 [__USE_MISC]: Remove redundant conditionals.
15657 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15659 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15660 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15661 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15663 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15667 [__USE_MISC]: Remove redundant conditionals.
15668 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15669 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15670 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15671 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15672 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15674 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15675 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15677 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15678 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15680 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15682 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15683 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15685 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15687 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15688 * sysdeps/x86/bits/string.h: Update #endif comments.
15689 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15691 * time/sys/time.h: Update #endif comments.
15692 * time/time.h: Likewise.
15693 [__USE_MISC]: Remove redundant conditionals.
15695 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15698 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15700 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15702 * Versions.def (librt): Add GLIBC_2.17.
15704 2014-02-21 Adam Conrad <adconrad@0c3.net>
15706 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15707 synonym for _SYS_AUXV_H to allow direct inclusion.
15708 * sysdeps/sparc/bits/hwcap.h: Likewise.
15709 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15710 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15711 * sysdeps/sparc/sysdep.h: Likewise.
15713 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15715 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15717 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15719 * benchtests/bench-strrchr.c: Print length instead of position.
15721 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15724 * sysdeps/unix/sysv/linux/kernel-features.h
15725 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15726 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15727 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15728 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15730 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15731 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15732 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15733 (__ASSUME_SENDMMSG): Define instead of using previous
15734 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15735 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15736 (__ASSUME_SENDMMSG_SYSCALL): Define.
15737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15738 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15740 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15741 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15743 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15744 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15746 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15747 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15748 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15749 [__ASSUME_SENDMMSG]: Change conditionals to
15750 [__ASSUME_SENDMMSG_SOCKETCALL].
15751 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15752 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15754 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15755 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15757 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15758 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15759 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15760 [!__ASSUME_SENDMMSG]: Change conditional to
15761 [!__ASSUME_SENDMMSG_SOCKETCALL].
15762 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15763 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15767 * sysdeps/unix/sysv/linux/kernel-features.h
15768 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15769 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15770 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15771 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15772 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15773 [__i386__ || __sparc__]
15774 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15775 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15776 (__ASSUME_RECVMMSG): Define instead of using previous
15777 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15778 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15779 (__ASSUME_RECVMMSG_SYSCALL): Define.
15780 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15781 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15783 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15784 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15786 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15789 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15790 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15791 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15792 [__ASSUME_RECVMMSG]: Change condition to
15793 [__ASSUME_RECVMMSG_SOCKETCALL].
15794 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15795 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15797 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15798 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15801 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15802 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15803 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15804 [!__ASSUME_RECVMMSG]: Change condition to
15805 [!__ASSUME_RECVMMSG_SOCKETCALL].
15806 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15807 (__ASSUME_RECVMMSG_SYSCALL): Define.
15810 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15811 __powerpc__ || __s390__ || __sh__ || __sparc__]
15812 (__ASSUME_SOCKETCALL): Define.
15813 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15814 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15815 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15816 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15817 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15818 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15819 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15820 (__ASSUME_ACCEPT4): Define instead of using previous
15821 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15822 __powerpc__ || __sparc__ || __s390__)] condition.
15823 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15824 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15825 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15826 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15827 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15828 [!__ASSUME_ACCEPT4]: Change condition to
15829 [!__ASSUME_ACCEPT4_SOCKETCALL].
15830 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15831 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15832 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15833 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15834 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15835 __ASSUME_ACCEPT4_SYSCALL.
15836 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15837 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15838 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15839 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15840 __ASSUME_ACCEPT4_SYSCALL.
15841 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15842 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15843 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15844 [__ASSUME_ACCEPT4]: Change condition to
15845 [__ASSUME_ACCEPT4_SOCKETCALL].
15846 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15847 (__ASSUME_SOCKETCALL): Define.
15848 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15849 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15850 (__ASSUME_SOCKETCALL): Define.
15851 (__ASSUME_ACCEPT4): Remove.
15852 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15854 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15855 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15857 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15858 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15860 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15862 (HWCAP_ARM_LPAE): Likewise.
15863 (HWCAP_ARM_EVTSTRM): Likewise.
15864 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15865 Add vpfd32, lpae and evtstrm.
15866 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15869 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15871 * math/auto-libm-test-in: Add tests of clog10.
15872 * math/auto-libm-test-out: Regenerated.
15873 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15874 * sysdeps/i386/fpu/libm-test-ulps: Update.
15875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877 2014-02-18 Andreas Schwab <schwab@suse.de>
15880 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15881 Store non-zero if the second buffer was newly allocated.
15882 (send_dg): Likewise.
15883 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15884 to send_vc and send_dg.
15885 (res_nsend): Pass NULL for ansp2_malloced.
15886 * resolv/res_query.c (__libc_res_nquery): Add parameter
15887 answerp2_malloced and pass it down to __libc_res_nsend.
15888 (res_nquery): Pass additional NULL to __libc_res_nquery.
15889 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15890 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15891 second answer buffer if answerp2_malloced was set.
15892 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15893 (__libc_res_nquerydomain): Add parameter
15894 answerp2_malloced and pass it down to __libc_res_nquery.
15895 (res_nquerydomain): Pass additional NULL to
15896 __libc_res_nquerydomain.
15897 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15898 additional NULL to __libc_res_nsend and __libc_res_nquery.
15899 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15900 additional NULL to __libc_res_nsearch.
15901 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15902 parameter of __libc_res_nsearch to check for separately allocated
15904 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15906 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15907 additional NULL to __libc_res_nquery.
15908 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15909 __libc_res_nsearch.
15910 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15911 * include/resolv.h: Update prototypes of __libc_res_nquery,
15912 __libc_res_nsearch, __libc_res_nsend.
15914 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15916 * math/auto-libm-test-in: Add tests of fma.
15917 * math/auto-libm-test-out: Regenerated.
15918 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15919 (fma_towardzero_test_data): Likewise.
15920 (fma_downward_test_data): Likewise.
15921 (fma_upward_test_data): Likewise.
15922 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15924 (rounding_modes): Add values for new field.
15925 (func_calc_method): Add value mpfr_fff_f.
15926 (func_calc_desc): Add mpfr_fff_f union field.
15927 (test_function): Add field exact_args.
15928 (FUNC): Add macro argument EXACT_ARGS.
15929 (FUNC_mpfr_f_f): Update call to FUNC.
15930 (FUNC_mpfr_f_f): Likewise.
15931 (FUNC_mpfr_ff_f): Likewise.
15932 (FUNC_mpfr_if_f): Likewise.
15933 (FUNC_mpc_c_f): Likewise.
15934 (FUNC_mpc_c_c): Likewise.
15935 (test_functions): Add fma. Update calls to FUNC.
15936 (handle_input_arg): Add argument exact_args.
15937 (add_test): Update call to handle_input_arg.
15938 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15939 (output_for_one_input_case): Update call to calc_generic_results.
15940 Recalculate exact zero results in each rounding mode.
15942 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15943 non-negative before setting low bit.
15944 * math/auto-libm-test-in: Mark one asin test possibly having
15945 spurious underflow.
15946 * math/auto-libm-test-out: Regenerated.
15947 * sysdeps/i386/fpu/libm-test-ulps: Update.
15948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15950 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15952 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15953 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15954 ports/sysdeps/unix/sysv/linux/microblaze.
15955 * README: Add missing listing for microblaze*-*-linux-gnu.
15957 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15959 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15962 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15964 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15965 * sysdeps/unix/sysv/linux/ia64: Move directory from
15966 ports/sysdeps/unix/sysv/linux/ia64.
15967 * README: Update listing for ia64-*-linux-gnu.
15969 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15970 Joseph Myers <joseph@codesourcery.com>
15972 * Makeconfig (test-name): New variable.
15973 (evaluate-test): Likewise.
15974 * Makerules (do-test-clean): Remove .test-result files.
15975 (common-mostlyclean): Likewise.
15976 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15977 * scripts/evaluate-test.sh: New file.
15979 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15981 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15982 separate $(objpfx)tst-fopenloc-cmp.out and
15983 $(objpfx)tst-fopenloc-mem.out targets.
15984 (tests): Update dependencies.
15985 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15986 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15987 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15988 (tst-rxspencer-no-utf8-ARGS): New variable.
15989 (tst-rxspencer-no-utf8-ENV): Likewise.
15990 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15991 instead of $(objpfx)tst-rxspencer-mem.
15992 ($(objpfx)tst-rxspencer-mem): Change target to
15993 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15994 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15995 * posix/tst-rxspencer-no-utf8.c: New file.
15997 * elf/Makefile ($(objpfx)order.out): Remove rule.
15998 [$(run-built-tests) = yes] (tests): Depend on
15999 $(objpfx)order-cmp.out.
16000 ($(objpfx)order-cmp.out): New rule.
16001 [$(run-built-tests) = yes] (tests): Depend on
16002 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16003 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16004 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16005 $(objpfx)tst-array5-static-cmp.out.
16006 ($(objpfx)tst-array1.out): Remove rule.
16007 ($(objpfx)tst-array1-cmp.out): New rule.
16008 ($(objpfx)tst-array1-static.out): Remove rule.
16009 ($(objpfx)tst-array1-static-cmp.out): New rule.
16010 ($(objpfx)tst-array2.out): Remove rule.
16011 ($(objpfx)tst-array2-cmp.out): New rule.
16012 ($(objpfx)tst-array3.out): Remove rule.
16013 ($(objpfx)tst-array3-cmp.out): New rule.
16014 ($(objpfx)tst-array4.out): Remove rule.
16015 ($(objpfx)tst-array4-cmp.out): New rule.
16016 ($(objpfx)tst-array5.out): Remove rule.
16017 ($(objpfx)tst-array5-cmp.out): New rule.
16018 ($(objpfx)tst-array5-static.out): Remove rule.
16019 ($(objpfx)tst-array5-static-cmp.out): New rule.
16020 [$(run-built-tests) = yes] (tests): Depend on
16021 $(objpfx)order2-cmp.out.
16022 ($(objpfx)order2.out): Remove rule.
16023 ($(objpfx)order2-cmp.out): New rule.
16024 ($(objpfx)tst-initorder.out): Remove rule.
16025 [$(run-built-tests) = yes] (tests): Depend on
16026 $(objpfx)tst-initorder-cmp.out.
16027 ($(objpfx)tst-initorder-cmp.out): New rule.
16028 ($(objpfx)tst-initorder2.out): Remove rule.
16029 [$(run-built-tests) = yes] (tests): Depend on
16030 $(objpfx)tst-initorder2-cmp.out.
16031 ($(objpfx)tst-initorder2-cmp.out): New rule.
16032 [$(run-built-tests) = yes] (tests): Depend on
16033 $(objpfx)tst-unused-dep-cmp.out.
16034 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16035 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16036 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16037 on $(objpfx)tst-setvbuf1-cmp.out.
16038 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16039 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16040 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16041 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16042 ($(objpfx)tst-svc.out): Remove rule.
16043 ($(objpfx)tst-svc-cmp.out): New rule.
16045 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16047 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16048 * ctype/ctype.h [__USE_MISC]: Likewise.
16049 * dirent/dirent.h [__USE_MISC]: Likewise.
16050 * grp/grp.h [__USE_MISC]: Likewise.
16051 * io/fcntl.h [__USE_MISC]: Likewise.
16052 * io/sys/stat.h [__USE_MISC]: Likewise.
16053 * libio/stdio.h [__USE_MISC]: Likewise.
16054 * posix/unistd.h [__USE_MISC]: Likewise.
16055 * pwd/pwd.h [__USE_MISC]: Likewise.
16056 * stdlib.h [__USE_MISC]: Likewise.
16057 * string/bits/string2.h [__USE_MISC]: Likewise.
16058 * string/string.h [__USE_MISC]: Likewise.
16059 * time/time.h [__USE_MISC]: Likewise.
16061 2014-02-13 Andreas Schwab <schwab@suse.de>
16064 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16065 second answer buffer if it was separately allocated.
16067 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16069 * sysdeps/mips/math-tests.h: Include <features.h>.
16070 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16071 (ROUNDING_TESTS_long_double): Do not define.
16072 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16073 (EXCEPTION_TESTS_long_double): Likewise.
16074 * sysdeps/mips/mips64/libm-test-ulps: Update.
16076 * include/features.h (__USE_BSD): Remove macro definitions.
16077 (__USE_SVID): Likewise.
16078 (_BSD_SOURCE): Likewise.
16079 (_SVID_SOURCE): Likewise.
16080 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16081 from definition of _DEFAULT_SOURCE.
16082 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16084 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16085 * bits/mman.h [__USE_BSD]: Likewise.
16086 * bits/termios.h [__USE_BSD]: Likewise.
16087 * bits/waitstatus.h [__USE_BSD]: Likewise.
16088 * ctype/ctype.h [__USE_SVID]: Likewise.
16089 * dirent/dirent.h [__USE_BSD]: Likewise.
16090 * grp/grp.h [__USE_SVID]: Likewise.
16091 [__USE_BSD]: Likewise.
16092 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16093 * io/fcntl.h [__USE_BSD]: Likewise.
16094 * io/ftw.h [__USE_BSD]: Likewise.
16095 * io/sys/stat.h [__USE_BSD]: Likewise.
16096 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16097 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16098 * libio/stdio.h [__USE_SVID]: Likewise.
16099 [__USE_BSD]: Likewise.
16100 * math/math.h [__USE_SVID]: Likewise.
16101 [__USE_BSD]: Likewise.
16102 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16103 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16104 * misc/search.h [__USE_SVID]: Likewise.
16105 * misc/sys/mman.h [__USE_BSD]: Likewise.
16106 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16107 * misc/sys/uio.h [__USE_BSD]: Likewise.
16108 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16109 * posix/glob.h [__USE_BSD]: Likewise.
16110 * posix/regex.h [__USE_BSD]: Likewise.
16111 * posix/sys/types.h [__USE_BSD]: Likewise.
16112 [__USE_SVID]: Likewise.
16113 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16114 * posix/sys/wait.h [__USE_BSD]: Likewise.
16115 [__USE_SVID]: Likewise.
16116 * posix/unistd.h [__USE_BSD]: Likewise.
16117 [__USE_SVID]: Likewise.
16118 * pwd/pwd.h [__USE_SVID]: Likewise.
16119 * resolv/netdb.h [__USE_BSD]: Likewise.
16120 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16121 * signal/signal.h [__USE_BSD]: Likewise.
16122 [__USE_SVID]: Likewise.
16123 * socket/sys/socket.h [__USE_BSD]: Likewise.
16124 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16125 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16126 [__USE_SVID]: Likewise.
16127 * string/bits/string2.h [__USE_BSD]: Likewise.
16128 [__USE_SVID]: Likewise.
16129 * string/bits/string3.h [__USE_BSD]: Likewise.
16130 * string/endian.h [__USE_BSD]: Likewise.
16131 * string/string.h [__USE_SVID]: Likewise.
16132 [__USE_BSD]: Likewise.
16133 * string/strings.h [__USE_BSD]: Likewise.
16134 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16135 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16136 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16137 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16138 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16139 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16144 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16146 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16147 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16149 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16151 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16152 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16155 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16157 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16158 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16159 * termios/termios.h [__USE_BSD]: Likewise.
16160 * time/sys/time.h [__USE_BSD]: Likewise.
16161 * time/time.h [__USE_BSD]: Likewise.
16162 [__USE_SVID]: Likewise.
16164 * Makefile (subdir_targets): Remove subdir_lint.out.
16166 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16167 (do-tst-printf): Likewise.
16168 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16169 $(objpfx)tst-printf.out.
16171 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16173 * Makerules (check-abi-%): Change target to
16174 $(objpfx)check-abi-%.out.
16175 (check-abi target): Update dependencies.
16176 (check-abi-pattern variable): Redirect output of diff to $@.
16177 (check-abi variable): Likewise.
16178 * elf/Makefile (check-abi): Update dependencies.
16180 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16182 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16183 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16185 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16186 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16187 value has largest subnormal exponent.
16188 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16189 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16190 * sysdeps/aarch64/soft-fp/sfp-machine.h
16191 (_FP_TININESS_AFTER_ROUNDING): New macro.
16192 * sysdeps/alpha/soft-fp/sfp-machine.h
16193 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16194 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16196 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16198 * sysdeps/mips/soft-fp/sfp-machine.h
16199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16200 * sysdeps/powerpc/soft-fp/sfp-machine.h
16201 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16202 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16204 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16206 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16207 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16208 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16211 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16214 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16217 2014-02-12 Richard Henderson <rth@redhat.com>
16219 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16220 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16221 * sysdeps/unix/sysv/linux/alpha: Move directory from
16222 ports/sysdeps/unix/sysv/linux/alpha.
16223 * README: Update listing for alpha-*-linux-gnu.
16225 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16227 * include/features.h: Update comment documenting feature test
16229 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16231 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16232 (_SVID_SOURCE): Likewise.
16233 (_DEFAULT_SOURCE): Update description of default features.
16234 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16236 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16237 (S_ISVTX): Likewise.
16238 * manual/math.texi (Mathematical Constants): Likewise.
16239 * manual/signal.texi (Interrupted Primitives): Likewise.
16240 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16241 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16242 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16243 Don't refer to _SVID_SOURCE in warning text.
16245 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16247 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16249 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16250 * sysdeps/mips/dl-lookup.c: Remove.
16251 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16253 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16256 * math/auto-libm-test-in: Add testcase for expl.
16257 * math/auto-libm-test-out: Regenerate.
16258 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16259 calculation of unsafe.
16260 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16262 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16264 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16265 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16266 ports/sysdeps/unix/sysv/linux/aarch64.
16267 * README: Update listing for aarch64*-*-linux-gnu.
16269 2014-02-11 Will Newton <will.newton@linaro.org>
16271 * manual/probes.texi (Mathematical Function Probes): Use
16272 "triggered" instead of "hit".
16274 * manual/probes.texi (Internal Probes): Add documentation
16275 of setjmp, longjmp and longjmp_target probes.
16277 * include/stap-probe.h: Add comment about probe argument
16280 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16281 definition. (tr_where, tr_freehook, tr_mallochook,
16282 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16284 2014-02-11 David S. Miller <davem@davemloft.net>
16286 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16287 processing int_tests.
16289 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16291 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16292 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16293 * sysdeps/unix/sysv/linux/mips: Move directory from
16294 ports/sysdeps/unix/sysv/linux/mips.
16295 * README: Update listing for mips-*-linux-gnu and
16296 mips64-*-linux-gnu.
16298 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16300 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16301 * sysdeps/unix/sysv/linux/m68k: Move directory from
16302 ports/sysdeps/unix/sysv/linux/m68k.
16303 * README: Update listing for m68k-*-linux-gnu.
16305 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16307 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16308 * sysdeps/unix/sysv/linux/generic: Move directory from
16309 ports/sysdeps/unix/sysv/linux/generic.
16310 * sysdeps/unix/sysv/linux/tile: Move directory from
16311 ports/sysdeps/unix/sysv/linux/tile.
16312 * README: Update listing for tile*-*-linux-gnu.
16314 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16316 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16318 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16319 * catgets/open_catalog.c (__open_catalog): Likewise.
16320 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16321 * debug/confstr_chk.c: Likewise.
16322 * debug/fread_chk.c (__fread_chk): Likewise.
16323 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16324 * debug/getgroups_chk.c: Likewise.
16325 * debug/mbsnrtowcs_chk.c: Likewise.
16326 * debug/mbsrtowcs_chk.c: Likewise.
16327 * debug/mbstowcs_chk.c: Likewise.
16328 * debug/memcpy_chk.c: Likewise.
16329 * debug/memmove_chk.c: Likewise.
16330 * debug/mempcpy_chk.c: Likewise.
16331 * debug/memset_chk.c: Likewise.
16332 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16333 * debug/strcat_chk.c (__strcat_chk): Likewise.
16334 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16335 * debug/strncat_chk.c (__strncat_chk): Likewise.
16336 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16337 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16338 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16339 * debug/wcpncpy_chk.c: Likewise.
16340 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16341 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16342 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16343 * debug/wcsncpy_chk.c: Likewise.
16344 * debug/wcsnrtombs_chk.c: Likewise.
16345 * debug/wcsrtombs_chk.c: Likewise.
16346 * debug/wcstombs_chk.c: Likewise.
16347 * debug/wmemcpy_chk.c: Likewise.
16348 * debug/wmemmove_chk.c: Likewise.
16349 * debug/wmempcpy_chk.c: Likewise.
16350 * debug/wmemset_chk.c: Likewise.
16351 * dirent/scandirat.c (SCANDIRAT): Likewise.
16352 * dlfcn/dladdr1.c (dladdr1): Likewise.
16353 * dlfcn/dladdr.c (dladdr): Likewise.
16354 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16355 * dlfcn/dlerror.c (__dlerror): Likewise.
16356 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16357 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16358 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16359 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16360 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16361 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16362 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16363 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16365 * elf/dl-conflict.c: Likewise.
16366 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16367 * elf/dl-dst.h: Likewise.
16368 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16369 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16370 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16371 * elf/dl-init.c (call_init, _dl_init): Likewise.
16372 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16373 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16374 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16376 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16378 * elf/dl-minimal.c (__libc_memalign): Likewise.
16379 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16380 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16381 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16382 * elf/dl-sym.c (do_sym): Likewise.
16383 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16384 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16385 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16386 * elf/dl-writev.h (_dl_writev): Likewise.
16387 * elf/ldconfig.c (search_dir): Likewise.
16388 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16389 (dl_main): Likewise.
16390 * elf/setup-vdso.h (setup_vdso): Likewise.
16391 * grp/compat-initgroups.c (compat_call): Likewise.
16392 * grp/fgetgrent.c (fgetgrent): Likewise.
16393 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16394 * grp/putgrent.c (putgrent): Likewise.
16395 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16397 * hurd/hurdinit.c: Likewise.
16398 * iconvdata/8bit-gap.c (struct): Likewise.
16399 * iconvdata/ansi_x3.110.c : Likewise.
16400 * iconvdata/big5.c : Likewise.
16401 * iconvdata/big5hkscs.c : Likewise.
16402 * iconvdata/cp1255.c: Likewise.
16403 * iconvdata/cp1258.c : Likewise.
16404 * iconvdata/cp932.c : Likewise.
16405 * iconvdata/euc-cn.c: Likewise.
16406 * iconvdata/euc-jisx0213.c : Likewise.
16407 * iconvdata/euc-jp.c: Likewise.
16408 * iconvdata/euc-jp-ms.c : Likewise.
16409 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16410 * iconvdata/gb18030.c : Likewise.
16411 * iconvdata/gbbig5.c (const): Likewise.
16412 * iconvdata/gbgbk.c: Likewise.
16413 * iconvdata/gbk.c : Likewise.
16414 * iconvdata/ibm1364.c : Likewise.
16415 * iconvdata/ibm930.c : Likewise.
16416 * iconvdata/ibm932.c: Likewise.
16417 * iconvdata/ibm933.c : Likewise.
16418 * iconvdata/ibm935.c : Likewise.
16419 * iconvdata/ibm937.c : Likewise.
16420 * iconvdata/ibm939.c : Likewise.
16421 * iconvdata/ibm943.c: Likewise.
16422 * iconvdata/iso_11548-1.c: Likewise.
16423 * iconvdata/iso-2022-cn.c : Likewise.
16424 * iconvdata/iso-2022-cn-ext.c : Likewise.
16425 * iconvdata/iso-2022-jp-3.c: Likewise.
16426 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16427 * iconvdata/iso-2022-kr.c : Likewise.
16428 * iconvdata/iso646.c (gconv_end): Likewise.
16429 * iconvdata/iso_6937-2.c : Likewise.
16430 * iconvdata/iso_6937.c : Likewise.
16431 * iconvdata/iso8859-1.c: Likewise.
16432 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16433 * iconvdata/shift_jisx0213.c : Likewise.
16434 * iconvdata/sjis.c : Likewise.
16435 * iconvdata/t.61.c : Likewise.
16436 * iconvdata/tcvn5712-1.c : Likewise.
16437 * iconvdata/tscii.c: Likewise.
16438 * iconvdata/uhc.c : Likewise.
16439 * iconvdata/unicode.c (gconv_end): Likewise.
16440 * iconvdata/utf-16.c (gconv_end): Likewise.
16441 * iconvdata/utf-32.c (gconv_end): Likewise.
16442 * iconvdata/utf-7.c (base64): Likewise.
16443 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16444 * iconv/gconv_close.c (__gconv_close): Likewise.
16445 * iconv/gconv_open.c (__gconv_open): Likewise.
16446 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16447 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16448 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16449 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16450 (ucs4le_internal_loop_single): Likewise.
16451 * iconv/iconv.c (iconv): Likewise.
16452 * iconv/iconv_close.c: Likewise.
16453 * iconv/loop.c (SINGLE): Likewise.
16454 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16455 * include/atomic.h: Likewise.
16456 * inet/inet6_option.c (option_alloc): Likewise.
16457 * intl/bindtextdom.c (set_binding_values): Likewise.
16458 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16459 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16460 * intl/localealias.c (read_alias_file): Likewise.
16461 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16462 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16463 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16464 * libio/fmemopen.c (fmemopen): Likewise.
16465 * libio/iofgets.c (_IO_fgets): Likewise.
16466 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16467 * libio/iofgetws.c (fgetws): Likewise.
16468 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16469 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16470 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16471 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16472 * locale/findlocale.c (_nl_find_locale): Likewise.
16473 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16474 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16476 * locale/setlocale.c (setlocale): Likewise.
16477 * login/programs/pt_chown.c (main): Likewise.
16478 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16479 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16480 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16481 (mmap, mmap64, mremap, munmap): Likewise.
16482 * math/e_exp2l.c: Likewise.
16483 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16484 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16485 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16486 * math/s_catan.c (__catan): Likewise.
16487 * math/s_catanf.c (__catanf): Likewise.
16488 * math/s_catanh.c (__catanh): Likewise.
16489 * math/s_catanhf.c (__catanhf): Likewise.
16490 * math/s_catanhl.c (__catanhl): Likewise.
16491 * math/s_catanl.c (__catanl): Likewise.
16492 * math/s_ccosh.c (__ccosh): Likewise.
16493 * math/s_ccoshf.c (__ccoshf): Likewise.
16494 * math/s_ccoshl.c (__ccoshl): Likewise.
16495 * math/s_cexp.c (__cexp): Likewise.
16496 * math/s_cexpf.c (__cexpf): Likewise.
16497 * math/s_cexpl.c (__cexpl): Likewise.
16498 * math/s_clog10.c (__clog10): Likewise.
16499 * math/s_clog10f.c (__clog10f): Likewise.
16500 * math/s_clog10l.c (__clog10l): Likewise.
16501 * math/s_clog.c (__clog): Likewise.
16502 * math/s_clogf.c (__clogf): Likewise.
16503 * math/s_clogl.c (__clogl): Likewise.
16504 * math/s_csin.c (__csin): Likewise.
16505 * math/s_csinf.c (__csinf): Likewise.
16506 * math/s_csinh.c (__csinh): Likewise.
16507 * math/s_csinhf.c (__csinhf): Likewise.
16508 * math/s_csinhl.c (__csinhl): Likewise.
16509 * math/s_csinl.c (__csinl): Likewise.
16510 * math/s_csqrt.c (__csqrt): Likewise.
16511 * math/s_csqrtf.c (__csqrtf): Likewise.
16512 * math/s_csqrtl.c (__csqrtl): Likewise.
16513 * math/s_ctan.c (__ctan): Likewise.
16514 * math/s_ctanf.c (__ctanf): Likewise.
16515 * math/s_ctanh.c (__ctanh): Likewise.
16516 * math/s_ctanhf.c (__ctanhf): Likewise.
16517 * math/s_ctanhl.c (__ctanhl): Likewise.
16518 * math/s_ctanl.c (__ctanl): Likewise.
16519 * math/w_pow.c: Likewise.
16520 * math/w_powf.c: Likewise.
16521 * math/w_powl.c: Likewise.
16522 * math/w_scalb.c (sysv_scalb): Likewise.
16523 * math/w_scalbf.c (sysv_scalbf): Likewise.
16524 * math/w_scalbl.c (sysv_scalbl): Likewise.
16525 * misc/error.c (error_tail): Likewise.
16526 * misc/pselect.c (__pselect): Likewise.
16527 * nis/nis_callback.c (__nis_create_callback): Likewise.
16528 * nis/nis_call.c (__nisfind_server): Likewise.
16529 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16530 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16531 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16532 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16533 * nis/nis_lookup.c (nis_lookup): Likewise.
16534 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16535 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16536 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16537 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16538 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16539 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16540 * nis/nss_compat/compat-initgroups.c (add_group)
16541 (internal_getgrent_r): Likewise.
16542 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16543 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16544 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16545 (internal_getspnam_r): Likewise.
16546 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16547 (_nss_nis_getaliasbyname_r): Likewise.
16548 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16549 (_nss_nis_getntohost_r): Likewise.
16550 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16551 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16552 (_nss_nis_getgrgid_r): Likewise.
16553 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16554 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16555 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16556 (_nss_nis_gethostbyname4_r): Likewise.
16557 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16558 (initgroups_netid): Likewise.
16559 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16560 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16561 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16562 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16563 (_nss_nis_getprotobynumber_r): Likewise.
16564 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16565 (_nss_nis_getsecretkey): Likewise.
16566 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16567 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16568 (_nss_nis_getpwuid_r): Likewise.
16569 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16570 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16571 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16572 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16573 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16574 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16575 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16577 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16578 (_nss_nisplus_getntohost_r): Likewise.
16579 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16580 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16581 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16582 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16584 * nis/nss_nisplus/nisplus-initgroups.c
16585 (_nss_nisplus_initgroups_dyn): Likewise.
16586 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16587 (_nss_nisplus_getnetbyaddr_r): Likewise.
16588 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16589 (_nss_nisplus_getprotobynumber_r): Likewise.
16590 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16591 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16592 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16594 * nis/nss_nisplus/nisplus-service.c
16595 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16596 (_nss_nisplus_getservbyport_r): Likewise.
16597 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16598 (_nss_nisplus_getspnam_r): Likewise.
16599 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16601 * nscd/aicache.c (addhstaiX): Likewise.
16602 * nscd/cache.c (cache_search, prune_cache): Likewise.
16603 * nscd/connections.c (register_traced_file, send_ro_fd)
16604 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16605 (main_loop_epoll): Likewise.
16606 * nscd/grpcache.c (addgrbyX): Likewise.
16607 * nscd/hstcache.c (addhstbyX): Likewise.
16608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16609 * nscd/mem.c (gc, mempool_alloc): Likewise.
16610 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16611 (addinnetgrX): Likewise.
16612 * nscd/nscd-client.h (__nscd_acquire_maplock)
16613 (__nscd_drop_map_ref): Likewise.
16614 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16615 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16616 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16618 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16620 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16621 (__nscd_get_map_ref): Likewise.
16622 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16623 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16625 * nscd/pwdcache.c (addpwbyX): Likewise.
16626 * nscd/selinux.c (preserve_capabilities): Likewise.
16627 * nscd/servicescache.c (addservbyX): Likewise.
16628 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16629 * posix/fnmatch.c (fnmatch): Likewise.
16630 * posix/getopt.c (_getopt_internal_r): Likewise.
16631 * posix/glob.c (glob, glob_in_dir): Likewise.
16632 * posix/wordexp.c (exec_comm_child): Likewise.
16633 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16634 (getanswer_r, gaih_getanswer_slice): Likewise.
16635 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16636 * resolv/res_init.c: Likewise.
16637 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16638 * resolv/res_query.c (__libc_res_nquery): Likewise.
16639 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16641 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16642 * stdio-common/perror.c (perror): Likewise.
16643 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16644 * stdio-common/tmpnam.c (tmpnam): Likewise.
16645 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16646 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16647 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16649 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16650 * stdlib/putenv.c (putenv): Likewise.
16651 * stdlib/setenv.c (__add_to_environ): Likewise.
16652 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16653 * stdlib/strtol_l.c (INTERNAL): Likewise.
16654 * string/memmem.c (memmem): Likewise.
16655 * string/strerror.c (strerror): Likewise.
16656 * string/strnlen.c (__strnlen): Likewise.
16657 * string/test-memmem.c (simple_memmem): Likewise.
16658 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16659 * sunrpc/pm_getport.c (__get_socket): Likewise.
16660 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16661 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16662 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16663 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16665 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16666 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16667 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16668 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16669 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16670 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16672 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16674 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16675 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16676 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16677 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16678 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16681 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16682 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16683 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16684 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16685 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16687 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16689 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16693 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16694 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16695 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16696 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16697 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16698 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16700 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16701 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16703 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16704 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16706 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16708 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16710 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16712 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16714 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16715 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16716 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16718 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16719 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16720 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16721 * sysdeps/posix/sleep.c: Likewise.
16722 * sysdeps/posix/tempname.c: Likewise.
16723 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16724 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16726 * sysdeps/powerpc/powerpc32/dl-machine.h
16727 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16728 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16729 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16730 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16731 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16733 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16735 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16737 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16738 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16739 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16740 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16741 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16742 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16743 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16744 (elf_machine_lazy_rel): Likewise.
16745 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16747 (elf_machine_lazy_rel): Likewise.
16748 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16749 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16750 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16751 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16752 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16753 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16754 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16757 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16758 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16759 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16760 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16761 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16762 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16763 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16764 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16765 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16766 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16767 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16769 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16770 (__posix_fallocate64_l64): Likewise.
16771 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16772 (posix_fallocate): Likewise.
16773 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16776 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16777 (getifaddrs_internal): Likewise.
16778 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16779 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16780 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16781 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16782 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16783 (__posix_fallocate64_l64): Likewise.
16784 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16786 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16787 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16788 (__get_clockfreq): Likewise.
16789 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16790 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16791 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16793 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16794 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16795 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16796 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16798 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16799 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16800 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16801 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16802 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16803 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16806 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16807 (posix_fallocate): Likewise.
16808 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16809 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16810 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16811 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16812 (elf_machine_rela, elf_machine_rela_relative)
16813 (elf_machine_lazy_rel): Likewise.
16814 * time/asctime.c (asctime_internal): Likewise.
16815 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16816 * time/tzset.c (__tzset_parse_tz): Likewise.
16817 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16818 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16819 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16820 * wcsmbs/wcsmbsload.h: Likewise.
16823 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16825 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16826 (arena_get2): Remove THREAD_STATS conditionals.
16827 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16828 (__malloc_stats, int): Likewise.
16830 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16832 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16833 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16835 * manual/setjmp.texi: Fix typos/grammar errors.
16837 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16838 Only return early when n is <= 0. Delete unused return statement.
16840 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16841 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16842 * debug/tst-longjmp_chk3.c: New file.
16844 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16845 (test_main): Replace code with set_fortify_handler call.
16846 * debug/test-strcpy_chk.c: Likewise.
16847 * debug/tst-chk1.c: Likewise.
16848 * debug/tst-longjmp_chk.c: Likewise.
16849 * test-skeleton.c: Include fcntl.h & paths.h
16850 (set_fortify_handler): Define.
16852 * debug/tst-longjmp_chk.c: Add header comment and include
16853 ../test-skeleton.c.
16854 (do_test): Mark static.
16855 (TEST_FUNCTION): Define.
16857 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16858 (IP_PMTUDISC_INTERFACE): Likewise.
16859 (IP_MULTICAST_IF): Likewise.
16860 (IP_MULTICAST_TTL): Likewise.
16861 (IP_MULTICAST_LOOP): Likewise.
16862 (IP_ADD_MEMBERSHIP): Likewise.
16863 (IP_DROP_MEMBERSHIP): Likewise.
16864 (IP_UNBLOCK_SOURCE): Likewise.
16865 (IP_BLOCK_SOURCE): Likewise.
16866 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16867 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16868 (IP_MSFILTER): Likewise.
16869 (MCAST_JOIN_GROUP): Likewise.
16870 (MCAST_BLOCK_SOURCE): Likewise.
16871 (MCAST_UNBLOCK_SOURCE): Likewise.
16872 (MCAST_LEAVE_GROUP): Likewise.
16873 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16874 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16875 (MCAST_MSFILTER): Likewise.
16876 (IP_MULTICAST_ALL): Likewise.
16877 (IP_UNICAST_IF): Likewise.
16879 * timezone/Makefile: Delete $(have-ksh) check.
16880 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16881 * timezone/tzselect.ksh: Add +x mode bits.
16883 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16884 (ANON_INODE_FS_MAGIC): Likewise.
16885 (BDEVFS_MAGIC): Likewise.
16886 (BINFMTFS_MAGIC): Likewise.
16887 (BTRFS_TEST_MAGIC): Likewise.
16888 (CRAMFS_MAGIC_WEND): Likewise.
16889 (DEBUGFS_MAGIC): Likewise.
16890 (ECRYPTFS_SUPER_MAGIC): Likewise.
16891 (EXT3_SUPER_MAGIC): Likewise.
16892 (EXT4_SUPER_MAGIC): Likewise.
16893 (FUTEXFS_SUPER_MAGIC): Likewise.
16894 (HOSTFS_SUPER_MAGIC): Likewise.
16895 (HUGETLBFS_MAGIC): Likewise.
16896 (MINIX3_SUPER_MAGIC): Likewise.
16897 (MTD_INODE_FS_MAGIC): Likewise.
16898 (NILFS_SUPER_MAGIC): Likewise.
16899 (OPENPROM_SUPER_MAGIC): Likewise.
16900 (PIPEFS_MAGIC): Likewise.
16901 (PSTOREFS_MAGIC): Likewise.
16902 (QNX6_SUPER_MAGIC): Likewise.
16903 (RAMFS_MAGIC): Likewise.
16904 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16905 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16906 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16907 (SECURITYFS_MAGIC): Likewise.
16908 (SELINUX_MAGIC): Likewise.
16909 (SMACK_MAGIC): Likewise.
16910 (SOCKFS_MAGIC): Likewise.
16911 (SQUASHFS_MAGIC): Likewise.
16912 (STACK_END_MAGIC): Likewise.
16913 (TMPFS_MAGIC): Likewise.
16914 (USBDEVICE_SUPER_MAGIC): Likewise.
16915 (V9FS_MAGIC): Likewise.
16916 (XENFS_SUPER_MAGIC): Likewise.
16917 (CRAMFS_MAGIC): Fix typo in comment.
16918 (EXT2_SUPER_MAGIC): Update comment.
16919 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16921 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16923 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16924 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16925 * sysdeps/unix/sysv/linux/arm: Move directory from
16926 ports/sysdeps/unix/sysv/linux/arm.
16927 * README: Update listing for arm-*-linux-gnueabi.
16929 * README: Remove mention of am33.
16931 2014-02-07 Roland McGrath <roland@hack.frob.com>
16933 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16934 than the comma operator, to avoid "rhs of comma has no effect"
16936 (__sigfillset, __sigandset, __sigorset): Likewise.
16937 * include/signal.h (__sigemptyset): Likewise.
16938 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16940 2014-02-07 Allan McRae <allan@archlinux.org>
16942 * version.h (RELEASE): Set to "development".
16943 (VERSION): Set to "2.19.90"
16944 * NEWS: Add 2.20 section.
16946 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16949 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16951 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16953 * manual/contrib.texi: Update entry for Carlos O'Donell,
16954 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16956 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16958 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16960 * sysdeps/unix/sysv/linux/kernel-features.h
16961 [__LINUX_KERNEL_VERSION >= 0x020621]
16962 (__ASSUME_PROC_PID_TASK_COMM): Define.
16964 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16967 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16968 conversion when destination buffer does not have enough space.
16969 * libio/tst-ftell-partial-wide.c: New test case.
16970 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16972 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16973 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16974 Leonard and Allan McRae.
16976 2014-02-04 David S. Miller <davem@davemloft.net>
16978 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16981 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17010 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17012 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17013 * shlib-versions: Likewise.
17015 2014-02-04 Roland McGrath <roland@hack.frob.com>
17016 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17018 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17019 (abilist-pattern): New variable, set to %-le.abilist.
17021 * Makerules (abilist-pattern): New variable.
17022 (vpath): Use $(abilist-pattern) in place of %.abilist.
17023 (check-abi-% pattern rule): Likewise.
17024 (check-abi, update-abi): Likewise.
17026 2014-02-04 Eric Wong <normalperson@yhbt.net>
17028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17030 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17032 * manual/startup.texi: Add next, previous, and top entries for
17033 the `Program Arguments' and `Environment Variables' nodes.
17035 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17037 * manual/macros.texi: Add comments before MTASC-safety macros.
17039 * manual/users.texi: Document MTASC-safety properties.
17041 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17042 (pthread_getspecific, pthread_setspecific): Format with
17043 @deftypefun, and add @safety note.
17044 * manual/signal.texi: Move comments that analyze the above
17045 functions to their home place.
17047 2014-02-03 Allan McRae <allan@archlinux.org>
17049 * po/sl.po: Update Slovenian translation from translation project.
17051 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17053 * manual/time.texi (timegm): Add missing blank after @c.
17054 Reported by Joseph Myers <joseph@codesourcery.com>.
17056 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17058 * manual/check-safety.sh: New.
17059 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17061 * manual/terminal.texi: Document MTASC-safety properties.
17063 * manual/filesys.texi: Document MTASC-safety properties.
17065 * manual/errno.texi: Document MTASC-safety properties.
17067 * manual/intro.texi: Document safety identifiers and
17070 * manual/string.texi (wcstok): Fix prototype.
17071 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17073 * manual/time.texi: Document MTASC-safety properties.
17075 * manual/string.texi: Document MTASC-safety properties.
17077 * manual/threads.texi: Document MTASC-safety properties.
17079 * manual/stdio.texi: Document MTASC-safety properties.
17081 * manual/syslog.texi: Document MTASC-safety properties.
17083 * manual/sysinfo.texi: Document MTASC-safety properties.
17085 * manual/startup.texi: Document MTASC-safety properties.
17087 * manual/socket.texi: Document MTASC-safety properties.
17089 * manual/signal.texi: Document MTASC-safety properties.
17091 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17093 * manual/setjmp.texi: Document MTASC-safety properties.
17095 * manual/search.texi: Document MTASC-safety properties.
17097 * manual/resource.texi: Document MTASC-safety properties.
17099 * manual/process.texi: Document MTASC-safety properties.
17101 * manual/platform.texi: Document MTASC-safety properties.
17103 * manual/pipe.texi: Document MTASC-safety properties.
17105 * manual/pattern.texi: Document MTASC-safety properties.
17107 * manual/message.texi: Document MTASC-safety properties.
17110 * manual/memory.texi: Document MTASC-safety properties.
17112 * manual/math.texi: Document MTASC-safety properties.
17114 * manual/locale.texi: Document MTASC-safety properties.
17116 * manual/llio.texi: Document MTASC-safety properties.
17118 * manual/libdl.texi: New.
17120 * manual/lang.texi: Document MTASC-safety properties.
17122 * manual/job.texi: Document MTASC-safety properties.
17124 * manual/getopt.texi: Document MTASC-safety properties.
17126 * manual/ctype.texi: Document MTASC-safety properties.
17128 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17131 * csu/libc-tls.c (static_map): Remove variable.
17132 (__libc_setup_tls): Use main executable's link map for TLS data.
17133 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17134 casing for LM_ID_BASE and GL(dl_nns).
17135 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17136 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17137 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17138 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17139 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17141 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17144 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17146 * manual/debug.texi: Document MTASC-safety properties.
17148 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17151 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17152 of __x86_64__ when disabling x87 inline functions.
17154 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17156 * manual/charset.texi: Document MTASC-safety properties.
17158 * manual/crypt.texi: Document MTASC-safety properties.
17160 * manual/conf.texi: Document MTASC-safety properties.
17162 * manual/arith.texi: Document MTASC-safety properties.
17164 * manual/argp.texi: Document MTASC-safety properties.
17166 * manual/macros.texi: Introduce macros to document multi
17167 thread, asynchronous signal and asynchronous cancellation
17169 * manual/intro.texi: Introduce the properties themselves.
17171 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17173 * sysdeps/sh/sh4/Makefile: New file.
17175 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17177 * math/gen-libm-test.pl ($srcdir): New variable.
17178 ($auto_input): Use it.
17180 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17183 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17184 access beyond array bounds when parsing netgroups file.
17186 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17187 the old buffer before realloc.
17189 2014-01-27 Allan McRae <allan@archlinux.org>
17191 * po/fr.po: Update French translation from translation project.
17193 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17195 * sysdeps/sh/libm-test-ulps: Regenerate.
17197 2014-01-24 David S. Miller <davem@davemloft.net>
17199 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17201 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17203 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17204 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17206 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17209 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17210 string pointers after reallocation.
17212 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17214 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17215 __SH4A__ instead of __SH_FPU_ANY__.
17217 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17219 * sysdeps/sh/fpu_control.h: New file.
17220 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17221 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17222 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17223 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17224 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17225 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17226 * sysdeps/sh/sys/ucontext.h: Remove.
17227 * sysdeps/sh/sys: Remove directory.
17229 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17231 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17232 s390/sys/ucontext.h.
17233 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17234 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17236 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17239 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17241 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17245 Adjust the vDSO correctly for internal calls.
17246 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17248 2014-01-20 Allan McRae <allan@archlinux.org>
17250 * po/ca.po: Update Catalan translation from translation project.
17252 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17254 * sysdeps/s390/sotruss-lib.c: New file.
17256 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17260 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17261 local calls issues by not having a PLT stub required for IFUNC calls.
17262 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17264 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17266 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17267 * math/test-fpucw-static.c: Likewise.
17269 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17274 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17276 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17277 implementation for powerpc.
17279 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17282 * sysdeps/posix/system.c (__libc_system): Do not enable
17283 asynchronous cancellation.
17285 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17288 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17289 handling only for numbers special also in the IEEE case.
17291 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17293 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17295 2014-01-11 Allan McRae <allan@archlinux.org>
17297 * po/bg.po: Update Bulgarian translation from translation project.
17299 * po/de.po: Update German translation from translation project.
17301 2014-01-10 Roland McGrath <roland@hack.frob.com>
17303 * sysdeps/generic/gcc-compat.h: New file.
17305 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17307 * benchtests/asin-inputs: Correct slow inputs.
17308 * benchtests/acos-inputs: Likewise.
17310 2014-01-10 Allan McRae <allan@archlinux.org>
17312 * po:sv.po: Update Swedish translation from translation project.
17314 * po/vi.po: Update Vietnamese translation from translation project.
17316 * po/eo.po: Update Esperanto translation from translation project.
17318 * po/cs.po: Update Czech translation from translation project.
17320 * po/nl.po: Update Dutch translation from translation project.
17322 * po/pl.po: Update Polish translation from translation project.
17324 * po/ru.po: Update Russian translation from translation project.
17326 * po/uk.po: Update Ukrainian translation from translation project.
17328 2014-01-08 Brooks Moses <bmoses@google.com>
17330 * elf/dl-load.c: Fix comment typo.
17332 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17334 * po/header.pot: Rename to...
17335 * po/pot.header: ... this.
17336 * po/Makefile: Use pot.header.
17338 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17339 Maxim Kuvyrkov <maxim@kugelworks.com>
17342 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17343 SRC and DEST against LEN.
17345 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17348 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17350 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17352 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17356 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17359 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17360 for large positive arguments.
17362 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17364 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17366 * math/auto-libm-test-in: Mark various tests with
17367 xfail-rounding:ldbl-128ibm.
17368 * math/auto-libm-test-out: Regenerated.
17371 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17372 Increase overflow threshold.
17374 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17377 * stdio-common/vfprintf.c: Check for integer overflow.
17379 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17381 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17382 the first argument and return value of __tls_get_addr_internal.
17384 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17386 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17387 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17389 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17391 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17392 * sysdeps/s390/rtld-global-offsets.sym: New file.
17393 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17395 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17396 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17397 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17399 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17400 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17406 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17407 halfs of GPRs for high_gprs contexts.
17408 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17409 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17411 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17413 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17415 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17416 for high GPRs (uc_high_gprs) and for future extensions
17418 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17419 for future extensions (__reserved).
17420 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17422 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17423 SC_HIGHGPRS offset definition.
17424 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17425 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17427 * Versions.def: Add GLIBC_2.19 for libpthread.
17428 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17429 siglongjmp for libpthread with GLIBC_2.19 symver.
17430 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17431 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17432 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17433 * sysdeps/s390/__longjmp.c: New file.
17434 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17435 * sysdeps/s390/longjmp.c: New file.
17436 * sysdeps/s390/setjmp.S: New file.
17437 * sysdeps/s390/sigjmp.S: New file.
17438 * sysdeps/s390/v1-longjmp.c: New file.
17439 * sysdeps/s390/v1-setjmp.h: New file.
17440 * sysdeps/s390/v1-sigjmp.c: New file.
17441 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17442 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17443 GLIBC_2.19 version.
17444 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17445 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17446 versioned symbols for ____longjmp_chk.
17447 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17457 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17458 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17459 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17460 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17461 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17462 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17463 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17464 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17465 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17466 * sysdeps/s390/rtld-__longjmp.c: New file.
17467 * sysdeps/s390/rtld-setjmp.S: New file.
17469 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17472 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17473 Return -__logl (x) for small positive arguments without evaluating
17476 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17478 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17480 (__ptrace_peeksiginfo_args): ... this.
17481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17482 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17483 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17485 2014-01-06 Allan McRae <allan@archlinux.org>
17487 * inet/netinet/in.h: Fix typo in comment.
17489 2014-01-05 Andreas Jaeger <aj@suse.de>
17491 * sysdeps/i386/fpu/libm-test-ulps: Update.
17493 2014-01-05 Allan McRae <allan@archlinux.org>
17495 * po/libc.pot: Regenerated.
17497 * malloc/memusagestat.c: Fix gettext call formatting.
17499 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17501 * nscd/nscd.c: Improve usage() output.
17503 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17505 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17506 * sysdeps/unix/sysv/linux/configure: Regenerated.
17507 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17508 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17510 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17513 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17514 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17516 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17518 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17519 extra tokens at end of #undef directive.
17520 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17521 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17522 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17524 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17526 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17528 * math/auto-libm-test-in: Mark various tests with
17529 xfail-rounding:ldbl-128ibm.
17530 * math/auto-libm-test-out: Regenerated.
17532 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17536 numbers with subnormal high part when calculating exponent.
17539 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17543 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17545 (__ieee754_acoshl): Use __log1pl not __log1p.
17547 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17549 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17550 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17551 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17552 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17553 (reused_arena, arena_get2): Convert to GNU style.
17554 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17555 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17556 (memalign_check, __malloc_set_state): Likewise.
17557 * malloc/mallocbug.c (main): Likewise.
17558 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17559 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17560 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17561 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17562 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17563 (__posix_memalign, malloc_info): Likewise.
17564 * malloc/malloc.h: Likewise.
17565 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17566 (mallochook, memalignhook, reallochook, mabort): Likewise.
17567 * malloc/mcheck.h: Likewise.
17568 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17569 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17570 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17571 * malloc/morecore.c (__default_morecore): Likewise.
17572 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17573 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17574 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17575 (print_and_abort): Likewise.
17576 * malloc/obstack.h: Likewise.
17577 * malloc/set-freeres.c (__libc_freeres): Likewise.
17578 * malloc/tst-mallocstate.c (main): Likewise.
17579 * malloc/tst-mtrace.c (main): Likewise.
17580 * malloc/tst-realloc.c (do_test): Likewise.
17582 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17585 * nscd/netgroupcache.c (do_notfound): New function.
17586 (addgetnetgrentX): Use it.
17589 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17590 NSS_STATUS_NOTFOUND.
17592 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17594 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17597 2014-01-01 Allan McRae <allan@archlinux.org>
17599 * scripts/update-copyrights: Update configure input file suffix.
17601 * NEWS: Update copyright year.
17602 * catgets/gencat.c: Likewise.
17603 * csu/version.c: Likewise.
17604 * debug/catchsegv.sh: Likewise.
17605 * debug/pcprofiledump.c: Likewise.
17606 * debug/xtrace.sh: Likewise.
17607 * elf/ldconfig.c: Likewise.
17608 * elf/ldd.bash.in: Likewise.
17609 * elf/pldd.c: Likewise.
17610 * elf/sotruss.ksh: Likewise.
17611 * elf/sprof.c: Likewise.
17612 * iconv/iconv_prog.c: Likewise.
17613 * iconv/iconvconfig.c: Likewise.
17614 * locale/programs/locale.c: Likewise.
17615 * locale/programs/localedef.c: Likewise.
17616 * login/programs/pt_chown.c: Likewise.
17617 * malloc/memusage.sh: Likewise.
17618 * malloc/memusagestat.c: Likewise.
17619 * malloc/mtrace.pl: Likewise.
17620 * manual/libc.texinfo: Likewise.
17621 * nscd/nscd.c: Likewise.
17622 * nss/getent.c: Likewise.
17623 * nss/makedb.c: Likewise.
17624 * posix/getconf.c: Likewise.
17625 * scripts/test-installation.pl: Likewise.
17627 * All files with FSF copyright notices: Update copyright dates
17628 using scripts/update-copyrights.
17629 * intl/plural.c: Regenerated.
17630 * locale/programs/charmap-kw.h: Likewise.
17631 * locale/programs/locfile-kw.h: Likewise.
17633 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17635 * sysdeps/unix/sysv/linux/configure: Regenerated.
17636 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17637 the linux/fanotify.h header.
17638 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17639 HAVE_LINUX_FANOTIFY_H is defined.
17641 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17643 * benchtests/cos-inputs: New inputs.
17644 * benchtests/sin-inputs: Likewise.
17646 * benchtests/atan-inputs: New inputs. Fix name of multiple
17647 precision fallback inputs.
17649 * benchtests/atanh-inputs: New inputs.
17650 * benchtests/tanh-inputs: Likewise.
17652 * benchtests/acosh-inputs: New inputs.
17653 * benchtests/asinh-inputs: Likewise.
17655 * benchtests/cosh-inputs: New inputs.
17656 * benchtests/sinh-inputs: Likewise.
17658 * benchtests/acos-inputs: Add more inputs.
17659 * benchtests/asin-inputs: Likewise.
17661 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17664 * manual/arith.texi: Fix spelling.
17665 * manual/charset.texi: Likewise.
17666 * manual/errno.texi: Likewise.
17667 * manual/filesys.texi: Likewise.
17668 * manual/lang.texi: Likewise.
17669 * manual/llio.texi: Likewise.
17670 * manual/locale.texi: Likewise.
17671 * manual/message.texi: Likewise.
17672 * manual/resource.texi: Likewise.
17673 * manual/search.texi: Likewise.
17674 * manual/setjmp.texi: Likewise.
17675 * manual/stdio.texi: Likewise.
17676 * manual/string.texi: Likewise.
17677 * manual/sysinfo.texi: Likewise.
17678 * manual/time.texi: Likewise.
17680 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17682 * po/sl.po: New file.
17684 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17686 * .gitignore: Add core/.gdbinit/.gdb_history.
17688 2013-12-27 Allan McRae <allan@archlinux.org>
17691 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17692 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17694 2013-12-24 Brooks Moses <bmoses@google.com>
17696 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17697 all compilers that claim C++98 compliance, not just GCC.
17698 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17701 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17703 * NEWS: Restore accidentally deleted bug-fix entries.
17705 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17706 Ondřej Bílka <neleai@seznam.cz>
17709 * malloc/malloc.c (_int_free): Perform sanity check only if we
17712 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17715 * manual/stdio.texi (String Input Conversions): Clarify that character
17716 classes are not supported.
17718 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17722 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17725 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17726 Calculate results for small negative arguments directly rather
17727 than using reflection formula with special underflow handling.
17729 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17730 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17731 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17732 (fchflags): Likewise.
17733 (revoke): Likewise.
17734 (setlogin): Likewise.
17735 (sigaltstack): Likewise.
17737 (sigblock): Remove.
17738 (sigsetmask): Likewise.
17740 (waitpid): Likewise.
17741 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17742 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17744 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17745 * sysdeps/unix/bsd/Makefile: ... here.
17746 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17747 * sysdeps/unix/bsd/Versions: ... here.
17748 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17749 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17750 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17751 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17752 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17753 * sysdeps/unix/bsd/sigblock.c: ... here.
17754 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17755 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17756 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17757 * sysdeps/unix/bsd/sigvec.c: ... here.
17758 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17759 * sysdeps/unix/bsd/tcdrain.c: ... here.
17760 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17761 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17762 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17763 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17764 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17765 * sysdeps/unix/bsd/wait.c: ... here.
17766 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17767 * sysdeps/unix/bsd/wait3.c: ... here.
17768 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17769 * sysdeps/unix/bsd/waitpid.c: ... here.
17771 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17774 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17775 round-to-nearest for [!USE_AS_EXPM1L].
17776 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17777 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17778 more tests of exp and exp10. Expect some exp10 tests to miss
17779 exceptions or fail in directed rounding modes.
17780 * math/auto-libm-test-out: Regenerated.
17781 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17782 (exp10_test_tonearest): New function.
17783 (exp10_towardzero_test_data): New array.
17784 (exp10_test_towardzero): New function.
17785 (exp10_downward_test_data): New array.
17786 (exp10_test_downward): New function.
17787 (exp10_upward_test_data): New array.
17788 (exp10_test_upward): New function.
17789 (main): Call the new functions.
17790 * sysdeps/i386/fpu/libm-test-ulps: Update.
17791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17793 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17795 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17796 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17797 * math/auto-libm-test-out: Regenerated.
17798 * math/libm-test.inc (acosh_test_data): Add more tests.
17799 (atanh_test_data): Likewise.
17800 (ceil_test_data): Likewise.
17801 (copysign_test_data): Likewise.
17802 * sysdeps/i386/fpu/libm-test-ulps: Update.
17803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17805 * timezone/checktab.awk: Update from tzcode 2013i.
17806 * timezone/private.h: Likewise.
17807 * timezone/scheck.c: Likewise.
17808 * timezone/tzfile.h: Likewise.
17809 * timezone/tzselect.ksh: Likewise.
17810 * timezone/zdump.c: Likewise.
17811 * timezone/zic.c: Likewise.
17813 * math/auto-libm-test-in: Add tests of cpow.
17814 * math/auto-libm-test-out: Regenerated.
17815 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17816 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17818 (func_calc_desc): Add mpc_cc_c union field.
17819 (test_functions): Add cpow.
17820 (special_fill_2pi): New function.
17821 (special_real_inputs): Add 2pi.
17822 (calc_generic_results): Handle mpc_cc_c.
17823 * sysdeps/i386/fpu/libm-test-ulps: Update.
17824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17826 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17827 csqrt, ctan and ctanh.
17828 * math/auto-libm-test-out: Regenerated.
17829 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17830 (TEST_COND_x86): Likewise.
17831 (ccos_test_data): Use AUTO_TESTS_c_c.
17832 (ccosh_test_data): Likewise.
17833 (cexp_test_data): Likewise.
17834 (clog_test_data): Likewise.
17835 (csqrt_test_data): Likewise.
17836 (ctan_test_data): Likewise.
17837 (ctan_tonearest_test_data): Likewise.
17838 (ctan_towardzero_test_data): Likewise.
17839 (ctan_downward_test_data): Likewise.
17840 (ctan_upward_test_data): Likewise.
17841 (ctanh_test_data): Likewise.
17842 (ctanh_tonearest_test_data): Likewise.
17843 (ctanh_towardzero_test_data): Likewise.
17844 (ctanh_downward_test_data): Likewise.
17845 (ctanh_upward_test_data): Likewise.
17846 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17848 (func_calc_desc): Add mpc_c_c union field.
17849 (FUNC_mpc_c_c): New macro.
17850 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17851 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17853 (special_fill_min_subnorm_p120): New function.
17854 (special_real_inputs): Add min_subnorm_p120.
17855 (calc_generic_results): Handle mpc_c_c.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17859 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17861 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17862 (do_sin_slow): New functions.
17863 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17864 (cslow2, csloww1, csloww2): Use the new functions.
17866 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17867 Use M to change sign of result instead of X. Assume X is
17869 (csloww1): Likewise.
17873 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17874 arguments A and DA.
17878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17880 (sloww1): Don't adjust sign of DX.
17881 (csloww1): Likewise.
17882 (sloww2): Use X directly and don't adjust sign of DX.
17883 (csloww2): Likewise.
17885 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17887 * math/auto-libm-test-in: Add tests of cabs and carg.
17888 * math/auto-libm-test-out: Regenerated.
17889 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17890 (carg_test_data): Likewise.
17891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17893 (func_calc_desc): Add mpc_c_f union field.
17894 (test_functions): Add cabs and carg.
17895 (calc_generic_results): Handle mpc_c_f.
17897 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17898 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17899 as a macro and a compat symbol.
17900 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17901 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17902 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17903 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17904 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17909 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17917 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17918 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17921 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17925 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17927 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17928 trailing whitespace removed.
17929 * scripts/config.guess: Update to version 2013-11-29.
17930 * scripts/config.sub: Update to version 2013-10-01.
17932 * math/auto-libm-test-in: Add tests of sincos.
17933 * math/auto-libm-test-out: Regenerated.
17934 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17935 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17937 (func_calc_desc): Add mpfr_f_11 union field.
17938 (test_functions): Add sincos.
17939 (calc_generic_results): Handle mpfr_f_11.
17940 * sysdeps/i386/fpu/libm-test-ulps: Update.
17941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17943 2013-12-19 Andreas Schwab <schwab@suse.de>
17945 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17947 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17948 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17949 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17951 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17953 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17954 * sysdeps/i386/fpu/libm-test-ulps: Update.
17955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17958 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17959 round-to-nearest mode when using frndint.
17960 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17961 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17962 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17964 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17966 * math/auto-libm-test-out: Regenerated.
17967 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17968 (TEST_COND_x86): Likewise.
17969 (expm1_tonearest_test_data): New array.
17970 (expm1_test_tonearest): New function.
17971 (expm1_towardzero_test_data): New array.
17972 (expm1_test_towardzero): New function.
17973 (expm1_downward_test_data): New array.
17974 (expm1_test_downward): New function.
17975 (expm1_upward_test_data): New array.
17976 (expm1_test_upward): New function.
17977 (main): Run the new test functions.
17978 * sysdeps/i386/fpu/libm-test-ulps: Update.
17979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17981 * include/features.h: Update comment documenting feature test
17982 macros. Mention _DEFAULT_SOURCE in comment.
17983 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17984 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17985 _BSD_SOURCE and _SVID_SOURCE.
17986 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17987 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17988 !_SVID_SOURCE]: Likewise.
17989 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17990 (__USE_POSIX_IMPLICITLY): Define.
17991 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17992 (_POSIX_SOURCE): Undefine and redefine.
17993 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17994 (_POSIX_C_SOURCE): Likewise.
17995 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17996 (Feature Test Macros): Update documentation of default features.
17998 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18000 * benchtests/Makefile: Add bench-strtok.
18001 * benchtests/bench-strtok.c: New file: strtok benchtest.
18003 2013-12-19 Allan McRae <allan@archlinux.org>
18005 * manual/install.texi: Suppress menu for plain text output.
18006 * INSTALL: Regenerated.
18008 2013-12-18 Brooks Moses <bmoses@google.com>
18011 * misc/getauxval.c: Include errno.h.
18012 (__getauxval): Set errno to ENOENT if the requested type is not
18014 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18015 don't declare with __attribute_const__.
18016 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18017 * manual/startup.texi: Document that getauxval sets errno.
18019 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18021 * math/auto-libm-test-in: Add tests of jn and yn.
18022 * math/auto-libm-test-out: Regenerated.
18023 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18024 (yn_test_data): Likewise.
18025 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18027 (func_calc_desc): Add mpfr_if_f union field.
18028 (FUNC_mpfr_if_f): New macro.
18029 (test_functions): Add jn and yn.
18030 (calc_generic_results): Assert type of second input for
18031 mpfr_ff_f. Handle mpfr_if_f.
18032 (output_for_one_input_case): Disable all checking for arguments
18033 fitting floating-point types in case of an integer argument.
18034 * sysdeps/i386/fpu/libm-test-ulps: Update.
18035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18038 Don't expect fegetround reference in libm.so.
18040 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18042 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18043 $(config-cflags-nofma).
18045 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18047 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18048 * math/auto-libm-test-out: Regenerated.
18051 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18052 to determine exponent and adjust argument to have exponent of -1.
18053 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18055 * math/auto-libm-test-out: Regenerated.
18056 * sysdeps/i386/fpu/libm-test-ulps: Update.
18057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18061 * manual/probes.texi: Remove cases when per-thread arenas are
18064 2013-12-18 Andreas Schwab <schwab@suse.de>
18066 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18067 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18068 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18069 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18070 * sysdeps/i386/i686/multiarch/Makefile: Update.
18071 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18073 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18075 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18076 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18078 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18081 Support TZ transition times < 00:00:00.
18082 This is needed for version-3 tz-format files; it supports time
18083 stamps past 2037 for America/Godthab (the only entry in the tz
18084 database for which this change is relevant).
18085 * manual/time.texi (TZ Variable): Document transition times
18086 from -167:59:59 through -00:00:01.
18087 * time/tzset.c (tz_rule): Time of day is now signed.
18088 (__tzset_parse_tz): Parse negative time of day.
18090 Document TZ transition times >= 25:00:00.
18091 * manual/time.texi (TZ Variable): Document transition times from
18092 25:00:00 through 167:59:59. These are already supported, and this
18093 support will help with version-3 tz-format files.
18095 * manual/time.texi (TZ Variable): Modernize North America example
18096 to reflect current (i.e., 2007-and-later) daylight saving rules.
18098 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18100 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18102 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18103 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18106 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18107 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18108 * sysdeps/unix/bsd/clock.c: Likewise.
18109 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18110 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18111 * sysdeps/unix/bsd/init-posix.c: Likewise.
18112 * sysdeps/unix/bsd/poll.c: Likewise.
18113 * sysdeps/unix/bsd/ptsname.c: Likewise.
18114 * sysdeps/unix/bsd/seekdir.c: Likewise.
18115 * sysdeps/unix/bsd/setegid.c: Likewise.
18116 * sysdeps/unix/bsd/seteuid.c: Likewise.
18117 * sysdeps/unix/bsd/setgid.c: Likewise.
18118 * sysdeps/unix/bsd/setrgid.c: Likewise.
18119 * sysdeps/unix/bsd/setruid.c: Likewise.
18120 * sysdeps/unix/bsd/setsid.c: Likewise.
18121 * sysdeps/unix/bsd/setuid.c: Likewise.
18122 * sysdeps/unix/bsd/sigaction.c: Likewise.
18123 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18124 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18125 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18126 * sysdeps/unix/bsd/telldir.c: Likewise.
18127 * sysdeps/unix/bsd/times.c: Likewise.
18128 * sysdeps/unix/bsd/usleep.c: Likewise.
18130 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18131 ($(objpfx)libbsd-compat.a): Remove rule.
18133 * include/features.h (__FAVOR_BSD): Do not define.
18134 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18135 features conflicting with POSIX.
18136 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18137 (_BSD_SOURCE): Remove description of not being a subset of other
18138 feature test macros.
18139 * manual/job.texi (getpgrp): Do not document BSD version.
18140 (getpgid): Do not document by reference to BSD getpgrp.
18141 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18142 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18143 * signal/signal.h [__FAVOR_BSD]: Likewise.
18144 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18145 instead of making contents conditional on [__FAVOR_BSD].
18146 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18148 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18152 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18155 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18156 values below 2**-450, not 2**-500.
18157 * math/auto-libm-test-in: Don't allow spurious underflow from
18159 * math/auto-libm-test-out: Regenerated.
18163 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18164 values of ha and hb and sort them after adjusting subnormal
18166 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18168 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18169 values of ea and eb and sort them after adjusting subnormal
18171 * math/auto-libm-test-in: Do not expect some hypot tests of
18172 subnormals to fail. Add more hypot tests.
18173 * math/auto-libm-test-out: Regenerated.
18175 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18178 * sysdeps/sh/s_fma.c: New file.
18179 * sysdeps/sh/s_fmaf.c: New file.
18180 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18182 * sysdeps/sh/Implies: Add sh/soft-fp.
18184 2013-12-16 Roland McGrath <roland@hack.frob.com>
18186 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18187 level of indirection to members `objname', `errstring', `malloced'.
18188 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18189 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18190 it as the __longjmp argument (just pass 1 instead).
18191 (_dl_catch_error): Initialize C with argument pointers and address of
18192 volatile local ERRCODE rather than copying values out of C at return.
18194 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18196 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18197 * math/auto-libm-test-out: Regenerated.
18198 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18199 (hypot_test_data): Likewise.
18200 (pow_test_data): Likewise.
18201 (pow_tonearest_test_data): Likewise.
18202 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18204 (func_calc_desc): Add mpfr_ff_f union field.
18205 (FUNC_mpfr_ff_f): New macro.
18206 (test_functions): Add atan2, hypot and pow.
18207 (special_fill_min): New function.
18208 (special_fill_minus_min): Likewise.
18209 (special_fill_min_subnorm): Likewise.
18210 (special_fill_minus_min_subnorm): Likewise.
18211 (special_real_inputs): Add min, -min, min_subnorm and
18213 (calc_generic_results): Handle mpfr_ff_f.
18214 * sysdeps/i386/fpu/libm-test-ulps: Update.
18215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18217 2013-12-16 Will Newton <will.newton@linaro.org>
18219 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18220 (Aligned Memory Blocks): Add documentation for aligned_alloc
18221 and suggest it as an alternative to posix_memalign.
18222 (Hooks for Malloc): Document __memalign_hook is also called
18223 for aligned_alloc. (Summary of Malloc): Add summary for
18224 aligned alloc. Document __memalign_hook is also called
18227 2013-12-16 Will Newton <will.newton@linaro.org>
18229 * manual/memory.texi (Malloc Examples): Clarify default
18230 alignment documentation. Suggest posix_memalign rather
18231 than memalign or valloc.
18232 (Aligned Memory Blocks): Remove suggestion to use memalign
18233 or valloc. Remove obsolete comment about BSD.
18234 Document memalign errno values and mark the function obsolete.
18235 Document posix_memalign returned error codes. Mark valloc
18236 as obsolete. (Hooks for Malloc): __memalign_hook is also
18237 called for posix_memalign and valloc.
18238 (Summary of Malloc): Add posix_memalign to function summary.
18239 __memalign_hook is also called for posix_memalign and valloc.
18241 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18243 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18247 (sloww): Use mynumber union. Expand ternary operator into
18248 if-else statements.
18249 (cslow): use mynumber union.
18251 2013-12-16 Allan McRae <allan@archlinux.org>
18253 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18254 * configure: Regenerated.
18256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18259 * configure.ac: Added --enable-maintainer-mode. Check for
18260 autoconf when enabled.
18261 * configure: Regenerated.
18263 * nscd/nscd.service: New file.
18264 * nscd/nscd.tmpfiles: New file.
18266 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18269 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18270 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18271 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18272 (strstr): Add __strstr_sse2_unaligned ifunc.
18273 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18274 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18275 (strcasestr): Remove __strcasestr_sse42 ifunc.
18276 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18280 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18282 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18283 * sysdeps/sh/bits/fenv.h: ... here.
18284 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18286 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18288 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18291 hypotf multiarch implementations.
18292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18295 multiarch hypot for PPC64.
18296 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18297 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18299 multiarch hypotf for PPC64.
18301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18302 modff multiarch implementations.
18303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18306 multiarch modf for PPC64.
18307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18310 multiarch modff for PPC64.
18312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18313 and logl multiarch implementations.
18314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18317 multiarch logb for PPC64.
18318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18321 multiarch logb for PPC64.
18322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18325 multiarch logb for PPC64.
18327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18328 isinff multiarch implementation.
18329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18333 multiarch isinf for PPC64.
18334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18337 multiarch isinff for PPC64.
18339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18340 finitef multiarch implementation.
18341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18345 multiarch finite for PPC64.
18346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18349 multiarch finitef for PPC64.
18351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18352 lrint multiarch implementation.
18353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18357 multiarch llrint for PPC64.
18358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18359 multiarch lrint for PPC64.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18362 copysignf multiarch implementation.
18363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18368 multiarch copysign for PPC64.
18369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18370 multiarch copysignf for PPC64.
18372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18373 multiarch implementation.
18374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18382 multiarch llround for PPC64.
18383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18384 multiarch trunc for PPC64.
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18386 multiarch truncf for PPC64.
18388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18389 multiarch implementation.
18390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18398 multiarch llround for PPC64.
18399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18400 multiarch round for PPC64.
18401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18402 multiarch roundf for PPC64.
18404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18405 multiarch implementation.
18406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18414 multiarch llround for PPC64.
18415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18416 multiarch floor for PPC64.
18417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18418 multiarch floorf for PPC64.
18420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18421 multiarch implementation.
18422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18430 multiarch llround for PPC64.
18431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18432 multiarch ceil for PPC64.
18433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18434 multiarch ceilf for PPC64.
18436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18437 multiarch implementation.
18438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18445 multiarch llround for PPC64.
18446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18447 multiarch lround for PPC64.
18449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18450 multiarch implementation.
18451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18458 multiarch isnan for PPC64.
18459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18460 multiarch isnanf for PPC64.
18462 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18463 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18464 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18465 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18466 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18469 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18470 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18472 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18475 multiarch implementations.
18476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18477 (__libc_ifunc_impl_list): Likewise.
18478 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18479 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18480 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18481 multiarch stpcpy for PPC64.
18483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18484 multiarch implementations.
18485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18486 (__libc_ifunc_impl_list): Likewise.
18487 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18488 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18489 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18490 multiarch strcpy for PPC64.
18492 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18493 redefine function name.
18494 (_wordcopy_fwd_dest_aligned): Likewise.
18495 (_wordcopy_bwd_aligned): Likewise.
18496 (_wordcopy_bwd_dest_aligned): Likewise.
18497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18498 multiarch implementations.
18499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18500 (__libc_ifunc_impl_list): Likewise.
18501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18502 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18503 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18504 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18505 multiarch wcscpy for PPC64.
18507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18508 multiarch implementations.
18509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18510 (__libc_ifunc_impl_list): Likewise.
18511 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18513 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18514 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18515 multiarch wcscpy for PPC64.
18517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18518 multiarch implementations.
18519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18520 (__libc_ifunc_impl_list): Likewise.
18521 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18522 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18523 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18524 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18525 multiarch wcsrchr for PPC64.
18527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18528 multiarch implementations.
18529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18530 (__libc_ifunc_impl_list): Likewise.
18531 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18532 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18534 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18535 multiarch wcschr for PPC64.
18537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18538 multiarch implementations.
18539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18540 (__libc_ifunc_impl_list): Likewise.
18541 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18542 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18543 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18544 multiarch strchrnul for PPC64.
18546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18549 (__libc_ifunc_impl_list): Likewise.
18550 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18551 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18552 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18553 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18559 (__libc_ifunc_impl_list): Likewise.
18560 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18562 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18563 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18567 multiarch implementations.
18568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18569 (__libc_ifunc_impl_list): Likewise.
18570 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18571 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18572 strncasecmp for PPC64.
18573 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18574 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18575 multiarch strncasecmp_l for PPC64.
18577 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18578 multiarch implementations.
18579 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18580 (__libc_ifunc_impl_list): Likewise.
18581 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18583 multiarch strcasecmp for PPC64.
18584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18586 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18587 multiarch strcasecmp_l for PPC64.
18589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18592 (__libc_ifunc_impl_list): Likewise.
18593 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18594 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18595 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18601 (__libc_ifunc_impl_list): Likewise.
18602 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18603 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18604 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18610 (__libc_ifunc_impl_list): Likewise.
18611 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18612 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18613 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18614 rawmemrchr for PPC64.
18616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18619 (__libc_ifunc_impl_list): Likewise.
18620 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18621 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18622 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18628 (__libc_ifunc_impl_list): Likewise.
18629 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18630 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18631 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18637 (__libc_ifunc_impl_list): Likewise.
18638 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18639 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18640 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18643 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18644 avoid cretion of __bzero symbol.
18645 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18647 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18649 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18652 multiarch implementations.
18653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18654 (__libc_ifunc_impl_list): Likewise.
18655 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18656 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18657 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18658 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18660 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18661 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18662 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18663 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18664 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18666 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18668 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18672 (__libc_ifunc_impl_list): Likewise.
18673 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18674 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18675 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18676 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18680 multiarch for POWER/PPC64.
18681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18682 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18685 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18686 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18687 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18688 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18689 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18692 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18693 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18694 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18695 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18696 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18697 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18698 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18699 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18700 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18701 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18702 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18703 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18704 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18705 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18706 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18715 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18717 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18719 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18721 * benchtests/Makefile (bench): Add exp2 and log2.
18722 (LDLIBS-bench-exp2): Add -lm.
18723 (LDLIBS-bench-log2): Likewise.
18724 * benchtests/exp2-inputs: New inputs file.
18725 * benchtests/log2-inputs: New inputs file.
18726 * benchtests/log-inputs: Add new inputs.
18727 * benchtests/tan-inputs: Likewise.
18729 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18731 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18733 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18734 (csloww2): ... from here.
18736 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18737 instead of structures.
18738 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18739 (POLYNOMIAL): Likewise.
18740 (TAYLOR_SLOW): Likewise.
18746 (sloww1); Likewise.
18747 (sloww2): Likewise.
18748 (bsloww1): Likewise.
18749 (bsloww2): Likewise.
18750 (cslow2): Likewise.
18751 (csloww): Likewise.
18752 (csloww1): Likewise.
18753 (csloww2): Likewise.
18755 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18757 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18758 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18759 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18760 * malloc/hooks.c (realloc_check): Likewise.
18762 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18763 * malloc/arena.c: Remove PER_THREAD conditional.
18764 [!PER_THREAD]: Remove code.
18765 (ptmalloc_unlock_all2): Likewise.
18766 (ptmalloc_init): Likewise.
18767 (_int_new_arena): Likewise.
18768 (arena_get2): Likewise.
18769 * malloc/hooks.c (__malloc_get_state): Likewise.
18770 (__malloc_set_state): Likewise.
18771 * malloc/malloc.c: Likewise.
18772 (struct malloc_state): Likewise.
18773 (struct malloc_par): Likewise.
18774 (__libc_realloc): Likewise.
18775 (__libc_mallopt): Likewise.
18777 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18779 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18781 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18783 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18784 macro to a function. Check for zero perturb_byte.
18785 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18787 * malloc/malloc.c: (force_reg): Remove.
18788 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18789 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18790 force_reg by atomic_forced_read.
18791 * malloc/arena.c (ptmalloc_init): Likewise.
18792 * malloc/hooks.c (top_check): Likewise.
18794 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18798 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18802 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18804 * math/auto-libm-test-in: Add tests of lgamma.
18805 * math/auto-libm-test-out: Regenerated.
18806 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18807 (M_LOG_2_SQRT_PIl): Likewise.
18808 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18809 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18811 (func_calc_desc): Add mpfr_f_f1 union field.
18812 (ARGS1): New macro.
18820 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18821 (test_functions): Add lgamma.
18822 (calc_generic_results): Handle mpfr_f_f1.
18823 * sysdeps/i386/fpu/libm-test-ulps: Update.
18824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18826 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18828 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18829 __mpn_add_n for PowerPC64/POWER7.
18830 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18831 __mpn_sub_n for PowerPC64/POWER7.
18833 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18834 __mpn_addmul_1 for PowerPC64.
18835 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18836 __mpn_submul_1 for PowerPC64.
18837 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18839 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18842 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18845 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18847 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18849 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18851 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18852 add multiarch folders.
18853 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18854 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18855 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18856 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18857 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18858 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18859 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18860 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18861 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18862 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18863 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18872 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18878 multiarch __ieee754_hypot for PowerPC32.
18879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18884 multiarch __ieee754_hypotf for PowerPC32.
18886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18887 long_double_symbol only if __logbl is defined.
18888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18889 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18891 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18892 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18893 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18895 path for implementation.
18896 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18897 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18899 logb, and logbl multiarch implementations for PowerPC32.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18905 multiarch logb for PowerPC32.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18911 multiarch logbf for PowerPC32.
18912 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18916 multiarch logbl implementation for PowerPC32.
18918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18919 and modff multiarch implementations.
18920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18925 multiarch modf for PowerPC32.
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18931 multiarch modff for PowerPC32.
18933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18934 and lrintf multiarch implementations.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18940 multiarch lrint for PowerPC32.
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18942 file: multiarch lrintf for PowerPC32.
18944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18945 and lroundf multiarch implementations.
18946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18953 multiarch lround for PowerPC32.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18955 file: multiarch lroundf for PowerPC32.
18957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18958 copysign and copysignf multiarch implementations.
18959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18964 file: multiarch copysign for PowerPC32.
18965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18966 file: multiarch copysignf for PowerPC32.
18968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18969 and truncf multiarch implementations.
18970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18975 multiarch trunc for PowerPC32.
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18981 multiarch truncf for PowerPC32.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18984 and roundf multiarch implementations.
18985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18990 multiarch round for PowerPC32.
18991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18996 multiarch roundf for PowerPC32.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18999 and floorf multiarch implementations.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19005 multiarch floor for PowerPC32.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19011 multiarch floorf for PowerPC32.
19013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19014 and ceilf multiarch implementations.
19015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19020 multiarch ceil for PowerPC32.
19021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19026 multiarch ceilf for PowerPC32.
19028 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19030 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19031 FINITEF is defined.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19033 and finitef multiarch implementations.
19034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19039 multiarch finite for PowerPC32.
19040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19043 file: multiarch finitef for PowerPC32.
19045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19046 and isinff multiarch implementations.
19047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19052 multiarch isinf for PowerPC32.
19053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19056 multiarch isinff for PowerPC32.
19058 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19059 alias when __isnan is defined.
19060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19061 and isnanf multiarch implementations.
19062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19071 multiarch isnan for PowerPC32.
19072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19077 multiarch isnanf for PowerPC32.
19079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19080 and sqrtf multiarch implementations.
19081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19086 multiarch sqrt for PowerPC32.
19087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19092 multiarch sqrtf for PowerPC32.
19094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19095 and llroundf multiarch implementations.
19096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19103 file: multiarch llround for PowerPC32.
19104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19105 file: multiarch llroundf for PowerPC32.
19107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19108 multiarch PowerPC32 fpu implementations.
19109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19114 multiarch llrint for PowerPC32.
19115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19124 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19126 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19128 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19130 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19131 multiarch wordcopy for PPC32.
19132 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19134 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19135 (__libc_ifunc_impl_list): Likewise.
19136 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19137 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19139 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19140 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19141 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19143 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19151 multiarch wcscpy for PPC32.
19152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19155 (__libc_ifunc_impl_list): Likewise.
19156 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19157 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19158 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19159 sysdeps/powerpc/power6/wcscpy.c.
19161 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19169 multiarch wcsrchr for PPC32.
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19173 (__libc_ifunc_impl_list): Likewise.
19174 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19175 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19176 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19177 sysdeps/powerpc/power6/wcsrchr.c.
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19184 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19185 multiarch wcschr for PPc32.
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19189 (__libc_ifunc_impl_list): Likewise.
19190 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19191 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19192 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19193 sysdeps/powerpc/power6/wcschr.c.
19195 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19199 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19200 file: multiarch strchr for PPC32.
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19204 (__libc_ifunc_impl_list): Likewise.
19206 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19208 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19213 multiarch strchrnul for PPC32.
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19217 (__libc_ifunc_impl_list): Likewise.
19219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19222 multiarch strncasecmp for PPC32.
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19226 multiarch strncasecmp_l for PPC32.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19228 strncasecmp multiarch objects.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19230 (__libc_ifunc_impl_list): Likewise.
19232 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19235 multiarch strncasecmp for PPC32.
19236 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19238 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19239 multiarch strcasecmp_l for PPC32.
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19243 (__libc_ifunc_impl_list): Likewise.
19245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19247 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19250 multiarch strncmp for PPC32.
19251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19254 (__libc_ifunc_impl_list): Likewise.
19256 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19257 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19259 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19260 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19264 (__libc_ifunc_impl_list): Likewise.
19266 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19268 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19270 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19274 (__libc_ifunc_impl_list): Likewise.
19276 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19278 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19280 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19281 multiarch rawmemchr for PPC32.
19282 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19284 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19285 (__libc_ifunc_impl_list): Likewise.
19287 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19289 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19291 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19292 file: memrchr multiarch for PPC32.
19293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19296 (__libc_ifunc_impl_list): Likewise.
19298 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19299 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19301 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19302 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19303 multiarch memchr for PPC32.
19304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19307 (__libc_ifunc_impl_list): Likewise.
19309 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19312 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19314 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19315 file: multiarch mempcpy for PPC32.
19316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19319 (__libc_ifunc_impl_list): Likewise.
19321 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19322 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19323 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19324 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19325 multiarch bzero for PPC32.
19326 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19328 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19330 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19331 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19332 file: multiarch memset for PPC32.
19333 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19335 memset multiarch objects.
19336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19337 (__libc_ifunc_impl_list): Likewise.
19339 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19341 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19342 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19344 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19348 (__libc_ifunc_impl_list): Likewise.
19350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19351 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19359 multiarch memcpy for PPC32.
19360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19363 (__libc_ifunc_impl_list): Likewise.
19365 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19366 support multiarch for POWER/PPC32.
19367 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19369 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19371 Implies file to make multiarch folder appers before the fpu and
19372 default folder for power4 configuration.
19374 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19376 * scripts/bench.pl: Append volatile keyword to type.
19378 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19380 * sysdeps/sh/sotruss-lib.c: New file.
19381 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19383 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19387 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19390 * math/w_tgamma.c: Include <errno.h>.
19391 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19392 * math/w_tgammaf.c: Include <errno.h>.
19393 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19394 * math/w_tgammal.c: Include <errno.h>.
19395 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19396 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19397 underflow. Add more tgamma tests.
19398 * math/auto-libm-test-out: Regenerated.
19399 * sysdeps/i386/fpu/libm-test-ulps: Update.
19400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19402 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19403 sin, sinh, tan, tanh, tgamma, y0 and y1.
19404 * math/auto-libm-test-out: Regenerated.
19405 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19406 (TEST_COND_x86): Likewise.
19407 (M_E2l): Remove macro.
19409 (M_2_SQRT_PIl): Likewise.
19410 (M_SQRT_PIl): Likewise.
19411 (M_1_DIV_El): Likewise.
19412 (log_test_data): Use AUTO_TESTS_f_f.
19413 (log10_test_data): Likewise.
19414 (log1p_test_data): Likewise.
19415 (log2_test_data): Likewise.
19416 (sin_test_data): Likewise.
19417 (sin_tonearest_test_data): Likewise.
19418 (sin_towardzero_test_data): Likewise.
19419 (sin_downward_test_data): Likewise.
19420 (sin_upward_test_data): Likewise.
19421 (sinh_test_data): Likewise.
19422 (sinh_tonearest_test_data): Likewise.
19423 (sinh_towardzero_test_data): Likewise.
19424 (sinh_downward_test_data): Likewise.
19425 (sinh_upward_test_data): Likewise.
19426 (tan_test_data): Likewise.
19427 (tan_tonearest_test_data): Likewise.
19428 (tan_towardzero_test_data): Likewise.
19429 (tan_downward_test_data): Likewise.
19430 (tan_upward_test_data): Likewise.
19431 (tanh_test_data): Likewise.
19432 (tgamma_test_data): Likewise.
19433 (y0_test_data): Likewise.
19434 (y1_test_data): Likewise.
19435 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19436 (special_real_inputs): Add pi/4.
19437 * sysdeps/i386/fpu/libm-test-ulps: Update.
19438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19442 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19443 "longjmp_target" static probes.
19444 (__longjmp): Rename to __longjmp_symbol.
19445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19446 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19447 on which longjmp to generate.
19448 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19449 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19451 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19452 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19453 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19454 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19455 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19456 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19458 __longjmp_symbol based on which __longjmp to generate.
19459 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19461 (setjmp): Rename to setjmp_symbol.
19462 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19463 (_setjmp): Rename to _setjmp_symbol.
19464 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19465 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19466 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19467 which setjmp to generate.
19468 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19469 "longjmp_target" static probes.
19471 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19473 * benchtests/README: Add note about output arguments.
19474 * benchtests/bench-sincos.c: Remove file.
19475 * benchtests/sincos-inputs: New file.
19476 * scripts/bench.pl: Identify output arguments and define
19477 static variables for them.
19479 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19482 * Makefile (INSTALL): Add install-plain.texi as the primary
19484 * manual/install-plain.texi: New file.
19485 * manual/install.texi: Include node directive only for
19486 non-plaintext output.
19488 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19490 * stdlib/longlong.h: Update from GCC.
19494 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19495 * math/w_j0f.c (y0f): Likewise.
19496 * math/w_j0l.c (__y0l): Likewise.
19497 * math/w_j1.c (y1): Likewise.
19498 * math/w_j1f.c (y1f): Likewise.
19499 * math/w_j1l.c (__y1l): Likewise
19500 * math/w_jn.c (yn): Likewise.
19501 * math/w_jnf.c (ynf): Likewise.
19502 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19503 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19504 value for Bessel function domain errors outside _SVID_ mode.
19505 Adjust sign of return value for yn (negative integer, 0).
19506 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19507 by zero in return for negative x and set sign appropriately for
19509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19510 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19511 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19512 expectations in error cases.
19513 (y1_test_data): Likewise.
19514 (yn_test_data): Likewise.
19515 * sysdeps/i386/fpu/libm-test-ulps: Update.
19516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19520 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19521 "64" to "64-v1". Add "64-v2".
19522 (abi-64-options): Rename to ...
19523 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19524 (abi-64-condition): Rename to ...
19525 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19526 (abi-64-ld-soname): Rename to ...
19527 (abi-64-v1-ld-soname): ... this.
19528 (abi-64-v2-options): Define.
19529 (abi-64-v2-condition): Likewise.
19530 (abi-64-v2-ld-soname): Likewise.
19531 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19532 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19537 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19538 Alan Modra <amodra@gmail.com>
19540 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19541 New versions for use with the ELFv2 ABI.
19542 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19543 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19545 (struct La_ppc64v2_retval): Likewise.
19546 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19547 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19548 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19549 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19550 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19551 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19552 Do not save or restore CR.
19553 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19554 (_dl_profile_resolve): Do no save or restore CR. Support extended
19555 return values for ELFv2 ABI. Fix location of FPR return registers.
19556 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19557 updated values for _CALL_ELF == 2.
19558 (La_regs, La_retval, int_retval): Likewise.
19560 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19562 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19563 (FRAME_MIN_SIZE_PARM): Likewise.
19564 (FRAME_BACKCHAIN): Likewise.
19565 (FRAME_CR_SAVE): Likewise.
19566 (FRAME_LR_SAVE): Likewise.
19567 (FRAME_TOC_SAVE): Likewise.
19568 (FRAME_PARM_SAVE): Likewise.
19569 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19570 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19571 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19572 (call_mcount_parm_offset): New macro.
19573 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19574 (PROF): Use symbolic stack frame offsets.
19575 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19576 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19577 Redefine in terms of FRAME_MIN_SIZE.
19578 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19579 (_dl_profile_resolve): Likewise. Update comment.
19580 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19581 symbols stack frame offsets.
19582 (__sigsetjmp): Likewise.
19583 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19584 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19585 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19586 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19589 (FRAME_BACKCHAIN): Remove.
19590 (FRAME_CR_SAVE): Likewise.
19591 (FRAME_LR_SAVE): Likewise.
19592 (FRAME_COMPILER_DW): Likewise.
19593 (FRAME_LINKER_DW): Likewise.
19594 (FRAME_TOC_SAVE): Likewise.
19595 (FRAME_PARM_SAVE): Likewise.
19596 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19597 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19598 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19600 (CHECK_SP): Use symbolic stack frame offsets.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19602 zone" instead of caller's parameter save area for temp storage.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19604 Likewise. Also, use symbolic stack frame offsets.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19606 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19607 our own stack frame instead of the caller's.
19608 (__socket): Use symbolic stack frame offsets.
19610 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19611 Alan Modra <amodra@gmail.com>
19613 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19615 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19616 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19617 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19619 (elf_machine_fixup_plt): Call it.
19620 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19622 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19623 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19624 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19625 r2 before calling target.
19627 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19628 Alan Modra <amodra@gmail.com>
19630 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19631 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19632 versions of macros to support ELFv2 ABI.
19633 (LOCALENTRY): New macro.
19634 (ENTRY, EALIGN): Use it.
19635 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19636 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19637 fall through into ENTRY entry point.
19638 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19639 Only define if _CALL_ELF != 2.
19641 (elf_machine_matches_host): Verify ABI version matches.
19642 (RTLD_START): Use LOCALENTRY.
19643 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19644 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19645 (PLT_ENTRY_WORDS): New macro.
19646 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19647 (elf_machine_runtime_setup): Support ELFv2 ABI.
19648 (elf_machine_fixup_plt): Likewise.
19649 (elf_machine_plt_conflict): Likewise.
19650 (resolve_ifunc): Likewise.
19651 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19652 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19655 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19657 (makecontext): Support ELFv2 ABI.
19658 * elf/elf.h (EF_PPC64_ABI): Define.
19660 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19662 * sysdeps/powerpc/powerpc64/sysdep.h
19663 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19664 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19665 (ENTRY) [ASSEMBLER]: ... but instead here ...
19666 (EALIGN) [ASSEMBLER]: ... and here.
19667 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19668 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19669 (ENTRY_2) [!ASSEMBLER]: Use it.
19670 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19671 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19672 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19673 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19674 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19676 Use PPC64_LOAD_FUNCPTR.
19678 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19680 2013-12-04 Alan Modra <amodra@gmail.com>
19682 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19683 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19684 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19685 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19688 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19689 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19690 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19691 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19692 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19694 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19697 (__makecontext): Fix incorrect CFI when backtracing out of
19698 context created via makecontext.
19699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19700 (__setcontext): Fix incorrect CFI during switch to new context.
19701 (__novec_setcontext): Likewise.
19703 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19706 * time/strptime_l.c (__strptime_internal): Allow modifiers
19708 * time/tst-strptime.c (day_tests): Add testcase.
19710 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19712 * scripts/bench.pl: Skip over blank lines.
19714 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19717 * manual/time.texi (Calendar Time): Clarify what timezone functions
19720 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19724 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19726 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19728 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19729 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19730 * debug/memset_chk.c (__memset_chk): Likewise.
19731 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19732 * debug/strncpy_chk.c: Likewise.
19734 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19738 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19739 (__ieee754_exp): For possibly underflowing results, check size of
19740 result and force underflow exception if required.
19741 * math/auto-libm-test-in: Add more tests of exp.
19742 * math/auto-libm-test-out: Regenerated.
19743 * sysdeps/i386/fpu/libm-test-ulps: Update.
19744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19747 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19748 * math/w_exp2f.c (__exp2f): Likewise.
19749 * math/w_exp2l.c (__exp2l): Likewise.
19750 * math/auto-libm-test-in: Do not allow missing errno on exp2
19752 * math/auto-libm-test-out: Regenerated.
19754 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19757 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19758 handle filename validation.
19759 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19762 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19765 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19766 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19767 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19769 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19770 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19771 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19772 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19773 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19775 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19776 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19777 Add more erfc tests.
19778 * math/auto-libm-test-out: Regenerated.
19779 * sysdeps/i386/fpu/libm-test-ulps: Update.
19780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19782 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19783 exp2, expm1, j0 and j1.
19784 * math/auto-libm-test-out: Regenerated.
19785 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19786 (erfc_test_data): Likewise.
19787 (exp_test_data): Likewise.
19788 (exp_tonearest_test_data): Likewise.
19789 (exp_towardzero_test_data): Likewise.
19790 (exp_downward_test_data): Likewise.
19791 (exp_upward_test_data): Likewise.
19792 (exp10_test_data): Likewise.
19793 (exp2_test_data): Likewise.
19794 (expm1_test_data): Likewise.
19795 (j0_test_data): Likewise.
19796 (j1_test_data): Likewise.
19797 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19798 (input_flag_type): Add flag_xfail_rounding.
19799 (input_flags): Add xfail-rounding.
19800 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19801 (output_for_one_input_case): Handle flag_xfail_rounding.
19802 * sysdeps/i386/fpu/libm-test-ulps: Update.
19803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19805 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19808 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19811 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19814 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19815 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19816 (STAP_PROBE0): New macro.
19817 (STAP_PROBE1): Likewise.
19818 (STAP_PROBE2): Likewise.
19819 (STAP_PROBE3): Likewise.
19820 (STAP_PROBE4): Likewise.
19822 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19824 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19826 2013-12-02 Steve Ellcey <sellcey@mips.com>
19828 * benchtests/Makefile (bench): Add sqrt.
19829 (LDLIBS-bench-sqrt): New.
19830 * benchtests/sqrt-input: New.
19832 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19834 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19835 (GAIH_EAI): Likewise.
19836 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19837 (gaih_inet): Likewise.
19838 (getaddrinfo): Don't use GAIH_EAI.
19840 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19841 (struct gaih): Remove definition.
19843 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19845 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19846 Use HERRNOP directly.
19848 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19850 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19852 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19854 * math/gen-auto-libm-tests.c (test_functions): Add more
19855 single-argument functions.
19856 (special_fill_pi_2): New function.
19857 (special_fill_minus_pi_2): Likewise.
19858 (special_fill_pi_6): Likewise.
19859 (special_fill_minus_pi_6): Likewise.
19860 (special_fill_pi_3): Likewise.
19861 (special_fill_2pi_3): Likewise.
19862 (special_fill_e): Likewise.
19863 (special_fill_1_e): Likewise.
19864 (special_fill_e_minus_1): Likewise.
19865 (special_real_inputs): Add more special inputs.
19866 (output_for_one_input_case): Do not require ERANGE on underflow to
19867 zero if round-to-nearest result does not underflow to zero, unless
19868 exact results required.
19869 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19870 atan, atanh, cbrt, cos and cosh.
19871 * math/auto-libm-test-out: Regenerated.
19872 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19873 (acos_tonearest_test_data): Likewise.
19874 (acos_towardzero_test_data): Likewise.
19875 (acos_downward_test_data): Likewise.
19876 (acos_upward_test_data): Likewise.
19877 (acosh_test_data): Likewise.
19878 (asin_test_data): Likewise.
19879 (asin_tonearest_test_data): Likewise.
19880 (asin_towardzero_test_data): Likewise.
19881 (asin_upward_test_data): Likewise.
19882 (asinh_test_data): Likewise.
19883 (atan_test_data): Likewise.
19884 (atanh_test_data): Likewise.
19885 (cbrt_test_data): Likewise.
19886 (cos_test_data): Likewise.
19887 (cos_tonearest_test_data): Likewise.
19888 (cos_towardzero_test_data): Likewise.
19889 (cos_downward_test_data): Likewise.
19890 (cos_upward_test_data): Likewise.
19891 (cosh_test_data): Likewise.
19892 (cosh_tonearest_test_data): Likewise.
19893 (cosh_towardzero_test_data): Likewise.
19894 (cosh_downward_test_data): Likewise.
19895 (cosh_upward_test_data): Likewise.
19896 * sysdeps/i386/fpu/libm-test-ulps: Update.
19897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19899 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19902 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19903 * math/w_exp10f.c (__exp10f): Likewise.
19904 * math/w_exp10l.c (__exp10l): Likewise.
19905 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19906 errno settings in existing tests.
19909 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19910 precision control set to double precision.
19911 * sysdeps/i386/fpu/w_sqrt.c: New file.
19912 * math/auto-libm-test-in: Add more tests.
19913 * math/auto-libm-test-out: Update.
19915 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19916 (sqrt_test_tonearest): New function.
19917 (sqrt_towardzero_test_data): New variable.
19918 (sqrt_test_towardzero): New function.
19919 (sqrt_downward_test_data): New variable.
19920 (sqrt_test_downward): New function.
19921 (sqrt_upward_test_data): New variable.
19922 (sqrt_test_upward): New function.
19923 (main): Call the new functions.
19925 * math/gen-auto-libm-tests.c: New file.
19926 * math/auto-libm-test-in: Likewise.
19927 * math/auto-libm-test-out: New generated file.
19928 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19930 (%beautify): Add generated representations of zero.
19931 (top level): Set $auto_input and call parse_auto_input.
19932 (beautify): Remove trailing "f" from hex float constants.
19933 (parse_args): Handle XFAIL_TEST.
19934 (convert_condition): New function.
19935 (or_value): Likewise.
19936 (or_cond_value): Likewise.
19937 (generate_testfile): Handle AUTO_TESTS_* lines.
19938 (parse_auto_input): New function.
19939 * math/libm-test.inc (XFAIL_TEST): New macro.
19940 (ERRNO_UNCHANGED): Update value.
19941 (ERRNO_EDOM): Likewise.
19942 (ERRNO_ERANGE): Likewise.
19943 (IGNORE_RESULT): Likewise.
19944 (TEST_COND_flt_32): New macro.
19945 (TEST_COND_dbl_64): Likewise.
19946 (TEST_COND_ldbl_96_intel): Likewise.
19947 (TEST_COND_ldbl_96_m68k): Likewise.
19948 (TEST_COND_ldbl_128): Likewise.
19949 (TEST_COND_ldbl_128ibm): Likewise.
19950 (TEST_COND_long32): Likewise.
19951 (TEST_COND_long64): Likewise.
19952 (TEST_COND_before_rounding): Likewise.
19953 (TEST_COND_after_rounding): Likewise.
19954 (enable_test): Handle XFAIL_TEST flag.
19955 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19956 with finite results.
19957 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19958 auto-libm-test-out.
19960 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19961 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19964 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19965 __tls_get_addr_internal instead of __tls_get_offset in order to
19966 avoid GOT pointer dependency. Make rtld export
19967 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19968 __tls_get_addr since we are a __tls_get_offset platform.
19969 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19970 GOT pointer being set up before.
19971 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19973 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19975 * manual/math.texi (Errors in Math Functions): Document accuracy
19979 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19980 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19981 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19982 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19983 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19984 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19985 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19986 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19987 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19988 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19989 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19991 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19993 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19996 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19997 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19998 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19999 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20000 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20002 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20004 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20006 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20007 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20008 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20009 atomic-feupdateenv and flt-rounds.
20010 * sysdeps/powerpc/nofpu/Versions (libc): Add
20011 __atomic_feholdexcept, __atomic_feclearexcept,
20012 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20013 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20014 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20015 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20016 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20021 * manual/arith.texi (FP Exceptions): Document that exceptions may
20022 not be raised when matherr is used.
20023 (Math Error Reporting): Document overflow in directed rounding
20024 modes. Document that errno may not be set when finite values are
20025 returned on overflow. Document intent to set errno on underflow
20026 only for underflow to zero.
20029 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20030 round-to-nearest then adjust result for other rounding modes.
20031 * include/fenv.h (fegetround): Use libm_hidden_proto.
20032 * math/fegetround.c (fegetround): Use libm_hidden_def.
20033 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20034 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20035 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20036 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20038 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20039 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20040 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20041 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20043 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20046 * nss/Versions (libnss_files): Add
20047 _nss_files_gethostbyname3_r.
20048 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20050 (HOST_DB_LOOKUP): Remove macro.
20051 (_nss_files_gethostbyname_r): Implement function without the
20052 HOST_DB_LOOKUP macro.
20053 (_nss_files_gethostbyname2_r): Likewise.
20055 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20057 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20059 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20061 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20062 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20065 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20067 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20068 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20069 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20070 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20071 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20072 __fe_nomask_env_priv and attribute_hidden.
20073 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20074 (libc_feupdateenv_test_ppc): Likewise.
20075 (libc_feresetround_ppc): Likewise.
20076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20077 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20078 compat_symbol macro.
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20080 (__fe_nomask_env): Likewise.
20081 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20083 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20085 * string/Makefile: Remove ifunc tests.
20086 * string/test-string.h: Define TEST_IFUNC.
20087 * string/test-bcopy-ifunc.c: Remove.
20088 * string/test-bzero-ifunc.c: Likewise.
20089 * string/test-memccpy-ifunc.c: Likewise.
20090 * string/test-memchr-ifunc.c: Likewise.
20091 * string/test-memcmp-ifunc.c: Likewise.
20092 * string/test-memcpy-ifunc.c: Likewise.
20093 * string/test-memmem-ifunc.c: Likewise.
20094 * string/test-memmove-ifunc.c: Likewise.
20095 * string/test-mempcpy-ifunc.c: Likewise.
20096 * string/test-memrchr-ifunc.c: Likewise.
20097 * string/test-memset-ifunc.c: Likewise.
20098 * string/test-rawmemchr-ifunc.c: Likewise.
20099 * string/test-stpcpy-ifunc.c: Likewise.
20100 * string/test-stpncpy-ifunc.c: Likewise.
20101 * string/test-strcasecmp-ifunc.c: Likewise.
20102 * string/test-strcasestr-ifunc.c: Likewise.
20103 * string/test-strcat-ifunc.c: Likewise.
20104 * string/test-strchr-ifunc.c: Likewise.
20105 * string/test-strchrnul-ifunc.c: Likewise.
20106 * string/test-strcmp-ifunc.c: Likewise.
20107 * string/test-strcpy-ifunc.c: Likewise.
20108 * string/test-strcspn-ifunc.c: Likewise.
20109 * string/test-strlen-ifunc.c: Likewise.
20110 * string/test-strncasecmp-ifunc.c: Likewise.
20111 * string/test-strncat-ifunc.c: Likewise.
20112 * string/test-strncmp-ifunc.c: Likewise.
20113 * string/test-strncpy-ifunc.c: Likewise.
20114 * string/test-strnlen-ifunc.c: Likewise.
20115 * string/test-strpbrk-ifunc.c: Likewise.
20116 * string/test-strrchr-ifunc.c: Likewise.
20117 * string/test-strspn-ifunc.c: Likewise.
20118 * string/test-strstr-ifunc.c: Likewise.
20120 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20122 * benchtests/Makefile: Remove ifunc tests.
20123 * benchtests/bench-string.h: Define TEST_IFUNC.
20124 * benchtests/bench-bcopy-ifunc.c: Remove.
20125 * benchtests/bench-bzero-ifunc.c: Likewise.
20126 * benchtests/bench-memccpy-ifunc.c: Likewise.
20127 * benchtests/bench-memchr-ifunc.c: Likewise.
20128 * benchtests/bench-memcmp-ifunc.c: Likewise.
20129 * benchtests/bench-memcpy-ifunc.c: Likewise.
20130 * benchtests/bench-memmem-ifunc.c: Likewise.
20131 * benchtests/bench-memmove-ifunc.c: Likewise.
20132 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20133 * benchtests/bench-memrchr-ifunc.c: Likewise.
20134 * benchtests/bench-memset-ifunc.c: Likewise.
20135 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20136 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20137 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20138 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20139 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20140 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20141 * benchtests/bench-strcat-ifunc.c: Likewise.
20142 * benchtests/bench-strchr-ifunc.c: Likewise.
20143 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20144 * benchtests/bench-strcmp-ifunc.c: Likewise.
20145 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20146 * benchtests/bench-strcpy-ifunc.c: Likewise.
20147 * benchtests/bench-strcspn-ifunc.c: Likewise.
20148 * benchtests/bench-strlen-ifunc.c: Likewise.
20149 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20150 * benchtests/bench-strncat-ifunc.c: Likewise.
20151 * benchtests/bench-strncmp-ifunc.c: Likewise.
20152 * benchtests/bench-strncpy-ifunc.c: Likewise.
20153 * benchtests/bench-strnlen-ifunc.c: Likewise.
20154 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20155 * benchtests/bench-strrchr-ifunc.c: Likewise.
20156 * benchtests/bench-strsep-ifunc.c: Likewise.
20157 * benchtests/bench-strspn-ifunc.c: Likewise.
20158 * benchtests/bench-strstr-ifunc.c: Likewise.
20160 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20162 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20164 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20166 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20167 * rt/aio.h: Likewise.
20168 * sysdeps/gnu/bits/utmp.h: Likewise.
20169 * sysdeps/gnu/bits/utmpx.h: Likewise.
20170 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20171 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20172 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20173 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20174 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20175 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20176 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20177 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20178 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20179 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20180 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20181 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20182 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20184 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20185 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20186 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20187 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20188 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20189 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20190 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20191 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20192 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20193 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20194 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20196 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20197 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20198 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20199 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20200 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20201 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20203 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20204 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20205 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20206 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20207 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20208 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20209 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20210 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20211 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20213 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20216 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20217 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20219 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20221 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20222 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20225 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20227 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20228 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20229 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20230 (__fesetround): Remove define.
20231 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20232 rounding and exceptions handling.
20233 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20234 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20235 (__fe_nomask_env): Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20237 __fegetround instead of fegetround.
20238 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20241 2013-11-21 Roland McGrath <roland@hack.frob.com>
20243 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20246 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20248 2013-11-21 Meador Inge <meadori@codesourcery.com>
20251 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20252 (encrypt_r): Likewise.
20253 * malloc/obstack.h (obstack_free): Likewise.
20254 * posix/unistd.h (encrypt): Likewise.
20256 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20258 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20259 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20260 DL_CALL_DT_FINI() that call the functions directly.
20261 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20262 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20263 * elf/dl-fini.c: Likewise.
20265 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20267 * malloc/hooks.c (memalign_check): Add alignment rounding.
20268 * malloc/malloc.c (_mid_memalign): New function.
20269 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20270 Implement by calling _mid_memalign.
20271 * manual/probes.texi (Memory Allocation Probes): Remove
20272 memory_valloc_retry and memory_pvalloc_retry.
20274 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20276 * locale/programs/locarchive.c (open_archive): Add const
20277 qualifier to ARCHIVEFNAME and copy default fname to
20281 * libio/tst-widetext.input: Rename Oriya to Odia.
20282 * locale/iso-639.def: Likewise.
20284 * manual/probes.texi (Mathematical Function Probes): Add
20285 documentation for sin, cos, asin and acos probes.
20286 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20287 (__sin32): Add slowasin probe.
20288 (__cos32): Add slowacos probe.
20289 (__mpsin): Add slowsin probe.
20290 (__mpcos): Add slowcos probe.
20292 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20295 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20296 thread-local __sim_exceptions_thread and global
20297 __sim_exceptions_global.
20298 (__sim_disabled_exceptions): Change to thread-local
20299 __sim_disabled_exceptions_thread and global
20300 __sim_disabled_exceptions_global.
20301 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20302 and global __sim_round_mode_global.
20303 (__simulate_exceptions): Use thread-local floating-point state and
20304 set global state from it as needed.
20305 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20306 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20307 __sim_round_mode_thread.
20308 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20309 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20310 and global __sim_exceptions_global.
20311 (__sim_disabled_exceptions): Change to thread-local
20312 __sim_disabled_exceptions_thread and global
20313 __sim_disabled_exceptions_global.
20314 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20315 and global __sim_round_mode_global.
20316 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20317 (SIM_SET_GLOBAL): Likewise.
20318 * sysdeps/powerpc/soft-fp/sfp-machine.h
20319 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20320 __sim_round_mode_thread.
20321 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20322 __sim_disabled_exceptions_thread.
20323 (__sim_exceptions): Change to __sim_exceptions_thread.
20324 (__sim_disabled_exceptions): Change to
20325 __sim_disabled_exceptions_thread.
20326 (__sim_round_mode): Change to __sim_round_mode_thread.
20327 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20328 thread-local floating-point state and set global state from it as
20330 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20331 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20332 (__sim_disabled_exceptions): Remove extern declaration.
20333 (feenableexcept): Use thread-local floating-point state and set
20334 global state from it as needed.
20335 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20336 extern declaration.
20337 (__sim_disabled_exceptions): Likewise.
20338 (__sim_round_mode): Likewise.
20339 (__fegetenv): Use thread-local floating-point state.
20340 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20341 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20342 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20343 floating-point state and set global state from it as needed.
20344 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20345 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20346 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20348 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20349 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20351 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20352 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20353 Use __sim_round_mode_thread.
20354 * math/test-fenv-tls.c: New file.
20355 * math/Makefile (tests): Add test-fenv-tls.
20356 ($(objpfx)test-fenv-tls): Depend on
20357 $(common-objpfx)nptl/libpthread.so.
20359 2013-11-19 Andreas Schwab <schwab@suse.de>
20361 * locale/programs/locale.c (show_info): Decode wordarray elements.
20362 * locale/categories.def (LC_MONETARY): Add element for
20363 _NL_MONETARY_CRNCYSTR.
20364 * locale/C-monetary.c (conversion_rate): New variable.
20365 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20368 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20370 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20371 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20373 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20375 * elf/Makefile (tst-auxv): New test.
20376 * elf/tst-auxv.c: New
20377 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20379 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20381 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20382 (hidden_proto): Caller changed.
20383 (hidden_tls_proto): New macro.
20384 (libc_hidden_tls_proto): Likewise.
20385 (rtld_hidden_tls_proto): Likewise.
20386 (libm_hidden_tls_proto): Likewise.
20387 (libresolv_hidden_tls_proto): Likewise.
20388 (librt_hidden_tls_proto): Likewise.
20389 (libdl_hidden_tls_proto): Likewise.
20390 (libnss_files_hidden_tls_proto): Likewise.
20391 (libnsl_hidden_tls_proto): Likewise.
20392 (libnss_nisplus_hidden_tls_proto): Likewise.
20393 (libutil_hidden_tls_proto): Likewise.
20395 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20398 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20399 (decompose_rpath): Defer expansion to fillin_rpath.
20400 (_dl_init_paths): Pass linkmap to fillin_rpath.
20402 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20404 * benchtests/Makefile: Add strsep.
20405 * benchtests/bench-strsep.c: New file: strsep benchtest.
20406 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20408 2013-11-18 Andreas Schwab <schwab@suse.de>
20410 * locale/programs/locale.c (show_info) [case byte]: Check for
20411 '\377' instead of '\177'.
20412 * locale/C-monetary.c (not_available): Always use "\377".
20413 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20414 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20415 detect unavailable sign_posn locale elements.
20416 * locale/localeconv.c (__localeconv): For grouping and
20417 mon_grouping handle "\177" and "\377" like no grouping.
20418 (INT_ELEM): New macro. Use it to set all numeric members.
20419 * locale/programs/ld-monetary.c (monetary_read)
20420 <tok_mon_grouping>: Normalize single -1 to the empty string.
20421 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20424 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20427 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20428 when we match (nil).
20429 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20431 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20433 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20434 (NO_TEST_INLINE): Update value.
20435 (ERRNO_UNCHANGED): Likewise.
20436 (ERRNO_EDOM): Likewise.
20437 (ERRNO_ERANGE): Likewise.
20438 (IGNORE_RESULT): Likewise.
20439 (check_float_internal): Check signs of NaN results if
20440 TEST_NAN_SIGN used.
20441 (check_complex): Pass TEST_NAN_SIGN flag through to second
20442 check_float_internal call.
20443 (copysign_test_data): Add tests with quiet NaNs as second
20444 argument. Use TEST_NAN_SIGN.
20445 (fabs_test_data): Add test of negative quiet NaN argument. Use
20447 (signbit_test_data): Add tests of quiet NaN argument.
20448 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20450 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20452 (parse_args): Handle function results specified as IGNORE.
20453 * math/libm-test.inc (IGNORE_RESULT): New macro.
20454 (check_float_internal): Do not check numerical result if flag
20456 (check_complex): Pass through IGNORE_RESULT to second
20457 check_float_internal call.
20458 (check_int): Do not check numerical result if flag IGNORE_RESULT
20460 (check_long): Likewise.
20461 (check_bool): Likewise.
20462 (check_longlong): Likewise.
20463 (lrint_test_data): Add tests of infinite and NaN arguments.
20464 (lrint_tonearest_test_data): Likewise.
20465 (lrint_towardzero_test_data): Likewise.
20466 (lrint_downward_test_data): Likewise.
20467 (lrint_upward_test_data): Likewise.
20468 (llrint_test_data): Likewise.
20469 (llrint_tonearest_test_data): Likewise.
20470 (llrint_towardzero_test_data): Likewise.
20471 (llrint_downward_test_data): Likewise.
20472 (llrint_upward_test_data): Likewise.
20473 (lround_test_data): Likewise.
20474 (llround_test_data): Likewise.
20476 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20477 (ERRNO_UNCHANGED): Update value.
20478 (ERRNO_EDOM): Likewise.
20479 (ERRNO_ERANGE): Likewise.
20480 (NO_TEST_INLINE_FLOAT): New macro.
20481 (NO_TEST_INLINE_DOUBLE): Likewise.
20482 (enable_test): New function.
20483 (RUN_TEST_f_f): Check enable_test before running test.
20484 (RUN_TEST_2_f): Likewise.
20485 (RUN_TEST_fff_f): Likewise.
20486 (RUN_TEST_c_f): Likewise.
20487 (RUN_TEST_f_f1): Likewise.
20488 (RUN_TEST_fF_f1): Likewise.
20489 (RUN_TEST_fI_f1): Likewise.
20490 (RUN_TEST_ffI_f1): Likewise.
20491 (RUN_TEST_c_c): Likewise.
20492 (RUN_TEST_cc_c): Likewise.
20493 (RUN_TEST_f_i): Likewise.
20494 (RUN_TEST_f_i_tg): Likewise.
20495 (RUN_TEST_ff_i_tg): Likewise.
20496 (RUN_TEST_f_b): Likewise.
20497 (RUN_TEST_f_b_tg): Likewise.
20498 (RUN_TEST_f_l): Likewise.
20499 (RUN_TEST_f_L): Likewise.
20500 (RUN_TEST_fFF_11): Likewise.
20501 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20503 (cosh_test_data): Likewise.
20504 (exp_test_data): Likewise.
20505 (expm1_test_data): Likewise.
20506 (hypot_test_data): Likewise.
20507 (pow_test_data): Likewise.
20508 (sinh_test_data): Likewise.
20509 (tanh_test_data): Likewise.
20510 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20513 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20514 tests with quiet NaN input and output.
20515 (acosh_test_data): Likewise.
20516 (asin_test_data): Likewise.
20517 (asinh_test_data): Likewise.
20518 (atan_test_data): Likewise.
20519 (atanh_test_data): Likewise.
20520 (atan2_test_data): Likewise.
20521 (cbrt_test_data): Likewise.
20522 (cos_test_data): Likewise.
20523 (cosh_test_data): Likewise.
20524 (erf_test_data): Likewise.
20525 (erfc_test_data): Likewise.
20526 (exp_test_data): Likewise.
20527 (exp10_test_data): Likewise.
20528 (exp2_test_data): Likewise.
20529 (expm1_test_data): Likewise.
20530 (hypot_test_data): Likewise.
20531 (j0_test_data): Likewise.
20532 (j1_test_data): Likewise.
20533 (jn_test_data): Likewise.
20534 (lgamma_test_data): Likewise.
20535 (log_test_data): Likewise.
20536 (log10_test_data): Likewise.
20537 (log1p_test_data): Likewise.
20538 (log2_test_data): Likewise.
20539 (pow_test_data): Likewise.
20540 (scalb_test_data): Likewise.
20541 (sin_test_data): Likewise.
20542 (sincos_test_data): Likewise.
20543 (sinh_test_data): Likewise.
20544 (tan_test_data): Likewise.
20545 (tanh_test_data): Likewise.
20546 (tgamma_test_data): Likewise.
20547 (y0_test_data): Likewise.
20548 (y1_test_data): Likewise.
20549 (yn_test_data): Likewise.
20552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20553 argument being NaN and avoid computations with second argument in
20555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20556 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20557 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20559 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20561 * locale/iso-639.def: Add Chitwani Tharu (the).
20563 2013-11-14 Andreas Schwab <schwab@suse.de>
20565 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20566 word instead of empty string.
20568 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20571 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20573 (__fe_nomask_env): Likewise.
20575 2013-11-13 Steve Ellcey <sellcey@mips.com>
20577 * benchtests/bench-timing.h: Include time.h.
20579 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20582 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20584 * sysdeps/unix/sysv/linux/configure: Regenerated.
20586 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20589 * stdlib/strtod_l.c (round_and_return): Do not consider
20590 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20591 exponent one less than half the least subnormal exponent.
20592 * stdlib/test-strtod-round-data: Add more tests.
20593 * stdlib/tst-strtod-round.c (tests): Regenerated.
20595 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20598 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20599 (__fe_mask_env): Likewise.
20600 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20601 libm_hidden_proto and add function prototype.
20602 (__fe_mask_env): Add function prototype.
20603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20604 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20606 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20608 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20610 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20612 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20613 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20615 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20617 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20618 of htab_find_slot().
20620 2013-11-11 David S. Miller <davem@davemloft.net>
20623 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20624 symbol in the non-vis3 case in static builds.
20625 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20626 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20627 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20628 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20630 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20633 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20636 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20638 * benchtests/Makefile: Add bench-strtod.
20639 * benchtests/bench-strtod.c: New file: strtod benchtest
20641 2013-11-11 Andreas Schwab <schwab@suse.de>
20644 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20645 terminating NUL in key length.
20647 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20649 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20650 Add artificial ODP entry for vDSO symbol for PPC64.
20651 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20652 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20654 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20657 * nss/getent.c (services_keys): Recognize services starting with digit.
20659 2013-11-06 David S. Miller <davem@davemloft.net>
20662 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20663 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20665 2013-11-06 Will Newton <will.newton@linaro.org>
20667 * manual/memory.texi (Malloc Examples): Remove register
20668 keyword from examples.
20670 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20672 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20674 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20677 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20678 depending on [__GCC_IEC_559 > 0].
20679 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20680 depending on [__GCC_IEC_559_COMPLEX > 0].
20682 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20684 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20687 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20689 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20691 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20694 * malloc/malloc (malloc_info): Do not handle first bin as
20697 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20699 * locale/iso-639.def: Add Central Nahuatl (nhn).
20701 2013-11-01 Bruno Haible <bruno@clisp.org>
20704 * manual/math.texi (BSD Random): Specify range upper bound as
20707 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20709 * locale/iso-639.def: Add Meadow Mari (mhr).
20711 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20713 [BZ #14752], [BZ #15763]
20714 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20716 * rt/tst_shm.c: Add test for escaping directory.
20718 2013-10-31 Andreas Schwab <schwab@suse.de>
20721 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20722 followed by 'x' as part of digit sequence.
20723 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20725 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20728 * configure.ac: allow GNU Make 4.0 and greater.
20729 * configure: Regenerated.
20731 2013-10-30 Will Newton <will.newton@linaro.org>
20734 * malloc/hooks.c (memalign_check): Limit alignment to the
20735 maximum representable power of two.
20736 * malloc/malloc.c (__libc_memalign): Likewise.
20737 * malloc/tst-memalign.c (do_test): Add test for very
20738 large alignment values.
20739 * malloc/tst-posix_memalign.c (do_test): Likewise.
20741 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20744 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20745 (munmap_chunk): Likewise.
20746 (mremap_chunk): Likewise.
20748 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20751 * stdlib/div.c (div): Remove obsolete code.
20752 * stdlib/ldiv.c (ldiv): Likewise.
20753 * stdlib/lldiv.c (lldiv): Likewise.
20755 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20758 * nss/nss_files/files-XXX.c (get_contents_ret): New
20760 (get_contents): New function.
20761 (internal_getent): Use it. Expand size of LINEBUFLEN.
20763 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20765 * configure.in: Moved to ...
20766 * configure.ac: ... here. Change reference to configure.in
20768 * sysdeps/arm/preconfigure.ac: ... here.
20769 configure.in to configure.ac.
20770 * sysdeps/gnu/configure.in: Moved to ...
20771 * sysdeps/gnu/configure.ac: ... here.
20772 * sysdeps/i386/configure.in: Moved to ...
20773 * sysdeps/i386/configure.ac: ... here.
20774 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20775 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20776 * sysdeps/mach/configure.in: Moved to ...
20777 * sysdeps/mach/configure.ac: ... here.
20778 * sysdeps/mach/hurd/configure.in: Moved to ...
20779 * sysdeps/mach/hurd/configure.ac: ... here.
20780 * sysdeps/powerpc/configure.in: Moved to ...
20781 * sysdeps/powerpc/configure.ac: ... here.
20782 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20783 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20784 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20785 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20786 * sysdeps/s390/s390-32/configure.in: Moved to ...
20787 * sysdeps/s390/s390-32/configure.ac: ... here.
20788 * sysdeps/s390/s390-64/configure.in: Moved to ...
20789 * sysdeps/s390/s390-64/configure.ac: ... here.
20790 * sysdeps/sh/configure.in: Moved to ...
20791 * sysdeps/sh/configure.ac: ... here.
20792 * sysdeps/sparc/configure.in: Moved to ...
20793 * sysdeps/sparc/configure.ac: ... here.
20794 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20795 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20796 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20797 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20798 * sysdeps/x86_64/configure.in: Moved to ...
20799 * sysdeps/x86_64/configure.ac: ... here.
20800 * sysdeps/x86_64/preconfigure.in: Moved to ...
20801 * sysdeps/x86_64/preconfigure.ac: ... here.
20802 * aclocal.m4: Change reference to configure.in to configure.ac.
20803 * config.h.in: Likewise.
20804 * manual/install.texi: Likewise.
20805 * manual/maint.texi: Likewise.
20806 * Makefile: Likewise.
20807 * malloc/Makefile: Likewise.
20808 * nscd/Makefile: Likewise.
20809 * Makeconfig: Change reference to configure.in and
20810 preconfigure.in to configure.ac and preconfigure.ac
20812 * INSTALL: Regenerated.
20813 * configure: Likewise.
20814 * sysdeps/gnu/configure: Likewise.
20815 * sysdeps/i386/configure: Likewise.
20816 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20817 * sysdeps/mach/configure: Likewise.
20818 * sysdeps/mach/hurd/configure: Likewise.
20819 * sysdeps/powerpc/configure: Likewise.
20820 * sysdeps/powerpc/powerpc32/configure: Likewise.
20821 * sysdeps/powerpc/powerpc64/configure: Likewise.
20822 * sysdeps/s390/s390-32/configure: Likewise.
20823 * sysdeps/s390/s390-64/configure: Likewise.
20824 * sysdeps/sh/configure: Likewise.
20825 * sysdeps/sparc/configure: Likewise.
20826 * sysdeps/unix/sysv/linux/configure: Likewise.
20827 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20828 * sysdeps/x86_64/configure: Likewise.
20829 * sysdeps/x86_64/preconfigure: Likewise.
20831 2013-10-29 Andreas Schwab <schwab@suse.de>
20833 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20835 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20837 * benchtests/pow-inputs: Add new inputs.
20839 * benchtests/exp-inputs: Add new inputs.
20841 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20842 conditional check for return value.
20843 (__cos32): Likewise.
20845 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20847 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20848 to provide a boost for large inputs with word alignment.
20849 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20850 implementation based on optimized PPC64 strcpy.
20851 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20852 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20853 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20854 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20856 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20859 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20861 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20864 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20865 * time/tst-strptime.c (day_tests): Add testcase.
20867 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20870 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20872 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20875 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20876 MAP_FAILED on error.
20878 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20881 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20882 heap for large requests.
20884 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20887 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20888 result if the result has no associated interface.
20889 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20890 interface for all 127.X.Y.Z addresses.
20892 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20894 * locale/iso-639.def: Add Ligurian (lij)
20896 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20899 * sunrpc/rpc_main.c: Document rpcgen -5.
20901 2013-10-19 Michael Stahl <mstahl@redhat.com>
20903 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20905 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20908 * posix/glob.c: Match only directories when trailing slash is present.
20909 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20910 (main): Add testcase.
20912 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20915 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20917 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20919 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20920 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20921 AUTH_DES and cindex for FIPS 140-2.
20922 (DES Encryption): Add cindex FIPS 46-3.
20924 * locale/locarchive.h (struct locarhandle): Add fname.
20925 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20926 if an optional argument was specified to --list-archive,
20928 * locale/programs/locarchive.c (show_archive_content): Take new
20929 argument fname and pass it via ah.fname to open_archive.
20930 * locale/programs/localedef.h: Update decl.
20931 (open_archive): If AH->fname is non-null, open that file
20932 rather than the default file name, and don't ignore ENOENT.
20933 (create_archive): Set AH.fname to NULL.
20934 (delete_locales_from_archive): Likewise.
20935 (add_locales_to_archive): Likewise.
20936 * locale/programs/locfile.c (write_all_categories): Likewise.
20938 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20939 Aldy Hernandez <aldyh@redhat.com>
20941 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20942 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20943 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20944 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20945 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20947 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20948 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20949 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20950 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20951 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20952 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20953 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20954 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20955 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20957 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20959 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20961 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20963 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20964 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20966 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20967 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20968 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20969 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20971 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20972 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20973 * sysdeps/powerpc/preconfigure: Likewise.
20974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20976 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20977 Replace contents of file by #include of <fenv_libc.h>.
20978 * sysdeps/powerpc/soft-fp/sfp-machine.h
20979 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20981 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20985 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20994 Allow copysignl PLT reference to be missing.
20996 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20997 Joseph Myers <joseph@codesourcery.com
21000 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21002 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21004 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21006 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21007 * elf/tst-tls1.c: Likewise.
21008 * elf/tst-tls10.h: Likewise.
21009 * elf/tst-tls14.c: Likewise.
21010 * elf/tst-tls2.c: Likewise.
21011 * elf/tst-tls3.c: Likewise.
21012 * elf/tst-tls4.c: Likewise.
21013 * elf/tst-tls5.c: Likewise.
21014 * elf/tst-tls6.c: Likewise.
21015 * elf/tst-tls7.c: Likewise.
21016 * elf/tst-tls8.c: Likewise.
21017 * elf/tst-tls9.c: Likewise.
21018 * elf/tst-tlsmod1.c: Likewise.
21019 * elf/tst-tlsmod13.c: Likewise.
21020 * elf/tst-tlsmod13a.c: Likewise.
21021 * elf/tst-tlsmod14a.c: Likewise.
21022 * elf/tst-tlsmod16a.c: Likewise.
21023 * elf/tst-tlsmod16b.c: Likewise.
21024 * elf/tst-tlsmod2.c: Likewise.
21025 * elf/tst-tlsmod3.c: Likewise.
21026 * elf/tst-tlsmod4.c: Likewise.
21027 * elf/tst-tlsmod5.c: Likewise.
21028 * elf/tst-tlsmod6.c: Likewise.
21030 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21033 * malloc/malloc.c: remove checks for statistics.
21035 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21038 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21039 * inet/tst-network.c: Add testcase.
21041 2013-10-17 Andreas Schwab <schwab@suse.de>
21044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21045 to determine canonical name.
21047 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21049 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21050 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21054 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21055 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21056 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21059 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21060 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21061 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21062 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21063 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21064 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21066 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21069 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21070 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21071 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21072 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21073 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21074 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21076 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21077 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21078 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21079 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21082 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21083 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21085 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21088 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21089 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21090 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21091 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21092 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21093 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21094 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21095 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21096 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21097 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21100 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21101 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21102 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21108 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21111 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21112 make result into a quiet NaN.
21114 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21116 * soft-fp/adddf3.c: Fix horizontal whitespace.
21117 * soft-fp/addsf3.c: Likewise.
21118 * soft-fp/addtf3.c: Likewise.
21119 * soft-fp/divdf3.c: Likewise.
21120 * soft-fp/divsf3.c: Likewise.
21121 * soft-fp/divtf3.c: Likewise.
21122 * soft-fp/double.h: Likewise.
21123 * soft-fp/eqdf2.c: Likewise.
21124 * soft-fp/eqsf2.c: Likewise.
21125 * soft-fp/eqtf2.c: Likewise.
21126 * soft-fp/extenddftf2.c: Likewise.
21127 * soft-fp/extended.h: Likewise.
21128 * soft-fp/extendsfdf2.c: Likewise.
21129 * soft-fp/extendsftf2.c: Likewise.
21130 * soft-fp/extendxftf2.c: Likewise.
21131 * soft-fp/fixdfdi.c: Likewise.
21132 * soft-fp/fixdfsi.c: Likewise.
21133 * soft-fp/fixdfti.c: Likewise.
21134 * soft-fp/fixsfdi.c: Likewise.
21135 * soft-fp/fixsfsi.c: Likewise.
21136 * soft-fp/fixsfti.c: Likewise.
21137 * soft-fp/fixtfdi.c: Likewise.
21138 * soft-fp/fixtfsi.c: Likewise.
21139 * soft-fp/fixtfti.c: Likewise.
21140 * soft-fp/fixunsdfdi.c: Likewise.
21141 * soft-fp/fixunsdfsi.c: Likewise.
21142 * soft-fp/fixunsdfti.c: Likewise.
21143 * soft-fp/fixunssfdi.c: Likewise.
21144 * soft-fp/fixunssfsi.c: Likewise.
21145 * soft-fp/fixunssfti.c: Likewise.
21146 * soft-fp/fixunstfdi.c: Likewise.
21147 * soft-fp/fixunstfsi.c: Likewise.
21148 * soft-fp/fixunstfti.c: Likewise.
21149 * soft-fp/floatdidf.c: Likewise.
21150 * soft-fp/floatdisf.c: Likewise.
21151 * soft-fp/floatditf.c: Likewise.
21152 * soft-fp/floatsidf.c: Likewise.
21153 * soft-fp/floatsisf.c: Likewise.
21154 * soft-fp/floatsitf.c: Likewise.
21155 * soft-fp/floattidf.c: Likewise.
21156 * soft-fp/floattisf.c: Likewise.
21157 * soft-fp/floattitf.c: Likewise.
21158 * soft-fp/floatundidf.c: Likewise.
21159 * soft-fp/floatundisf.c: Likewise.
21160 * soft-fp/floatunditf.c: Likewise.
21161 * soft-fp/floatunsidf.c: Likewise.
21162 * soft-fp/floatunsisf.c: Likewise.
21163 * soft-fp/floatunsitf.c: Likewise.
21164 * soft-fp/floatuntidf.c: Likewise.
21165 * soft-fp/floatuntisf.c: Likewise.
21166 * soft-fp/floatuntitf.c: Likewise.
21167 * soft-fp/fmadf4.c: Likewise.
21168 * soft-fp/fmasf4.c: Likewise.
21169 * soft-fp/fmatf4.c: Likewise.
21170 * soft-fp/gedf2.c: Likewise.
21171 * soft-fp/gesf2.c: Likewise.
21172 * soft-fp/getf2.c: Likewise.
21173 * soft-fp/ledf2.c: Likewise.
21174 * soft-fp/lesf2.c: Likewise.
21175 * soft-fp/letf2.c: Likewise.
21176 * soft-fp/muldf3.c: Likewise.
21177 * soft-fp/mulsf3.c: Likewise.
21178 * soft-fp/multf3.c: Likewise.
21179 * soft-fp/negdf2.c: Likewise.
21180 * soft-fp/negsf2.c: Likewise.
21181 * soft-fp/negtf2.c: Likewise.
21182 * soft-fp/op-1.h: Likewise.
21183 * soft-fp/op-2.h: Likewise.
21184 * soft-fp/op-4.h: Likewise.
21185 * soft-fp/op-8.h: Likewise.
21186 * soft-fp/op-common.h: Likewise.
21187 * soft-fp/quad.h: Likewise.
21188 * soft-fp/single.h: Likewise.
21189 * soft-fp/soft-fp.h: Likewise.
21190 * soft-fp/sqrtdf2.c: Likewise.
21191 * soft-fp/sqrtsf2.c: Likewise.
21192 * soft-fp/sqrttf2.c: Likewise.
21193 * soft-fp/subdf3.c: Likewise.
21194 * soft-fp/subsf3.c: Likewise.
21195 * soft-fp/subtf3.c: Likewise.
21196 * soft-fp/truncdfsf2.c: Likewise.
21197 * soft-fp/trunctfdf2.c: Likewise.
21198 * soft-fp/trunctfsf2.c: Likewise.
21199 * soft-fp/trunctfxf2.c: Likewise.
21200 * soft-fp/unorddf2.c: Likewise.
21201 * soft-fp/unordsf2.c: Likewise.
21202 * soft-fp/unordtf2.c: Likewise.
21204 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21206 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21207 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21209 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21211 * elf/dl-libc.c: Clear initfini list after freeing.
21213 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21215 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21216 * soft-fp/addsf3.c: Likewise.
21217 * soft-fp/addtf3.c: Likewise.
21218 * soft-fp/divdf3.c: Likewise.
21219 * soft-fp/divsf3.c: Likewise.
21220 * soft-fp/divtf3.c: Likewise.
21221 * soft-fp/double.h: Likewise.
21222 * soft-fp/eqdf2.c: Likewise.
21223 * soft-fp/eqsf2.c: Likewise.
21224 * soft-fp/eqtf2.c: Likewise.
21225 * soft-fp/extenddftf2.c: Likewise.
21226 * soft-fp/extended.h: Likewise.
21227 * soft-fp/extendsfdf2.c: Likewise.
21228 * soft-fp/extendsftf2.c: Likewise.
21229 * soft-fp/extendxftf2.c: Likewise.
21230 * soft-fp/fixdfdi.c: Likewise.
21231 * soft-fp/fixdfsi.c: Likewise.
21232 * soft-fp/fixdfti.c: Likewise.
21233 * soft-fp/fixsfdi.c: Likewise.
21234 * soft-fp/fixsfsi.c: Likewise.
21235 * soft-fp/fixsfti.c: Likewise.
21236 * soft-fp/fixtfdi.c: Likewise.
21237 * soft-fp/fixtfsi.c: Likewise.
21238 * soft-fp/fixtfti.c: Likewise.
21239 * soft-fp/fixunsdfdi.c: Likewise.
21240 * soft-fp/fixunsdfsi.c: Likewise.
21241 * soft-fp/fixunsdfti.c: Likewise.
21242 * soft-fp/fixunssfdi.c: Likewise.
21243 * soft-fp/fixunssfsi.c: Likewise.
21244 * soft-fp/fixunssfti.c: Likewise.
21245 * soft-fp/fixunstfdi.c: Likewise.
21246 * soft-fp/fixunstfsi.c: Likewise.
21247 * soft-fp/fixunstfti.c: Likewise.
21248 * soft-fp/floatdidf.c: Likewise.
21249 * soft-fp/floatdisf.c: Likewise.
21250 * soft-fp/floatditf.c: Likewise.
21251 * soft-fp/floatsidf.c: Likewise.
21252 * soft-fp/floatsisf.c: Likewise.
21253 * soft-fp/floatsitf.c: Likewise.
21254 * soft-fp/floattidf.c: Likewise.
21255 * soft-fp/floattisf.c: Likewise.
21256 * soft-fp/floattitf.c: Likewise.
21257 * soft-fp/floatundidf.c: Likewise.
21258 * soft-fp/floatundisf.c: Likewise.
21259 * soft-fp/floatunsidf.c: Likewise.
21260 * soft-fp/floatunsisf.c: Likewise.
21261 * soft-fp/floatuntidf.c: Likewise.
21262 * soft-fp/floatuntisf.c: Likewise.
21263 * soft-fp/floatuntitf.c: Likewise.
21264 * soft-fp/fmadf4.c: Likewise.
21265 * soft-fp/fmasf4.c: Likewise.
21266 * soft-fp/fmatf4.c: Likewise.
21267 * soft-fp/gedf2.c: Likewise.
21268 * soft-fp/gesf2.c: Likewise.
21269 * soft-fp/getf2.c: Likewise.
21270 * soft-fp/ledf2.c: Likewise.
21271 * soft-fp/lesf2.c: Likewise.
21272 * soft-fp/letf2.c: Likewise.
21273 * soft-fp/muldf3.c: Likewise.
21274 * soft-fp/mulsf3.c: Likewise.
21275 * soft-fp/multf3.c: Likewise.
21276 * soft-fp/negdf2.c: Likewise.
21277 * soft-fp/negsf2.c: Likewise.
21278 * soft-fp/negtf2.c: Likewise.
21279 * soft-fp/op-1.h: Likewise.
21280 * soft-fp/op-2.h: Likewise.
21281 * soft-fp/op-4.h: Likewise.
21282 * soft-fp/op-8.h: Likewise.
21283 * soft-fp/op-common.h: Likewise.
21284 * soft-fp/quad.h: Likewise.
21285 * soft-fp/single.h: Likewise.
21286 * soft-fp/soft-fp.h: Likewise.
21287 * soft-fp/sqrtdf2.c: Likewise.
21288 * soft-fp/sqrtsf2.c: Likewise.
21289 * soft-fp/sqrttf2.c: Likewise.
21290 * soft-fp/subdf3.c: Likewise.
21291 * soft-fp/subsf3.c: Likewise.
21292 * soft-fp/subtf3.c: Likewise.
21293 * soft-fp/truncdfsf2.c: Likewise.
21294 * soft-fp/trunctfdf2.c: Likewise.
21295 * soft-fp/trunctfsf2.c: Likewise.
21296 * soft-fp/trunctfxf2.c: Likewise.
21297 * soft-fp/unorddf2.c: Likewise.
21298 * soft-fp/unordsf2.c: Likewise.
21299 * soft-fp/unordtf2.c: Likewise.
21301 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21304 * misc/error.c (error_tail): Fix possible buffer overflow.
21306 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21309 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21312 2013-10-14 P. J. McDermott <pj@pehjota.net>
21315 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21316 testing pipefail option.
21318 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21320 * soft-fp/double.h: Indent preprocessor directives inside #if.
21321 * soft-fp/extended.h: Likewise.
21322 * soft-fp/op-2.h: Likewise.
21323 * soft-fp/op-4.h: Likewise.
21324 * soft-fp/op-common.h: Likewise.
21325 * soft-fp/quad.h: Likewise.
21326 * soft-fp/single.h: Likewise.
21327 * soft-fp/soft-fp.h: Likewise.
21329 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21331 * iconv/iconv_prog.c: Fix typos.
21332 * stdio-common/psiginfo-data.h: Likewise.
21334 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21337 * locale/setlocale.c: Fix typo.
21339 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21342 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21343 signaling NaN arguments.
21344 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21345 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21348 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21349 unordered operands.
21350 * soft-fp/gesf2.c (__gesf2): Likewise.
21351 * soft-fp/getf2.c (__getf2): Likewise.
21352 * soft-fp/ledf2.c (__ledf2): Likewise.
21353 * soft-fp/lesf2.c (__lesf2): Likewise.
21354 * soft-fp/letf2.c (__letf2): Likewise.
21356 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21357 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21358 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21359 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21360 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21361 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21362 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21363 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21364 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21365 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21366 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21367 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21368 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21369 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21370 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21371 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21372 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21373 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21374 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21375 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21376 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21377 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21378 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21379 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21380 * soft-fp/floattidf.c (__floattidf): Likewise.
21381 * soft-fp/floattisf.c (__floattisf): Likewise.
21382 * soft-fp/floattitf.c (__floattitf): Likewise.
21383 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21384 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21385 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21386 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21387 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21388 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21389 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21390 * soft-fp/gesf2.c (__gesf2): Likewise.
21391 * soft-fp/getf2.c (__getf2): Likewise.
21392 * soft-fp/ledf2.c (__ledf2): Likewise.
21393 * soft-fp/lesf2.c (__lesf2): Likewise.
21394 * soft-fp/letf2.c (__letf2): Likewise.
21396 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21397 Undefine and redefine.
21398 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21399 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21400 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21401 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21402 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21403 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21404 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21405 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21406 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21407 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21408 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21409 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21410 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21411 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21412 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21415 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21416 without decrementing exponent if mantissa >= that for the
21417 denominator, not >.
21418 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21419 denominator, not >. Decrement exponent in < case instead of
21420 incrementing in >= case.
21421 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21422 without decrementing exponent if mantissa >= that for the
21423 denominator, not >.
21425 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21426 computing saturated result for unsigned overflow.
21428 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21429 Jeff Law <law@redhat.com>
21431 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21432 (atan2Mp): Add systemtap probe marker.
21433 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21434 (__ieee754_log): Add systemtap probe marker.
21435 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21436 (atanMp): Add systemtap probe marker.
21437 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21438 (tanMp): Add systemtap probe marker.
21439 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21440 (__slowexp): Add systemtap probe marker.
21441 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21442 (__slowpow): Add systemtap probe marker.
21443 * manual/probes.texi: Document probes.
21445 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21448 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21450 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21452 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21453 written to buffer but not flushed.
21454 * libio/iofwrite_u.c: Likewise.
21455 * libio/iopadn.c: Return bytes returned even if EOF was
21457 * libio/iowpadn.c: Likewise.
21458 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21459 if _IO_padn does not write the whole buffer.
21460 [!COMPILE_WPRINTF] (PAD): Likewise.
21462 2013-10-10 David S. Miller <davem@davemloft.net>
21464 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21467 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21469 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21470 instead of FSF address.
21471 * soft-fp/fixdfti.c: Likewise.
21472 * soft-fp/fixsfti.c: Likewise.
21473 * soft-fp/fixtfti.c: Likewise.
21474 * soft-fp/fixunsdfti.c: Likewise.
21475 * soft-fp/fixunssfti.c: Likewise.
21476 * soft-fp/fixunstfti.c: Likewise.
21477 * soft-fp/floattidf.c: Likewise.
21478 * soft-fp/floattisf.c: Likewise.
21479 * soft-fp/floattitf.c: Likewise.
21480 * soft-fp/floatuntidf.c: Likewise.
21481 * soft-fp/floatuntisf.c: Likewise.
21482 * soft-fp/floatuntitf.c: Likewise.
21483 * soft-fp/trunctfxf2.c: Likewise.
21485 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21486 * soft-fp/fixdfti.c: Likewise.
21487 * soft-fp/fixsfti.c: Likewise.
21488 * soft-fp/fixtfti.c: Likewise.
21489 * soft-fp/fixunsdfti.c: Likewise.
21490 * soft-fp/fixunssfti.c: Likewise.
21491 * soft-fp/fixunstfti.c: Likewise.
21492 * soft-fp/floattidf.c: Likewise.
21493 * soft-fp/floattisf.c: Likewise.
21494 * soft-fp/floattitf.c: Likewise.
21495 * soft-fp/floatuntidf.c: Likewise.
21496 * soft-fp/floatuntisf.c: Likewise.
21497 * soft-fp/floatuntitf.c: Likewise.
21498 * soft-fp/trunctfxf2.c: Likewise.
21500 2013-10-10 David S. Miller <davem@davemloft.net>
21502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21504 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21506 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21507 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21508 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21509 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21510 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21511 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21512 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21515 for NaNs before doing comparisons on argument.
21516 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21519 2013-10-10 Will Newton <will.newton@linaro.org>
21521 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21522 passed to _int_memalign does not overflow.
21524 2013-10-10 Torvald Riegel <triegel@redhat.com>
21526 * scripts/bench.pl: Add include-sources directive.
21527 * benchtests/README: Update documentation.
21529 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21531 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21532 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21533 instead of FP_INIT_ROUNDMODE.
21534 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21535 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21538 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21539 copy class of input value.
21540 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21541 not handle exceptions.
21542 * soft-fp/negsf2.c (__negsf2): Likewise.
21543 * soft-fp/negtf2.c (__negtf2): Likewise.
21544 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21546 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21548 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21549 semicolon. From Linux kernel.
21551 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21553 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21555 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21558 * manual/socket.texi: Added statement about buffer
21559 for gethostbyname2_r.
21561 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21563 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21564 Use .p2align directive instead, throughout.
21565 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21566 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21567 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21568 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21570 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21571 * sysdeps/x86_64/strchr.S: Likewise.
21572 * sysdeps/x86_64/strrchr.S: Likewise.
21574 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21576 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21578 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21580 * sysdeps/generic/math_private.h (__mpsin1): Remove
21582 (__mpcos1): Likewise.
21583 (__mpsin): New argument __range_reduce.
21584 (__mpcos): Likewise.
21585 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21586 (slow): Use __mpsin and __mpcos.
21590 (sloww1): Likewise.
21591 (sloww2): Likewise.
21592 (bsloww): Likewise.
21593 (bsloww1): Likewise.
21594 (bsloww2): Likewise.
21595 (cslow2): Likewise.
21596 (csloww): Likewise.
21597 (csloww1): Likewise.
21598 (csloww2): Likewise.
21599 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21600 range_reduce. Merge in __mpsin1.
21601 (__mpcos): Likewise.
21602 (__mpsin1): Remove.
21603 (__mpcos1): Likewise.
21605 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21607 * locale/loadlocale.c (_nl_intern_locale_data): Use
21609 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21610 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21611 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21612 obstack data is appropriately aligned.
21613 (obstack_int32_grow_fast): Likewise.
21614 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21615 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21616 (add_locale_uint32_array): Likewise.
21618 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21620 * benchtests/Makefile: Remove ARGLIST and RET variables.
21621 ($(objpfx)bench-%.c): Pass only function name to the script.
21622 * benchtests/README: Update documentation.
21623 * benchtests/acos-inputs: Add new directives.
21624 * benchtests/acosh-inputs: Likewise.
21625 * benchtests/asin-inputs: Likewise.
21626 * benchtests/asinh-inputs: Likewise.
21627 * benchtests/atan-inputs: Likewise.
21628 * benchtests/atanh-inputs: Likewise.
21629 * benchtests/cos-inputs: Likewise.
21630 * benchtests/cosh-inputs: Likewise.
21631 * benchtests/exp-inputs: Likewise.
21632 * benchtests/log-inputs: Likewise.
21633 * benchtests/pow-inputs: Likewise.
21634 * benchtests/rint-inputs: Likewise.
21635 * benchtests/sin-inputs: Likewise.
21636 * benchtests/sinh-inputs: Likewise.
21637 * benchtests/tan-inputs: Likewise.
21638 * benchtests/tanh-inputs: Likewise.
21639 * scripts/bench.pl: Add support for new directives.
21641 2013-10-07 Alan Modra <amodra@gmail.com>
21643 * README: Fix careless merge.
21645 2013-10-05 Alan Modra <amodra@gmail.com>
21647 * NEWS: Mention powerpc64le support and bugs fixed.
21648 * README: Both big-endian and little-endian powerpc64 supported.
21650 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21652 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21653 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21654 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21655 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21657 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21659 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21662 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21664 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21665 Move -mhard-float appending from
21666 ports/sysdeps/powerpc/powerpc32/Makefile.
21667 [$(with-fp) = yes] (ASFLAGS): Likewise.
21668 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21669 * sysdeps/powerpc/nofpu: Move directory from
21670 ports/sysdeps/powerpc/nofpu.
21671 * sysdeps/powerpc/soft-fp: Move directory from
21672 ports/sysdeps/powerpc/soft-fp.
21673 * sysdeps/powerpc/powerpc32/405: Move directory from
21674 ports/sysdeps/powerpc/powerpc32/405.
21675 * sysdeps/powerpc/powerpc32/440: Move directory from
21676 ports/sysdeps/powerpc/powerpc32/440.
21677 * sysdeps/powerpc/powerpc32/464: Move directory from
21678 ports/sysdeps/powerpc/powerpc32/464.
21679 * sysdeps/powerpc/powerpc32/476: Move directory from
21680 ports/sysdeps/powerpc/powerpc32/476.
21681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21684 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21686 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21688 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21690 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21691 * README: Update for powerpc-*-linux-gnu software floating point
21694 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21695 case to powerpc/powerpc32*.
21696 * sysdeps/unix/sysv/linux/configure: Regenerated.
21698 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21699 (_FPU_MASK_OM): Define as 0x04.
21700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21708 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21711 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21714 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21715 and setcontext_e500.
21717 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21719 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21721 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21723 * manual/threads.texi (Default Thread Attributes): Fix typo.
21725 2013-10-04 Will Newton <will.newton@linaro.org>
21727 * malloc/Makefile: Add tst-memalign.
21728 * malloc/tst-memalign.c: New file.
21730 * malloc/tst-posix_memalign.c: Add comments.
21731 (do_test): Add comments and call free on all potentially
21732 allocated pointers. Add space after cast.
21734 * malloc/tst-pvalloc.c: Add comments.
21735 (do_test): Add comments and call free on all potentially
21736 allocated pointers. Remove duplicate check for NULL pointer.
21737 Add space after cast.
21739 * malloc/tst-valloc.c: Add comments.
21740 (do_test): Add comments and call free on all potentially
21741 allocated pointers. Remove duplicate check for NULL pointer.
21742 Add space after cast.
21744 2013-10-04 Alan Modra <amodra@gmail.com>
21746 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21747 Use stdint types in rather than __attribute__((mode())).
21748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21750 2013-10-04 Alan Modra <amodra@gmail.com>
21752 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21753 Correct handling of unaligned relocs for little-endian.
21754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21756 2013-10-04 Alan Modra <amodra@gmail.com>
21758 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21759 * configure: Regenerate.
21760 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21761 * shlib-versions: Likewise.
21763 2013-10-04 Alan Modra <amodra@gmail.com>
21765 * string/tester.c (test_memrchr): Increment reported test cycle.
21767 2013-10-04 Alan Modra <amodra@gmail.com>
21769 * string/test-memcpy.c (do_one_test): When reporting errors, print
21770 string address and don't overrun end of string.
21772 2013-10-04 Alan Modra <amodra@gmail.com>
21774 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21775 insrdi. Make better use of reg selection to speed exit slightly.
21776 Schedule entry path a little better. Remove useless "are we done"
21777 checks on entry to main loop. Handle wrapping around zero address.
21778 Correct main loop count. Handle single left-over word from main
21779 loop inline rather than by using loop_small. Remove extra word
21780 case in loop_small caused by wrong loop count. Add little-endian
21782 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21785 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21786 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21787 support. Avoid rlwimi.
21788 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21790 2013-10-04 Alan Modra <amodra@gmail.com>
21792 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21793 insrdi. Formatting.
21794 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21795 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21798 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21801 2013-10-04 Alan Modra <amodra@gmail.com>
21803 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21805 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21806 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21808 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21809 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21812 use of regs. Use power7 mtocrf. Tidy function tails.
21814 2013-10-04 Alan Modra <amodra@gmail.com>
21816 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21817 Formatting. Consistently use rXXX register defines or rN defines.
21818 Use early exit labels that avoid restoring unused non-volatile regs.
21819 Make cr field use more consistent with rWORDn compares. Rename
21820 regs used as shift registers for unaligned loop, using rN defines
21821 for short lifetime/multiple use regs.
21822 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21823 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21824 addi 1,1,64 to pop stack frame. Simplify return value code.
21825 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21827 2013-10-04 Alan Modra <amodra@gmail.com>
21829 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21830 support. Correct typos, formatting. Optimize tail. Use insrdi
21831 rather than rlwimi.
21832 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21833 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21834 little-endian support. Correct typos.
21835 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21836 rather than rlwimi.
21837 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21838 in loop and entry code to keep "and." results.
21839 (strchr): Add little-endian support. Comment. Move cntlzd
21841 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21843 2013-10-04 Alan Modra <amodra@gmail.com>
21845 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21846 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21847 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21848 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21850 2013-10-04 Alan Modra <amodra@gmail.com>
21852 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21853 (rTMP): Define as r11.
21854 (strcmp): Add little-endian support. Optimise tail.
21855 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21856 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21857 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21858 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21859 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21860 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21863 2013-10-04 Alan Modra <amodra@gmail.com>
21865 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21866 little-endian support. Remove unnecessary "are we done" tests.
21867 Handle "s" wrapping around zero and extremely large "size".
21868 Correct main loop count. Handle single left-over word from main
21869 loop inline rather than by using small_loop. Correct comments.
21870 Delete "zero" tail, use "end_max" instead.
21871 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21873 2013-10-04 Alan Modra <amodra@gmail.com>
21875 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21876 support. Don't branch over align.
21877 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21878 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21879 support. Rearrange tmp reg use to suit. Comment.
21880 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21882 2013-10-04 Alan Modra <amodra@gmail.com>
21884 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21886 2013-10-04 Alan Modra <amodra@gmail.com>
21888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21889 conditional form of branch and link when obtaining pc.
21890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21892 2013-10-04 Alan Modra <amodra@gmail.com>
21894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21899 2013-10-04 Alan Modra <amodra@gmail.com>
21901 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21902 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21903 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21904 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21905 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21906 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21907 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21908 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21909 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21910 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21912 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21913 Alistair Popple <alistair@ozlabs.au.ibm.com>
21914 Alan Modra <amodra@gmail.com>
21917 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21918 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21919 _dl_hwcap access for little-endian.
21920 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21921 destroy vmx regs when saving unaligned.
21922 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21923 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21924 destroy vmx regs when saving unaligned.
21926 2013-10-04 Alan Modra <amodra@gmail.com>
21928 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21929 Don't use a union to pack hi/low value.
21931 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21933 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21935 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21936 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21937 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21938 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21939 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21941 2013-10-04 Alan Modra <amodra@gmail.com>
21943 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21944 constants to usual value for .cst8 section, and remove redundant
21946 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21947 constant for 0x1p52. Load little-endian words of double from
21948 correct stack offsets.
21950 2013-10-04 Alan Modra <amodra@gmail.com>
21952 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21953 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21954 words of double from correct stack offsets.
21955 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21956 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21957 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21958 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21959 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21960 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21961 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21962 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21963 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21964 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21965 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21966 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21967 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21968 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21969 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21971 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21973 2013-10-04 Alan Modra <amodra@gmail.com>
21975 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21976 64-bit int/double union.
21977 (_FPU_SETCW): Likewise.
21978 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21979 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21981 2013-10-04 Alan Modra <amodra@gmail.com>
21983 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21984 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21986 2013-10-04 Alan Modra <amodra@gmail.com>
21988 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21989 use vector int constants.
21990 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21992 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21994 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21995 array with long long.
21996 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21997 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21998 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21999 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22000 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22001 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22002 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22003 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22004 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22005 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22006 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22007 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22008 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22010 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22012 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22013 (__signbit): Likewise. Correct for little-endian.
22014 (__signbitl): Call __signbit.
22015 (lrint): Correct for little-endian.
22016 (lrintf): Call lrint.
22018 2013-10-04 Alan Modra <amodra@gmail.com>
22020 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22021 union 32-bit int array member with 64-bit int array.
22022 (t515, tm256): Double rather than long double.
22023 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22025 2013-10-04 Alan Modra <amodra@gmail.com>
22027 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22029 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22030 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22031 version of math_ldbl.h.
22033 2013-10-04 Alan Modra <amodra@gmail.com>
22035 [BZ #15734], [BZ #15735]
22036 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22037 all uses of ieee875 long double macros and unions. Simplify test
22038 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22039 ldbl_extract_mantissa value for ix,iy exponents. Properly
22040 normalize after ldbl_extract_mantissa, and don't add hidden bit
22041 already handled. Don't treat low word of ieee854 mantissa like
22042 low word of IBM long double and mask off bit when testing for
22044 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22045 all uses of ieee875 long double macros and unions. Simplify tests
22046 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22047 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22048 two1022, instead use their values. Recognise that tests for large
22049 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22050 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22051 Rewrite all uses of ieee875 long double macros and unions. Simplify
22052 test for 0.0L and nan. Correct negation.
22053 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22054 ieee875 long double macros and unions. Correct output for large
22055 magnitude x. Correct absolute value calculation.
22056 (__erfcl): Likewise.
22057 * math/libm-test.inc: Add tests for errors discovered in IBM long
22058 double versions of fmodl, remainderl, erfl and erfcl.
22060 2013-10-04 Alan Modra <amodra@gmail.com>
22062 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22063 all uses of ieee854 long double macros and unions. Simplify tests
22064 for long doubles that are fully specified by the high double.
22065 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22067 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22068 Remove dead code too.
22069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22070 (__ieee754_ynl): Likewise.
22071 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22074 Remove dead code too.
22075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22076 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22077 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22078 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22080 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22082 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22083 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22085 Comment on variable precision.
22086 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22087 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22089 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22090 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22091 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22092 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22093 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22095 2013-10-04 Alan Modra <amodra@gmail.com>
22097 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22099 all uses of ieee854 long double macros and unions.
22100 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22101 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22102 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22104 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22105 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22108 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22109 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22110 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22111 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22112 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22113 Simplify sign and nan test too.
22114 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22115 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22116 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22117 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22119 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22120 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22123 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22124 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22125 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22126 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22129 2013-10-04 Alan Modra <amodra@gmail.com>
22131 * stdio-common/printf_size.c (__printf_size): Don't use
22132 union ieee854_long_double in fpnum union.
22133 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22134 signbit macro to retrieve sign from long double.
22135 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22136 retrieve sign from long double.
22137 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22138 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22139 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22140 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22141 * math/test-misc.c (main): Don't use union ieee854_long_double.
22143 2013-10-04 Alan Modra <amodra@gmail.com>
22146 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22147 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22148 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22149 calculation. Remove unnecessary test for denormal exponent.
22150 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22151 Correct handling of denormals. Avoid undefined shift behaviour.
22152 Correct normalisation of low mantissa when low double is denormal.
22153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22154 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22155 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22156 Correct normalisation of low mantissa. Test for overflow of high
22157 mantissa and normalise.
22158 (ldbl_nearbyint): Use more readable constant for two52.
22159 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22160 (__mpn_construct_long_double): Fix test for overflow of high
22161 mantissa and correct normalisation. Avoid undefined shift.
22163 2013-10-04 Alan Modra <amodra@gmail.com>
22165 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22166 (union ibm_extended_long_double): Define as an array of ieee754_double.
22167 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22168 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22169 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22170 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22179 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22181 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22182 page size instead of calling getpagesize.
22184 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22185 (LOCFILE_ALIGN_MASK): Likewise.
22186 (LOCFILE_ALIGN_UP): Likewise.
22187 (LOCFILE_ALIGNED_P): Likewise.
22188 * locale/programs/ld-collate.c (collate_output): Use the new
22189 macros instead of __alignof__ (int32_t).
22190 * locale/weight.h (findidx): Likewise.
22192 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22195 * manual/string.texi: Fix strncat and wcsncat.
22197 2013-10-03 Brooks Moses <bmoses@google.com>
22200 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22201 * Makerules: ...here, and adjust associated comments.
22203 2013-10-02 Will Newton <will.newton@linaro.org>
22205 * malloc/Makefile: Add tst-pvalloc.
22206 * malloc/tst-pvalloc.c: New file.
22208 2013-10-02 Will Newton <will.newton@linaro.org>
22210 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22211 improve test coverage.
22213 2013-10-02 Will Newton <will.newton@linaro.org>
22215 * malloc/Makefile: Add tst-posix_memalign.
22216 * malloc/tst-posix_memalign.c: New file.
22218 2013-10-01 Eric Blake <eblake@redhat.com>
22220 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22221 Use __THROWNL rather than __THROW on static functions.
22223 2013-09-30 Petr Machata <pmachata@redhat.com>
22225 * elf/elf.h (R_AARCH64_ABS16): New macro.
22226 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22227 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22228 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22229 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22230 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22231 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22232 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22233 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22234 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22235 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22236 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22237 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22238 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22239 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22240 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22241 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22242 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22243 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22244 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22245 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22246 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22247 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22248 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22249 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22250 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22251 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22252 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22253 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22254 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22255 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22256 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22257 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22258 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22259 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22260 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22261 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22262 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22263 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22264 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22265 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22266 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22267 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22268 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22269 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22270 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22271 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22272 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22273 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22274 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22275 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22276 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22277 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22278 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22279 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22280 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22281 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22282 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22283 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22284 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22285 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22286 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22287 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22288 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22289 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22290 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22291 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22292 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22293 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22294 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22295 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22296 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22297 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22298 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22299 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22300 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22301 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22302 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22303 (R_AARCH64_TLSDESC_LDR): Likewise.
22304 (R_AARCH64_TLSDESC_ADD): Likewise.
22305 (R_AARCH64_TLSDESC_CALL): Likewise.
22307 2013-09-30 Andreas Schwab <schwab@suse.de>
22310 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22311 the nss database lookup.
22312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22315 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22317 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22319 2013-09-28 P. J. McDermott <pj@pehjota.net>
22321 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22322 ${Bash-specific parameter/pattern/string} parameter expansion.
22323 * sysdeps/unix/make-syscalls.sh: Likewise.
22325 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22327 * sysdeps/sh/stackguard-macros.h: New file.
22329 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22333 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22334 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22336 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22338 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22340 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22341 Fix thread ID register.
22343 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22345 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22346 [POSIX || UNIX98]: Require rather than permitting all symbols from
22348 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22349 element of struct sched_param.
22350 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22351 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22352 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22353 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22356 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22358 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22359 argument calculation.
22361 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22363 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22365 [POSIX] (pthread_attr_t): Do not require type.
22366 [POSIX] (pthread_cond_t): Likewise.
22367 [POSIX] (pthread_condattr_t): Likewise.
22368 [POSIX] (pthread_key_t): Likewise.
22369 [POSIX] (pthread_mutex_t): Likewise.
22370 [POSIX] (pthread_mutexattr_t): Likewise.
22371 [POSIX] (pthread_once_t): Likewise.
22372 [POSIX] (pthread_t): Likewise.
22373 [POSIX-based standards] (pthread_atfork): Expect function.
22375 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22376 Richard Sandiford <richard@codesourcery.com>
22378 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22379 (swap_endianness_p): New extern variable.
22380 (set_big_endian): New inline function.
22381 (maybe_swap_uint32): Likewise.
22382 (maybe_swap_uint32_array): Likewise.
22383 (maybe_swap_uint32_obstack): Likewise.
22384 * locale/programs/locfile.c: Include <stdbool.h>.
22385 (swap_endianness_p): New variable.
22386 (add_locale_uint32): Call maybe_swap_uint32.
22387 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22388 (write_locale_data): Call maybe_swap_uint32_array.
22389 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22391 (obstack_int32_grow_fast): Likewise.
22392 (output_weightwc): Call maybe_swap_uint32_obstack.
22393 (collate_output): Likewise.
22394 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22395 (OPT_LITTLE_ENDIAN): Likewise.
22396 (options): Add --little-endian and --big-endian options.
22397 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22398 * locale/programs/locarchive.c: Include "locfile.h".
22402 (create_archive): Use the new macros to access fields of
22403 structures directly mapped from or written to locale archives.
22404 (oldlocrecentcmp): Likewise.
22405 (enlarge_archive): Likewise.
22406 (insert_name): Likewise.
22407 (add_alias): Likewise.
22408 (add_locale): Likewise.
22409 (delete_locales_from_archive): Likewise.
22410 (show_archive_content): Likewise.
22411 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22414 2013-09-24 Roland McGrath <roland@hack.frob.com>
22416 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22417 http://www.gnu.org/doc/freemanuals.texi.
22418 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22420 2013-09-24 Will Newton <will.newton@linaro.org>
22422 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22425 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22427 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22430 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22432 * manual/threads.texi (POSIX Threads): Fix a typo.
22434 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22437 * string/tst-strcoll-overflow.c: New test case.
22438 * string/Makefile (xtests): Add tst-strcoll-overflow.
22439 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22440 cache if string sizes may cause integer overflow.
22443 * string/strcoll_l.c (coll_seq): New members rule, idx,
22444 save_idx and back_us.
22445 (get_next_seq_nocache): New function.
22446 (do_compare_nocache): New function.
22447 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22450 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22453 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22454 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22455 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22458 * elf/Makefile (tests): Add tst-ptrguard1.
22459 (tests-static): Add tst-ptrguard1-static.
22460 (tst-ptrguard1-ARGS): Define.
22461 (tst-ptrguard1-static-ARGS): Define.
22462 * elf/tst-ptrguard1.c: New file.
22463 * elf/tst-ptrguard1-static.c: New file.
22464 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22465 * sysdeps/i386/stackguard-macros.h: Likewise.
22466 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22467 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22468 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22469 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22470 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22471 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22473 2013-09-23 Hector Marco <hecmargi@upv.es>
22474 Ismael Ripoll <iripoll@disca.upv.es>
22475 Carlos O'Donell <carlos@redhat.com>
22478 * sysdeps/generic/stackguard-macros.h: Define
22479 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22480 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22481 Define __pointer_chk_guard_local.
22482 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22483 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22485 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22488 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22490 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22492 * include/string.h (__ffs): Declare as hidden.
22493 * string/ffs.c (__ffs): Define as hidden.
22494 * sysdeps/i386/ffs.c (__ffs): Likewise.
22495 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22496 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22497 * sysdeps/s390/ffs.c (__ffs): Likewise.
22498 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22500 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22502 * NEWS: Mention malloc probes.
22504 * malloc/arena.c (new_heap): New memory_heap_new probe.
22505 (grow_heap): New memory_heap_more probe.
22506 (shrink_heap): New memory_heap_less probe.
22507 (heap_trim): New memory_heap_free probe.
22508 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22509 (systrim): New memory_sbrk_less probe.
22510 * manual/probes.texi: Document them.
22512 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22513 * manual/probes.texi: Document it.
22515 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22516 (__libc_realloc): Add memory_realloc_retry probe.
22517 (__libc_memalign): Add memory_memalign_retry probe.
22518 (__libc_valloc): Add memory_valloc_retry probe.
22519 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22520 (__libc_calloc): Add memory_calloc_retry probe.
22521 * manual/probes.texi: Document them.
22523 * malloc/arena.c (get_free_list): Add probe
22524 memory_arena_reuse_free_list.
22525 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22526 and memory_arena_reuse.
22527 (arena_get2) [!PER_THREAD]: Likewise.
22528 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22529 memory_arena_reuse_realloc.
22530 * manual/probes.texi: Document them.
22532 * malloc/malloc.c (__libc_free): Add
22533 memory_mallopt_free_dyn_thresholds probe.
22534 (__libc_mallopt): Add multiple memory_mallopt probes.
22535 * manual/probes.texi: Document them.
22537 * malloc/malloc.c: Include stap-probe.h.
22538 (__libc_mallopt): Add memory_mallopt probe.
22539 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22540 * manual/probes.texi: New.
22541 * manual/Makefile (chapters): Add probes.
22542 * manual/threads.texi: Set next node.
22544 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22546 [BZ #15963, #13985]
22547 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22548 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22549 Add `Chinese' to `nan' entry name.
22551 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22553 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22554 (POLYNOMIAL): Likewise.
22555 (TAYLOR_SINCOS): Likewise.
22556 (TAYLOR_SLOW): Likewise.
22557 (__sin): Use TAYLOR_SINCOS.
22559 (slow): Use TAYLOR_SLOW.
22561 (bsloww): Likewise.
22562 (csloww): Likewise.
22564 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22566 * stdlib/strtod_l.c: Fix buffer overrun.
22568 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22570 * benchtests/Makefile (bench): Add sincos.
22571 * benchtests/bench-sincos.c: New file.
22573 * math/libm-test.inc (cos_test_data): New test inputs.
22574 (sin_test_data): Likewise.
22576 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22582 (sloww1): Likewise.
22583 (sloww2): Likewise.
22584 (bsloww1): Likewise.
22585 (bsloww2): Likewise.
22586 (cslow2): Likewise.
22587 (csloww1): Likewise.
22588 (csloww2): Likewise.
22590 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22599 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22601 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22602 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22603 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22604 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22605 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22606 * elf/cache.c (print_entry): Handle the new cache flags.
22608 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22609 Aldy Hernandez <aldyh@redhat.com>
22611 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22612 Change condition to [_SOFT_FLOAT].
22613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22625 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22628 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22631 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22633 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22634 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22635 (__longjmp): Use LOAD_GP to load saved GPRs.
22636 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22637 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22638 (__sigsetjmp): Use SAVE_GP to save GPRs.
22640 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22641 Do not append -msoft-float.
22642 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22644 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22646 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22648 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22651 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22652 (_FPU_GETCW): Use initial "__" on variable and field names but not
22653 on macro parameter name.
22654 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22655 parentheses around reference to macro parameter.
22657 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22659 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22661 (ctype_startup): Use uint32_t in cast and sizeof for
22664 2013-09-11 Jia Liu <proljc@gmail.com>
22666 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22668 [__FreeBSD__]: Likewise.
22670 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22672 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22673 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22674 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22675 (strchr): Remove __strchr_sse42 ifunc selection.
22676 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22677 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22679 2013-09-11 Will Newton <will.newton@linaro.org>
22681 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22682 parameter to RES. Remove hardcoded 1000 value.
22683 * benchtests/bench-skeleton.c (main): Pass RES parameter
22684 to TIMING_INIT and multiply result by 1000.
22686 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22690 2013-09-11 Andreas Schwab <schwab@suse.de>
22692 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22694 (O_TMPFILE) [__USE_GNU]: Define.
22695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22698 2013-09-11 Will Newton <will.newton@linaro.org>
22701 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22704 2013-09-11 Will Newton <will.newton@linaro.org>
22707 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22710 2013-09-11 Will Newton <will.newton@linaro.org>
22713 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22716 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22718 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22719 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22724 2013-09-10 Allan McRae <allan@archlinux.org>
22727 * manual/arith.texi (Parsing of Floats): Clarify
22731 * manual/install.texi (Running make install): Mention
22733 * INSTALL: Regenerated.
22735 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22737 * csu/init-first.c (_init): Remove the !SHARED condition around
22738 FPU control word initialization.
22739 * elf/dl-support.c (_dl_fpu_control): New variable.
22740 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22741 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22742 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22743 * math/test-fpucw-static.c: New file.
22744 * math/test-fpucw-ieee.c: New file.
22745 * math/test-fpucw-ieee-static.c: New file.
22746 * math/Makefile (tests): Add `test-fpucw-ieee' and
22748 (tests-static): New variable.
22749 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22751 [($(build-shared),yes)]
22752 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22754 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22757 2013-09-09 Allan McRae <allan@archlinux.org>
22760 * manual/string.texi (Collation Functions): Fix typo in
22762 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22765 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22768 * libio/memstream.c (open_memstream): Fix memory leak.
22769 * libio/wmemstream.c (open_wmemstream): Likewise.
22772 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22774 2013-09-09 Will Newton <will.newton@linaro.org>
22776 * malloc/Makefile: Add tst-realloc to tests.
22777 * malloc/tst-realloc.c: New file.
22779 2013-09-09 Allan McRae <allan@archlinux.org>
22782 * COPYING: Update from GNU website to fix FSF address.
22783 * COPYING.LIB: Likewise.
22785 2013-09-06 David S. Miller <davem@davemloft.net>
22787 * po/zh_TW.po: Update Chinese (traditional) translation from
22788 translation project.
22790 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22791 Joseph Myers <joseph@codesourcery.com>
22793 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22795 (obstack_chunk_alloc): New macro.
22796 (obstack_chunk_free): Likewise.
22797 (record_offset): New function.
22798 (init_locale_data): Likewise.
22799 (align_locale_data): Likewise.
22800 (add_locale_empty): Likewise.
22801 (add_locale_raw_data): Likewise.
22802 (add_locale_raw_obstack): Likewise.
22803 (add_locale_string): Likewise.
22804 (add_locale_wstring): Likewise.
22805 (add_locale_uint32): Likewise.
22806 (add_locale_uint32_array): Likewise.
22807 (add_locale_char): Likewise.
22808 (start_locale_structure): Likewise.
22809 (end_locale_structure): Likewise.
22810 (start_locale_prelude): Likewise.
22811 (end_locale_prelude): Likewise.
22812 (write_locale_data): Take locale_file structure rather than an
22814 * locale/programs/locfile.h: Include "obstack.h".
22815 (struct locale_file): Change to store locale file contents instead
22817 (init_locale_data): New prototype.
22818 (align_locale_data): Likewise.
22819 (add_locale_empty): Likewise.
22820 (add_locale_raw_data): Likewise.
22821 (add_locale_raw_obstack): Likewise.
22822 (add_locale_string): Likewise.
22823 (add_locale_wstring): Likewise.
22824 (add_locale_uint32): Likewise.
22825 (add_locale_uint32_array): Likewise.
22826 (add_locale_char): Likewise.
22827 (start_locale_structure): Likewise.
22828 (end_locale_structure): Likewise.
22829 (start_locale_prelude): Likewise.
22830 (end_locale_prelude): Likewise.
22831 (write_locale_data): Update prototype.
22832 * locale/programs/3level.h (struct TABLE): Remove result field.
22833 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22834 Use new locale_file interface.
22835 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22836 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22837 * locale/programs/ld-address.c (address_output): Use new
22838 locale_file interface.
22839 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22841 (collate_finish): Don't call collseq_table_finalize.
22842 (collate_output): Use new locale_file interface.
22843 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22845 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22846 (TABLE): Move defines earlier in file.
22847 (ELEMENT): Likewise.
22848 (DEFAULT): Likewise.
22849 (wctrans_table_add): Move macro and inline function earlier in
22851 (struct wctype_table): Move type earlier in file.
22852 (add_locale_wctype_table): New static prototype.
22853 (struct locale_ctype_t): Use logical types instead of struct iovec
22854 pointers for members.
22855 (ctype_output): Use new locale_file interface.
22856 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22857 new locale_file interface.
22858 (allocate_arrays): Update for use of new locale_file interface.
22859 * locale/programs/ld-identification.c (identification_output): Use
22860 new locale_file interface.
22861 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22862 * locale/programs/ld-messages.c (messages_output): Likewise.
22863 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22864 * locale/programs/ld-name.c (name_output): Likewise.
22865 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22866 * locale/programs/ld-paper.c (paper_output): Likewise.
22867 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22868 * locale/programs/ld-time.c (time_output): Likewise.
22870 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22872 * benchtests/Makefile: Add memrchr benchmark.
22873 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22874 benchmark as memrchr.
22875 * benchtests/bench-memrchr-ifunc.c: New file.
22876 * benchtests/bench-memrchr.c: New file.
22878 2013-09-06 Will Newton <will.newton@linaro.org>
22880 * benchtests/Makefile (string-bench): Add memcpy.
22882 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22883 Cong Wang <amwang@redhat.com>
22886 * sysdeps/unix/sysv/linux/bits/in.h
22887 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22888 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22889 before __USE_KERNEL_IPV6_DEFS uses.
22890 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22892 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22893 sockaddr_in6, or ipv6_mreq.
22895 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22897 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22898 memory access for final bytes in some large inputs.
22899 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22901 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22903 * string/test-memrchr.c: New file.
22904 * string/test-memrchr-ifunc.c: New file.
22905 * string/Makefile: Add new memrchr testcase.
22907 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22909 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22910 fanotify_init returns EPERM.
22912 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22914 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22916 (top level): Treat second token from macro or constant entries for
22917 allowed headers as allowed.
22918 * include/complex.h: Condition internal declarations on
22920 * include/fenv.h: Condition include of <stdbool.h> and internal
22921 declarations on [!_ISOMAC].
22923 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22926 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22928 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22930 * configure.in (--enable-versioning): Remove configure option.
22931 (libc_cv_asm_symver_directive): Remove configure test.
22932 (libc_cv_ld_version_script_option): Likewise.
22933 (VERSIONING): Remove variable and AC_SUBST.
22934 (DO_VERSIONING): Remove AC_DEFINE.
22935 * configure: Regenerated.
22936 * config.h.in (DO_VERSIONING): Remove macro.
22937 * Makerules [$(versioning) = yes]: Change conditionals to
22938 [$(build-shared) = yes].
22939 * config.make.in (versioning): Remove variable.
22940 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22941 [$(build-shared) = yes].
22942 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22943 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22944 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22945 [$(build-shared) = yes].
22946 * extra-lib.mk [$(versioning) = yes]: Likewise.
22947 * hurd/Makefile [$(versioning) = yes]: Likewise.
22948 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22950 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22952 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22953 [SHARED && !NO_HIDDEN].
22954 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22956 [SHARED && DO_VERSIONING]: Likewise..
22957 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22958 [$(build-shared) = yes].
22959 * manual/install.texi (--disable-versioning): Remove
22961 * INSTALL: Regenerated.
22962 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22964 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22965 [$(build-shared) = yes].
22966 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22967 * sysdeps/i386/i686/multiarch/strstr-c.c
22968 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22969 [SHARED && !NO_HIDDEN].
22970 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22971 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22972 * sysdeps/powerpc/powerpc32/dl-machine.c
22973 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22974 * sysdeps/powerpc/powerpc32/sysdep.h
22975 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22976 to [SHARED && PIC && !NO_HIDDEN].
22977 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22978 conditional to [SHARED].
22980 2013-09-04 Will Newton <will.newton@linaro.org>
22982 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22983 * benchtests/bench-string.h: Include bench-timing.h instead
22984 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22985 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22986 call to HP_TIMING_DIFF_INIT.
22987 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22988 instead of hp-timing.h macros.
22989 * benchtests/bench-memchr.c: Likewise.
22990 * benchtests/bench-memcmp.c: Likewise.
22991 * benchtests/bench-memcpy.c: Likewise.
22992 * benchtests/bench-memmem.c: Likewise.
22993 * benchtests/bench-memmove.c: Likewise.
22994 * benchtests/bench-memset.c: Likewise.
22995 * benchtests/bench-rawmemchr.c: Likewise.
22996 * benchtests/bench-strcasecmp.c: Likewise.
22997 * benchtests/bench-strcasestr.c: Likewise.
22998 * benchtests/bench-strcat.c: Likewise.
22999 * benchtests/bench-strchr.c: Likewise.
23000 * benchtests/bench-strcmp.c: Likewise.
23001 * benchtests/bench-strcpy.c: Likewise.
23002 * benchtests/bench-strcpy_chk.c: Likewise.
23003 * benchtests/bench-strlen.c: Likewise.
23004 * benchtests/bench-strncasecmp.c: Likewise.
23005 * benchtests/bench-strncat.c: Likewise.
23006 * benchtests/bench-strncmp.c: Likewise.
23007 * benchtests/bench-strncpy.c: Likewise.
23008 * benchtests/bench-strnlen.c: Likewise.
23009 * benchtests/bench-strpbrk.c: Likewise.
23010 * benchtests/bench-strrchr.c: Likewise.
23011 * benchtests/bench-strspn.c: Likewise.
23012 * benchtests/bench-strstr.c: Likewise.
23014 2013-09-04 Will Newton <will.newton@linaro.org>
23016 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23018 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23021 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23022 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23023 * math/libm-test.inc (lgamma_test_data): Add more tests.
23024 * sysdeps/i386/fpu/libm-test-ulps: Update.
23025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23027 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23029 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23033 Add strcmp-sse2-unaligned
23034 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23036 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23038 * Versions.def (libc): Add GLIBC_2.19.
23040 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23042 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23043 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23045 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23048 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23049 intermediate calculations in recurrence.
23050 (__ieee754_ynf): Likewise.
23051 * math/libm-test.inc (jn_test_data): Do not allow spurious
23052 underflow exception. Add more tests.
23053 (yn_test_data): Add more tests.
23054 * sysdeps/i386/fpu/libm-test-ulps: Update.
23055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23057 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23059 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23061 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23063 * csu/init-first.c: Fix then/than typos.
23064 * locale/programs/ld-collate.c: Likewise.
23065 * locale/programs/linereader.h: Likewise.
23066 * manual/charset.texi: Likewise.
23067 * manual/filesys.texi: Likewise.
23068 * manual/stdio.texi: Likewise.
23069 * manual/string.texi: Likewise.
23070 * stdlib/fmtmsg.c: Likewise.
23071 * sysdeps/i386/stpncpy.S: Likewise.
23072 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23073 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23074 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23075 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23077 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23079 * elf/dl-open.c: Fix typos.
23080 * iconvdata/gbbig5.c: Likewise.
23081 * iconvdata/iso-2022-jp.c: Likewise.
23082 * iconv/gconv_int.h: Likewise.
23083 * iconv/loop.c: Likewise.
23084 * nis/rpcsvc/nis.h: Likewise.
23085 * resolv/ns_name.c: Likewise.
23086 * stdio-common/vfscanf.c: Likewise.
23087 * streams/stropts.h: Likewise.
23088 * sunrpc/rpc_thread.c: Likewise.
23089 * sysdeps/i386/strpbrk.S: Likewise.
23090 * sysdeps/ieee754/k_standard.c: Likewise.
23091 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23092 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23093 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23094 * sysdeps/mach/hurd/profil.c: Likewise.
23095 * sysdeps/s390/dl-procinfo.h: Likewise.
23096 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23097 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23098 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23099 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23102 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23104 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23107 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23109 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23110 aix specific files.
23111 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23112 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23113 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23114 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23115 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23116 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23117 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23118 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23120 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23121 Roland McGrath <roland@hack.frob.com>
23123 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23124 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23126 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23128 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23129 __executable_start symbol instead of _start.
23131 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23133 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23134 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23136 * sysdeps/gnu/ldsodefs.h: ... this new file.
23138 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23139 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23140 instead of ELFOSABI_LINUX.
23142 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23143 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23144 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23145 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23147 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23148 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23149 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23151 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23152 (ibm_extended_long_double): Add ieee_nan member.
23153 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23154 (do_test): New function.
23156 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23158 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23159 functions, renamed from truncdfsf_test, trunctfsf_test,
23161 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23163 (do_test): Run all these.
23165 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23167 * argp/argp-help.c: Fix typos.
23168 * argp/argp-parse.c: Likewise.
23169 * debug/backtracesyms.c: Likewise.
23170 * elf/elf.h: Likewise.
23171 * malloc/malloc.c: Likewise.
23172 * nis/nis_print.c: Likewise.
23173 * resolv/res_comp.c: Likewise.
23174 * stdlib/stdlib.h: Likewise.
23175 * sunrpc/clnt_tcp.c: Likewise.
23176 * sunrpc/clnt_udp.c: Likewise.
23177 * sunrpc/clnt_unix.c: Likewise.
23178 * sysdeps/unix/bsd/ptsname.c: Likewise.
23179 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23180 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23189 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23191 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23194 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23197 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23198 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23199 ($(objpfx)bug-dl-leaf): New rule.
23200 ($(objpfx)bug-dl-leaf.so): Likewise.
23201 ($(objpfx)bug-dl-leaf.out): Likewise.
23202 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23203 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23204 * dlfcn/bug-dl-leaf.c: New test.
23205 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23206 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23207 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23208 (dlclose): Likewise.
23209 (dlmopen): Likewise.
23211 2013-08-27 Roland McGrath <roland@hack.frob.com>
23213 * include/netdb.h [!_ISOMAC]:
23214 Don't include <tls.h>.
23215 (h_errno, __libc_h_errno): Move declaration and macros out of
23218 * include/resolv.h [_RESOLV_H_]:
23219 Don't include <tls.h>.
23220 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23221 * resolv/res_libc.c: Don't include <tls.h>.
23222 (_res): Use __attribute__ ((nocommon)) in place of
23223 __attribute__ ((section (".bss"))).
23225 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23226 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23228 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23230 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23231 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23233 * resolv/res_mkquery.c: Include <sys/time.h>.
23235 * inet/ifreq.c: Moved to ...
23236 * sysdeps/unix/ifreq.c: ... here.
23237 * inet/ifreq.c: New file, true stub version.
23239 * socket/sa_len.c: New file.
23240 * socket/Makefile (aux): Add it.
23241 * sysdeps/unix/sysv/linux/Makefile
23242 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23243 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23244 and #include <socket/sa_len.c>.
23245 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23246 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23248 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23249 * bits/socket.h: ... here.
23251 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23252 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23253 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23255 2013-08-27 Andreas Schwab <schwab@suse.de>
23258 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23259 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23260 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23261 * string/test-strcasecmp.c (test_main): Run tests in several
23263 * string/test-strncasecmp.c (test_main): Likewise.
23265 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23266 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23267 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23269 (__strncasecmp_ssse3) [PIC]: Likewise.
23271 2013-08-26 Roland McGrath <roland@hack.frob.com>
23273 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23275 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23276 instead of explicitly declaring xdecrypt.
23277 * nis/nss_nis/nis-publickey.c: Likewise.
23279 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23282 * nscd/aicache.c: Include res_hconf.h.
23283 (addhstaiX): Initialize res_hconf.
23285 2013-08-26 Andreas Schwab <schwab@suse.de>
23287 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23288 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23290 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23292 * nscd/aicache.c (addhstaiX): Fix indentation.
23294 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23296 * configure.ac: Quote $build_pt_chown test.
23297 * configure: Regenerated.
23299 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23302 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23303 * math/s_cexpf.c (__cexpf): Likewise.
23304 * math/s_cexpl.c (__cexpl): Likewise.
23305 * math/libm-test.inc (cexp_test_data): Correct expected return
23306 value for NaN + i0. Add another test.
23308 2013-08-22 David S. Miller <davem@davemloft.net>
23310 * po/ca.po: Update Catalan translation from translation project.
23311 * po/uk.po: Add Ukrainian translations from translation project.
23313 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23316 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23317 is infinite, not alongside NaN test.
23318 * math/s_fdimf.c (__fdimf): Likewise.
23319 * math/s_fdiml.c (__fdiml): Likewise.
23320 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23321 errno is unchanged.
23323 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23325 * argp/argp-help.c: Fix typos.
23326 * crypt/speeds.c: Likewise.
23327 * csu/check_fds.c: Likewise.
23328 * elf/dl-load.c: Likewise.
23329 * elf/dl-open.c: Likewise.
23330 * elf/reldep3.c: Likewise.
23331 * elf/reldep.c: Likewise.
23332 * elf/sprof.c: Likewise.
23333 * iconv/iconv_charmap.c: Likewise.
23334 * iconv/skeleton.c: Likewise.
23335 * iconv/strtab.c: Likewise.
23336 * io/lockf64.c: Likewise.
23337 * libio/libioP.h: Likewise.
23338 * resolv/gai_notify.c: Likewise.
23339 * resolv/ns_name.c: Likewise.
23340 * resolv/ns_samedomain.c: Likewise.
23341 * resolv/res_send.c: Likewise.
23342 * stdlib/random.c: Likewise.
23343 * sunrpc/rpc/xdr.h: Likewise.
23344 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23345 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23346 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23347 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23348 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23351 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23352 * sysdeps/mach/hurd/check_fds.c: Likewise.
23353 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23354 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23356 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23357 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23358 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23359 * sysdeps/pthread/aio_notify.c: Likewise.
23360 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23361 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23362 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23363 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23364 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23366 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23368 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23369 version if bit_Slow_SSE4_2 is set.
23370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23371 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23373 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23376 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23377 trampoline stack frame information.
23378 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23380 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23381 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23382 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23383 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23384 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23385 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23387 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23388 interrupting a syscall and set with option SA_SIGINFO.
23390 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23393 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23394 argument is infinite.
23395 * math/s_cprojf.c (__cprojf): Likewise.
23396 * math/s_cprojl.c (__cprojl): Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23398 * math/libm-test.inc (cproj_test_data): Add more tests.
23400 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23402 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23403 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23404 size. Use __ffs to determine corresponding shift.
23406 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23407 Roland McGrath <roland@hack.frob.com>
23409 * Makefile (INSTALL): Remove trailing blank lines from output of
23412 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23414 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23415 Align 32 bit compat elf_greg to 8 bytes.
23417 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23419 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23421 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23423 * string/strcoll_l.c (coll_seq): New structure.
23424 (get_next_seq_cached): New function.
23425 (get_next_seq): New function.
23426 (do_compare): New function.
23427 (STRCOLL): Use GNU style definition. Simplify implementation
23428 by using get_next_seq, get_next_seq_cached and do_compare.
23430 2013-08-16 Florian Weimer <fweimer@redhat.com>
23434 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23436 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23438 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23439 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23440 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23442 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23443 GETDENTS_64BIT_ALIGNED.
23444 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23445 * manual/filesys.texi (Reading/Closing Directory): Document
23446 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23448 * manual/conf.texi (Limits for Files): Add portability note to
23449 NAME_MAX, PATH_MAX.
23450 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23452 2013-08-13 Andreas Schwab <schwab@suse.de>
23455 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23457 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23458 LDBL_MAX_EXP >= 16384]: Add tests for it.
23460 2013-08-12 David S. Miller <davem@davemloft.net>
23462 * version.h (RELEASE): Set to "development".
23463 (VERSION): Set to "2.18.90".
23464 * NEWS: Add 2.19 section.
23466 2013-08-03 David S. Miller <davem@davemloft.net>
23468 * po/ko.po: Update Korean translation from translation project.
23470 2013-08-01 David S. Miller <davem@davemloft.net>
23472 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23473 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23476 2013-07-30 David S. Miller <davem@davemloft.net>
23478 * po/fr.po: Update French translation from translation project.
23480 2013-07-28 David S. Miller <davem@davemloft.net>
23482 * po/cs.po: Update Czech translation from translation project.
23484 * po/sv.po: Update Swedish translation from translation project.
23486 2013-07-27 David S. Miller <davem@davemloft.net>
23488 * po/eo.po: Update Esperanto translation from translation project.
23490 * po/vi.po: Update Vietnamese translation from translation project.
23492 * po/de.po: Update German translation from translation project.
23494 2013-07-26 David S. Miller <davem@davemloft.net>
23496 * po/bg.po: Update Bulgarian translation from translation project.
23498 * po/nl.po: Update Dutch translation from translation project.
23499 * po/pl.po: Update Polish translation from translation project.
23500 * po/ru.po: Update Russian translation from translation project.
23502 2013-07-24 David S. Miller <davem@davemloft.net>
23504 * po/libc.pot: Update.
23506 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23508 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23509 variable page size.
23510 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23511 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23512 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23514 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23516 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23518 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23519 Andreas Schwab <schwab@suse.de>
23520 Roland McGrath <roland@hack.frob.com>
23521 Joseph Myers <joseph@codesourcery.com>
23522 Carlos O'Donell <carlos@redhat.com>
23525 * config.h.in: Define HAVE_PT_CHOWN.
23526 * config.make.in (build-pt-chown): New variable.
23527 * configure.in (--enable-pt_chown): New configure option.
23528 * configure: Regenerate.
23529 * login/Makefile: Include Makeconfig. Build pt_chown only if
23530 build-pt-chown is enabled.
23531 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23532 pt_chown to fix pty ownership.
23533 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23535 * manual/install.texi (Configuring and compiling): Mention
23536 --enable-pt_chown. Add @findex for grantpt.
23537 * INSTALL: Regenerate.
23539 2013-07-20 David S. Miller <davem@davemloft.net>
23541 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23542 difference between 32-bit and 64-bit.
23544 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23547 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23548 Avoid system header dependency with -ffreestanding.
23549 ($(objpfx)bits/syscall%d): Likewise.
23551 2013-07-13 David S. Miller <davem@davemloft.net>
23553 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23554 underflows from atanl/atan2l due to bug 15319.
23555 (casinh_test_data): Likewise.
23557 2013-07-07 David S. Miller <davem@davemloft.net>
23559 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23561 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23563 * sysdeps/i386/fpu/libm-test-ulps: Update.
23564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23566 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23568 * configure.in (--enable-lock-elision): Fix message text.
23569 * INSTALL: Regenerate.
23570 * configure: Regenerate.
23572 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23576 2013-07-03 Andreas Jaeger <aj@suse.de>
23578 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23580 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23581 (ptrace_peeksiginfo_args): Add.
23582 (__ptrace_peeksiginfo_flags): Add.
23583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23585 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23587 2013-07-03 Allan McRae <allan@archlinux.org>
23589 * sysdeps/i386/fpu/libm-test-ulps: Update.
23591 2013-07-02 David S. Miller <davem@davemloft.net>
23593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23595 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23599 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23601 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23604 2013-07-02 Andi Kleen <ak@linux.intel.com>
23606 * config.h.in (ENABLE_LOCK_ELISION): Add.
23607 * configure.in (--enable-lock-elision): Add option.
23608 * manual/install.texi: Document --enable lock elision.
23609 * configure: Regenerate
23610 * INSTALL: Regenerate.
23612 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23614 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23615 SSE4.2 strcasecmp for libc.a.
23616 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23618 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23621 * soft-fp/op-common.h (_FP_FMA): New macro.
23622 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23623 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23624 (_FP_MUL_MEAT_1_imm): ... here.
23625 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23626 (_FP_MUL_MEAT_1_wide): ... here.
23627 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23628 (_FP_MUL_MEAT_1_hard): ... here.
23629 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23630 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23631 (_FP_MUL_MEAT_2_wide): ... here.
23632 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23633 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23634 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23635 (_FP_MUL_MEAT_2_gmp): ... here.
23636 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23637 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23638 (_FP_MUL_MEAT_4_wide): ... here.
23639 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23640 (_FP_MUL_MEAT_4_gmp): ... here.
23641 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23642 (_FP_WFRACBITS_DW_S): Likewise.
23643 (_FP_WFRACXBITS_DW_S): Likewise.
23644 (_FP_HIGHBIT_DW_S): Likewise.
23645 (FP_FMA_S): Likewise.
23646 (_FP_FRAC_HIGH_DW_S): Likewise.
23647 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23648 (_FP_WFRACBITS_DW_D): Likewise.
23649 (_FP_WFRACXBITS_DW_D): Likewise.
23650 (_FP_HIGHBIT_DW_D): Likewise.
23651 (FP_FMA_D): Likewise.
23652 (_FP_FRAC_HIGH_DW_D): Likewise.
23653 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23654 (_FP_WFRACBITS_DW_E): Likewise.
23655 (_FP_WFRACXBITS_DW_E): Likewise.
23656 (_FP_HIGHBIT_DW_E): Likewise.
23657 (FP_FMA_E): Likewise.
23658 (_FP_FRAC_HIGH_DW_E): Likewise.
23659 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23660 (_FP_WFRACBITS_DW_Q): Likewise.
23661 (_FP_WFRACXBITS_DW_Q): Likewise.
23662 (_FP_HIGHBIT_DW_Q): Likewise.
23663 (FP_FMA_Q): Likewise.
23664 (_FP_FRAC_HIGH_DW_Q): Likewise.
23665 * soft-fp/fmasf4.c: New file.
23666 * soft-fp/fmadf4.c: Likewise.
23667 * soft-fp/fmatf4.c: Likewise.
23669 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23672 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23674 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23676 (index_Slow_SSE4_2): Likewise.
23677 (index_Prefer_PMINUB_for_stringop): Likewise.
23678 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23679 bit_Slow_SSE4_2 is set.
23680 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23683 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23685 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23686 rtld_global._dl_hwcap2.
23687 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23689 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23690 POWER8 feature descriptions defined in _dl_hwcap2.
23691 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23692 string handling for POWER8 feature bits.
23693 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23694 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23695 _dl_powerpc_cap_flags.
23696 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23697 * sysdeps/powerpc/rtld-global-offsets.sym
23698 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23699 _dl_hwcap2 in the rtld_global_ro structure.
23701 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23703 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23704 hardware capabilities in support of AT_HWCAP2.
23705 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23706 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23708 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23709 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23710 explicitly the unknown a_type display mechanism is used.
23711 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23712 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23714 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23715 to macro prototype for AT_HWCAP2 support.
23716 * sysdeps/i386/dl-procinfo.h: Likewise.
23717 * sysdeps/s390/dl-procinfo.h: Likewise.
23718 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23719 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23720 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23721 return -1 for unknown a_type display fallback.
23722 * sysdeps/sparc/dl-procinfo.h: Likewise.
23723 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23724 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23726 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23728 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23729 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23731 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23734 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23735 mprotect making __stack_prot writable.
23737 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23738 Joseph Myers <joseph@codesourcery.com>
23740 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23741 as being properly aligned.
23743 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23745 * dlfcn/modstatic5.c: New file.
23746 * dlfcn/tststatic5.c: New file.
23747 * dlfcn/Makefile (tests): Add tststatic5.
23748 (tests-static): Likewise.
23749 (modules-names): Add modstatic5.
23750 (tststatic5-ENV): New variable.
23751 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23754 * elf/dl-support.c (_dl_main_map): New variable.
23755 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23756 (_dl_nns, _dl_load_adds): Set to 1.
23757 (_dl_initial_searchlist): Refer to _dl_main_map.
23758 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23759 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23760 call to _dl_get_origin.
23761 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23763 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23764 * dlfcn/modstatic3.c: New file.
23765 * dlfcn/tststatic3.c: New file.
23766 * dlfcn/tststatic4.c: New file.
23767 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23768 (tests-static): Likewise.
23769 (modules-names): Add modstatic3.
23770 (tststatic3-ENV, tststatic4-ENV): New variables.
23771 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23772 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23774 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23776 * configure.in (CC): Require GCC version 4.4 or later.
23777 * configure: Regenerated.
23778 * manual/install.texi (Tools for Compilation): Update GCC version
23780 * INSTALL: Regenerated.
23782 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23785 * string/test-memcmp.c (check2): New.
23786 (main): Call check2.
23788 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23790 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23793 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23795 (dl_open_worker) [!SHARED]: ... here.
23797 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23799 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23801 2013-06-25 Richard Henderson <rth@redhat.com>
23803 * locale/programs/locarchive.c: Include <libc-internal.h>
23805 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23807 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23808 trailing whitespace removed.
23810 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23813 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23814 * locale/programs/locarchive.c: Include libc-mmap.h.
23815 (prepare_address_space): Take two new outputs (the mmap base and len).
23816 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23818 (create_archive): Declare new mmap base and len values for
23819 prepare_address_space, and store the result in ah.
23820 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23821 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23822 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23823 Declare new mmap base and len values for
23824 prepare_address_space, and store the result in new_ah.
23825 (open_archive): Declare new mmap base and len values for
23826 prepare_address_space, and store the result in ah.
23827 (close_archive): If ah->mmap_base is not NULL, use that and
23828 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23829 * sysdeps/generic/libc-mmap.h: New file.
23831 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23833 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23834 (ALIGN_UP): Likewise.
23835 (PTR_ALIGN_DOWN): Likewise.
23836 (PTR_ALIGN_UP): Likewise.
23838 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23840 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23841 entry mapped to PPC_PLATFORM_POWER8.
23842 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23844 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23845 (_dl_string_platform): Add case for exporting platform position for
23847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23848 search path to sysdeps/powerpc/powerpc32/power8 directory.
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23850 search path to sysdeps/powerpc/powerpc64/power8 directory.
23851 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23852 power7 directories.
23853 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23854 power7 directories.
23856 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23858 * INSTALL: Regenerate.
23860 * nscd/connections.c (nscd_init): Fix comment.
23862 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23864 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23867 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23868 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23870 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23872 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23874 (DL_DST_REQ_STATIC): Remove macro.
23876 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23879 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23880 with a shift of 0 bits.
23882 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23884 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23887 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23890 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23892 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23894 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23895 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23896 accepts -fno-tree-loop-distribute-patterns.
23897 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23898 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23900 * string/memset.c (memset): Likewise.
23901 * string/test-memmove.c (simple_memmove): Disable loop transformation
23903 * string/test-memset.c (simple_memset): Likewise.
23904 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23905 * benchtests/bench-memset.c (simple_memset): Likewise.
23906 * configure: Regenerated.
23908 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23910 * math/test-misc.c (main): Ignore fesetround failure when failures
23911 of subsequent rounding tests would be ignored.
23914 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23915 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23916 * math/fegetenv.c (__fegetenv): Return 0.
23917 * math/fegetexcept.c (fegetexcept): Return 0.
23918 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23920 * math/feholdexcpt.c (feholdexcept): Return 0.
23921 * math/fesetenv.c (__fesetenv): Return 0.
23922 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23923 argument FE_TONEAREST.
23924 * math/feupdateenv.c (__feupdateenv): Return 0.
23925 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23927 2013-06-18 Roland McGrath <roland@hack.frob.com>
23929 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23930 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23931 ($(objpfx)rtld-%.os rules): Use them.
23933 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23935 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23938 2013-06-17 Roland McGrath <roland@hack.frob.com>
23940 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23941 length of target pattern, then descending length of dependency pattern.
23942 * configure.in (AWK): Require gawk 3.1.2 or newer.
23943 * manual/install.texi (Tools for Compilation): Say that we do.
23944 * configure: Regenerated.
23946 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23947 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23948 * scripts/sysd-rules.awk: ... this new script.
23949 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23950 than a glob-style pattern.
23952 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23954 * math/test-misc.c (main): Do not treat incorrectly rounded
23955 conversions as failure unless ROUNDING_TESTS passes.
23957 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23960 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23961 restore exception state around main square root computation, then
23962 check for inexactness explicitly.
23964 * math/libm-test.inc (fma_test_data): Add another test.
23966 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23968 * manual/threads.texi (Non-POSIX Extensions): New document
23969 node. Document pthread_getattr_default_np and
23970 pthread_setattr_default_np.
23972 * Versions.def (libpthread): Add GLIBC_2.18.
23973 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23982 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23993 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23995 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23996 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23998 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23999 H.J. Lu <hjl.tools@gmail.com>
24002 * sysdeps/x86_64/rtld-memset.c: Remove file.
24003 * sysdeps/x86_64/rtld-memset.S: New file.
24005 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24007 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24008 (test_in_one_mode): Take arguments for whether the rounding mode
24009 is supported for each floating-point type.
24010 (do_test): Pass new arguments to test_in_one_mode using
24013 2013-06-13 Roland McGrath <roland@hack.frob.com>
24015 * posix/tst-waitid.c (do_test): Distinguish different instances of
24016 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24017 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24018 before entering the kernel for waitpid.
24020 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24022 * NEWS: Fix note on clock function precision. Text by Roland
24025 2013-06-13 Roland McGrath <roland@hack.frob.com>
24027 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24028 it into place only when and if the sanity check passes.
24030 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24032 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24033 output for whether conversion result is exact. Take argument
24034 indicating whether type is IBM long double.
24035 (round_for_all): Change need_exact field to ibm_ld.
24036 * stdlib/tst-strtod-round.c (struct exactness): New type.
24037 (struct test): Change bool ld_ok field to struct exactness exact.
24038 (TEST): Update all definitions for change to field.
24039 (tests): Regenerate array contents.
24040 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24041 field value. Check for IBM long double here.
24042 (do_test): Update calls to test_in_one_mode.
24044 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24047 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24048 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24050 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24053 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24054 generated by the compiler on loop optimizations.
24055 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24056 general definitions.
24058 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24060 * math/bug-nextafter.c: Include <math-tests.h>.
24061 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24063 * math/bug-nexttoward.c: Include <math-tests.h>.
24064 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24066 * math/test-misc.c: Include <math-tests.h>.
24067 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24070 2013-06-12 Andreas Jaeger <aj@suse.de>
24072 * po/ia.po: Update Interlingua translation from translation
24075 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24077 * include/fenv.h: Include stdbool.h.
24078 (struct rm_ctx): New structure.
24079 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24081 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24082 (SET_RESTORE_ROUNDF): Likewise.
24083 (SET_RESTORE_ROUNDL): Likewise.
24084 (SET_RESTORE_ROUND_NOEX): Likewise.
24085 (SET_RESTORE_ROUND_NOEXF): Likewise.
24086 (SET_RESTORE_ROUND_NOEXL): Likewise.
24087 (SET_RESTORE_ROUND_53BIT): Likewise.
24088 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24089 (libc_feresetround_noexf_ctx): Likewise.
24090 (libc_feresetround_noexl_ctx): Likewise.
24091 (libc_feholdsetround_53bit_ctx): Likewise.
24092 (libc_feresetround_53bit_ctx): Likewise.
24093 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24094 (libc_feholdexcept_setround_sse_ctx): New function.
24095 (libc_fesetenv_sse_ctx): Likewise.
24096 (libc_feupdateenv_sse_ctx): Likewise.
24097 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24098 (libc_feholdexcept_setround_387_ctx): Likewise.
24099 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24100 (libc_feholdsetround_387_prec_ctx): Likewise.
24101 (libc_feholdsetround_387_ctx): Likewise.
24102 (libc_feholdsetround_387_53bit_ctx): Likewise.
24103 (libc_feholdsetround_sse_ctx): Likewise.
24104 (libc_feresetround_sse_ctx): Likewise.
24105 (libc_feresetround_387_ctx): Likewise.
24106 (libc_feupdateenv_387_ctx): Likewise.
24107 (libc_feholdexcept_setroundf_ctx): Define macro.
24108 (libc_fesetenvf_ctx): Likewise.
24109 (libc_feupdateenvf_ctx): Likewise.
24110 (libc_feholdsetroundf_ctx): Likewise.
24111 (libc_feresetroundf_ctx): Likewise.
24112 (libc_feholdexcept_setround_ctx): Likewise.
24113 (libc_fesetenv_ctx): Likewise.
24114 (libc_feupdateenv_ctx): Likewise.
24115 (libc_feholdsetround_ctx): Likewise.
24116 (libc_feresetround_ctx): Likewise.
24117 (libc_feholdexcept_setroundl_ctx): Likewise.
24118 (libc_feupdateenvl_ctx): Likewise.
24119 (libc_feholdsetroundl_ctx): Likewise.
24120 (libc_feresetroundl_ctx): Likewise.
24121 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24122 (libc_feresetround_53bit_ctx): Likewise.
24124 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24126 * locale/iso-639.def: Convert to UTF-8.
24128 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24130 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24131 (EXCEPTION_TESTS_double): Likewise.
24132 (EXCEPTION_TESTS_long_double): Likewise.
24133 (EXCEPTION_TESTS): Likewise.
24134 * math/libm-test.inc (test_exceptions): Only test exceptions if
24135 EXCEPTION_TESTS (FLOAT).
24137 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24139 * benchtests/Makefile (string-bench): Add strcpy_chk and
24141 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24142 * benchtests/bench-stpcpy_chk.c: New file.
24143 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24144 * benchtests/bench-strcpy_chk.c: New file.
24145 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24147 (do_test): Likewise.
24149 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24151 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24152 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24153 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24154 with tabs where appropriate.
24155 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24157 [PPC_PLATFORM_PPC440]: Likewise.
24158 [PPC_PLATFORM_PPC464]: Likewise.
24159 [PPC_PLATFORM_PPC476]: Likewise.
24160 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24161 ppc464, and ppc476 platform strings merging from ports/
24164 2013-06-11 Andreas Schwab <schwab@suse.de>
24167 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24168 (from_ucs4_idx): Regenerate.
24169 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24170 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24171 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24172 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24173 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24174 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24175 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24176 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24177 from FROM_LOOP and TO_LOOP specific macros.
24178 (BODY): Handle combining characters.
24179 * iconvdata/BIG5HKSCS.irreversible: Update.
24180 * iconvdata/BIG5HKSCS.precomposed: New file.
24181 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24183 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24185 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24187 * include/sys/time.h: Fix indentation and add copyright header.
24189 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24190 (do_test): Likewise.
24191 * string/test-memchr.c (do_one_test): Likewise.
24192 (do_test): Likewise.
24193 * string/test-memcmp.c (do_one_test): Likewise.
24194 (do_test): Likewise.
24195 * string/test-memcpy.c (do_one_test): Likewise.
24196 (do_test): Likewise.
24197 * string/test-memmem.c (do_one_test): Likewise.
24198 (do_test): Likewise.
24199 (do_random_tests): Likewise.
24200 * string/test-memmove.c (do_one_test): Likewise.
24201 (do_test): Likewise.
24202 * string/test-memset.c (do_one_test): Likewise.
24203 (do_test): Likewise.
24204 * string/test-rawmemchr.c (do_one_test): Likewise.
24205 (do_test): Likewise.
24206 * string/test-strcasecmp.c (do_one_test): Likewise.
24207 (do_test): Likewise.
24208 * string/test-strcasestr.c (do_one_test): Likewise.
24209 (do_test): Likewise.
24210 * string/test-strcat.c (do_one_test): Likewise.
24211 (do_test): Likewise.
24212 * string/test-strchr.c (do_one_test): Likewise.
24213 (do_test): Likewise.
24214 * string/test-strcmp.c (do_one_test): Likewise.
24215 (do_test): Likewise.
24216 * string/test-strcpy.c (do_one_test): Likewise.
24217 (do_test): Likewise.
24218 * string/test-string.h: Likewise.
24219 (test_init): Likewise.
24220 * string/test-strlen.c (do_one_test): Likewise.
24221 (do_test): Likewise.
24222 * string/test-strncasecmp.c (do_one_test): Likewise.
24223 (do_test): Likewise.
24224 * string/test-strncat.c (do_one_test): Likewise.
24225 (do_test): Likewise.
24226 * string/test-strncmp.c (do_one_test): Likewise.
24227 (do_test_limit): Likewise.
24228 (do_test): Likewise.
24229 * string/test-strncpy.c (do_one_test): Likewise.
24230 (do_test): Likewise.
24231 * string/test-strnlen.c (do_one_test): Likewise.
24232 (do_test): Likewise.
24233 * string/test-strpbrk.c (do_one_test): Likewise.
24234 (do_test): Likewise.
24235 * string/test-strrchr.c (do_one_test): Likewise.
24236 (do_test): Likewise.
24237 * string/test-strspn.c (do_one_test): Likewise.
24238 (do_test): Likewise.
24239 * string/test-strstr.c (do_one_test): Likewise.
24240 (do_test): Likewise.
24242 * benchtests/Makefile (string-bench): Add string benchmarks.
24243 * benchtests/bench-bcopy-ifunc.c: New file.
24244 * benchtests/bench-bcopy.c: New file.
24245 * benchtests/bench-bzero-ifunc.c: New file.
24246 * benchtests/bench-bzero.c: New file.
24247 * benchtests/bench-memccpy-ifunc.c: New file.
24248 * benchtests/bench-memccpy.c: New file.
24249 * benchtests/bench-memchr-ifunc.c: New file.
24250 * benchtests/bench-memchr.c: New file.
24251 * benchtests/bench-memcmp-ifunc.c: New file.
24252 * benchtests/bench-memcmp.c: New file.
24253 * benchtests/bench-memmem-ifunc.c: New file.
24254 * benchtests/bench-memmem.c: New file.
24255 * benchtests/bench-memmove-ifunc.c: New file.
24256 * benchtests/bench-memmove.c: New file.
24257 * benchtests/bench-mempcpy-ifunc.c: New file.
24258 * benchtests/bench-mempcpy.c: New file.
24259 * benchtests/bench-memset-ifunc.c: New file.
24260 * benchtests/bench-memset.c: New file.
24261 * benchtests/bench-rawmemchr-ifunc.c: New file.
24262 * benchtests/bench-rawmemchr.c: New file.
24263 * benchtests/bench-stpcpy-ifunc.c: New file.
24264 * benchtests/bench-stpcpy.c: New file.
24265 * benchtests/bench-stpncpy-ifunc.c: New file.
24266 * benchtests/bench-stpncpy.c: New file.
24267 * benchtests/bench-strcasecmp-ifunc.c: New file.
24268 * benchtests/bench-strcasecmp.c: New file.
24269 * benchtests/bench-strcasestr-ifunc.c: New file.
24270 * benchtests/bench-strcasestr.c: New file.
24271 * benchtests/bench-strcat-ifunc.c: New file.
24272 * benchtests/bench-strcat.c: New file.
24273 * benchtests/bench-strchr-ifunc.c: New file.
24274 * benchtests/bench-strchr.c: New file.
24275 * benchtests/bench-strchrnul-ifunc.c: New file.
24276 * benchtests/bench-strchrnul.c: New file.
24277 * benchtests/bench-strcmp-ifunc.c: New file.
24278 * benchtests/bench-strcmp.c: New file.
24279 * benchtests/bench-strcpy-ifunc.c: New file.
24280 * benchtests/bench-strcpy.c: New file.
24281 * benchtests/bench-strcspn-ifunc.c: New file.
24282 * benchtests/bench-strcspn.c: New file.
24283 * benchtests/bench-strlen-ifunc.c: New file.
24284 * benchtests/bench-strlen.c: New file.
24285 * benchtests/bench-strncasecmp-ifunc.c: New file.
24286 * benchtests/bench-strncasecmp.c: New file.
24287 * benchtests/bench-strncat-ifunc.c: New file.
24288 * benchtests/bench-strncat.c: New file.
24289 * benchtests/bench-strncmp-ifunc.c: New file.
24290 * benchtests/bench-strncmp.c: New file.
24291 * benchtests/bench-strncpy-ifunc.c: New file.
24292 * benchtests/bench-strncpy.c: New file.
24293 * benchtests/bench-strnlen-ifunc.c: New file.
24294 * benchtests/bench-strnlen.c: New file.
24295 * benchtests/bench-strpbrk-ifunc.c: New file.
24296 * benchtests/bench-strpbrk.c: New file.
24297 * benchtests/bench-strrchr-ifunc.c: New file.
24298 * benchtests/bench-strrchr.c: New file.
24299 * benchtests/bench-strspn-ifunc.c: New file.
24300 * benchtests/bench-strspn.c: New file.
24301 * benchtests/bench-strstr-ifunc.c: New file.
24302 * benchtests/bench-strstr.c: New file.
24304 * benchtests/Makefile: Disable parallel execution of targets.
24305 (string-bench): Add memcpy.
24306 (benchset): New variable to store a list of benchmark sets.
24307 (bench-func): Renamed from bench.
24308 (bench-set): New target.
24309 (bench): Depend on bench-func and bench-set.
24310 * benchtests/README: Add section on benchmark sets.
24311 * benchtests/bench-memcpy-ifunc.c: New file.
24312 * benchtests/bench-memcpy.c: New file.
24313 * benchtests/bench-string.h: New file.
24315 2013-06-11 Andreas Schwab <schwab@suse.de>
24318 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24319 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24320 values in the triple.
24321 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24322 terminator in the group key.
24324 2013-06-11 Andreas Jaeger <aj@suse.de>
24326 * po/zh_TW.po: Update Chinese (traditional) translation from
24327 translation project.
24329 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24331 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24332 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24333 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24335 (clock_getcpuclockid): Likewise.
24336 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24337 Add weak_alias and libc_hidden_def.
24338 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24339 * rt/clock_gettime.c (clock_gettime): Rename to
24340 __clock_gettime. Add weak_alias and libc_hidden_def.
24341 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24342 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24343 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24344 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24345 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24347 * rt/clock_settime.c (clock_settime): Rename to
24348 __clock_settime. Add weak_alias and libc_hidden_def.
24349 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24351 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24353 * mach/err_boot.sub: Remove trailing whitespace.
24354 * mach/err_ipc.sub: Likewise.
24355 * mach/err_mach.sub: Likewise.
24357 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24358 (ROUNDING_TESTS_double): Likewise.
24359 (ROUNDING_TESTS_long_double): Likewise.
24360 (ROUNDING_TESTS): Likewise.
24361 * math/libm-test.inc: Include <math-tests.h>.
24362 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24363 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24364 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24365 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24367 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24369 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24372 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24374 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24375 otherwise empty TRANS lines.
24376 * sysdeps/gnu/errlist.c: Regenerated.
24378 * catgets/gencat.c (error_print): Use (void) in function
24380 * crypt/crypt_util.c (__init_des): Likewise.
24381 * crypt/speeds.c (Stop): Likewise.
24383 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24384 * inet/ruserpass.c (token): Likewise.
24385 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24386 * intl/localealias.c (extend_alias_table): Likewise.
24387 * intl/plural-exp.c (init_germanic_plural): Likewise.
24388 * libio/fcloseall.c (__fcloseall): Likewise.
24389 * libio/genops.c (_IO_flush_all): Likewise.
24390 (_IO_flush_all_linebuffered): Likewise.
24391 (_IO_cleanup): Likewise.
24392 (_IO_iter_begin): Likewise.
24393 (_IO_iter_end): Likewise.
24394 (_IO_list_lock): Likewise.
24395 (_IO_list_unlock): Likewise.
24396 (_IO_list_resetlock): Likewise.
24397 * libio/getchar.c (getchar): Likewise.
24398 * libio/getchar_u.c (getchar_unlocked): Likewise.
24399 * libio/getwchar.c (getwchar): Likewise.
24400 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24401 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24402 * login/getpt.c (__getpt): Likewise.
24403 * login/tst-utmp.c (main): Likewise.
24404 * malloc/hooks.c (__malloc_check_init): Likewise.
24405 * malloc/malloc.c (__malloc_stats): Likewise.
24406 * malloc/mtrace.c (tr_break): Likewise.
24407 (mtrace): Likewise.
24408 (muntrace): Likewise.
24409 * misc/fstab.c (endfsent): Likewise.
24410 * misc/getclktck.c (__getclktck): Likewise.
24411 * misc/getdtsz.c (__getdtablesize): Likewise.
24412 * misc/gethostid.c (gethostid): Likewise.
24413 * misc/getpagesize.c (__getpagesize): Likewise.
24414 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24415 (__get_nprocs): Likewise.
24416 (__get_phys_pages): Likewise.
24417 (__get_avphys_pages): Likewise.
24418 * misc/getttyent.c (getttyent): Likewise.
24419 (setttyent): Likewise.
24420 (endttyent): Likewise.
24421 * misc/getusershell.c (getusershell): Likewise.
24422 (endusershell): Likewise.
24423 (setusershell): Likewise.
24424 (initshells): Likewise.
24425 * misc/hsearch.c (__hdestroy): Likewise.
24426 * misc/sync.c (sync): Likewise.
24427 * misc/syslog.c (closelog_internal): Likewise.
24428 (closelog): Likewise.
24429 * misc/ttyslot.c (ttyslot): Likewise.
24430 * misc/vhangup.c (vhangup): Likewise.
24431 * posix/fork.c (__fork): Likewise.
24432 * posix/getegid.c (__getegid): Likewise.
24433 * posix/geteuid.c (__geteuid): Likewise.
24434 * posix/getgid.c (__getgid): Likewise.
24435 * posix/getpid.c (__getpid): Likewise.
24436 * posix/getppid.c (__getppid): Likewise.
24437 * posix/getuid.c (__getuid): Likewise.
24438 * posix/pause.c (pause): Likewise.
24439 * posix/setpgrp.c (setpgrp): Likewise.
24440 * posix/setsid.c (__setsid): Likewise.
24441 * posix/test-vfork.c (noop): Likewise.
24442 * resolv/gethnamaddr.c (_endhtent): Likewise.
24443 (_gethtent): Likewise.
24444 (ht_endhostent): Likewise.
24445 (gethostent): Likewise.
24446 (dns_service): Likewise.
24447 * stdlib/drand48.c (drand48): Likewise.
24448 * stdlib/lrand48.c (lrand48): Likewise.
24449 * stdlib/mrand48.c (mrand48): Likewise.
24450 * stdlib/rand.c (rand): Likewise.
24451 * stdlib/random.c (__random): Likewise.
24452 * stdlib/setenv.c (clearenv): Likewise.
24453 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24454 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24455 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24456 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24457 (__get_nprocs): Likewise.
24458 (__get_phys_pages): Likewise.
24459 (__get_avphys_pages): Likewise.
24460 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24461 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24462 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24463 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24464 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24465 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24466 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24467 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24468 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24469 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24470 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24471 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24472 * sysdeps/posix/clock.c (clock): Likewise.
24473 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24474 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24475 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24476 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24477 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24478 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24479 (__get_nprocs_conf): Likewise.
24480 (__get_phys_pages): Likewise.
24481 (__get_avphys_pages): Likewise.
24482 * time/clock.c (clock): Likewise.
24483 * time/tzset.c (__tzname_max): Likewise.
24485 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24487 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24488 (__bswap_32): Do not use "register".
24489 * crypt/crypt.c (_ufc_doit_r): Likewise.
24490 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24491 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24492 * gmon/gmon.c (__monstartup): Likewise.
24493 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24494 * hurd/hurdmalloc.c (more_memory): Likewise.
24495 (malloc): Likewise.
24497 (realloc): Likewise.
24498 (malloc_fork_prepare): Likewise.
24499 (malloc_fork_parent): Likewise.
24500 (malloc_fork_child): Likewise.
24501 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24502 (_svcauth_des): Likewise.
24503 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24504 * inet/inet_net.c (inet_network): Likewise.
24505 * inet/inet_netof.c (inet_netof): Likewise.
24506 * inet/rcmd.c (__validuser2_sa): Likewise.
24507 * io/fts.c (fts_open): Likewise.
24508 (fts_load): Likewise.
24509 (fts_close): Likewise.
24510 (fts_read): Likewise.
24511 (fts_children): Likewise.
24512 (fts_build): Likewise.
24513 (fts_stat): Likewise.
24514 (fts_sort): Likewise.
24515 (fts_alloc): Likewise.
24516 (fts_lfree): Likewise.
24517 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24518 (_IO_file_xsgetn): Likewise.
24519 (_IO_file_xsgetn_mmap): Likewise.
24520 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24521 (_IO_cookie_write): Likewise.
24522 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24523 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24524 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24525 * malloc/obstack.c (_obstack_begin): Likewise.
24526 (_obstack_begin_1): Likewise.
24527 (_obstack_newchunk): Likewise.
24528 (_obstack_allocated_p): Likewise.
24529 (obstack_free): Likewise.
24530 (_obstack_memory_used): Likewise.
24531 * misc/getttyent.c (getttynam): Likewise.
24532 (getttyent): Likewise.
24535 * misc/getusershell.c (initshells): Likewise.
24536 * misc/syslog.c (__vsyslog_chk): Likewise.
24537 * misc/ttyslot.c (ttyslot): Likewise.
24538 * nis/nis_hash.c (__nis_hash): Likewise.
24539 * posix/fnmatch_loop.c (FCT): Likewise.
24540 * posix/getconf.c (print_all): Likewise.
24542 * posix/getopt.c (exchange): Likewise.
24543 * posix/glob.c (globfree): Likewise.
24544 (prefix_array): Likewise.
24545 (__glob_pattern_type): Likewise.
24546 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24547 (NS_GET32): Likewise.
24548 (NS_PUT16): Likewise.
24549 (NS_PUT32): Likewise.
24550 * resolv/gethnamaddr.c (getanswer): Likewise.
24551 (gethostbyname2): Likewise.
24552 (gethostbyaddr): Likewise.
24553 (_gethtent): Likewise.
24554 (_gethtbyname2): Likewise.
24555 (_gethtbyaddr): Likewise.
24556 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24557 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24558 * resolv/res_init.c (__res_vinit): Likewise.
24559 (net_mask): Likewise.
24560 * resolv/res_mkquery.c (outchar): Likewise.
24562 * stdio-common/printf_fp.c (outchar): Likewise.
24564 * stdio-common/printf_fphex.c (outchar): Likewise.
24566 * stdio-common/printf_size.c (outchar): Likewise.
24568 * stdio-common/test_rdwr.c (main): Likewise.
24569 * stdio-common/tfformat.c (matches): Likewise.
24570 * stdio-common/vfprintf.c (outchar): Likewise.
24571 (printf_unknown): Likewise.
24572 (buffered_vfprintf): Likewise.
24573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24574 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24575 (ReadFile): Likewise.
24576 * stdlib/qsort.c (SWAP): Likewise.
24577 (_quicksort): Likewise.
24578 * stdlib/setenv.c (__add_to_environ): Likewise.
24579 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24580 * stdlib/strtol_l.c (__strtol_l): Likewise.
24581 * stdlib/tst-strtod.c (main): Likewise.
24582 * stdlib/tst-strtol.c (main): Likewise.
24583 * stdlib/tst-strtoll.c (main): Likewise.
24584 * string/bits/string2.h (__strcmp_cc): Likewise.
24585 (__strcmp_cg): Likewise.
24586 (__strcspn_c1): Likewise.
24587 (__strcspn_c2): Likewise.
24588 (__strcspn_c3): Likewise.
24589 (__strspn_c1): Likewise.
24590 (__strspn_c2): Likewise.
24591 (__strspn_c3): Likewise.
24592 (__strsep_1c): Likewise.
24593 (__strsep_2c): Likewise.
24594 (__strsep_3c): Likewise.
24595 * string/memccpy.c (__memccpy): Likewise.
24596 * string/stpcpy.c (__stpcpy): Likewise.
24597 * string/strcmp.c (strcmp): Likewise.
24598 * string/strrchr.c (strrchr): Likewise.
24599 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24601 * sysdeps/mach/hurd/getcwd.c
24602 (_hurd_canonicalize_directory_name_internal): Likewise.
24603 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24604 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24605 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24606 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24607 Likewise, in both definitions.
24608 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24610 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24611 64] (__bswap_64): Likewise.
24612 * time/test_time.c (main): Likewise.
24613 * time/tzfile.c (__tzfile_read): Likewise.
24614 (__tzfile_compute): Likewise.
24615 * time/tzset.c (__tzset_parse_tz): Likewise.
24616 (tzset_internal): Likewise.
24617 (compute_change): Likewise.
24618 * wcsmbs/wcscat.c (__wcscat): Likewise.
24619 * wcsmbs/wcschr.c (wcschr): Likewise.
24620 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24621 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24622 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24623 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24624 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24625 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24626 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24627 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24628 * wcsmbs/wmemset.c (wmemset): Likewise.
24630 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24632 * scripts/config.guess: Update to version 2013-05-16.
24633 * scripts/config.sub: Update to version 2013-04-24.
24634 * scripts/install-sh: Update to version 2011-11-20.07.
24635 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24636 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24638 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24640 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24641 * elf/sln.c: Likewise.
24642 * hurd/hurd/ioctl.h: Likewise.
24643 * hurd/hurdmalloc.c: Likewise.
24644 * hurd/xattr.c: Likewise.
24645 * include/shlib-compat.h: Likewise.
24646 * inet/ruserpass.c: Likewise.
24647 * libio/iofgets_u.c: Likewise.
24648 * libio/iofgetws_u.c: Likewise.
24649 * locale/programs/ld-identification.c: Likewise.
24650 * locale/programs/ld-time.c: Likewise.
24651 * mach/msg-destroy.c: Likewise.
24652 * nss/nss_files/files-netgrp.c: Likewise.
24653 * resolv/res_data.c: Likewise.
24654 * soft-fp/op-1.h: Likewise.
24655 * soft-fp/op-2.h: Likewise.
24656 * soft-fp/op-4.h: Likewise.
24657 * soft-fp/op-common.h: Likewise.
24658 * stdio-common/printf_fphex.c: Likewise.
24659 * stdlib/strtod_l.c: Likewise.
24660 * sunrpc/rpc/clnt.h: Likewise.
24661 * sysdeps/generic/framestate.c: Likewise.
24662 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24663 * sysdeps/i386/bsd-setjmp.S: Likewise.
24664 * sysdeps/i386/__longjmp.S: Likewise.
24665 * sysdeps/i386/setjmp.S: Likewise.
24666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24667 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24668 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24684 * sysdeps/ieee754/support.c: Likewise.
24685 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24686 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24687 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24688 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24689 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24690 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24691 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24692 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24693 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24694 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24695 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24696 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24697 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24698 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24699 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24700 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24701 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24704 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24706 * posix/transbug.c: Remove executable mode.
24708 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24710 * crypt/speeds.c: Remove trailing whitespace.
24711 * dlfcn/default.c: Likewise.
24712 * elf/ifuncdep2.c: Likewise.
24713 * elf/ifuncmain1.c: Likewise.
24714 * elf/ifuncmain1vis.c: Likewise.
24715 * elf/testobj.h: Likewise.
24716 * elf/tst-stackguard1.c: Likewise.
24717 * gmon/sys/gmon.h: Likewise.
24718 * hurd/hurdmsg.c: Likewise.
24719 * hurd/new-fd.c: Likewise.
24720 * hurd/ports-get.c: Likewise.
24721 * iconvdata/ibm1008_420.c: Likewise.
24722 * inet/tst-getni1.c: Likewise.
24723 * inet/tst-getni2.c: Likewise.
24724 * libio/ioungetc.c: Likewise.
24725 * libio/wfiledoalloc.c: Likewise.
24726 * manual/libm-err-tab.pl: Likewise.
24727 * math/w_dremf.c: Likewise.
24728 * misc/ftruncate.c: Likewise.
24729 * posix/bug-glob2.c: Likewise.
24730 * posix/tst-pcre.c: Likewise.
24731 * posix/wait4.c: Likewise.
24732 * resolv/README: Likewise.
24733 * resolv/res_debug.h: Likewise.
24734 * resolv/tst-inet_ntop.c: Likewise.
24735 * setjmp/bug269-setjmp.c: Likewise.
24736 * soft-fp/extended.h: Likewise.
24737 * soft-fp/op-1.h: Likewise.
24738 * soft-fp/op-2.h: Likewise.
24739 * soft-fp/op-4.h: Likewise.
24740 * soft-fp/op-8.h: Likewise.
24741 * soft-fp/testit.c: Likewise.
24742 * stdio-common/bug16.c: Likewise.
24743 * stdlib/random.c: Likewise.
24744 * sunrpc/rpcsvc/rquota.x: Likewise.
24745 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24746 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24747 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24748 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24749 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24750 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24751 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24752 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24753 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24754 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24755 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24765 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24774 * sysdeps/ieee754/s_lib_version.c: Likewise.
24775 * sysdeps/mach/hurd/check_fds.c: Likewise.
24776 * sysdeps/mach/hurd/getsockname.c: Likewise.
24777 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24778 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24779 * sysdeps/powerpc/bits/link.h: Likewise.
24780 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24781 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24782 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24783 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24784 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24785 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24786 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24787 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24788 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24789 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24790 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24791 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24792 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24793 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24794 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24795 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24798 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24799 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24800 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24801 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24802 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24803 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24804 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24805 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24806 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24807 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24808 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24809 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24810 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24811 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24812 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24813 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24814 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24815 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24817 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24818 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24819 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24820 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24821 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24822 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24823 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24824 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24825 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24826 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24827 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24828 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24829 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24832 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24833 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24834 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24835 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24836 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24837 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24838 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24839 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24840 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24841 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24842 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24843 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24844 * sysdeps/powerpc/sysdep.h: Likewise.
24845 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24846 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24847 * sysdeps/sh/dl-trampoline.S: Likewise.
24848 * sysdeps/sh/memset.S: Likewise.
24849 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24850 * sysdeps/sh/strlen.S: Likewise.
24851 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24852 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24853 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24854 * sysdeps/sparc/sparc32/rem.S: Likewise.
24855 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24856 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24857 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24858 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24859 * sysdeps/sparc/sparc32/urem.S: Likewise.
24860 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24861 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24862 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24863 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24864 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24865 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24866 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24867 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24868 * sysdeps/unix/bsd/times.c: Likewise.
24869 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24870 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24874 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24875 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24876 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24877 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24878 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24879 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24880 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24881 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24882 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24883 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24884 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24885 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24886 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24887 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24888 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24889 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24890 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24891 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24892 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24893 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24894 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24895 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24896 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24897 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24898 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24899 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24900 * sysdeps/x86_64/strcspn.S: Likewise.
24902 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24904 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24905 generated file. Regenerate properly from gen-translit.pl.
24906 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24907 locale/C-translit.h.
24909 2013-06-05 Andreas Schwab <schwab@suse.de>
24912 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24913 week as 6 instead of -1.
24914 * time/tst-strptime.c (day_tests): Add test case.
24916 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24918 * sysdeps/generic/math_private.h
24919 (libc_feholdexcept_setround_53bit): Replace with
24920 libc_feholdsetround_53bit.
24921 (libc_feupdateenv_53bit): Replace with
24922 libc_feresetround_53bit.
24923 (SET_RESTORE_ROUND_53BIT): Adjust.
24925 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24927 * string/test-strchrnul.c: Add copyright header.
24929 * posix/tst-getaddrinfo4.c: Increase test timeout.
24931 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24934 * math/libm-test.inc (MAX_EXP): Remove
24936 (ulp): Use MIN_EXP - MANT_DIG.
24937 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24939 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24941 * po/be.po: Revert last change.
24942 * po/zh_CN.po: Likewise.
24943 * po/header.pot: Likewise.
24945 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24947 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24948 link-libc-deps to empty as target-specific variable.
24949 * Makerules (link-libc-args): New variable.
24950 (libc-for-link): Likewise.
24951 (link-libc-deps): Likewise.
24952 (lib%.so): Depend on $(link-libc-deps). Link with
24954 (build-module): Link with $(link-libc-args).
24955 (build-module-asneeded): Likewise.
24956 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24958 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24959 target-specific variable.
24960 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24961 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24962 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24964 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24966 ($(objpfx)libpcprofile.so): Likewise.
24967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24969 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24970 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24971 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24973 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24974 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24975 * login/Makefile ($(objpfx)libutil.so): Likewise.
24976 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24977 * math/Makefile ($(objpfx)libm.so): Likewise.
24978 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24979 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24980 variable instead of depending directly on libc.
24981 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24982 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24984 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24986 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24987 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24988 ($(objpfx)libanl.so): Likewise.
24989 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24991 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24993 * sysdeps/i386/fpu/Makefile: Remove file.
24994 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24995 ($(objpfx)libm.so): Remove dependency on ld.so.
24997 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25000 * nis/yp_xdr.c (XDRMAXNAME): Define.
25001 (XDRMAXRECORD): Define.
25002 (xdr_domainname): Use XDRMAXNAME.
25003 (xdr_mapname): Likewise.
25004 (xdr_peername): Likewise.
25005 (xdr_keydat): Use XDRMAXRECORD.
25006 (xdr_valdat): Likewise.
25008 2013-05-30 Jeff Law <law@redhat.com>
25011 * manual/errno.texi (ESTALE): Update to account for more than
25012 just NFS file systems.
25013 * sysdeps/gnu/errlist.c: Regenerated.
25015 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25018 * elf/Makefile (tests): Add tst-null-argv.
25019 (modules-names): Add tst-null-argv-lib.
25020 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25021 (tst-null-argv-ENV): Set environment for tst-null-argv.
25022 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25023 (RTLD_PROGNAME): New macro.
25024 * elf/tst-null-argv.c: New test case.
25025 * elf/tst-null-argv-lib.c: Library for test case.
25026 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25027 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25028 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25029 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25030 * elf/dl-init.c (call_init): Likewise.
25031 (_dl_init): Likewise.
25032 * elf/dl-load.c (print_search_path): Likewise.
25033 (_dl_map_object): Likewise.
25034 * elf/dl-lookup.c (do_lookup_x): Likewise.
25035 (add_dependency): Likewise.
25036 (_dl_lookup_symbol_x): Likewise.
25037 (_dl_debug_bindings): Likewise.
25038 * elf/dl-open.c (_dl_show_scope): Likewise.
25039 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25040 * elf/dl-version.c (match_symbol): Likewise.
25041 (_dl_check_map_versions): Likewise.
25042 * elf/rtld.c (dl_main): Likewise.
25043 (print_unresolved): Use RTLD_PROGNAME.
25044 (print_missing_version): Likewise.
25045 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25046 (elf_machine_rela): Likewise.
25047 * sysdeps/powerpc/powerpc32/dl-machine.c
25048 (__process_machine_rela): Likewise.
25049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25051 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25055 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25058 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25062 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25064 * po/be.po: Add descriptive title.
25065 * po/zh_CN.po: Likewise.
25066 * po/header.pot: Likewise.
25068 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25070 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25072 (enlarge_archive): Likewise.
25074 2013-05-28 Ben North <ben@redfrontdoor.org>
25076 * manual/arith.texi (frexp): It is the magnitude of the return
25077 value which lies in [0.5, 1), not the return value itself.
25079 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25083 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25085 * stdio-common/bug26.c (main): Correct fscanf template.
25087 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25088 declare _dl_skip_args.
25090 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25093 * manual/platform.texi: Add missing @end deftypefun.
25095 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25098 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25099 bit of mantissa of 2^16382.
25100 * math/libm-test.inc (hypot_test_data): Add more tests.
25102 * math/libm-test.inc: Add drem and pow10 to list of tested
25104 (pow10_test): New function.
25105 (drem_test): Likewise.
25106 (drem_test_tonearest): Likewise.
25107 (drem_test_towardzero): Likewise.
25108 (drem_test_downward): Likewise.
25109 (drem_test_upward): Likewise.
25110 (main): Call the new functions.
25112 * math/libm-test.inc (finite_test_data): Remove.
25113 (finite_test): Run tests from isfinite_test_data.
25114 (gamma_test_data): Remove.
25115 (gamma_test): Run tests from lgamma_test_data.
25116 * sysdeps/i386/fpu/libm-test-ulps: Update.
25117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25119 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25121 * manual/platform.texi: Add PowerPC PPR function set documentation.
25122 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25125 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25127 * math/libm-test.inc (MAX_EXP): Define.
25129 (ulp): New function.
25130 (check_float_internal): Use ULPDIFF.
25131 (cpow_test): Disable failing test.
25132 (check_ulp): Test ulp() implemetnation.
25133 (main): Call check_ulp before starting tests.
25135 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25137 * math/gen-libm-test.pl (generate_testfile): Do not handle
25138 START_DATA and END_DATA.
25139 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25141 (acos_tonearest_test_data): Likewise.
25142 (acos_towardzero_test_data): Likewise.
25143 (acos_downward_test_data): Likewise.
25144 (acos_upward_test_data): Likewise.
25145 (acosh_test_data): Likewise.
25146 (asin_test_data): Likewise.
25147 (asin_tonearest_test_data): Likewise.
25148 (asin_towardzero_test_data): Likewise.
25149 (asin_downward_test_data): Likewise.
25150 (asin_upward_test_data): Likewise.
25151 (asinh_test_data): Likewise.
25152 (atan_test_data): Likewise.
25153 (atanh_test_data): Likewise.
25154 (atan2_test_data): Likewise.
25155 (cabs_test_data): Likewise.
25156 (cacos_test_data): Likewise.
25157 (cacosh_test_data): Likewise.
25158 (carg_test_data): Likewise.
25159 (casin_test_data): Likewise.
25160 (casinh_test_data): Likewise.
25161 (catan_test_data): Likewise.
25162 (catanh_test_data): Likewise.
25163 (cbrt_test_data): Likewise.
25164 (ccos_test_data): Likewise.
25165 (ccosh_test_data): Likewise.
25166 (ceil_test_data): Likewise.
25167 (cexp_test_data): Likewise.
25168 (cimag_test_data): Likewise.
25169 (clog_test_data): Likewise.
25170 (clog10_test_data): Likewise.
25171 (conj_test_data): Likewise.
25172 (copysign_test_data): Likewise.
25173 (cos_test_data): Likewise.
25174 (cos_tonearest_test_data): Likewise.
25175 (cos_towardzero_test_data): Likewise.
25176 (cos_downward_test_data): Likewise.
25177 (cos_upward_test_data): Likewise.
25178 (cosh_test_data): Likewise.
25179 (cosh_tonearest_test_data): Likewise.
25180 (cosh_towardzero_test_data): Likewise.
25181 (cosh_downward_test_data): Likewise.
25182 (cosh_upward_test_data): Likewise.
25183 (cpow_test_data): Likewise.
25184 (cproj_test_data): Likewise.
25185 (creal_test_data): Likewise.
25186 (csin_test_data): Likewise.
25187 (csinh_test_data): Likewise.
25188 (csqrt_test_data): Likewise.
25189 (ctan_test_data): Likewise.
25190 (ctan_tonearest_test_data): Likewise.
25191 (ctan_towardzero_test_data): Likewise.
25192 (ctan_downward_test_data): Likewise.
25193 (ctan_upward_test_data): Likewise.
25194 (ctanh_test_data): Likewise.
25195 (ctanh_tonearest_test_data): Likewise.
25196 (ctanh_towardzero_test_data): Likewise.
25197 (ctanh_downward_test_data): Likewise.
25198 (ctanh_upward_test_data): Likewise.
25199 (erf_test_data): Likewise.
25200 (erfc_test_data): Likewise.
25201 (exp_test_data): Likewise.
25202 (exp_tonearest_test_data): Likewise.
25203 (exp_towardzero_test_data): Likewise.
25204 (exp_downward_test_data): Likewise.
25205 (exp_upward_test_data): Likewise.
25206 (exp10_test_data): Likewise.
25207 (exp2_test_data): Likewise.
25208 (expm1_test_data): Likewise.
25209 (fabs_test_data): Likewise.
25210 (fdim_test_data): Likewise.
25211 (finite_test_data): Likewise.
25212 (floor_test_data): Likewise.
25213 (fma_test_data): Likewise.
25214 (fma_towardzero_test_data): Likewise.
25215 (fma_downward_test_data): Likewise.
25216 (fma_upward_test_data): Likewise.
25217 (fmax_test_data): Likewise.
25218 (fmin_test_data): Likewise.
25219 (fmod_test_data): Likewise.
25220 (fpclassify_test_data): Likewise.
25221 (frexp_test_data): Likewise.
25222 (gamma_test_data): Likewise.
25223 (hypot_test_data): Likewise.
25224 (ilogb_test_data): Likewise.
25225 (isfinite_test_data): Likewise.
25226 (isgreater_test_data): Likewise.
25227 (isgreaterequal_test_data): Likewise.
25228 (isinf_test_data): Likewise.
25229 (isless_test_data): Likewise.
25230 (islessequal_test_data): Likewise.
25231 (islessgreater_test_data): Likewise.
25232 (isnan_test_data): Likewise.
25233 (isnormal_test_data): Likewise.
25234 (issignaling_test_data): Likewise.
25235 (isunordered_test_data): Likewise.
25236 (j0_test_data): Likewise.
25237 (j1_test_data): Likewise.
25238 (jn_test_data): Likewise.
25239 (ldexp_test_data): Likewise.
25240 (lgamma_test_data): Likewise.
25241 (lrint_test_data): Likewise.
25242 (lrint_tonearest_test_data): Likewise.
25243 (lrint_towardzero_test_data): Likewise.
25244 (lrint_downward_test_data): Likewise.
25245 (lrint_upward_test_data): Likewise.
25246 (llrint_test_data): Likewise.
25247 (llrint_tonearest_test_data): Likewise.
25248 (llrint_towardzero_test_data): Likewise.
25249 (llrint_downward_test_data): Likewise.
25250 (llrint_upward_test_data): Likewise.
25251 (log_test_data): Likewise.
25252 (log10_test_data): Likewise.
25253 (log1p_test_data): Likewise.
25254 (log2_test_data): Likewise.
25255 (logb_test_data): Likewise.
25256 (logb_downward_test_data): Likewise.
25257 (lround_test_data): Likewise.
25258 (llround_test_data): Likewise.
25259 (modf_test_data): Likewise.
25260 (nearbyint_test_data): Likewise.
25261 (nextafter_test_data): Likewise.
25262 (nexttoward_test_data): Likewise.
25263 (pow_test_data): Likewise.
25264 (pow_tonearest_test_data): Likewise.
25265 (pow_towardzero_test_data): Likewise.
25266 (pow_downward_test_data): Likewise.
25267 (pow_upward_test_data): Likewise.
25268 (remainder_test_data): Likewise.
25269 (remainder_tonearest_test_data): Likewise.
25270 (remainder_towardzero_test_data): Likewise.
25271 (remainder_downward_test_data): Likewise.
25272 (remainder_upward_test_data): Likewise.
25273 (remquo_test_data): Likewise.
25274 (rint_test_data): Likewise.
25275 (rint_tonearest_test_data): Likewise.
25276 (rint_towardzero_test_data): Likewise.
25277 (rint_downward_test_data): Likewise.
25278 (rint_upward_test_data): Likewise.
25279 (round_test_data): Likewise.
25280 (scalb_test_data): Likewise.
25281 (scalbn_test_data): Likewise.
25282 (scalbln_test_data): Likewise.
25283 (signbit_test_data): Likewise.
25284 (sin_test_data): Likewise.
25285 (sin_tonearest_test_data): Likewise.
25286 (sin_towardzero_test_data): Likewise.
25287 (sin_downward_test_data): Likewise.
25288 (sin_upward_test_data): Likewise.
25289 (sincos_test_data): Likewise.
25290 (sinh_test_data): Likewise.
25291 (sinh_tonearest_test_data): Likewise.
25292 (sinh_towardzero_test_data): Likewise.
25293 (sinh_downward_test_data): Likewise.
25294 (sinh_upward_test_data): Likewise.
25295 (sqrt_test_data): Likewise.
25296 (tan_test_data): Likewise.
25297 (tan_tonearest_test_data): Likewise.
25298 (tan_towardzero_test_data): Likewise.
25299 (tan_downward_test_data): Likewise.
25300 (tan_upward_test_data): Likewise.
25301 (tanh_test_data): Likewise.
25302 (tgamma_test_data): Likewise.
25303 (trunc_test_data): Likewise.
25304 (y0_test_data): Likewise.
25305 (y1_test_data): Likewise.
25306 (yn_test_data): Likewise.
25307 (significand_test_data): Likewise.
25309 * math/gen-libm-test.pl (@functions): Remove variable.
25310 (generate_testfile): Don't handle START and END lines.
25311 * math/libm-test.inc (START): New macro.
25313 (END_COMPLEX): Likewise.
25314 (acos_test): Use END macro without arguments.
25315 (acos_test_tonearest): Likewise.
25316 (acos_test_towardzero): Likewise.
25317 (acos_test_downward): Likewise.
25318 (acos_test_upward): Likewise.
25319 (acosh_test): Likewise.
25320 (asin_test): Likewise.
25321 (asin_test_tonearest): Likewise.
25322 (asin_test_towardzero): Likewise.
25323 (asin_test_downward): Likewise.
25324 (asin_test_upward): Likewise.
25325 (asinh_test): Likewise.
25326 (atan_test): Likewise.
25327 (atanh_test): Likewise.
25328 (atan2_test): Likewise.
25329 (cabs_test): Likewise.
25330 (cacos_test): Use END_COMPLEX macro without arguments.
25331 (cacosh_test): Likewise.
25332 (carg_test): Use END macro without arguments.
25333 (casin_test): Use END_COMPLEX macro without arguments.
25334 (casinh_test): Likewise.
25335 (catan_test): Likewise.
25336 (catanh_test): Likewise.
25337 (cbrt_test): Use END macro without arguments.
25338 (ccos_test): Use END_COMPLEX macro without arguments.
25339 (ccosh_test): Likewise.
25340 (ceil_test): Use END macro without arguments.
25341 (cexp_test): Use END_COMPLEX macro without arguments.
25342 (cimag_test): Use END macro without arguments.
25343 (clog_test): Use END_COMPLEX macro without arguments.
25344 (clog10_test): Likewise.
25345 (conj_test): Likewise.
25346 (copysign_test): Use END macro without arguments.
25347 (cos_test): Likewise.
25348 (cos_test_tonearest): Likewise.
25349 (cos_test_towardzero): Likewise.
25350 (cos_test_downward): Likewise.
25351 (cos_test_upward): Likewise.
25352 (cosh_test): Likewise.
25353 (cosh_test_tonearest): Likewise.
25354 (cosh_test_towardzero): Likewise.
25355 (cosh_test_downward): Likewise.
25356 (cosh_test_upward): Likewise.
25357 (cpow_test): Use END_COMPLEX macro without arguments.
25358 (cproj_test): Likewise.
25359 (creal_test): Use END macro without arguments.
25360 (csin_test): Use END_COMPLEX macro without arguments.
25361 (csinh_test): Likewise.
25362 (csqrt_test): Likewise.
25363 (ctan_test): Likewise.
25364 (ctan_test_tonearest): Likewise.
25365 (ctan_test_towardzero): Likewise.
25366 (ctan_test_downward): Likewise.
25367 (ctan_test_upward): Likewise.
25368 (ctanh_test): Likewise.
25369 (ctanh_test_tonearest): Likewise.
25370 (ctanh_test_towardzero): Likewise.
25371 (ctanh_test_downward): Likewise.
25372 (ctanh_test_upward): Likewise.
25373 (erf_test): Use END macro without arguments.
25374 (erfc_test): Likewise.
25375 (exp_test): Likewise.
25376 (exp_test_tonearest): Likewise.
25377 (exp_test_towardzero): Likewise.
25378 (exp_test_downward): Likewise.
25379 (exp_test_upward): Likewise.
25380 (exp10_test): Likewise.
25381 (exp2_test): Likewise.
25382 (expm1_test): Likewise.
25383 (fabs_test): Likewise.
25384 (fdim_test): Likewise.
25385 (finite_test): Likewise.
25386 (floor_test): Likewise.
25387 (fma_test): Likewise.
25388 (fma_test_towardzero): Likewise.
25389 (fma_test_downward): Likewise.
25390 (fma_test_upward): Likewise.
25391 (fmax_test): Likewise.
25392 (fmin_test): Likewise.
25393 (fmod_test): Likewise.
25394 (fpclassify_test): Likewise.
25395 (frexp_test): Likewise.
25396 (gamma_test): Likewise.
25397 (hypot_test): Likewise.
25398 (ilogb_test): Likewise.
25399 (isfinite_test): Likewise.
25400 (isgreater_test): Likewise.
25401 (isgreaterequal_test): Likewise.
25402 (isinf_test): Likewise.
25403 (isless_test): Likewise.
25404 (islessequal_test): Likewise.
25405 (islessgreater_test): Likewise.
25406 (isnan_test): Likewise.
25407 (isnormal_test): Likewise.
25408 (issignaling_test): Likewise.
25409 (isunordered_test): Likewise.
25410 (j0_test): Likewise.
25411 (j1_test): Likewise.
25412 (jn_test): Likewise.
25413 (ldexp_test): Likewise.
25414 (lgamma_test): Likewise.
25415 (lrint_test): Likewise.
25416 (lrint_test_tonearest): Likewise.
25417 (lrint_test_towardzero): Likewise.
25418 (lrint_test_downward): Likewise.
25419 (lrint_test_upward): Likewise.
25420 (llrint_test): Likewise.
25421 (llrint_test_tonearest): Likewise.
25422 (llrint_test_towardzero): Likewise.
25423 (llrint_test_downward): Likewise.
25424 (llrint_test_upward): Likewise.
25425 (log_test): Likewise.
25426 (log10_test): Likewise.
25427 (log1p_test): Likewise.
25428 (log2_test): Likewise.
25429 (logb_test): Likewise.
25430 (logb_test_downward): Likewise.
25431 (lround_test): Likewise.
25432 (llround_test): Likewise.
25433 (modf_test): Likewise.
25434 (nearbyint_test): Likewise.
25435 (nextafter_test): Likewise.
25436 (nexttoward_test): Likewise.
25437 (pow_test): Likewise.
25438 (pow_test_tonearest): Likewise.
25439 (pow_test_towardzero): Likewise.
25440 (pow_test_downward): Likewise.
25441 (pow_test_upward): Likewise.
25442 (remainder_test): Likewise.
25443 (remainder_test_tonearest): Likewise.
25444 (remainder_test_towardzero): Likewise.
25445 (remainder_test_downward): Likewise.
25446 (remainder_test_upward): Likewise.
25447 (remquo_test): Likewise.
25448 (rint_test): Likewise.
25449 (rint_test_tonearest): Likewise.
25450 (rint_test_towardzero): Likewise.
25451 (rint_test_downward): Likewise.
25452 (rint_test_upward): Likewise.
25453 (round_test): Likewise.
25454 (scalb_test): Likewise.
25455 (scalbn_test): Likewise.
25456 (scalbln_test): Likewise.
25457 (signbit_test): Likewise.
25458 (sin_test): Likewise.
25459 (sin_test_tonearest): Likewise.
25460 (sin_test_towardzero): Likewise.
25461 (sin_test_downward): Likewise.
25462 (sin_test_upward): Likewise.
25463 (sincos_test): Likewise.
25464 (sinh_test): Likewise.
25465 (sinh_test_tonearest): Likewise.
25466 (sinh_test_towardzero): Likewise.
25467 (sinh_test_downward): Likewise.
25468 (sinh_test_upward): Likewise.
25469 (sqrt_test): Likewise.
25470 (tan_test): Likewise.
25471 (tan_test_tonearest): Likewise.
25472 (tan_test_towardzero): Likewise.
25473 (tan_test_downward): Likewise.
25474 (tan_test_upward): Likewise.
25475 (tanh_test): Likewise.
25476 (tgamma_test): Likewise.
25477 (trunc_test): Likewise.
25478 (y0_test): Likewise.
25479 (y1_test): Likewise.
25480 (yn_test): Likewise.
25481 (significand_test): Likewise.
25483 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25486 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25488 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25491 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25492 __ppc_mdoio and __ppc_mdoom.
25493 * manual/platform.texi: Document new functions __ppc_yield,
25494 __ppc_mdoio and __ppc_mdoom.
25496 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25498 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25499 (main): Mention "tls" pseudo-hwcap is legacy.
25500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25502 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25504 * math/gen-libm-test.pl (parse_args): Output only string of
25505 arguments as text for test name, not full call or descriptions of
25506 tests for extra outputs.
25507 (generate_testfile): Do not pass function name to parse_args.
25508 Generate this_func variable from START.
25509 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25511 (struct test_ff_f_data): Likewise.
25512 (test_ff_f_data_nexttoward): Likewise.
25513 (struct test_fi_f_data): Likewise.
25514 (struct test_fl_f_data): Likewise.
25515 (struct test_if_f_data): Likewise.
25516 (struct test_fff_f_data): Likewise.
25517 (struct test_c_f_data): Likewise.
25518 (struct test_f_f1_data): Likewise. Remove field extra_name.
25519 (struct test_fF_f1_data): Likewise.
25520 (struct test_ffI_f1_data): Likewise.
25521 (struct test_c_c_data): Rename test_name field to arg_str.
25522 (struct test_cc_c_data): Likewise.
25523 (struct test_f_i_data): Likewise.
25524 (struct test_ff_i_data): Likewise.
25525 (struct test_f_l_data): Likewise.
25526 (struct test_f_L_data): Likewise.
25527 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25529 (COMMON_TEST_SETUP): New macro.
25530 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25531 (COMMON_TEST_CLEANUP): Likewise.
25532 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25533 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25535 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25536 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25538 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25539 (RUN_TEST_fff_f): Take argument string. Call new setup and
25541 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25542 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25544 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25545 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25547 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25548 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25550 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25551 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25553 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25554 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25556 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25557 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25559 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25560 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25562 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25563 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25565 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25566 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25568 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25569 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25571 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25572 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25574 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25575 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25577 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25578 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25580 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25581 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25583 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25584 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25586 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25588 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25590 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25591 to _sifields.sigfault.
25592 (si_addr_lsb): Define new macro.
25593 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25595 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25597 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25600 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25602 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25604 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25605 loading the domain.
25607 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25609 * math/gen-libm-test.pl (parse_args): Do not include expected
25610 result in test name.
25611 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25612 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25613 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25614 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25615 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25618 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25620 * benchtests/Makefile: Sort function entries.
25622 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25623 tanh, asinh, acosh, atanh.
25624 * benchtests/acos-inputs: New file.
25625 * benchtests/acosh-inputs: New file.
25626 * benchtests/asin-inputs: New file.
25627 * benchtests/asinh-inputs: New file.
25628 * benchtests/atanh-inputs: New file.
25629 * benchtests/cosh-inputs: New file.
25630 * benchtests/log-inputs: New file.
25631 * benchtests/sinh-inputs: New file.
25632 * benchtests/tanh-inputs: New file.
25634 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25637 * posix/tst-getaddrinfo4.c: New test.
25638 * posix/Makefile (tests): Add it.
25640 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25643 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25644 when no services were used.
25645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25646 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25648 2013-05-21 Andreas Schwab <schwab@suse.de>
25651 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25652 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25654 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25655 redundant variable declarations and reallocation of buffer when
25656 parsing as IPv6 address. Always set NSS status when called from
25657 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25658 buffer too small. Correct computation of needed size.
25659 * nss/Makefile (tests): Add test-digits-dots.
25660 * nss/test-digits-dots.c: New test.
25662 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25664 * benchtests/Makefile: Remove instructions for adding
25666 * benchtests/README: New file to explain how to execute and
25667 enhance the benchmark tests.
25669 2013-05-21 Andreas Schwab <schwab@suse.de>
25672 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25673 * setjmp/tst-sigsetjmp.c: New test.
25675 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25677 * sysdeps/x86_64/memset.S (memset): New implementation.
25678 (__bzero): Likewise.
25679 (__memset_tail): New function.
25681 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25683 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25684 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25685 __memcpy_sse2_unaligned ifunc selection.
25686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25687 Add memcpy-sse2-unaligned.S.
25688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25689 Add: __memcpy_sse2_unaligned.
25691 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25694 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25695 math_force_eval before restoring floating-point envrionment.
25696 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25699 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25701 (__nearbyintl): Use math_force_eval before restoring
25702 floating-point environment.
25703 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25705 * math/gen-libm-test.pl (special_functions): Remove.
25706 (parse_args): Don't handle TEST_extra. Handle functions with no
25708 * math/libm-test.inc (struct test_sincos_data): Replace with
25709 struct test_fFF_11_data.
25710 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25711 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25712 (sincos_test_data): Change element type to struct
25713 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25714 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25715 RUN_TEST_LOOP_sincos.
25716 * math/README.libm-test: Don't mention special handling of
25717 individual functions.
25718 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25720 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25721 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25722 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25725 * math/gen-libm-test.pl (get_variable): Remove function.
25726 (parse_args): Don't show pointer parameters to call in test
25727 names. Use "extra output N" in test names for extra outputs
25728 rather than naming variables.
25730 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25733 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25734 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25735 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25737 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25739 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25742 * math/gen-libm-test.pl (@tests): Remove variable.
25743 ($count): Likewise.
25744 (new_test): Remove function.
25745 (show_exceptions): New function.
25746 (special_functions): Use show_exceptions instead of new_test.
25747 (parse_args): Likewise.
25748 (generate_testfile): Pass only function name in generated call to
25749 print_max_error or print_complex_max_error.
25750 (get_ulps): Do not handle complex tests specially.
25751 (output_test): Rename to ...
25752 (get_all_ulps_for_test): ... this. Return a string rather than
25753 printing to a file. Require ulps to be present.
25754 (output_ulps): Generate arrays rather than #defines.
25755 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25756 (struct ulp_data): New type.
25757 (BUILD_COMPLEX_ULP): Remove macro.
25758 (compare_ulp_data): New function.
25759 (find_ulps): Likewise.
25760 (find_test_ulps): Likewise.
25761 (find_function_ulps): Likewise.
25762 (find_complex_function_ulps): Likewise.
25763 (print_max_error): Determine allowed ulps using
25764 find_function_ulps.
25765 (print_complex_max_error): Determine allowed ulps using
25766 find_complex_function_ulps.
25767 (check_float_internal): Determine max ulps using find_test_ulps.
25768 (check_float): Do not take max_ulp parameter. Update call to
25769 check_float_internal.
25770 (check_complex): Likewise.
25771 (check_int): Do not take max_ulp parameter.
25772 (check_long): Likewise.
25773 (check_bool): Likewise.
25774 (check_longlong): Likewise.
25775 (struct test_f_f_data): Remove max_ulp field.
25776 (struct test_ff_f_data): Likewise.
25777 (struct test_ff_f_data_nexttoward): Likewise.
25778 (struct test_fi_f_data): Likewise.
25779 (struct test_fl_f_data): Likewise.
25780 (struct test_if_f_data): Likewise.
25781 (struct test_fff_f_data): Likewise.
25782 (struct test_c_f_data): Likewise.
25783 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25784 (struct test_fF_f1_data): Likewise.
25785 (struct test_ffI_f1_data): Likewise.
25786 (struct test_c_c_data): Remove max_ulp field.
25787 (struct test_cc_c_data): Likewise.
25788 (struct test_f_i_data): Likewise.
25789 (struct test_ff_i_data): Likewise.
25790 (struct test_f_l_data): Likewise.
25791 (struct test_f_L_data): Likewise.
25792 (struct test_sincos_data): Likewise.
25793 (RUN_TEST_f_f): Do not handle ulps.
25794 (RUN_TEST_LOOP_f_f): Likewise.
25795 (RUN_TEST_2_f): Likewise.
25796 (RUN_TEST_LOOP_2_f): Likewise.
25797 (RUN_TEST_fff_f): Likewise.
25798 (RUN_TEST_LOOP_fff_f): Likewise.
25799 (RUN_TEST_c_f): Likewise.
25800 (RUN_TEST_LOOP_c_f): Likewise.
25801 (RUN_TEST_f_f1): Likewise.
25802 (RUN_TEST_LOOP_f_f1): Likewise.
25803 (RUN_TEST_fF_f1): Likewise.
25804 (RUN_TEST_LOOP_fF_f1): Likewise.
25805 (RUN_TEST_fI_f1): Likewise.
25806 (RUN_TEST_LOOP_fI_f1): Likewise.
25807 (RUN_TEST_ffI_f1): Likewise.
25808 (RUN_TEST_LOOP_ffI_f1): Likewise.
25809 (RUN_TEST_c_c): Likewise.
25810 (RUN_TEST_LOOP_c_c): Likewise.
25811 (RUN_TEST_cc_c): Likewise.
25812 (RUN_TEST_LOOP_cc_c): Likewise.
25813 (RUN_TEST_f_i): Likewise.
25814 (RUN_TEST_LOOP_f_i): Likewise.
25815 (RUN_TEST_f_i_tg): Likewise.
25816 (RUN_TEST_LOOP_f_i_tg): Likewise.
25817 (RUN_TEST_ff_i_tg): Likewise.
25818 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25819 (RUN_TEST_f_b): Likewise.
25820 (RUN_TEST_LOOP_f_b): Likewise.
25821 (RUN_TEST_f_b_tg): Likewise.
25822 (RUN_TEST_LOOP_f_b_tg): Likewise.
25823 (RUN_TEST_f_l): Likewise.
25824 (RUN_TEST_LOOP_f_l): Likewise.
25825 (RUN_TEST_f_L): Likewise.
25826 (RUN_TEST_LOOP_f_L): Likewise.
25827 (RUN_TEST_sincos): Likewise.
25828 (RUN_TEST_LOOP_sincos): Likewise.
25830 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25834 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25835 main case of finite arguments, set rounding mode to FE_TONEAREST
25836 and discard exceptions.
25837 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25839 (remainder_tonearest_test_data): New variable.
25840 (remainder_test_tonearest): New function.
25841 (remainder_towardzero_test_data): New variable.
25842 (remainder_test_towardzero): New function.
25843 (remainder_downward_test_data): New variable.
25844 (remainder_test_downward): New function.
25845 (remainder_upward_test_data): New variable.
25846 (remainder_test_upward): New function.
25847 (main): Call the new test functions.
25849 * math/libm-test.inc (struct test_f_f1_data): Remove field
25851 (struct test_fF_f1_data): Likewise.
25852 (struct test_ffI_f1_data): Likewise.
25853 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25854 based on value of EXTRA_EXPECTED.
25855 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25856 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25857 EXTRA_VAR based on value of EXTRA_EXPECTED.
25858 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25859 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25860 EXTRA_VAR based on value of EXTRA_EXPECTED.
25861 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25862 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25863 EXTRA_VAR based on value of EXTRA_EXPECTED.
25864 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25865 * math/gen-libm-test.pl (parse_args): Don't output initializers
25866 for extra output values.
25868 * math/libm-test.inc (check_int): Expect result to be exactly
25869 equal to expected value and do not handle ulps.
25870 (check_long): Likewise.
25871 (check_longlong): Likewise.
25873 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25875 (cimag_test_data): Likewise.
25876 (conj_test_data): Likewise.
25877 (copysign_test_data): Likewise.
25878 (cproj_test_data): Likewise.
25879 (creal_test_data): Likewise.
25880 (fabs_test_data): Likewise.
25881 (fdim_test_data): Likewise.
25882 (finite_test_data): Likewise.
25883 (floor_test_data): Likewise.
25884 (fmax_test_data): Likewise.
25885 (fmin_test_data): Likewise.
25886 (fmod_test_data): Likewise.
25887 (fpclassify_test_data): Likewise.
25888 (frexp_test_data): Likewise.
25889 (ilogb_test_data): Likewise.
25890 (isfinite_test_data): Likewise.
25891 (isgreater_test_data): Likewise.
25892 (isgreaterequal_test_data): Likewise.
25893 (isinf_test_data): Likewise.
25894 (isless_test_data): Likewise.
25895 (islessequal_test_data): Likewise.
25896 (islessgreater_test_data): Likewise.
25897 (isnan_test_data): Likewise.
25898 (isnormal_test_data): Likewise.
25899 (issignaling_test_data): Likewise.
25900 (isunordered_test_data): Likewise.
25901 (ldexp_test_data): Likewise.
25902 (lrint_test_data): Likewise.
25903 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25904 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25905 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25906 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25907 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25908 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25910 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25911 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25912 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25913 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25915 (lrint_downward_test_data): Test for "inexact" exceptions.
25916 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25917 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25918 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25920 (lrint_upward_test_data): Test for "inexact" exceptions.
25921 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25923 (llrint_test_data): Test for "inexact" exceptions.
25924 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25925 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25926 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25927 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25928 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25929 (llrint_downward_test_data): Test for "inexact" exceptions.
25930 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25931 (llrint_upward_test_data): Test for "inexact" exceptions.
25932 (logb_test_data): Likewise.
25933 (logb_downward_test_data): Likewise.
25934 (nextafter_test_data): Likewise.
25935 (nexttoward_test_data): Likewise.
25936 (remainder_test_data): Likewise.
25937 (remquo_test_data): Likewise.
25938 (scalbn_test_data): Likewise.
25939 (scalbln_test_data): Likewise.
25940 (signbit_test_data): Likewise.
25941 (sqrt_test_data): Likewise.
25942 (significand_test_data): Likewise.
25944 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25947 * benchtests/bench-modf.c (struct args): Mark arg0 as
25949 * scripts/bench.pl: Mark members of struct args as volatile.
25951 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25954 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25955 negative infinity on POWER6 or lower.
25956 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25958 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25961 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25962 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25963 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25964 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25965 (_FP_SETQNAN): New macro.
25966 (_FP_SETQNAN_SEMIRAW): Likewise.
25967 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25968 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25969 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25970 (FP_EXTEND): Use _FP_FRAC_SNANP.
25971 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25972 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25974 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25976 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25979 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25981 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25982 with DIVIDE_BY_ZERO_EXCEPTION.
25983 (gamma_test_data): Likewise.
25984 (lgamma_test_data): Likewise.
25985 (log_test_data): Likewise.
25986 (log10_test_data): Likewise.
25987 (log2_test_data): Likewise.
25988 (tgamma_test_data): Likewise.
25990 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25991 (acos_test_tonearest): Likewise.
25992 (acos_test_towardzero): Likewise.
25993 (acos_test_downward): Likewise.
25994 (acos_test_upward): Likewise.
25995 (acosh_test): Likewise.
25996 (asin_test): Likewise.
25997 (asin_test_tonearest): Likewise.
25998 (asin_test_towardzero): Likewise.
25999 (asin_test_downward): Likewise.
26000 (asin_test_upward): Likewise.
26001 (asinh_test): Likewise.
26002 (atan_test): Likewise.
26003 (atanh_test): Likewise.
26004 (atan2_test): Likewise.
26005 (cabs_test): Likewise.
26006 (cacos_test): Likewise.
26007 (cacosh_test): Likewise.
26008 (casin_test): Likewise.
26009 (casinh_test): Likewise.
26010 (catan_test): Likewise.
26011 (catanh_test): Likewise.
26012 (cbrt_test): Likewise.
26013 (ccos_test): Likewise.
26014 (ccosh_test): Likewise.
26015 (cexp_test): Likewise.
26016 (clog_test): Likewise.
26017 (clog10_test): Likewise.
26018 (cos_test): Likewise.
26019 (cos_test_tonearest): Likewise.
26020 (cos_test_towardzero): Likewise.
26021 (cos_test_downward): Likewise.
26022 (cos_test_upward): Likewise.
26023 (cosh_test): Likewise.
26024 (cosh_test_tonearest): Likewise.
26025 (cosh_test_towardzero): Likewise.
26026 (cosh_test_downward): Likewise.
26027 (cosh_test_upward): Likewise.
26028 (cpow_test): Likewise.
26029 (csin_test): Likewise.
26030 (csinh_test): Likewise.
26031 (csqrt_test): Likewise.
26032 (ctan_test): Likewise.
26033 (ctan_test_tonearest): Likewise.
26034 (ctan_test_towardzero): Likewise.
26035 (ctan_test_downward): Likewise.
26036 (ctan_test_upward): Likewise.
26037 (ctanh_test): Likewise.
26038 (ctanh_test_tonearest): Likewise.
26039 (ctanh_test_towardzero): Likewise.
26040 (ctanh_test_downward): Likewise.
26041 (ctanh_test_upward): Likewise.
26042 (erf_test): Likewise.
26043 (erfc_test): Likewise.
26044 (exp_test): Likewise.
26045 (exp_test_tonearest): Likewise.
26046 (exp_test_towardzero): Likewise.
26047 (exp_test_downward): Likewise.
26048 (exp_test_upward): Likewise.
26049 (exp10_test): Likewise.
26050 (exp2_test): Likewise.
26051 (expm1_test): Likewise.
26052 (fmod_test): Likewise.
26053 (gamma_test): Likewise.
26054 (hypot_test): Likewise.
26055 (j0_test): Likewise.
26056 (j1_test): Likewise.
26057 (jn_test): Likewise.
26058 (lgamma_test): Likewise.
26059 (log_test): Likewise.
26060 (log10_test): Likewise.
26061 (log1p_test): Likewise.
26062 (log2_test): Likewise.
26063 (logb_test_downward): Likewise.
26064 (pow_test): Likewise.
26065 (pow_test_tonearest): Likewise.
26066 (pow_test_towardzero): Likewise.
26067 (pow_test_downward): Likewise.
26068 (pow_test_upward): Likewise.
26069 (remainder_test): Likewise.
26070 (remquo_test): Likewise.
26071 (sin_test): Likewise.
26072 (sin_test_tonearest): Likewise.
26073 (sin_test_towardzero): Likewise.
26074 (sin_test_downward): Likewise.
26075 (sin_test_upward): Likewise.
26076 (sincos_test): Likewise.
26077 (sinh_test): Likewise.
26078 (sinh_test_tonearest): Likewise.
26079 (sinh_test_towardzero): Likewise.
26080 (sinh_test_downward): Likewise.
26081 (sinh_test_upward): Likewise.
26082 (sqrt_test): Likewise.
26083 (tan_test): Likewise.
26084 (tan_test_tonearest): Likewise.
26085 (tan_test_towardzero): Likewise.
26086 (tan_test_downward): Likewise.
26087 (tan_test_upward): Likewise.
26088 (tanh_test): Likewise.
26089 (tgamma_test): Likewise.
26090 (y0_test): Likewise.
26091 (y1_test): Likewise.
26092 (yn_test): Likewise.
26094 * math/gen-libm-test.pl (adjust_arg): Remove function.
26095 (special_function): Remove argument $in_func. Only handle
26096 generating output for tables of tests, not inside functions.
26097 (parse_args): Likewise.
26098 (generate_testfile): Remove variable $in_func. Update call to
26100 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26101 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26102 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26103 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26104 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26105 (MAX_VALUE_INIT): Rename macro to max_value.
26106 (MIN_VALUE_INIT): Rename macro to min_value.
26107 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26108 (plus_zero): Remove variable.
26109 (minus_zero): Likewise.
26110 (plus_infty): Likewise.
26111 (minus_infty): Likewise.
26112 (qnan_value): Likewise.
26113 (max_value): Likewise.
26114 (min_value): Likewise.
26115 (min_subnorm_value): Likewise.
26117 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26119 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26120 uint64_t or uint32_t usage.
26121 * crypt/sha256-block.c: Likewise.
26122 * crypt/sha256-crypt.c: Likewise.
26123 * crypt/sha256.c: Likewise.
26124 * crypt/sha512-block.c: Likewise.
26125 * crypt/sha512-crypt.c: Likewise.
26126 * crypt/sha512.c: Likewise.
26127 * debug/backtrace-tst.c: Likewise.
26128 * debug/pcprofiledump.c: Likewise.
26129 * elf/cache.c: Likewise.
26130 * elf/dl-cache.c: Likewise.
26131 * elf/dl-misc.c: Likewise.
26132 * elf/dl-profile.c: Likewise.
26133 * elf/dl-support.c: Likewise.
26134 * elf/ldconfig.c: Likewise.
26135 * elf/sprof.c: Likewise.
26136 * iconv/dummy-repertoire.c: Likewise.
26137 * iconv/iconv_charmap.c: Likewise.
26138 * iconv/skeleton.c: Likewise.
26139 * iconvdata/8bit-generic.c: Likewise.
26140 * iconvdata/cp737.h: Likewise.
26141 * iconvdata/cp775.h: Likewise.
26142 * iconvdata/ibm1008.h: Likewise.
26143 * iconvdata/ibm1025.h: Likewise.
26144 * iconvdata/ibm1046.h: Likewise.
26145 * iconvdata/ibm1097.h: Likewise.
26146 * iconvdata/ibm1112.h: Likewise.
26147 * iconvdata/ibm1122.h: Likewise.
26148 * iconvdata/ibm1123.h: Likewise.
26149 * iconvdata/ibm1124.h: Likewise.
26150 * iconvdata/ibm1129.h: Likewise.
26151 * iconvdata/ibm1130.h: Likewise.
26152 * iconvdata/ibm1132.h: Likewise.
26153 * iconvdata/ibm1133.h: Likewise.
26154 * iconvdata/ibm1137.h: Likewise.
26155 * iconvdata/ibm1140.h: Likewise.
26156 * iconvdata/ibm1141.h: Likewise.
26157 * iconvdata/ibm1142.h: Likewise.
26158 * iconvdata/ibm1143.h: Likewise.
26159 * iconvdata/ibm1144.h: Likewise.
26160 * iconvdata/ibm1145.h: Likewise.
26161 * iconvdata/ibm1146.h: Likewise.
26162 * iconvdata/ibm1147.h: Likewise.
26163 * iconvdata/ibm1148.h: Likewise.
26164 * iconvdata/ibm1149.h: Likewise.
26165 * iconvdata/ibm1153.h: Likewise.
26166 * iconvdata/ibm1154.h: Likewise.
26167 * iconvdata/ibm1155.h: Likewise.
26168 * iconvdata/ibm1156.h: Likewise.
26169 * iconvdata/ibm1157.h: Likewise.
26170 * iconvdata/ibm1158.h: Likewise.
26171 * iconvdata/ibm1160.h: Likewise.
26172 * iconvdata/ibm1161.h: Likewise.
26173 * iconvdata/ibm1162.h: Likewise.
26174 * iconvdata/ibm1163.h: Likewise.
26175 * iconvdata/ibm1164.h: Likewise.
26176 * iconvdata/ibm1166.h: Likewise.
26177 * iconvdata/ibm1167.h: Likewise.
26178 * iconvdata/ibm12712.h: Likewise.
26179 * iconvdata/ibm1390.h: Likewise.
26180 * iconvdata/ibm1399.h: Likewise.
26181 * iconvdata/ibm16804.h: Likewise.
26182 * iconvdata/ibm4517.h: Likewise.
26183 * iconvdata/ibm4899.h: Likewise.
26184 * iconvdata/ibm4909.h: Likewise.
26185 * iconvdata/ibm4971.h: Likewise.
26186 * iconvdata/ibm5347.h: Likewise.
26187 * iconvdata/ibm803.h: Likewise.
26188 * iconvdata/ibm856.h: Likewise.
26189 * iconvdata/ibm901.h: Likewise.
26190 * iconvdata/ibm902.h: Likewise.
26191 * iconvdata/ibm9030.h: Likewise.
26192 * iconvdata/ibm9066.h: Likewise.
26193 * iconvdata/ibm921.h: Likewise.
26194 * iconvdata/ibm922.h: Likewise.
26195 * iconvdata/ibm9448.h: Likewise.
26196 * iconvdata/isiri-3342.h: Likewise.
26197 * iconvdata/jis0201.h: Likewise.
26198 * include/link.h: Likewise.
26199 * include/netdb.h: Likewise.
26200 * inet/check_native.c: Likewise.
26201 * inet/check_pf.c: Likewise.
26202 * inet/getipv4sourcefilter.c: Likewise.
26203 * inet/getnameinfo.c: Likewise.
26204 * inet/getsourcefilter.c: Likewise.
26205 * inet/htonl.c: Likewise.
26206 * inet/setipv4sourcefilter.c: Likewise.
26207 * inet/setsourcefilter.c: Likewise.
26208 * inet/test-inet6_opt.c: Likewise.
26209 * inet/tst-network.c: Likewise.
26210 * locale/C-collate.c: Likewise.
26211 * locale/C-ctype.c: Likewise.
26212 * locale/C-time.c: Likewise.
26213 * locale/C-translit.h: Likewise.
26214 * locale/loadarchive.c: Likewise.
26215 * locale/programs/3level.h: Likewise.
26216 * locale/programs/charmap.c: Likewise.
26217 * locale/programs/charmap.h: Likewise.
26218 * locale/programs/ld-address.c: Likewise.
26219 * locale/programs/ld-collate.c: Likewise.
26220 * locale/programs/ld-ctype.c: Likewise.
26221 * locale/programs/ld-identification.c: Likewise.
26222 * locale/programs/ld-measurement.c: Likewise.
26223 * locale/programs/ld-messages.c: Likewise.
26224 * locale/programs/ld-monetary.c: Likewise.
26225 * locale/programs/ld-name.c: Likewise.
26226 * locale/programs/ld-numeric.c: Likewise.
26227 * locale/programs/ld-paper.c: Likewise.
26228 * locale/programs/ld-telephone.c: Likewise.
26229 * locale/programs/ld-time.c: Likewise.
26230 * locale/programs/linereader.c: Likewise.
26231 * locale/programs/locale.c: Likewise.
26232 * locale/programs/locarchive.c: Likewise.
26233 * locale/programs/locfile.h: Likewise.
26234 * locale/programs/repertoire.c: Likewise.
26235 * locale/programs/simple-hash.c: Likewise.
26236 * locale/programs/simple-hash.h: Likewise.
26237 * malloc/memusage.c: Likewise.
26238 * malloc/memusagestat.c: Likewise.
26239 * nis/nis_defaults.c: Likewise.
26240 * nis/nis_hash.c: Likewise.
26241 * nis/nis_print.c: Likewise.
26242 * nis/nis_xdr.c: Likewise.
26243 * nscd/connections.c: Likewise.
26244 * nscd/hstcache.c: Likewise.
26245 * nscd/nscd_gethst_r.c: Likewise.
26246 * nscd/nscd_getserv_r.c: Likewise.
26247 * nscd/nscd_helper.c: Likewise.
26248 * nscd/servicescache.c: Likewise.
26249 * nss/makedb.c: Likewise.
26250 * nss/nss_db/db-XXX.c: Likewise.
26251 * nss/nss_db/db-initgroups.c: Likewise.
26252 * nss/nss_db/db-netgrp.c: Likewise.
26253 * nss/nss_files/files-network.c: Likewise.
26254 * nss/nss_files/files-parse.c: Likewise.
26255 * posix/bug-regex5.c: Likewise.
26256 * posix/fnmatch_loop.c: Likewise.
26257 * posix/regcomp.c: Likewise.
26258 * posix/regexec.c: Likewise.
26259 * posix/tst-rfc3484-2.c: Likewise.
26260 * posix/tst-rfc3484-3.c: Likewise.
26261 * posix/tst-rfc3484.c: Likewise.
26262 * resolv/nss_dns/dns-canon.c: Likewise.
26263 * resolv/nss_dns/dns-network.c: Likewise.
26264 * resolv/res_init.c: Likewise.
26265 * resolv/res_mkquery.c: Likewise.
26266 * resolv/tst-aton.c: Likewise.
26267 * stdlib/cxa_atexit.c: Likewise.
26268 * stdlib/cxa_finalize.c: Likewise.
26269 * stdlib/gen-fpioconst.c: Likewise.
26270 * stdlib/strtol_l.c: Likewise.
26271 * string/tst-endian.c: Likewise.
26272 * sunrpc/auth_des.c: Likewise.
26273 * sunrpc/clnt_udp.c: Likewise.
26274 * sunrpc/rtime.c: Likewise.
26275 * sunrpc/svcauth_des.c: Likewise.
26276 * sunrpc/xdr.c: Likewise.
26277 * sunrpc/xdr_intXX_t.c: Likewise.
26278 * sunrpc/xdr_rec.c: Likewise.
26279 * sysdeps/generic/ldconfig.h: Likewise.
26280 * sysdeps/generic/ldsodefs.h: Likewise.
26281 * sysdeps/generic/memusage.h: Likewise.
26282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26283 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26284 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26285 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26289 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26290 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26292 * sysdeps/posix/getaddrinfo.c: Likewise.
26293 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26294 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26295 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26296 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26297 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26298 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26299 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26300 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26301 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26302 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26303 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26304 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26305 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26306 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26307 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26308 * sysdeps/x86_64/dl-tls.h: Likewise.
26309 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26310 * time/alt_digit.c: Likewise.
26311 * time/era.c: Likewise.
26312 * wcsmbs/tst-c16c32-1.c: Likewise.
26314 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26316 * math/libm-test.inc (struct test_sincos_data): New type.
26317 (RUN_TEST_LOOP_sincos): New macro.
26318 (sincos_test_data): New variable.
26319 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26321 2013-05-16 Richard Henderson <rth@redhat.com>
26323 * math/atest-exp2.c (LIMB64): New macro.
26324 (CONSTSZ): New macro.
26325 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26327 (print_mpn_fp): ... to function scope.
26328 (read_mpn_hex): Remove.
26329 (get_log2): Remove.
26330 (exp2_mpn): Use mp_log2.
26331 (main): Use mp_exp1.
26333 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26335 * math/libm-test.inc: Remove comment about not testing "inexact"
26337 (INEXACT_EXCEPTION): New macro.
26338 (NO_INEXACT_EXCEPTION): Likewise.
26339 (INVALID_EXCEPTION_OK): Update value.
26340 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26341 (OVERFLOW_EXCEPTION_OK): Likewise.
26342 (UNDERFLOW_EXCEPTION_OK): Likewise.
26343 (IGNORE_ZERO_INF_SIGN): Likewise.
26344 (ERRNO_UNCHANGED): Likewise.
26345 (ERRNO_EDOM): Likewise.
26346 (ERRNO_ERANGE): Likewise.
26347 (test_exceptions): Handle testing "inexact" exceptions.
26348 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26349 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26350 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26351 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26353 (rint_towardzero_test_data): Likewise.
26354 (rint_downward_test_data): Likewise.
26355 (rint_upward_test_data): Likewise.
26357 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26358 with OVERFLOW_EXCEPTION.
26359 (exp10_test_data): Likewise.
26360 (exp2_test_data): Likewise.
26361 (expm1_test_data): Likewise.
26362 (lgamma_test_data): Likewise.
26363 (pow_test_data): Likewise.
26364 (tgamma_test_data): Likewise.
26365 (yn_test_data): Remove duplicate test of overflow.
26367 * math/libm-test.inc (struct test_cc_c_data): New type.
26368 (RUN_TEST_LOOP_cc_c): New macro.
26369 (cpow_test_data): New variable.
26370 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26372 * math/libm-test.inc (struct test_f_L_data): New type.
26373 (RUN_TEST_LOOP_f_L): New macro.
26374 (llrint_test_data): New variable.
26375 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26376 (llrint_tonearest_test_data): New variable.
26377 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26378 (llrint_towardzero_test_data): New variable.
26379 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26380 (llrint_downward_test_data): New variable.
26381 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26382 (llrint_upward_test_data): New variable.
26383 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26384 (llround_test_data): New variable.
26385 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26387 2013-05-13 Peter Collingbourne <pcc@google.com>
26389 * math/atest-exp2.c (get_log2): Remove const attribute.
26391 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26393 * math/libm-test.inc (struct test_f_l_data): New type.
26394 (RUN_TEST_LOOP_f_l): New macro.
26395 (lrint_test_data): New variable.
26396 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26397 (lrint_tonearest_test_data): New variable.
26398 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26399 (lrint_towardzero_test_data): New variable.
26400 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26401 (lrint_downward_test_data): New variable.
26402 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26403 (lrint_upward_test_data): New variable.
26404 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26405 (lround_test_data): New variable.
26406 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26408 2013-05-15 Peter Collingbourne <pcc@google.com>
26410 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26411 (EXTRACT_WORDS64) Use where appropriate.
26412 (INSERT_WORDS64) Likewise.
26414 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26415 constraints with x constraints.
26416 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26418 * malloc/obstack.c (_obstack_compat): Add initializer.
26420 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26422 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26423 si_trapno and add si_addr_lsb to _sifields.sigfault.
26424 (si_trapno): Remove macro.
26425 (si_addr_lsb): Define new macro.
26426 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26428 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26430 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26431 instead of TEST_f_l.
26432 (llrint_test_tonearest): Likewise.
26433 (llrint_test_towardzero): Likewise.
26434 (llrint_test_downward): Likewise.
26435 (llrint_test_upward): Likewise.
26436 (llround_test): Likewise.
26438 * math/libm-test.inc (struct test_f_i_data): Add comment.
26439 (RUN_TEST_LOOP_f_b): New macro.
26440 (RUN_TEST_LOOP_f_b_tg): Likewise.
26441 (finite_test_data): New variable.
26442 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26443 (isfinite_test_data): New variable.
26444 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26445 (isinf_test_data): New variable.
26446 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26447 (isnan_test_data): New variable.
26448 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26449 (isnormal_test_data): New variable.
26450 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26451 (issignaling_test_data): New variable.
26452 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26453 (signbit_test_data): New variable.
26454 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26456 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26457 with INVALID_EXCEPTION.
26458 (acosh_test_data): Likewise.
26459 (asin_test_data): Likewise.
26460 (atanh_test_data): Likewise.
26461 (fmod_test_data): Likewise.
26462 (log_test_data): Likewise.
26463 (log10_test_data): Likewise.
26464 (log2_test_data): Likewise.
26465 (pow_test_data): Likewise.
26466 (sqrt_test_data): Likewise.
26467 (y0_test_data): Likewise.
26468 (y1_test_data): Likewise.
26469 (yn_test_data): Likewise.
26471 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26474 * math/libm-test.inc (struct test_ff_i_data): New type.
26475 (RUN_TEST_LOOP_ff_i_tg): New macro.
26476 (isgreater_test_data): New variable.
26477 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26478 (isgreaterequal_test_data): New variable.
26479 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26480 (isless_test_data): New variable.
26481 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26482 (islessequal_test_data): New variable.
26483 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26484 (islessgreater_test_data): New variable.
26485 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26486 (isunordered_test_data): New variable.
26487 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26489 2013-05-14 David S. Miller <davem@davemloft.net>
26491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26493 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26495 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26497 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26499 (struct test_f_i_data): Change type of max_ulp to int.
26501 * math/libm-test.inc (test_ffI_f1_data): New type.
26502 (RUN_TEST_LOOP_ffI_f1): New macro.
26503 (remquo_test_data): New variable.
26504 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26506 * setjmp/tst-setjmp-fp.c: New file.
26507 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26508 (link-libm): New variable.
26509 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26511 * math/libm-test.inc (struct test_f_i_data): New type.
26512 (RUN_TEST_LOOP_f_i): New macro.
26513 (RUN_TEST_LOOP_f_i_tg): Likewise.
26514 (fpclassify_test_data): New variable.
26515 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26516 (ilogb_test_data): New variable.
26517 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26519 * math/libm-test.inc (scalbln_test): Correct function name in END
26522 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26523 (RUN_TEST_LOOP_fI_f1): New macro.
26524 (frexp_test_data): New variable.
26525 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26527 * math/libm-test.inc (struct test_fF_f1_data): New type.
26528 (RUN_TEST_LOOP_fF_f1): New macro.
26529 (modf_test_data): New variable.
26530 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26532 * math/libm-test.inc (struct test_f_f1_data): New type.
26533 (RUN_TEST_LOOP_f_f1): New macro.
26534 (gamma_test_data): New variable.
26535 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26536 (lgamma_test_data): New variable.
26537 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26539 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26541 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26542 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26543 (main): Comment "tls" pseudo-hwcap.
26545 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26547 * math/libm-test.inc (struct test_fl_f_data): New type.
26548 (RUN_TEST_LOOP_fl_f): New variable.
26549 (scalbln_test_data): New variable.
26550 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26552 * math/libm-test.inc (struct test_fi_f_data): New type.
26553 (RUN_TEST_LOOP_fi_f): New macro.
26554 (ldexp_test_data): New variable.
26555 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26556 (scalbn_test_data): New variable.
26557 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26559 * math/libm-test.inc (struct test_c_f_data): New type.
26560 (RUN_TEST_LOOP_c_f): New macro.
26561 (cabs_test_data): New variable.
26562 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26563 (carg_test_data): New variable.
26564 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26565 (cimag_test_data): New variable.
26566 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26567 (creal_test_data): New variable.
26568 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26570 * math/libm-test.inc (struct test_if_f_data): New type.
26571 (RUN_TEST_LOOP_if_f): New macro.
26572 (jn_test_data): New variable.
26573 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26574 (yn_test_data): New variable.
26575 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26577 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26579 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26581 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26582 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26584 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26586 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26587 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26588 (bench-deps): Add bench-timing.h.
26589 * benchtests-bench-skeleton.c: Include bench-timing.h.
26590 (main): Use TIMING_* macros instead of clock_gettime.
26591 * benchtests/bench-timing.h: New file.
26594 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26595 Renamed from _LIB_VERSION.
26596 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26598 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26600 * math/libm-test.inc (struct test_fff_f_data): New type.
26601 (RUN_TEST_LOOP_fff_f): New macro.
26602 (fma_test_data): New variable.
26603 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26604 (fma_towardzero_test_data): New variable.
26605 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26606 (fma_downward_test_data): New variable.
26607 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26608 (fma_upward_test_data): New variable.
26609 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26611 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26612 (struct test_c_c_data): New type.
26613 (RUN_TEST_LOOP_c_c): New macro.
26614 (cacos_test_data): New variable.
26615 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26616 (cacosh_test_data): New variable.
26617 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26618 (casin_test_data): New variable.
26619 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26620 (casinh_test_data): New variable.
26621 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26622 (catan_test_data): New variable.
26623 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26624 (catanh_test_data): New variable.
26625 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26626 (ccos_test_data): New variable.
26627 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26628 (ccosh_test_data): New variable.
26629 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26630 (cexp_test_data): New variable.
26631 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26632 (clog_test_data): New variable.
26633 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26634 (clog10_test_data): New variable.
26635 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26636 (conj_test_data): New variable.
26637 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26638 (cproj_test_data): New variable.
26639 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26640 (csin_test_data): New variable.
26641 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26642 (csinh_test_data): New variable.
26643 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26644 (csqrt_test_data): New variable.
26645 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26646 (ctan_test_data): New variable.
26647 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26648 (ctan_tonearest_test_data): New variable.
26649 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26650 (ctan_towardzero_test_data): New variable.
26651 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26652 (ctan_downward_test_data): New variable.
26653 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26654 (ctan_upward_test_data): New variable.
26655 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26656 (ctanh_test_data): New variable.
26657 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26658 (ctanh_tonearest_test_data): New variable.
26659 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26660 (ctanh_towardzero_test_data): New variable.
26661 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26662 (ctanh_downward_test_data): New variable.
26663 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26664 (ctanh_upward_test_data): New variable.
26665 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26666 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26669 * math/libm-test.inc (struct test_ff_f_data): New type.
26670 (struct test_ff_f_data_nexttoward): Likewise.
26671 (RUN_TEST_LOOP_2_f): New macro.
26672 (RUN_TEST_LOOP_ff_f): Likewise.
26673 (atan2_test_data): New variable.
26674 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26675 (copysign_test_data): New variable.
26676 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26677 (fdim_test_data): New variable.
26678 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26679 (fmax_test_data): New variable.
26680 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26681 (fmin_test_data): New variable.
26682 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26683 (fmod_test_data): New variable.
26684 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26685 (hypot_test_data): New variable.
26686 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26687 (nextafter_test_data): New variable.
26688 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26689 (nexttoward_test_data): New variable.
26690 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26691 (pow_test_data): New variable.
26692 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26693 (pow_tonearest_test_data): New variable.
26694 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26695 (pow_towardzero_test_data): New variable.
26696 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26697 (pow_downward_test_data): New variable.
26698 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26699 (pow_upward_test_data): New variable.
26700 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26701 (remainder_test_data): New variable.
26702 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26703 (scalb_test_data): New variable.
26704 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26705 * sysdeps/i386/fpu/libm-test-ulps: Update.
26707 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26709 * math/libm-test.inc (fma_test): Use max_value instead of local
26711 (nextafter_test): Likewise.
26713 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26714 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26715 (acos_downward_test_data): New variable.
26716 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26717 (acos_upward_test_data): New variable.
26718 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26719 (acosh_test_data): New variable.
26720 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26721 (asin_test_data): New variable.
26722 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26723 (asin_tonearest_test_data): New variable.
26724 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26725 (asin_towardzero_test_data): New variable.
26726 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26727 (asin_downward_test_data): New variable.
26728 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26729 (asin_upward_test_data): New variable.
26730 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26731 (asinh_test_data): New variable.
26732 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26733 (atan_test_data): New variable.
26734 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26735 (atanh_test_data): New variable.
26736 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26737 (cbrt_test_data): New variable.
26738 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26739 (ceil_test_data): New variable.
26740 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26741 (cos_test_data): New variable.
26742 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26743 (cos_tonearest_test_data): New variable.
26744 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26745 (cos_towardzero_test_data): New variable.
26746 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26747 (cos_downward_test_data): New variable.
26748 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26749 (cos_upward_test_data): New variable.
26750 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26751 (cosh_test_data): New variable.
26752 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26753 (cosh_tonearest_test_data): New variable.
26754 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26755 (cosh_towardzero_test_data): New variable.
26756 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26757 (cosh_downward_test_data): New variable.
26758 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26759 (cosh_upward_test_data): New variable.
26760 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26761 (erf_test_data): New variable.
26762 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26763 (erfc_test_data): New variable.
26764 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26765 (exp_test_data): New variable.
26766 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26767 (exp_tonearest_test_data): New variable.
26768 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26769 (exp_towardzero_test_data): New variable.
26770 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26771 (exp_downward_test_data): New variable.
26772 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26773 (exp_upward_test_data): New variable.
26774 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26775 (exp10_test_data): New variable.
26776 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26777 (exp2_test_data): New variable.
26778 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26779 (expm1_test_data): New variable.
26780 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26781 (fabs_test_data): New variable.
26782 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26783 (floor_test_data): New variable.
26784 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26785 (j0_test_data): New variable.
26786 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26787 (j1_test_data): New variable.
26788 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26789 (log_test_data): New variable.
26790 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26791 (log10_test_data): New variable.
26792 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26793 (log1p_test_data): New variable.
26794 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26795 (log2_test_data): New variable.
26796 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26797 (logb_test_data): New variable.
26798 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26799 (logb_downward_test_data): New variable.
26800 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26801 (nearbyint_test_data): New variable.
26802 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26803 (rint_test_data): New variable.
26804 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26805 (rint_tonearest_test_data): New variable.
26806 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26807 (rint_towardzero_test_data): New variable.
26808 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26809 (rint_downward_test_data): New variable.
26810 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26811 (rint_upward_test_data): New variable.
26812 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26813 (round_test_data): New variable.
26814 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26815 (sin_test_data): New variable.
26816 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26817 (sin_tonearest_test_data): New variable.
26818 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26819 (sin_towardzero_test_data): New variable.
26820 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26821 (sin_downward_test_data): New variable.
26822 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26823 (sin_upward_test_data): New variable.
26824 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26825 (sinh_test_data): New variable.
26826 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26827 (sinh_tonearest_test_data): New variable.
26828 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26829 (sinh_towardzero_test_data): New variable.
26830 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26831 (sinh_downward_test_data): New variable.
26832 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26833 (sinh_upward_test_data): New variable.
26834 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26835 (sqrt_test_data): New variable.
26836 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26837 (tan_test_data): New variable.
26838 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26839 (tan_tonearest_test_data): New variable.
26840 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26841 (tan_towardzero_test_data): New variable.
26842 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26843 (tan_downward_test_data): New variable.
26844 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26845 (tan_upward_test_data): New variable.
26846 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26847 (tanh_test_data): New variable.
26848 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26849 (tgamma_test_data): New variable.
26850 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26851 (trunc_test_data): New variable.
26852 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26853 (y0_test_data): New variable.
26854 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26855 (y1_test_data): New variable.
26856 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26857 (significand_test_data): New variable.
26858 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26860 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26863 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26865 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26867 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26869 2013-05-10 Andreas Jaeger <aj@suse.de>
26872 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26873 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26875 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26877 * math/gen-libm-test.pl (adjust_arg): New function.
26878 (special_functions): Handle generating output in both functions
26880 (parse_args): Likewise.
26881 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26882 $in_func argument to parse_args.
26883 * math/libm-test.inc (struct test_f_f_data): New type.
26884 (IF_ROUND_INIT_): New macro.
26885 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26886 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26887 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26888 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26889 (ROUND_RESTORE_): Likewise.
26890 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26891 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26892 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26893 (ROUND_RESTORE_FE_UPWARD): Likewise.
26894 (RUN_TEST_LOOP_f_f): New macro.
26895 (acos_test_data): New variable.
26896 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26897 (acos_tonearest_test_data): New variable.
26898 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26900 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26902 * benchtests/bench-skeleton.c (startup): Fix coding style.
26904 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26907 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26908 negative infinity argument.
26909 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26910 negative infinity argument.
26911 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26912 negative infinity argument.
26913 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26916 2013-05-10 Florian Weimer <fweimer@redhat.com>
26918 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26919 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26920 * iconv/iconv_prog.c (main): Likewise.
26921 * locale/programs/charmap-dir.c (charmap_readdir)
26922 (fopen_uncompressed): Likewise.
26923 * locale/programs/locfile.c (siblings_uncached)
26924 (write_locale_data): Use lstat64 instead of lstat.
26925 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26928 2013-05-10 Andreas Jaeger <aj@suse.de>
26931 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26933 Include <locale.h>.
26935 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26937 * elf/dl-close.c (_dl_close_worker): Add comments.
26939 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26942 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26944 (__ieee754_rem_pio2l): Update comments.
26947 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26949 (__ieee754_rem_pio2l): Update comments.
26951 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26952 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26954 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26957 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26958 (M_PI_34_LOG10El): Likewise.
26959 (M_PI2_LOG10El): Likewise.
26960 (M_PI4_LOG10El): Likewise.
26961 (M_PI_LOG10El): Likewise.
26963 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26967 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26969 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26970 (MINUS_ZERO_INIT): Likewise.
26971 (PLUS_INFTY_INIT): Likewise.
26972 (MINUS_INFTY_INIT): Likewise.
26973 (QNAN_VALUE_INIT): Likewise.
26974 (MAX_VALUE_INIT): Likewise.
26975 (MIN_VALUE_INIT): Likewise.
26976 (MIN_SUBNORM_VALUE_INIT): Likewise.
26977 (plus_zero): Initialize with PLUS_ZERO_INIT.
26978 (minus_zero): Initialize with MINUS_ZERO_INIT.
26979 (plus_infty): Initialize with PLUS_INFTY_INIT.
26980 (minus_infty): Initialize with MINUS_INFTY_INIT.
26981 (qnan_value): Initialize with QNAN_VALUE_INIT.
26982 (max_value): Initialize with MAX_VALUE_INIT.
26983 (min_value): Initialize with MIN_VALUE_INIT.
26984 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26986 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26987 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26988 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26989 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26991 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26992 (RUN_TEST_2_f): Likewise.
26993 (RUN_TEST_ff_f): Likewise.
26994 (RUN_TEST_fi_f): Likewise.
26995 (RUN_TEST_fl_f): Likewise.
26996 (RUN_TEST_fff_f): Likewise.
26997 (RUN_TEST_c_f): Likewise.
26998 (RUN_TEST_f_f1): Likewise.
26999 (RUN_TEST_fF_f1): Likewise.
27000 (RUN_TEST_fI_f1): Likewise.
27001 (RUN_TEST_ffI_f1): Likewise.
27002 (RUN_TEST_c_c): Likewise.
27003 (RUN_TEST_cc_c): Likewise.
27004 (RUN_TEST_f_i): Likewise.
27005 (RUN_TEST_f_i_tg): Likewise.
27006 (RUN_TEST_ff_i_tg): Likewise.
27007 (RUN_TEST_f_b): Likewise.
27008 (RUN_TEST_f_b_tg): Likewise.
27009 (RUN_TEST_f_l): Likewise.
27010 (RUN_TEST_f_L): Likewise.
27011 (RUN_TEST_sincos): Likewise.
27012 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27013 whether to show exceptions. Do not include ");\n" in return
27015 (special_functions): Output call to RUN_TEST_sincos instead of
27016 check_float calls. Update calls to new_test.
27017 (parse_args): Output call to single RUN_TEST_* macro instead of
27018 check_* calls and other assignments. Update calls to new_test.
27024 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27025 input to result for tgamma overflow.
27026 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27027 (gamma_coeff): New variable.
27028 (NCOEFF): New macro.
27029 (gamma_positive): New function.
27030 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27031 underflow here. Use gamma_positive instead of exp (lgamma) for
27033 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27034 (gamma_coeff): New variable.
27035 (NCOEFF): New macro.
27036 (gammaf_positive): New function.
27037 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27038 underflow here. Use gamma_positive instead of exp (lgamma) for
27040 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27041 (gamma_coeff): New variable.
27042 (NCOEFF): New macro.
27043 (gammal_positive): New function.
27044 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27045 underflow here. Use gamma_positive instead of exp (lgamma) for
27047 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27048 (gamma_coeff): New variable.
27049 (NCOEFF): New macro.
27050 (gammal_positive): New function.
27051 (__ieee754_gammal_r): Handle positive infinity, overflow and
27052 underflow here. Handle NaN the same as positive infinity. Remove
27053 check x < 0xffffffff for negative integers. Use gamma_positive
27054 instead of exp (lgamma) for other arguments.
27055 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27056 (gamma_coeff): New variable.
27057 (NCOEFF): New macro.
27058 (gammal_positive): New function.
27059 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27060 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27063 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27064 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27065 * sysdeps/generic/math_private.h (__gamma_productf): New
27067 (__gamma_product): Likewise.
27068 (__gamma_productl): Likewise.
27069 * math/Makefile (libm-calls): Add gamma_product.
27070 * math/libm-test.inc (tgamma_test): Add more tests.
27071 * sysdeps/i386/fpu/libm-test-ulps: Update.
27072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27074 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27076 * benchtests/bench-skeleton.c (main): Preheat CPU.
27078 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27080 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27082 2013-05-07 Roland McGrath <roland@hack.frob.com>
27084 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27085 and _dl_skip_args_internal.
27087 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27089 * manual/message.texi (Message Translation): Talk about users.
27090 Message to key mapping impacts design.
27092 2013-05-06 Roland McGrath <roland@hack.frob.com>
27094 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27096 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27098 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27099 * sysdeps/wordsize-64/glob64.c: ... here.
27101 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27102 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27105 * debug/getlogin_r_chk.c: Moved to ...
27106 * login/getlogin_r_chk.c: ... here.
27107 * debug/Makefile (routines): Move getlogin_r_chk to ...
27108 * login/Makefile (routines): ... here.
27109 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27110 * login/Versions (libc: GLIBC_2.4): ... here.
27112 * io/poll.c (__poll): Renamed from poll.
27113 Add libc_hidden_def.
27114 (poll): Define as weak alias.
27116 * debug/ptsname_r_chk.c: Moved to ...
27117 * login/ptsname_r_chk.c: ... here.
27118 * debug/Makefile (routines): Move ptsname_r_chk to ...
27119 * login/Makefile (routines): ... here.
27120 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27121 * login/Versions (libc: GLIBC_2.4): ... here.
27123 * posix/getlogin.c: Moved to ...
27124 * login/getlogin.c: ... here.
27125 * posix/getlogin_r.c: Moved to ...
27126 * login/getlogin_r.c: ... here.
27127 * posix/getlogin_r.c: Moved to ...
27128 * login/getlogin_r.c: ... here.
27129 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27130 * login/Makefile (routines): ... here.
27131 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27132 * login/Versions (libc: GLIBC_2.0): ... here.
27134 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27135 (setrlimit): Define as weak alias.
27137 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27138 Call __ names for open, ftruncate, and close.
27139 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27140 (truncate): Define as weak alias.
27142 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27144 * math/gen-libm-test.pl (parse_args): Initialize x before each
27145 test of frexp, modf and remquo.
27147 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27148 test signgam value.
27150 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27154 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27156 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27158 2013-05-06 Roland McGrath <roland@hack.frob.com>
27160 * elf/dl-writev.h: New file.
27161 * elf/dl-misc.c: Include it.
27162 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27163 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27165 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27167 * math/libm-test.inc (noXFails): Remove variable.
27168 (noXPasses): Likewise.
27169 (BUILD_COMPLEX_INT): Remove macro.
27170 (print_screen): Remove xfail argument.
27171 (print_screen_max_error): Likewise.
27172 (update_stats): Likewise.
27173 (print_max_error): Likewise. Update calls to other affected
27175 (print_complex_max_error): Likewise.
27176 (test_single_exception): Update calls to print_screen.
27177 (test_single_errno): Likewise.
27178 (check_float_internal): Remove xfail argument. Update calls to
27179 other affected functions.
27180 (check_float): Likewise.
27181 (check_complex): Likewise.
27182 (check_int): Likewise.
27183 (check_long): Likewise.
27184 (check_bool): Likewise.
27185 (check_longlong): Likewise.
27186 (main): Don't print noXFails and noXPasses.
27187 * math/gen-libm-test.pl (top level): Don't mention expected
27188 failure handling in comment.
27189 (new_test): Don't handle expected failures.
27190 (parse_args): Don't mention expected failure handling in comment.
27191 (generate_testfile): Don't handle expected failures.
27192 (parse_ulps): Likewise.
27193 (print_ulps_file): Likewise.
27194 (get_failure): Remove function.
27195 (output_test): Don't handle expected failures.
27196 * make/README.libm-test: Don't mention expected failure handling.
27198 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27199 (minus_zero): Likewise.
27200 (plus_infty): Likewise.
27201 (minus_infty): Likewise.
27202 (qnan_value): Likewise.
27203 (max_value): Likewise.
27204 (min_value): Likewise.
27205 (min_subnorm_value): Likewise.
27206 (initialize): Do not initialize those variables dynamically.
27208 2013-05-03 Roland McGrath <roland@hack.frob.com>
27210 * io/open.c (__open_2): Moved to ...
27211 * io/open_2.c: ... this new file.
27212 * io/open64.c (__open64_2): Moved to ...
27213 * io/open64_2.c: ... this new file.
27214 * io/openat.c (__openat_2): Moved to ...
27215 * io/openat_2.c: ... this new file.
27216 * io/openat64.c (__openat64_2): Moved to ...
27217 * io/openat64_2.c: ... this new file.
27218 * io/Makefile (routines): Add them.
27219 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27220 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27221 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27222 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27223 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27224 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27225 (__openat64): Add hidden_ver.
27226 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27227 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27229 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27230 Separately conditionalize setting of GLRO(dl_sysinfo) so
27231 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27232 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27234 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27236 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27237 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27239 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27240 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27241 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27242 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27243 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27245 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27247 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27248 test signgam value.
27250 * math/libm-test.inc (hypot_test): Do not use
27251 IGNORE_ZERO_INF_SIGN.
27253 2013-05-03 Andreas Jaeger <aj@suse.de>
27255 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27257 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27258 (PF_MAX): Adjust for VSOCK change.
27260 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27264 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27267 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27268 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27269 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27271 2013-05-02 David S. Miller <davem@davemloft.net>
27273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27275 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27277 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27279 2013-05-01 Roland McGrath <roland@hack.frob.com>
27281 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27283 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27286 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27287 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27288 Use __attribute__ ((__gnu_inline__)).
27289 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27290 Don't use __attribute__ ((__gnu_inline__)).
27292 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27295 * math/s_catan.c (__catan): Handle small real or imaginary part of
27296 input specially to avoid spurious underflow.
27297 * math/s_catanf.c (__catanf): Likewise.
27298 * math/s_catanh.c (__catanh): Likewise.
27299 * math/s_catanhf.c (__catanhf): Likewise.
27300 * math/s_catanhl.c (__catanhl): Likewise.
27301 * math/s_catanl.c (__catanl): Likewise.
27302 * math/libm-test.inc (catan_test): Add more tests.
27303 (catanh_test): Likewise.
27304 * sysdeps/i386/fpu/libm-test-ulps: Update.
27305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27307 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27311 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27314 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27315 accurately for denominator in atan2.
27316 * math/s_catanf.c (__catanf): Likewise.
27317 * math/s_catanh.c (__catanh): Likewise.
27318 * math/s_catanhf.c (__catanhf): Likewise.
27319 * math/s_catanhl.c (__catanhl): Likewise.
27320 * math/s_catanl.c (__catanl): Likewise.
27321 * math/libm-test.inc (catan_test): Add more tests.
27322 (catanh_test): Likewise.
27323 * sysdeps/i386/fpu/libm-test-ulps: Update.
27324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27326 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27328 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27330 * benchtests/Makefile (bench): Remove slow benchmarks.
27331 * benchtests/atan-inputs: Add slow benchmark inputs.
27332 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27333 (BENCH_FUNC): Accept variant offset.
27335 * benchtests/bench-skeleton.c (main): Run benchmark for each
27337 * benchtests/cos-inputs: Add slow benchmark inputs.
27338 * benchtests/exp-inputs: Likewise.
27339 * benchtests/pow-inputs: Likewise.
27340 * benchtests/sin-inputs: Likewise.
27341 * benchtests/slowatan-inputs: Remove.
27342 * benchtests/slowatan.c: Remove.
27343 * benchtests/slowcos-inputs: Remove.
27344 * benchtests/slowcos.c: Remove.
27345 * benchtests/slowexp-inputs: Remove.
27346 * benchtests/slowexp.c: Remove.
27347 * benchtests/slowpow-inputs: Remove.
27348 * benchtests/slowpow.c: Remove.
27349 * benchtests/slowsin-inputs: Remove.
27350 * benchtests/slowsin.c: Remove.
27351 * benchtests/slowtan-inputs: Remove.
27352 * benchtests/slowtan.c: Remove.
27353 * benchtests/tan-inputs: Add slow benchmark inputs.
27354 * scripts/bench.pl: Parse comments and directives.
27356 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27358 ($(objpfx)bench-%.c): Remove *-ITER.
27359 * benchtests/bench-modf.c: Remove definition of ITER.
27360 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27361 (main): Loop for DURATION seconds instead of fixed number of
27363 * scripts/bench.pl: Don't expect iterations in parameters.
27365 2013-04-29 Roland McGrath <roland@hack.frob.com>
27367 * io/fchdir.c (__fchdir): Renamed from fchdir.
27368 (fchdir): Define as weak alias.
27370 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27372 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27373 (ERRNO_EDOM): Likewise.
27374 (ERRNO_ERANGE): Likewise.
27375 (noErrnoTests): New variable.
27376 (init_max_error): Set errno to 0.
27377 (test_single_errno): New function.
27378 (test_errno): Likewise.
27379 (check_float_internal): Call test_errno. Set errno to 0.
27380 (check_complex): Refer to errno tests in comment.
27381 (check_int): Call test_errno. Set errno to 0.
27382 (check_long): Likewise.
27383 (check_bool): Likewise.
27384 (check_longlong): Likewise.
27385 (cos_test): Use ERRNO_* flags for errno tests instead of
27387 (expm1_test): Likewise.
27388 (fmod_test): Likewise.
27389 (ilogb_test): Likewise.
27390 (lgamma_test): Likewise.
27391 (pow_test): Likewise.
27392 (remainder_test): Likewise.
27393 (sin_test): Likewise.
27394 (tan_test): Likewise.
27395 (yn_test): Likewise.
27396 (initialize): Set errno to 0.
27397 (main): Print number of errno tests.
27398 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27400 2013-04-29 Andreas Jaeger <aj@suse.de>
27403 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27407 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27408 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27412 * stdlib/random.c (__initstate): Return NULL if
27416 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27417 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27420 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27424 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27426 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27427 of individual tests.
27428 (casin_test): Likewise.
27429 (casinh_test): Likewise.
27431 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27434 * math/s_catan.c (__catan): Handle arguments with large real or
27435 imaginary part separately without squaring.
27436 * math/s_catanf.c (__catanf): Likewise.
27437 * math/s_catanh.c (__catanh): Likewise.
27438 * math/s_catanhf.c (__catanhf): Likewise.
27439 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27441 (__catanhl): Handle arguments with large real or imaginary part
27442 separately without squaring.
27443 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27445 (__catanl): Handle arguments with large real or imaginary part
27446 separately without squaring.
27447 * math/libm-test.inc (catan_test): Add more tests.
27448 (catanh_test): Likewise.
27449 * sysdeps/i386/fpu/libm-test-ulps: Update.
27450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27452 2013-04-27 Andreas Jaeger <aj@suse.de>
27455 * stdlib/stdlib.h: Update guards for qecvt.
27456 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27459 2013-04-27 Allan McRae <allan@archlinux.org>
27461 * sysdeps/i386/fpu/libm-test-ulps: Update.
27463 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27466 * math/s_catan.c: Include <float.h>.
27467 (__catan): Ensure underflow exception occurs for underflowed
27469 * math/s_catanf.c: Include <float.h>.
27470 (__catanf): Ensure underflow exception occurs for underflowed
27472 * math/s_catanh.c: Include <float.h>.
27473 (__catanh): Ensure underflow exception occurs for underflowed
27475 * math/s_catanhf.c: Include <float.h>.
27476 (__catanhf): Ensure underflow exception occurs for underflowed
27478 * math/s_catanhl.c: Include <float.h>.
27479 (__catanhl): Ensure underflow exception occurs for underflowed
27481 * math/s_catanl.c: Include <float.h>.
27482 (__catanl): Ensure underflow exception occurs for underflowed
27484 * math/libm-test.inc (catan_test): Add more tests.
27485 (catanh_test): Likewise.
27488 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27489 underflowed result.
27490 * math/s_ccoshf.c (__ccoshf): Likewise.
27491 * math/s_ccoshl.c (__ccoshl): Likewise.
27492 * math/s_csin.c (__csin): Likewise.
27493 * math/s_csinf.c (__csinf): Likewise.
27494 * math/s_csinh.c (__csinh): Likewise.
27495 * math/s_csinhf.c (__csinhf): Likewise.
27496 * math/s_csinhl.c (__csinhl): Likewise.
27497 * math/s_csinl.c (__csinl): Likewise.
27498 * math/libm-test.inc (ccos_test): Add more tests.
27499 (ccosh_test): Likewise.
27500 (csin_test): Likewise.
27501 (csinh_test): Likewise.
27503 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27505 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27506 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27507 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27508 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27509 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27510 powerpc/power5+/fpu folders.
27511 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27514 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27518 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27520 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27521 additions to variable.
27522 [$(config-machine) = x86_64] (modules-names): Likewise.
27523 ($(objpfx)tst-audit3): Remove dependency.
27524 ($(objpfx)tst-audit3.out): Likewise.
27525 ($(objpfx)tst-audit4): Likewise.
27526 ($(objpfx)tst-audit4.out): Likewise.
27527 ($(objpfx)tst-audit5): Likewise.
27528 ($(objpfx)tst-audit5.out): Likewise.
27529 ($(objpfx)tst-audit6): Likewise.
27530 ($(objpfx)tst-audit6.out): Likewise.
27531 ($(objpfx)tst-audit7): Likewise.
27532 ($(objpfx)tst-audit7.out): Likewise.
27533 (tst-audit3-ENV): Remove variable.
27534 (tst-audit4-ENV): Likewise.
27535 (tst-audit5-ENV): Likewise.
27536 (tst-audit6-ENV): Likewise.
27537 (tst-audit7-ENV): Likewise.
27538 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27539 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27540 addition to variable.
27541 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27542 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27543 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27544 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27545 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27546 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27547 tst-audit3, tst-audit4 and tst-audit5.
27548 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27549 tst-audit6 and tst-audit7.
27550 [$(subdir) = elf] (modules-names): Add audit modules for those
27552 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27553 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27554 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27555 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27556 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27557 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27558 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27559 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27560 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27561 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27562 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27563 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27564 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27565 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27566 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27567 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27569 [$(subdir) = elf && $(config-cflags-avx) = yes]
27570 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27571 [$(subdir) = elf && $(config-cflags-avx) = yes]
27572 (CFLAGS-tst-auditmod4a.c): Likewise.
27573 [$(subdir) = elf && $(config-cflags-avx) = yes]
27574 (CFLAGS-tst-auditmod4b.c): Likewise.
27575 [$(subdir) = elf && $(config-cflags-avx) = yes]
27576 (CFLAGS-tst-auditmod6b.c): Likewise.
27577 [$(subdir) = elf && $(config-cflags-avx) = yes]
27578 (CFLAGS-tst-auditmod6c.c): Likewise.
27579 [$(subdir) = elf && $(config-cflags-avx) = yes]
27580 (CFLAGS-tst-auditmod7b.c): Likewise.
27581 * elf/tst-audit3.c: Move to ...
27582 * sysdeps/x86_64/tst-audit3.c: ... here.
27583 * elf/tst-audit4.c: Move to ...
27584 * sysdeps/x86_64/tst-audit4.c: ... here.
27585 * elf/tst-audit5.c: Move to ...
27586 * sysdeps/x86_64/tst-audit5.c: ... here.
27587 * elf/tst-audit6.c: Move to ...
27588 * sysdeps/x86_64/tst-audit6.c: ... here.
27589 * elf/tst-audit7.c: Move to ...
27590 * sysdeps/x86_64/tst-audit7.c: ... here.
27591 * elf/tst-auditmod3a.c: Move to ...
27592 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27593 * elf/tst-auditmod3b.c: Move to ...
27594 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27595 * elf/tst-auditmod4a.c: Move to ...
27596 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27597 * elf/tst-auditmod4b.c: Move to ...
27598 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27599 * elf/tst-auditmod5a.c: Move to ...
27600 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27601 * elf/tst-auditmod5b.c: Move to ...
27602 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27603 * elf/tst-auditmod6a.c: Move to ...
27604 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27605 * elf/tst-auditmod6b.c: Move to ...
27606 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27607 * elf/tst-auditmod6c.c: Move to ...
27608 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27609 * elf/tst-auditmod7a.c: Move to ...
27610 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27611 * elf/tst-auditmod7b.c: Move to ...
27612 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27614 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27617 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27618 define unconditionally.
27619 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27620 define unconditionally.
27621 (INT8_C, INT16_C, etc.): Likewise.
27623 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27625 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27626 __ehdr_start with hidden visibility.
27628 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27630 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27632 * math/libm-test.inc (cos_test): Use accurate hex constants.
27633 (sincost_test): Likewise.
27635 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27637 * math/libm-test.inc (catan_test): Add more tests.
27638 (catanh_test): Likewise.
27640 * math/s_catanf.c (__catanf): Use suffixed floating-point
27642 * math/s_catanhf.c (__catanhf): Likewise.
27643 * math/s_catanhl.c (__catanhl): Likewise.
27644 * math/s_catanl.c (__catanl): Likewise.
27647 * math/s_catan.c (__catan): Calculate imaginary part of result
27648 with log1p not log unless computing log of number close to 0.
27649 * math/s_catanf.c (__catanf): Likewise.
27650 * math/s_catanl.c (__catanl): Likewise.
27651 * math/s_catanh.c (__catanh): Calculate real part of result with
27652 log1p not log unless computing log of number close to 0.
27653 * math/s_catanhf.c (__catanhf): Likewise.
27654 * math/s_catanhl.c (__catanhl): Likewise.
27655 * math/libm-test.inc (catan_test): Add more tests.
27656 (catanh_test): Likewise.
27657 * sysdeps/i386/fpu/libm-test-ulps: Update.
27658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27660 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27662 * benchtests/Makefile: Mention files in which fast and slow
27663 paths of math functions are implemented.
27665 2013-04-23 Roland McGrath <roland@hack.frob.com>
27667 * sysdeps/posix/timespec_get.c: New file.
27669 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27671 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27673 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27675 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27676 powerpc/power5/fpu folders.
27677 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27678 * benchtests/Makefile: Add modf testcase.
27679 * benchtests/bench-modf.c: New file: Benchmark test for mo
27681 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27684 * time/Makefile (tests): Add tst-strptime-whitespace.
27685 * time/strptime_l.c (get_number): Use ISSPACE.
27686 (__strptime_internal): Likewise.
27687 * time/tst-strptime-whitespace.c: New test case.
27689 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27691 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27693 (_nss_files_init): Set it here.
27695 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27697 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27698 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27701 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27703 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27705 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27707 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27710 2013-04-21 David S. Miller <davem@davemloft.net>
27712 * po/ru.po: Update Russion translation from translation project.
27714 2013-04-17 Adam Conrad <adconrad@0c3.net>
27716 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27719 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27721 * configure.in: Remove i386 configure warning. Remove i386 case.
27722 * configure: Regenerate.
27723 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27724 Add example to error message.
27725 * sysdeps/i386/configure: Regenerate.
27727 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27729 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27731 * benchtests/cos-inputs: New file.
27732 * benchtests/slowcos-inputs: New file.
27733 * benchtests/slowcos.c: New file.
27734 * benchtests/slowtan-inputs: New file.
27735 * benchtests/slowtan.c: New file.
27736 * benchtests/tan-inputs: New file.
27738 2013-04-16 Roland McGrath <roland@hack.frob.com>
27740 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27743 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27745 * benchtests/Makefile: Include cppflags-iterator.mk to add
27746 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27748 * Makefile.in (bench-clean): New target.
27749 * benchtests/Makefile (bench-clean): Likewise.
27751 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27753 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27755 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27757 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27759 2013-04-15 Andreas Schwab <schwab@suse.de>
27761 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27763 * nscd/pwdcache.c (cache_addpw): Likewise.
27764 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27767 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27769 * benchtests/Makefile (bench): Write all output to
27770 bench-out.tmp together.
27772 2013-04-15 Andreas Schwab <schwab@suse.de>
27774 * nscd/nscd.c (main): Don't fork again after closing files.
27776 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27778 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27780 * benchtests/Rules (bench-deps): Collect dependencies into a
27781 single variable. Add Makefile to dependencies.
27782 ($(objpfx)bench-%.c): Depend on bench-deps.
27784 2013-04-12 Roland McGrath <roland@hack.frob.com>
27785 Xavier Roche <roche+kml2@exalead.com>
27788 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27789 just that it's a file descriptor.
27790 * manual/llio.texi (Synchronizing AIO Operations): Update description
27791 for EBADF error from aio_fsync.
27793 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27795 * Rules (bench): Move target definition...
27796 * benchtests/Makefile: ... here.
27798 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27800 * math/libm-test.inc (cos_test): Fix PI/2 test.
27801 (sincos_test): Likewise.
27802 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27803 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27805 2013-04-11 Andreas Schwab <schwab@suse.de>
27808 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27809 accept exponent character only when digits were seen.
27810 * stdio-common/Makefile (tests): Add bug26.
27811 * stdio-common/bug26.c: New file.
27814 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27817 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27819 * Makeconfig (rtld-prefix): Define built linker prefix.
27820 * Rules (run-bench): Use it.
27821 * math/Makefile (run-regen-ulps): Likewise.
27823 * Rules (bench): Remove eval.
27825 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27826 Roland McGrath <roland@hack.frob.com>
27827 Ondrej Bilka <neleai@seznam.cz>
27830 * time/getdate.c: Include ctype.h and alloca.h.
27831 (__getdate_r): Trim leading and trailing spaces of input.
27832 * time/tst-getdate.c (tests): Add tests with leading and
27835 2013-04-08 Roland McGrath <roland@hack.frob.com>
27838 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27839 when computing value.
27841 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27843 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27844 Use testrun.sh to run libm tests.
27847 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27849 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27852 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27854 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27856 * Makefile.in (regen-ulps): New target.
27857 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27858 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27859 [ifneq (no,$(PERL)] (regen-ulps): New target.
27860 [ifeq (no,$(PERL)] (regen-ulps): New target.
27861 * math/libm-test.inc (ulps_file_name): Define.
27862 (output_dir): New variable.
27863 (options): Add "output-dir" option.
27864 (parse_opt): Handle 'o' case.
27865 (main): If output_dir is non-NULL use it as a prefix
27867 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27869 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27871 [BZ #10060, #10062]
27872 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27873 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27874 fail configure if __sync_val_compare_and_swap is not inlined.
27875 * sysdeps/i386/configure: Regenerate.
27876 * configure.in: Build for i686 when configured for i386.
27877 * configure: Regenerate.
27878 * README: Remove i386 reference.
27880 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27882 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27883 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27885 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27887 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27888 (lmsnanval): New variables.
27889 (F): Add conversion tests.
27890 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27891 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27893 * stdio-common/tstdiomisc.c (F): Properly collect individual
27896 [BZ #14686, #15336]
27897 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27898 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27899 Instead, use input NaN values or generate a qNaN by arithmetic
27900 operation. Also fix bugs to comply with the standard.
27901 * math/libm-test.inc (remainder_test): Add more tests.
27903 [BZ #15335, #15342]
27904 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27906 input NaN values or generate a qNaN by arithmetic operation.
27908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27911 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27914 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27917 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27918 underflowed result.
27919 * math/s_cexpf.c (__cexpf): Likewise.
27920 * math/s_cexpl.c (__cexpl): Likewise.
27921 * math/libm-test.inc (cexp_test): Add more tests.
27923 2013-04-03 Andreas Schwab <schwab@suse.de>
27926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27927 order arrays from heap if bigger than alloca cutoff.
27929 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27931 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27932 (SNAN_TESTS_double): Refer to GCC PR56831.
27933 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27936 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27938 * Rules (bench): Move bench.out after the run is complete.
27940 * Rules (bench): Echo currently running benchmark.
27942 * benchtests/Makefile (bench): Add atan and slowatan.
27943 * benchtests/atan-inputs: New file.
27944 * benchtests/slowatan-inputs: New file.
27945 * benchtests/slowatan.c: New file.
27947 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27952 * sysdeps/unix/sysv/linux/kernel-features.h
27953 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27954 __ASSUME_XFS_RESTRICTED_CHOWN.
27955 * sysdeps/unix/sysv/linux/pathconf.c
27956 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27957 Save and restore errno.
27959 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27962 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27963 arguments using __kernel_casinh.
27964 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27965 arguments using __kernel_casinhf.
27966 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27967 arguments using __kernel_casinhl.
27968 * math/libm-test.inc (cacosh_test): Add more tests.
27969 * sysdeps/i386/fpu/libm-test-ulps: Update.
27970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27972 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27974 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27977 * bench/Makefile (bench): Add sin and slowsin.
27978 * benchtests/sin-inputs: New file.
27979 * benchtests/slowsin-inputs: New file.
27980 * benchtests/slowsin.c: New file.
27982 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27983 (bench): Add slowexp and slowpow.
27984 (exp-ITER): Increase iterations.
27985 (pow-ITER): Likewise.
27986 * benchtests/exp-inputs: Change input.
27987 * benchtests/pow-inputs: Likewise.
27988 * benchtests/slowexp-inputs: New file.
27989 * benchtests/slowexp.c: New file.
27990 * benchtests/slowpow-inputs: New file.
27991 * benchtests/slowpow.c: New file.
27993 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27995 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27997 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27998 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27999 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28000 * benchtests/Makefile: Add rint benchtest.
28001 * benchtests/rint-inputs: Input for rint benchtest.
28003 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28005 * Versions.def (libm): Add GLIBC_2.18.
28006 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28007 hidden libm prototypes.
28008 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28009 * math/Makefile (libm-calls): Add s_issignaling.
28010 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28011 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28012 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28014 * math/math.h [__USE_GNU] (issignaling): New macro.
28015 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28016 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28018 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28019 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28020 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28021 * manual/arith.texi (issignaling): New section.
28022 * manual/libm-err-tab.pl (@all_functions): Update comment.
28023 * math/gen-libm-test.pl (parse_args): Apply special handling for
28025 * math/libm-test.inc (print_float, issignaling_test): New
28027 (check_float_internal): Add issignaling checks.
28028 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28029 default definition.
28030 * sysdeps/powerpc/math-tests.h: New file.
28031 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28033 * math/test-snan.c (TEST_FUNC): Likewise.
28035 2013-03-30 David S. Miller <davem@davemloft.net>
28037 * po/de.po: Update from translation team.
28039 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28042 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28043 imaginary part less than 1.0 and real part less than 0.5
28045 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28046 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28047 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28048 (cacos_test): Add more tests.
28049 (casin_test): Likewise.
28050 (casinh_test): Likewise.
28051 * sysdeps/i386/fpu/libm-test-ulps: Update.
28052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28054 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28056 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28057 ONE with its value.
28059 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28060 (__pow_mp): Replace ONE and MONE with their values.
28061 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28062 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28063 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28064 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28065 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28066 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28068 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28070 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28071 (__pow_mp): Replace ZERO and MZERO with their values.
28072 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28073 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28074 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28075 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28076 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28077 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28080 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28082 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28084 2013-03-28 Roland McGrath <roland@hack.frob.com>
28086 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28087 Declare with __attribute__ ((weak)).
28088 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28089 Call __call_tls_dtors only if it's not NULL.
28091 2013-03-28 Roland McGrath <roland@hack.frob.com>
28093 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28094 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28095 magic __ehdr_start linker symbol if it's defined.
28096 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28097 them up here if it was already done.
28099 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28100 (_dl_aux_init): Use const in cast when setting it.
28101 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28102 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28103 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28105 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28107 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28108 * csu/libc-tls.c: Nor here.
28109 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28111 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28112 (__libc_message): Never call vsyslog.
28114 2013-03-28 Alan Modra <amodra@gmail.com>
28116 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28118 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28121 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28128 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28131 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28132 Don't add gid passed as argument.
28134 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28136 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28139 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28140 imaginary part between 1.0 and 1.5 and real part less than 0.5
28142 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28143 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28144 * math/libm-test.inc (cacos_test): Add more tests.
28145 (casin_test): Likewise.
28146 (casinh_test): Likewise.
28147 * sysdeps/i386/fpu/libm-test-ulps: Update.
28148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28150 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28152 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28155 (denorm): Likewise.
28156 (__dbl_mp): Likewise.
28157 (add_magnitudes): Likewise.
28158 (sub_magnitudes): Likewise.
28166 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28168 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28169 (__dubcos): Likewise.
28170 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28171 (__ieee754_acos): Likewise.
28172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28173 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28174 (__exp1): Likewise.
28175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28176 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28178 (my_log2): Likewise.
28179 (checkint): Likewise.
28180 * sysdeps/ieee754/dbl-64/e_remainder.c
28181 (__ieee754_remainder): Likewise.
28182 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28184 (bsloww): Likewise.
28185 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28187 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28188 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28189 MANTISSA_STORE_T to store computations on mantissa. Use
28190 macros for rounding and division.
28191 (denorm): Likewise.
28192 (__dbl_mp): Likewise.
28193 (add_magnitudes): Likewise.
28194 (sub_magnitudes): Likewise.
28197 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28198 powers of two in terms of TWOPOW macro.
28199 (mp_no): Make type of mantissa as MANTISSA_T.
28200 [!RADIXI]: Define RADIXI.
28201 [!TWO52]: Define TWO52.
28202 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28204 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28206 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28207 llroundl symbol when building for PPC32.
28209 2013-03-24 Mark H Weaver <mhw@netris.org>
28211 * manual/arith.texi (Normalization Functions): Fix prototypes for
28212 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28214 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28217 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28218 high value to check if expl overflow.
28219 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28220 to check for underflow and overflow.
28221 * math/libm-test.inc: Add exp test.
28223 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28226 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28229 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28231 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28234 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28236 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28237 wrap blocks consisting of several statements.
28239 * sysdeps/generic/math-tests.h: New file.
28240 * sysdeps/i386/fpu/math-tests.h: Likewise.
28241 * math/test-snan.c: Include it.
28242 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28244 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28247 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28248 (__ieee754_j0l): Do not improve calculations using cos of twice
28249 input for inputs above LDBL_MAX / 2.0L.
28250 (__ieee754_y0l): Likewise.
28251 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28252 (__ieee754_j1l): Do not improve calculations using cos of twice
28253 input for inputs above LDBL_MAX / 2.0L.
28254 (__ieee754_y1l): Likewise.
28255 * math/libm-test.inc (j0_test): Add another test.
28256 (j1_test): Likewise.
28257 (y0_test): Likewise.
28258 (y1_test): Likewise.
28259 * sysdeps/i386/fpu/libm-test-ulps: Update.
28261 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28263 * Rules ($(objpfx)bench-%.c): Include code from a C source
28266 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28269 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28270 imaginary part 1.0 and real part less than 0.5 specially.
28271 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28272 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28273 * math/libm-test.inc (cacos_test): Add more tests.
28274 (casin_test): Likewise.
28275 (casinh_test): Likewise.
28276 * sysdeps/i386/fpu/libm-test-ulps: Update.
28277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28279 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28281 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28282 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28284 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28286 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28287 * config.make.in (config-cflags-sse4): Remove variable.
28288 (config-cflags-avx): Likewise.
28289 (config-cflags-sse2avx): Likewise.
28290 (config-cflags-novzeroupper): Likewise.
28291 (config-asflags-i686): Likewise.
28292 (have-mfma4): Likewise.
28293 (have-as-vis3): Likewise.
28295 * configure.in (MIG): Do not AC_SUBST.
28296 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28297 (libc_cv_cc_sse4): Do not AC_SUBST.
28298 (libc_cv_cc_avx): Likewise.
28299 (libc_cv_cc_sse2avx): Likewise.
28300 (libc_cv_cc_novzeroupper): Likewise.
28301 (libc_cv_cc_fma4): Likewise.
28302 (libc_cv_as_i686): Likewise.
28303 (libc_cv_sparc_as_vis3): Likewise.
28304 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28306 (config-asflags-i686): Likewise.
28307 (config-cflags-avx): Likewise.
28308 (config-cflags-sse2avx): Likewise.
28309 (have-mfma4): Likewise.
28310 (config-cflags-novzeroupper): Likewise.
28311 * sysdeps/mach/configure.in (MIG): Likewise.
28312 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28313 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28315 (config-cflags-avx): Likewise.
28316 (config-cflags-sse2avx): Likewise.
28317 (have-mfma4): Likewise.
28318 (config-cflags-novzeroupper): Likewise.
28319 * configure: Regenerated.
28320 * sysdeps/i386/configure: Likewise.
28321 * sysdeps/mach/configure: Likewise.
28322 * sysdeps/sparc/configure: Likewise.
28323 * sysdeps/x86_64/configure: Likewise.
28325 2013-03-20 Roland McGrath <roland@hack.frob.com>
28328 * locale/programs/localedef.c (options): Put N_ translation marker
28329 on argument names, not just descriptions.
28331 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28333 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28335 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28338 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28340 2013-03-19 Roland McGrath <roland@hack.frob.com>
28342 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28343 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28344 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28345 [!BEFORE_ABORT] (before_abort): New function.
28346 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28347 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28348 (writev_for_fatal): New function.
28349 (WRITEV_FOR_FATAL): New macro; call that.
28350 (backtrace_and_maps): New function.
28351 (BEFORE_ABORT): New macro; call that.
28352 (struct str_list): Type removed.
28353 (__libc_message, __libc_fatal): Functions removed.
28354 Include <sysdeps/posix/libc_fatal.c> instead.
28356 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28358 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28360 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28363 2013-03-19 Andreas Schwab <schwab@suse.de>
28365 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28366 * sysdeps/gnu/configure: Regenerate.
28368 * configure.in: Substitute libc_cv_rtlddir.
28369 * configure: Regenerate.
28370 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28371 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28372 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28373 * elf/Makefile (install-others, CFLAGS-interp.c)
28374 (ldso_install, common-ldd-rewrite): Likewise.
28375 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28376 $(inst_slibdir)/$(rtld-installed-name).
28377 * scripts/rellns-sh: Add -p option.
28378 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28381 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28383 * manual/nptl.texi: Renamed to ...
28384 * manual/threads.texi: ... this.
28385 * manual/Makefile (chapters): Update.
28387 2013-03-18 Roland McGrath <roland@hack.frob.com>
28390 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28391 on argument names, not just descriptions.
28392 * malloc/memusagestat.c (options): Likewise.
28393 * nss/getent.c (options): Likewise.
28395 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28398 * iconv/iconv_prog.c (options): Put N_ translation marker
28399 on argument names, not just descriptions.
28400 * iconv/iconvconfig.c (options): Likewise.
28402 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28404 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28405 implementation which is faster on all x86_64 architectures.
28406 Tested on AMD, Intel Nehalem, SNB, IVB.
28407 * sysdeps/x86_64/strnlen.S: Likewise.
28409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28410 Remove all multiarch strlen and strnlen versions.
28411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28412 Remove strlen and strnlen related parts.
28414 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28415 Inline strlen part.
28416 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28418 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28419 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28420 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28421 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28422 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28423 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28425 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28427 * manual/memory.texi (Malloc Tunable Parameters):
28428 Sort parameters alphabetically. Add comments for missing entries.
28430 2013-03-17 David S. Miller <davem@davemloft.net>
28432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28434 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28437 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28438 for arguments at most half maximum finite value.
28439 * math/libm-test.inc (j0_test): Add more tests.
28440 (j1_test): Likewise.
28441 (y0_test): Likewise.
28442 (y1_test): Likewise.
28443 * sysdeps/i386/fpu/libm-test-ulps: Update.
28444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28447 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28448 1 / x and functions P and Q for arguments above 0x1p256L.
28449 (__ieee754_y0l): Likewise.
28450 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28451 (__ieee754_y1l): Likewise.
28452 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28453 (j1_test): Likewise.
28454 (y0_test): Likewise.
28455 (y1_test): Likewise.
28457 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28459 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28462 2013-03-15 Roland McGrath <roland@hack.frob.com>
28464 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28465 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28466 zero since it's initialized to EXEC_PAGESIZE.
28468 * sysdeps/unix/sysv/linux/ldsodefs.h
28469 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28470 * sysdeps/generic/ldsodefs.h: ... here.
28472 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28474 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28476 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28478 * math/test-snan.c: Renamed from
28479 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28480 * math/Makefile (tests): Add test-snan.
28481 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28484 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28485 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28487 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28488 __builtin_nan family of functions.
28489 * math/libm-test.inc (initialize): Initialize qnan_value with
28490 __builtin_nan family of functions.
28491 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28493 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28495 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28496 storage class. Initialize qNaN_var and sNaN_var with
28497 __builtin_nan and __builtin_nans families of functions,
28500 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28501 (sqrt_test): Remove duplicate test with qNaN input.
28502 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28503 (round_test, signbit_test, significand_test): Note missing +/-Inf
28504 as well as qNaN tests.
28506 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28507 qNaN_var. Fix a few strings, too.
28508 * math/libm-test.inc (nan_value): Rename to qnan_value.
28509 * math/gen-libm-test.pl (%beautify): Adjust to that.
28510 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28511 * math/test-misc.c (main): Likewise.
28512 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28513 to __qnan_bytes, and __qnan_union, respectively.
28514 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28516 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28517 and lqnanval, respectively.
28518 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28519 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28520 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28521 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28523 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28524 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28527 * math/test-misc.c (main): Fix copy'n'pastos.
28528 * misc/tst-efgcvt.c (special): Likewise.
28530 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28531 Remove declarations.
28533 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28535 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28536 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28537 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28538 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28540 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28542 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28543 macro to return vdso values correctly in IFUNC implementations.
28544 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28545 Optimization by using IFUNC.
28547 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28548 Richard Henderson <rth@redhat.com>
28549 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28551 * Makefile.in (bench): New target.
28552 * NEWS: Mention the benchmark framework.
28553 * Rules (bench): Likewise.
28554 (binaries-bench): Generate binaries for functions to
28556 * benchtests/Makefile: New makefile for benchmark tests.
28557 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28559 * benchtests/exp-inputs: New input file for EXP function.
28560 * benchtests/pow-inputs: New input file for POW function.
28561 * scripts/bench.pl: New script to generate source files for
28562 benchmark programs.
28564 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28566 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28567 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28568 computations on mantissa. Use macros for rounding and
28570 (denorm): Likewise.
28571 (__dbl_mp): Likewise.
28572 (add_magnitudes): Likewise.
28573 (sub_magnitudes): Likewise.
28576 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28577 powers of two in terms of TWOPOW macro.
28578 (mp_no): Make type of mantissa as MANTISSA_T.
28579 [!RADIXI]: Define RADIXI.
28580 [!TWO52]: Define TWO52.
28581 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28583 * manual/nptl.texi (cindex): Modify threads to pthreads.
28585 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28587 * sysdeps/x86_64/preconfigure: Regenerated.
28589 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28592 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28594 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28595 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28597 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28598 * math/libm-test.inc (j0_test): Do not allow one spurious
28599 underflow exception.
28600 (y1_test): Likewise.
28602 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28604 * manual/Makefile (chapters): Add nptl.
28605 * manual/debug.texi (Debugging Support): Add link to Threads
28607 * manual/nptl.texi: New file.
28609 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28611 2013-03-14 Petr Baudis <pasky@ucw.cz>
28613 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28614 for non-NULL pointer before the memory validity test. Pointed
28615 out by Holger Brunck <holger.brunck@keymile.com>.
28617 2013-03-13 Andreas Schwab <schwab@suse.de>
28619 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28622 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28624 * timezone/zic.c: Update from tzcode 2013b.
28626 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28628 * manual/install.texi (Configuring and compiling):
28629 Mention i686 and i586.
28630 * INSTALL: Regenerate.
28632 2013-03-12 Roland McGrath <roland@hack.frob.com>
28634 * sysdeps/init_array/elf-init.c: New file.
28636 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28637 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28639 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28640 __gmon_start__ as global, but as static with a .preinit_array pointer.
28641 * sysdeps/init_array/gmon-start.c: New file. Use that.
28642 * sysdeps/init_array/crti.S: New file, empty except for comments.
28643 * sysdeps/init_array/crtn.S: Likewise.
28645 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28647 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28650 Remove Prefer_SSE_for_memop.
28651 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28652 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28653 HAS_PREFER_SSE_FOR_MEMOP.
28654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28657 Remove bzero, memset ifunc support.
28658 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28659 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28660 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28661 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28663 2013-03-11 Andreas Schwab <schwab@suse.de>
28666 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28668 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28669 (GLIBC_2.16): Remove pthread_atfork.
28671 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28673 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28674 (ptestcases.h): Likewise.
28676 2013-03-08 Roland McGrath <roland@hack.frob.com>
28678 * Makeconfig ($(common-objpfx)config.status): Depend on
28679 sysdeps/*/preconfigure{,.in} too.
28681 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28683 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28684 (__free_hook): Use void * instead of __malloc_ptr_t.
28685 (__malloc_hook): Likewise.
28686 (__realloc_hook): Likewise.
28687 (__memalign_hook): Likewise.
28688 (__after_morecore_hook): Likewise.
28689 * malloc/arena.c (save_malloc_hook): Likewise.
28690 (save_free_hook): Likewise.
28691 * malloc/hooks.c (malloc_hook_ini): Likewise.
28692 (realloc_hook_ini): Likewise.
28693 (memalign_hook_ini): Likewise.
28694 * malloc/malloc.c (malloc_hook_ini): Likewise.
28695 (realloc_hook_ini): Likewise.
28696 (memalign_hook_ini): Likewise.
28697 (__free_hook): Likewise.
28698 (__malloc_hook): Likewise.
28699 (__realloc_hook): Likewise.
28700 (__memalign_hook): Likewise.
28701 (__libc_malloc): Likewise.
28702 (__libc_free): Likewise.
28703 (__libc_realloc): Likewise.
28704 (__libc_memalign): Likewise.
28705 (__libc_valloc): Likewise.
28706 (__libc_pvalloc): Likewise.
28707 (__libc_calloc): Likewise.
28708 (__posix_memalign): Likewise.
28709 * malloc/morecore.c (__sbrk): Likewise.
28710 (__default_morecore): Likewise.
28712 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28714 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28715 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28716 __malloc_ptrdiff_t.
28718 * malloc/malloc.h (__malloc_size_t): Remove macro.
28719 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28721 (old_memalign_hook): Likewise.
28722 (old_realloc_hook): Likewise.
28723 (struct hdr): Likewise.
28725 (mallochook): Likewise.
28726 (memalignhook): Likewise.
28727 (reallochook): Likewise.
28728 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28729 (tr_old_realloc_hook): Likewise.
28730 (tr_old_memalign_hook): Likewise.
28731 (tr_mallochook): Likewise.
28732 (tr_reallochook): Likewise.
28733 (tr_memalignhook): Likewise.
28735 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28737 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28738 default_ldbl_pack and using as default implementation.
28739 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28741 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28742 redundant definition.
28743 (ldbl_insert_mantissa): Likewise.
28744 (ldbl_canonicalize): Likewise.
28745 (ldbl_nearbyint): Likewise.
28746 (ldbl_pack): Rename to ldbl_pack_ppc.
28747 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28748 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28749 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28751 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28754 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28755 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28756 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28759 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28760 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28762 2013-03-07 Andreas Jaeger <aj@suse.de>
28764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28767 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28769 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28770 Include mpa.h and declare __MPEXP.
28771 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28773 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28774 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28775 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28776 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28777 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28779 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28780 (__slowpow): Use long double EXPL and LOGL functions to
28782 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28783 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28784 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28785 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28786 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28787 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28790 intermediate variable to calculate exponent.
28792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28796 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28797 [!NO__SQR]: Define __sqr.
28798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28799 and NO__SQR. Remove all code except __mul and __sqr. Include
28800 sysdeps/ieee754/dbl-64/mpa.c.
28801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28804 * posix/Makefile (tests): Add tst-pathconf.
28805 * posix/tst-pathconf.c: New test case.
28806 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28808 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28810 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28812 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28814 2013-03-06 Andreas Jaeger <aj@suse.de>
28816 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28817 definition via __MAP_ANONYMOUS.
28819 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28820 it's not part of Linux headers.
28822 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28823 (MAP_HUGE_MASK): Define.
28825 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28827 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28830 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28831 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28833 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28834 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28836 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28838 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28839 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28840 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28841 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28842 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28843 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28845 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28848 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28849 Handle f2fs and efivarfs.
28851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28854 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28855 (EFIVARFS_MAGIC): Add.
28856 (F2FS_LINK_MAX): Add.
28858 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28860 * stdio-common/vfprintf.c: Replace __builtin_expect with
28863 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28866 * sysdeps/generic/bp-sym.h: Remove file.
28867 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28868 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28869 <bp-sym.h> and <bp-asm.h>.
28870 (__longjmp): Don't use BP_SYM.
28871 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28873 (memcpy): Don't use BP_SYM.
28874 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28875 <bp-sym.h> and <bp-asm.h>.
28876 (memcpy): Don't use BP_SYM.
28877 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28879 (memcpy): Don't use BP_SYM.
28880 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28882 (memset): Don't use BP_SYM.
28883 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28884 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28885 (__bzero): Don't use BP_SYM.
28886 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28887 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28888 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28889 <bp-sym.h> and <bp-asm.h>.
28890 (memcmp): Don't use BP_SYM. Remove comment about bounded
28892 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28893 <bp-sym.h> and <bp-asm.h>.
28894 (memcpy): Don't use BP_SYM.
28895 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28896 <bp-sym.h> and <bp-asm.h>.
28897 (memset): Don't use BP_SYM.
28898 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28899 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28900 (__bzero): Don't use BP_SYM.
28901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28903 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28904 <bp-sym.h> and <bp-asm.h>.
28905 (strncmp): Don't use BP_SYM. Remove comment about bounded
28907 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28908 <bp-sym.h> and <bp-asm.h>.
28909 (memcpy): Don't use BP_SYM.
28910 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28911 <bp-sym.h> and <bp-asm.h>.
28912 (memset): Don't use BP_SYM.
28913 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28914 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28915 (__bzero): Don't use BP_SYM.
28916 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28917 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28918 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28919 <bp-sym.h> and <bp-asm.h>.
28920 (__memchr): Don't use BP_SYM.
28921 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28922 <bp-sym.h> and <bp-asm.h>.
28923 (memcmp): Don't use BP_SYM. Remove comment about bounded
28925 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28926 <bp-sym.h> and <bp-asm.h>.
28927 (memcpy): Don't use BP_SYM.
28928 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28929 <bp-sym.h> and <bp-asm.h>.
28930 (__mempcpy): Don't use BP_SYM.
28931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28932 <bp-sym.h> and <bp-asm.h>.
28933 (__memrchr): Don't use BP_SYM.
28934 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28935 <bp-sym.h> and <bp-asm.h>.
28936 (memset): Don't use BP_SYM.
28937 (__bzero): Likewise.
28938 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28939 <bp-sym.h> and <bp-asm.h>.
28940 (__rawmemchr): Don't use BP_SYM.
28941 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28942 <bp-sym.h> and <bp-asm.h>.
28943 (__STRCMP): Don't use BP_SYM.
28944 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28945 <bp-sym.h> and <bp-asm.h>.
28946 (strchr): Don't use BP_SYM.
28947 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28948 <bp-sym.h> and <bp-asm.h>.
28949 (__strchrnul): Don't use BP_SYM.
28950 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28951 <bp-sym.h> and <bp-asm.h>.
28952 (strlen): Don't use BP_SYM.
28953 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28954 <bp-sym.h> and <bp-asm.h>.
28955 (strncmp): Don't use BP_SYM. Remove comment about bounded
28957 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28958 <bp-sym.h> and <bp-asm.h>.
28959 (__strnlen): Don't use BP_SYM.
28960 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28961 <bp-sym.h> and <bp-asm.h>.
28962 (__GI__setjmp): Don't use BP_SYM.
28963 (_setjmp): Likewise.
28964 (__sigsetjmp): Likewise.
28965 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28966 (L(start_addresses)): Don't use BP_SYM.
28967 (_start): Likewise.
28968 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28970 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28971 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28972 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28973 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28974 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28976 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28977 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28978 about bounded pointers.
28979 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28980 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28981 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28983 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28984 about bounded pointers. Remove GKM FIXME comments.
28985 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28986 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28988 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28989 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28990 Remove GKM FIXME comments.
28991 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28992 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28993 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28995 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28996 about bounded pointers. Remove GKM FIXME comment.
28997 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28999 (strncmp): Don't use BP_SYM. Remove comment about bounded
29001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29002 <bp-sym.h> and <bp-asm.h>.
29003 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29005 <bp-sym.h> and <bp-asm.h>.
29006 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29009 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29011 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29014 2013-03-05 David S. Miller <davem@davemloft.net>
29016 * po/es.po: Update from translation team.
29018 2013-03-05 Andreas Jaeger <aj@suse.de>
29020 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29021 <bits/mman-linux.h>.
29022 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29025 <bits/mman-linux.h> to end of file.
29026 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29029 <bits/mman-linux.h> to end of file.
29030 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29032 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29033 <bits/mman-linux.h> to end of file.
29035 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29036 (MCL_CURRENT, MCL_FUTURE): Define here.
29038 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29043 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29045 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29047 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29048 fourth parameter needed for rt_sigprocmask syscall.
29049 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29050 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29051 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29052 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29053 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29054 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29056 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29059 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29060 comment about bounded pointers.
29061 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29062 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29064 2013-03-04 Andreas Jaeger <aj@suse.de>
29066 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29067 common definitions.
29069 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29070 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29071 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29073 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29074 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29076 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29080 __ieee754_sqrl instead of __sqrl.
29082 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29084 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29085 * sysdeps/powerpc/fpu_control.h: ... here.
29086 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29087 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29088 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29089 * sysdeps/powerpc/bits/mathinline.h: ... here.
29091 2013-03-01 Roland McGrath <roland@hack.frob.com>
29093 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29094 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29095 to just [NEED_DL_SYSINFO_DSO].
29096 * elf/dl-support.c: Likewise.
29097 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29098 * elf/rtld.c (dl_main): Likewise.
29099 * elf/setup-vdso.h (setup_vdso): Likewise.
29100 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29101 * sysdeps/unix/sysv/linux/dl-sysdep.c
29102 (_dl_discover_osversion): Likewise.
29104 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29106 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29107 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29109 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29111 * NEWS: Mention libm performance improvements and non-x86 PI
29114 * csu/libc-start.c (__pthread_initialize_minimal): Change
29115 function arguments.
29116 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29118 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29121 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29122 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29123 <bp-sym.h> and <bp-asm.h>.
29124 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29125 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29127 (memcpy): Don't use BP_SYM.
29128 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29130 (__mpn_add_n): Don't use BP_SYM.
29131 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29132 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29134 (__mpn_addmul_1): Don't use BP_SYM.
29135 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29136 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29138 (_setjmp): Don't use BP_SYM.
29139 (__novmx_setjmp): Likewise.
29140 (__GI__setjmp): Likewise.
29141 (__vmx_setjmp): Likewise.
29142 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29144 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29145 (__bzero): Don't use BP_SYM.
29146 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29147 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29148 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29149 <bp-sym.h> and <bp-asm.h>.
29150 (memcpy): Don't use BP_SYM.
29151 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29152 <bp-sym.h> and <bp-asm.h>.
29153 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29154 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29155 <bp-sym.h> and <bp-asm.h>.
29156 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29157 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29159 (__mpn_lshift): Don't use BP_SYM.
29160 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29161 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29163 (memset): Don't use BP_SYM.
29164 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29165 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29166 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29168 (__mpn_mul_1): Don't use BP_SYM.
29169 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29171 <bp-sym.h> and <bp-asm.h>.
29172 (memcmp): Don't use BP_SYM.
29173 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29174 <bp-sym.h> and <bp-asm.h>.
29175 (memcpy): Don't use BP_SYM.
29176 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29177 <bp-sym.h> and <bp-asm.h>.
29178 (memset): Don't use BP_SYM.
29179 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29180 <bp-sym.h> and <bp-asm.h>.
29181 (strncmp): Don't use BP_SYM.
29182 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29183 <bp-sym.h> and <bp-asm.h>.
29184 (memcpy): Don't use BP_SYM.
29185 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29186 <bp-sym.h> and <bp-asm.h>.
29187 (memset): Don't use BP_SYM.
29188 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29189 <bp-sym.h> and <bp-asm.h>.
29190 (__memchr): Don't use BP_SYM.
29191 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29192 <bp-sym.h> and <bp-asm.h>.
29193 (memcmp): Don't use BP_SYM.
29194 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29195 <bp-sym.h> and <bp-asm.h>.
29196 (memcpy): Don't use BP_SYM.
29197 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29198 <bp-sym.h> and <bp-asm.h>.
29199 (__mempcpy): Don't use BP_SYM.
29200 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29201 <bp-sym.h> and <bp-asm.h>.
29202 (__memrchr): Don't use BP_SYM.
29203 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29204 <bp-sym.h> and <bp-asm.h>.
29205 (memset): Don't use BP_SYM.
29206 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29207 <bp-sym.h> and <bp-asm.h>.
29208 (__rawmemchr): Don't use BP_SYM.
29209 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29210 <bp-sym.h> and <bp-asm.h>.
29211 (__STRCMP): Don't use BP_SYM.
29212 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29213 <bp-sym.h> and <bp-asm.h>.
29214 (strchr): Don't use BP_SYM.
29215 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29216 <bp-sym.h> and <bp-asm.h>.
29217 (__strchrnul): Don't use BP_SYM.
29218 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29219 <bp-sym.h> and <bp-asm.h>.
29220 (strlen): Don't use BP_SYM.
29221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29222 <bp-sym.h> and <bp-asm.h>.
29223 (strncmp): Don't use BP_SYM.
29224 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29225 <bp-sym.h> and <bp-asm.h>.
29226 (__strnlen): Don't use BP_SYM.
29227 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29229 (__mpn_rshift): Don't use BP_SYM.
29230 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29231 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29232 <bp-sym.h> and <bp-asm.h>.
29233 (__sigsetjmp): Don't use BP_SYM.
29234 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29235 (L(start_addresses)): Don't use BP_SYM.
29236 (_start): Likewise.
29237 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29239 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29240 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29241 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29242 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29244 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29245 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29246 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29247 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29249 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29251 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29252 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29254 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29256 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29257 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29258 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29260 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29262 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29264 (strncmp): Don't use BP_SYM,
29265 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29267 (__mpn_sub_n): Don't use BP_SYM.
29268 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29269 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29271 (__mpn_submul_1): Don't use BP_SYM.
29272 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29274 <bp-sym.h> and <bp-asm.h>.
29275 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29277 <bp-sym.h> and <bp-asm.h>.
29278 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29281 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29284 Use ZK to minimize writes to Z.
29285 (sub_magnitudes): Simplify code a bit.
29286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29287 Use ZK to minimize writes to Z.
29288 (sub_magnitudes): Simplify code a bit.
29290 2013-02-27 Roland McGrath <roland@hack.frob.com>
29292 * csu/gmon-start.c: Add special exception to license text.
29294 2013-02-27 Richard Henderson <rth@redhat.com>
29296 * scripts/config.guess: Update from config.git.
29297 * scripts/config.sub: Likewise.
29299 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29301 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29303 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29305 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29307 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29309 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29311 2013-02-26 Roland McGrath <roland@hack.frob.com>
29313 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29314 [$(build-shared = yes].
29316 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29318 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29319 (__mul): Reduce iterations for calculating mantissa.
29321 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29323 (__mpranred): Likewise.
29326 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29327 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29329 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29331 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29332 Define __attribute__.
29334 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29336 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29338 * posix/regex_internal.h (__attribute): Remove.
29339 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29340 (re_string_context_at): Likewise.
29341 (bitset_not): Use __attribute__ and mark function as possibly
29343 (bitset_merge): Likewise.
29344 (bitset_mask): Likewise.
29345 (re_string_char_size_at): Likewise.
29346 (re_string_wchar_at): Likewise.
29347 (re_string_elem_size_at): Likewise.
29349 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29351 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29355 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29359 (denorm): Likewise.
29360 (__dbl_mp): Likewise.
29361 (add_magnitudes): Likewise.
29362 (sub_magnitudes): Likewise.
29366 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29369 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29372 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29376 up changes with default code.
29377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29380 2013-02-24 Allan McRae <allan@archlinux.org>
29382 * manual/socket.texi (The Internet Namespace): Order menu items
29383 to match that in the file.
29385 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29386 node listing of the info page menu.
29388 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29391 * sysdeps/i386/bp-asm.h: Remove file.
29392 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29393 (PARMS): Do not use macros from bp-asm.h.
29397 (__mpn_add_n): Do not use BP_SYM
29398 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29400 (PARMS): Do not use macros from bp-asm.h.
29403 (__mpn_addmul_1): Do not use BP_SYM
29404 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29406 (PARMS): Do not use macros from bp-asm.h.
29407 (SIGMSK): Likewise.
29408 (_setjmp): Likewise. Do not use BP_SYM.
29409 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29411 (PARMS): Do not use macros from bp-asm.h.
29412 (SIGMSK): Likewise.
29413 (setjmp): Likewise. Do not use BP_SYM.
29414 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29416 (PARMS): Do not use macros from bp-asm.h.
29417 (__frexp): Do not use BP_SYM.
29419 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29421 (PARMS): Do not use macros from bp-asm.h.
29422 (__frexpf): Do not use BP_SYM.
29423 (frexpf): Likewise.
29424 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29426 (PARMS): Do not use macros from bp-asm.h.
29427 (__frexpl): Do not use BP_SYM.
29428 (frexpl): Likewise.
29429 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29431 (PARMS): Do not use macros from bp-asm.h.
29432 (__remquo): Do not use BP_SYM.
29433 (remquo): Likewise.
29434 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29436 (PARMS): Do not use macros from bp-asm.h.
29437 (__remquof): Do not use BP_SYM.
29438 (remquof): Likewise.
29439 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29441 (PARMS): Do not use macros from bp-asm.h.
29442 (__remquol): Do not use BP_SYM.
29443 (remquol): Likewise.
29444 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29446 (PARMS): Do not use macros from bp-asm.h.
29449 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29450 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29452 (PARMS): Do not use macros from bp-asm.h.
29453 (strlen): Do not use BP_SYM.
29454 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29456 (PARMS): Do not use macros from bp-asm.h.
29460 (__mpn_add_n): Do not use BP_SYM.
29461 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29463 (PARMS): Do not use macros from bp-asm.h.
29466 (__mpn_addmul_1): Do not use BP_SYM.
29467 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29470 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29472 (PARMS): Do not use macros from bp-asm.h.
29475 (__mpn_lshift): Do not use BP_SYM.
29476 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29478 (PARMS): Do not use macros from bp-asm.h.
29482 (memcpy): Likewise. Do not use BP_SYM.
29483 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29484 libc_hidden_def and weak_alias.
29485 (mempcpy): Do not use BP_SYM in weak_alias.
29486 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29488 (PARMS): Do not use macros from bp-asm.h.
29491 [!BZERO_P] (CHR): Likewise.
29492 (memset): Likewise. Do not use BP_SYM.
29493 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29495 (PARMS): Do not use macros from bp-asm.h.
29498 (__mpn_mul_1): Do not use BP_SYM.
29499 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29501 (PARMS): Do not use macros from bp-asm.h.
29504 (__mpn_rshift): Do not use BP_SYM.
29505 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29507 (PARMS): Do not use macros from bp-asm.h.
29510 (strchr): Likewise. Do not use BP_SYM.
29511 (index): Do not use BP_SYM in weak_alias.
29512 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29514 (PARMS): Do not use macros from bp-asm.h.
29517 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29518 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29520 (PARMS): Do not use macros from bp-asm.h.
29521 (strlen): Do not use BP_SYM.
29522 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29524 (PARMS): Do not use macros from bp-asm.h.
29528 (__mpn_sub_n): Do not use BP_SYM.
29529 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29531 (PARMS): Do not use macros from bp-asm.h.
29534 (__mpn_submul_1): Do not use BP_SYM.
29535 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29537 (PARMS): Do not use macros from bp-asm.h.
29541 (__mpn_add_n): Do not use BP_SYM.
29542 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29545 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29547 (PARMS): Do not use macros from bp-asm.h.
29550 (memcmp): Do not use BP_SYM.
29551 (bcmp): Do not use BP_SYM in weak_alias.
29552 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29554 (PARMS): Do not use macros from bp-asm.h.
29558 (memcpy): Likewise. Do not use BP_SYM.
29559 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29561 (PARMS): Do not use macros from bp-asm.h.
29565 (memmove): Likewise. Do not use BP_SYM.
29566 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29568 (PARMS): Do not use macros from bp-asm.h.
29572 (__mempcpy): Likewise. Do not use BP_SYM.
29573 (mempcpy): Do not use BP_SYM in weak_alias.
29574 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29576 (PARMS): Do not use macros from bp-asm.h.
29579 [!BZERO_P] (CHR): Likewise.
29580 (memset): Likewise. Do not use BP_SYM.
29581 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29583 (PARMS): Do not use macros from bp-asm.h.
29585 (strcmp): Do not use BP_SYM.
29586 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29588 (PARMS): Do not use macros from bp-asm.h.
29591 [USE_AS_STRTOK_R] (SAVE): Likewise.
29592 (FUNCTION): Likewise. Do not use BP_SYM.
29593 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29595 (strtok_r): Likewise.
29596 (__GI___strtok_r): Likewise.
29597 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29598 (PARMS): Do not use macros from bp-asm.h.
29601 (__mpn_lshift): Do not use BP_SYM.
29602 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29603 (PARMS): Do not use macros from bp-asm.h.
29606 (__memchr): Do not use BP_SYM.
29607 (memchr): Do not use BP_SYM in weak_alias.
29608 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29609 (PARMS): Do not use macros from bp-asm.h.
29612 (memcmp): Do not use BP_SYM.
29613 (bcmp): Do not use BP_SYM in weak_alias.
29614 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29615 (PARMS): Do not use macros from bp-asm.h.
29618 (__mpn_mul_1): Do not use BP_SYM.
29619 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29621 (PARMS): Do not use macros from bp-asm.h.
29624 (__rawmemchr): Do not use BP_SYM.
29625 (rawmemchr): Do not use BP_SYM in weak_alias.
29626 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29627 (PARMS): Do not use macros from bp-asm.h.
29630 (__mpn_rshift): Do not use BP_SYM.
29631 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29632 (PARMS): Do not use macros from bp-asm.h.
29633 (SIGMSK): Likewise.
29634 (__sigsetjmp): Likewise. Do not use BP_SYM.
29635 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29636 (_start): Do not use BP_SYM.
29637 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29638 (PARMS): Do not use macros from bp-asm.h.
29641 (__stpcpy): Likewise. Do not use BP_SYM.
29642 (stpcpy): Do not use BP_SYM in weak_alias.
29643 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29645 (PARMS): Do not use macros from bp-asm.h.
29649 (__stpncpy): Likewise. Do not use BP_SYM.
29650 (stpncpy): Do not use BP_SYM in weak_alias.
29651 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29652 (PARMS): Do not use macros from bp-asm.h.
29655 (strchr): Likewise. Do not use BP_SYM.
29656 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29658 (PARMS): Do not use macros from bp-asm.h.
29661 (__strchrnul): Likewise. Do not use BP_SYM.
29662 (strchrnul): Do not use BP_SYM in weak_alias.
29663 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29665 (PARMS): Do not use macros from bp-asm.h.
29667 (strcspn): Do not use BP_SYM.
29668 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29670 (PARMS): Do not use macros from bp-asm.h.
29673 (strpbrk): Likewise. Do not use BP_SYM.
29674 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29676 (PARMS): Do not use macros from bp-asm.h.
29679 (strrchr): Likewise. Do not use BP_SYM.
29680 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29681 (PARMS): Do not use macros from bp-asm.h.
29683 (strspn): Do not use BP_SYM.
29684 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29685 (PARMS): Do not use macros from bp-asm.h.
29689 (FUNCTION): Likewise. Do not use BP_SYM.
29690 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29692 (strtok_r): Likewise.
29693 (__GI___strtok_r): Likewise.
29694 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29695 (PARMS): Do not use macros from bp-asm.h.
29699 (__mpn_sub_n): Do not use BP_SYM.
29700 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29702 (PARMS): Do not use macros from bp-asm.h.
29705 (__mpn_submul_1): Do not use BP_SYM.
29706 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29708 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29710 (PARMS): Do not use macros from bp-asm.h.
29715 (__clone): Do not use BP_SYM.
29716 (clone): Do not use BP_SYM in weak_alias.
29717 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29719 (PARMS): Do not use macros from bp-asm.h.
29721 (__mmap64): Do not use BP_SYM.
29722 (mmap64): Do not use BP_SYM in weak_alias.
29723 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29724 <bp-sym.h> and <bp-asm.h>.
29725 (PARMS): Do not use macros from bp-asm.h.
29726 (__posix_fadvise64_l64): Do not use BP_SYM.
29727 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29728 (PARMS): Do not use macros from bp-asm.h.
29730 (semtimedop): Do not use BP_SYM.
29731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29734 2013-02-21 Allan McRae <allan@archlinux.org>
29736 * manual/message.texi (Charset conversion in gettext):
29737 Move @end statement to beginning of line.
29739 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29746 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29747 (denorm): Likewise.
29748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29751 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29753 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29754 tail-call to the resolved function if pltexit isn't needed.
29756 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29759 or Y being zero as being unlikely.
29760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29763 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29765 * manual/nss.texi (System Databases and Name Service Switch):
29766 Remove frobnicate @pxref.
29768 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29770 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29771 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29773 2013-02-20 Petr Machata <pmachata@redhat.com>
29775 * elf/elf.h (R_ARM_TARGET1): New macro.
29776 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29777 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29778 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29779 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29780 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29781 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29782 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29783 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29784 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29785 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29786 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29787 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29788 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29789 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29790 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29791 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29792 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29793 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29794 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29795 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29796 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29797 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29798 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29799 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29800 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29801 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29802 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29803 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29804 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29805 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29806 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29807 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29808 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29809 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29810 (R_ARM_THM_GOT_BREL12): Likewise.
29811 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29812 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29813 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29814 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29815 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29816 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29817 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29818 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29819 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29821 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29823 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29824 __attribute_used__ to __attribute__ ((unused)).
29826 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29828 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29831 comment formatting.
29832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29834 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29837 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29839 (ENTER): Remove both macro definitions.
29841 (CHECK_BOUNDS_LOW): Likewise.
29842 (CHECK_BOUNDS_HIGH): Likewise.
29843 (CHECK_BOUNDS_BOTH): Likewise.
29844 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29845 (RETURN_BOUNDED_POINTER): Likewise.
29846 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29847 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29848 (POP_ERRNO_LOCATION_RETURN): Likewise.
29849 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29850 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29851 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29853 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29854 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29855 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29856 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29857 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29858 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29859 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29860 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29861 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29862 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29863 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29864 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29865 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29866 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29868 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29869 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29871 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29872 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29873 * sysdeps/i386/i586/memset.S (memset): Likewise.
29874 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29875 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29876 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29878 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29879 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29880 Change uses of L(2) to L(out).
29881 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29882 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29883 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29884 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29885 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29887 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29888 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29890 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29891 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29892 (RETURN): Do not use macro LEAVE.
29893 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29894 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29895 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29896 * sysdeps/i386/i686/memset.S (memset): Likewise.
29897 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29898 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29899 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29900 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29902 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29903 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29904 L(1_2) and L(1_3) into L(1).
29905 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29906 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29907 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29908 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29909 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29910 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29911 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29912 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29913 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29915 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29916 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29917 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29918 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29919 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29920 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29921 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29922 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29923 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29924 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29925 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29926 * sysdeps/i386/strspn.S (strspn): Likewise.
29927 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29929 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29930 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29931 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29932 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29933 L(1_3) into L(1_1).
29934 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29935 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29936 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29938 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29940 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29942 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29945 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29947 * math/atest-exp.c (exp_mpn): Remove ROUND.
29948 * math/atest-exp2.c (exp_mpn): Likewise.
29949 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29951 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29952 * stdlib/tst-tls-atexit-lib.c: Likewise.
29953 * stdlib/tst-tls-atexit.c: Likewise.
29955 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29957 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29958 and __attribute_alloc_size__.
29960 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29962 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29963 __attribute_alloc_size__.
29964 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29965 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29967 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29969 * include/programs/xmalloc.h: New file.
29970 * catgets/gencat.c: Include it.
29971 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29972 * elf/pldd.c: Likewise.
29973 * iconv/iconv_charmap.c: Likewise.
29974 * iconv/iconvconfig.c: Likewise.
29975 * iconv/strtab.c: Likewise.
29976 * locale/programs/locale.c: Likewise.
29977 * locale/programs/localedef.h: Likewise.
29978 * locale/programs/simple-hash.c: Likewise.
29979 * nscd/nscd.h: Likewise.
29980 * nss/makedb.c: Likewise.
29981 * sysdeps/generic/ldconfig.h: Likewise.
29983 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29985 * Versions.def: Add GLIBC_2.18.
29986 * include/link.h (struct link_map): New member l_tls_dtor_count.
29987 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29988 (__call_tls_dtors): Likewise.
29989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29990 __cxa_thread_atexit_impl.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29999 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30007 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30008 (tests): Add test case tst-tls-atexit.
30009 (modules-names): Add shared library for tst-tls-atexit.
30010 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30011 (GLIBC_PRIVATE): Add __call_tls_dtors.
30012 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30014 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30015 * stdlib/tst-tls-atexit.c: New test case.
30016 * stdlib/tst-tls-atexit-lib.c: New test case.
30018 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30020 * elf/Versions (ld): Add _dl_find_dso_for_object.
30021 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30022 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30023 (dl_open_worker): Use _dl_find_dso_for_object.
30024 * elf/dl-sym.c (do_sym): Likewise.
30025 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30027 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30029 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30030 Syntactic changes only.
30031 (_dl_runtime_profile): Do a tail-call to the resolved function.
30033 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30036 * sysdeps/x86_64/bp-asm.h: Remove file.
30037 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30038 <bp-sym.h> and <bp-asm.h>.
30039 (__clone): Do not use BP_SYM.
30040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30041 <bp-sym.h> and <bp-asm.h>.
30042 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30043 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30045 (_setjmp): Do not use BP_SYM.
30046 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30048 (setjmp): Do not use BP_SYM.
30049 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30051 (mempcpy): Do not use BP_SYM in weak_alias.
30052 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30054 (strchr): Do not use BP_SYM.
30055 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30057 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30058 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30059 (_start): Do not use BP_SYM.
30060 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30062 (strcat): Do not use BP_SYM.
30063 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30065 (STRCMP): Do not use BP_SYM.
30066 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30068 (STRCPY): Do not use BP_SYM.
30069 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30071 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30073 (FUNCTION): Do not use BP_SYM.
30074 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30076 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30078 2013-02-17 Andreas Jaeger <aj@suse.de>
30080 * time/Versions: Sort entries.
30081 * string/Versions: Likewise.
30082 * resolv/Versions: Likewise.
30083 * posix/Versions: Likewise.
30084 * iconv/Versions: Likewise.
30085 * elf/Versions: Likewise.
30086 * wcsmbs/Versions: Likewise.
30088 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30090 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30091 loop termination condition.
30093 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30094 variable to calculate EZ.
30097 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30098 the lower precision input.
30100 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30103 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30104 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30105 (run-via-rtld-prefix): Do not handle %-bp tests.
30106 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30107 (all-object-suffixes): Remove .ob.
30108 (bppfx): Remove variable.
30109 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30110 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30111 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30112 [$(build-bounded) = yes] (libtype.ob): Likewise.
30113 * Makerules (elide-routines.ob): Remove variable.
30114 (do-tests-clean): Do not handle *-bp.out.
30115 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30116 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30117 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30118 (tests): Do not include $(tests-bp.out).
30119 (xtests): Do not include $(xtests-bp.out).
30120 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30121 [$(build-bounded) = yes] ($(addprefix
30122 $(objpfx),$(binaries-bounded))): Remove rule.
30123 ($(objpfx)%-bp.out): Remove rule.
30124 * config.make.in (build-bounded): Remove variable.
30125 * crypt/Makefile [$(build-bounded) = yes]
30126 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30127 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30128 append to variable.
30129 [$(build-bounded) = yes] (install-lib): Likewise.
30130 [$(build-bounded) = yes] (generated): Likewise.
30131 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30133 * intl/Makefile [$(build-bounded) = yes]
30134 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30135 * math/Makefile [$(build-bounded) = yes]
30136 ($(tests:%=$(objpfx)%-bp): Likewise.
30137 * misc/Makefile [$(build-bounded) = yes]
30138 ($(objpfx)tst-tsearch-bp): Likewise.
30139 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30140 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30142 * string/Makefile (o-objects.ob): Remove variable.
30143 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30144 (CFLAGS-.ob): Remove variable.
30145 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30146 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30147 both definitions of variable.
30148 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30149 (ASFLAGS-.ob): Remove variable.
30151 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30154 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30155 Remove __BOUNDED_POINTERS__ from condition.
30156 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30157 * string/bits/string2.h [!__NO_STRING_INLINES &&
30158 !__BOUNDED_POINTERS__]: Likewise.
30159 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30161 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30162 Remove conditional code.
30163 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30164 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30165 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30169 * csu/libc-start.c: Do not include <bp-sym.h>.
30170 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30171 * elf/dl-open.c: Do not include <bp-sym.h>.
30172 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30173 * math/fegetenv.c: Do not include <bp-sym.h>.
30174 (fegetenv): Do not use BP_SYM in versioned symbols.
30175 * nptl/sysdeps/pthread/bits/libc-lockP.h
30176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30179 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30181 (__pthread_mutex_destroy): Likewise.
30182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30183 (__pthread_mutex_lock): Likewise.
30184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30185 (__pthread_mutex_trylock): Likewise.
30186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30187 (__pthread_mutex_unlock): Likewise.
30188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30189 (__pthread_mutexattr_init): Likewise.
30190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30191 (__pthread_mutexattr_destroy): Likewise.
30192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30193 (__pthread_mutexattr_settype): Likewise.
30194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30195 (__pthread_rwlock_init): Likewise.
30196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30197 (__pthread_rwlock_destroy): Likewise.
30198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30199 (__pthread_rwlock_rdlock): Likewise.
30200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30201 (__pthread_rwlock_tryrdlock): Likewise.
30202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30203 (__pthread_rwlock_wrlock): Likewise.
30204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30205 (__pthread_rwlock_trywrlock): Likewise.
30206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30207 (__pthread_rwlock_unlock): Likewise.
30208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30209 (__pthread_key_create): Likewise.
30210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30211 (__pthread_setspecific): Likewise.
30212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30213 (__pthread_getspecific): Likewise.
30214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30217 (_pthread_cleanup_push_defer): Likewise.
30218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30219 (_pthread_cleanup_pop_restore): Likewise.
30220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30221 (pthread_setcancelstate): Likewise.
30222 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30224 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30225 (memchr): Do not use BP_SYM in weak_alias.
30226 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30227 (fegetenv): Do not use BP_SYM in versioned symbols.
30228 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30229 (fesetenv): Do not use BP_SYM in versioned symbols.
30230 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30231 (feupdateenv): Do not use BP_SYM in versioned symbols.
30232 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30233 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30234 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30235 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30236 (open64): Do not use BP_SYM in weak_alias.
30237 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30238 (fegetenv): Do not use BP_SYM in versioned symbols.
30239 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30240 (fesetenv): Do not use BP_SYM in versioned symbols.
30241 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30242 (feupdateenv): Do not use BP_SYM in versioned symbols.
30243 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30244 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30245 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30246 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30247 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30248 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30249 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30251 (__libc_start_main): Do not use BP_SYM.
30253 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30256 redundant return line.
30258 (denorm): Likewise.
30259 (dbl_mp): Likewise.
30260 (sub_magnitudes): Likewise.
30266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30268 (denorm): Likewise.
30269 (dbl_mp): Likewise.
30270 (sub_magnitudes): Likewise.
30277 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30279 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30280 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30283 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30284 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30286 of __mul for squares.
30287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30291 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30294 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30297 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30299 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30300 prototype or function definition. Rename ubp_* variables and
30301 parameters. Remove argv definitions conditional on
30302 [__BOUNDED_POINTERS__].
30303 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30304 * elf/dl-runtime.c (_dl_fixup): Likewise.
30305 * include/set-hooks.h (RUN_HOOK): Likewise.
30306 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30308 * string/strcpy.c (strcpy): Do not use __unbounded.
30309 * sysdeps/generic/frame.h (struct layout): Likewise.
30310 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30311 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30312 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30313 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30314 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30315 (__backtrace): Likewise.
30316 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30318 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30319 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30320 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30322 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30323 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30324 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30325 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30326 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30327 Do not use __unbounded.
30328 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30329 Rename __unboundedrlimits parameter to rlimits in prototype.
30330 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30331 Do not use __unbounded.
30332 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30333 not use __ptrvalue.
30334 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30335 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30336 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30337 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30338 __ptrvalue or __unbounded.
30339 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30340 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30342 (__new_msgctl): Do not use __ptrvalue.
30343 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30345 (__libc_msgrcv): Do not use __ptrvalue.
30346 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30347 startup_info): Do not use __unbounded.
30348 (__libc_start_main): Likewise. Rename ubp_* variables and
30349 parameters. Remove argv definitions conditional on
30350 [__BOUNDED_POINTERS__].
30351 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30353 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30355 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30357 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30359 (__new_shmctl): Do not use __ptrvalue.
30360 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30361 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30363 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30364 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30365 (__libc_sigaction): Likewise.
30366 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30367 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30369 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30371 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30373 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30375 * string/mempcpy.c: Implement by calling memcpy.
30377 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30384 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30385 values in the mantissa.
30387 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30388 minimize writes to Z.
30389 (sub_magnitudes): Simplify code a bit.
30391 2013-02-12 Roland McGrath <roland@hack.frob.com>
30393 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30394 from the message. The linker prefixes all warnings with that already.
30396 2013-02-12 Andreas Schwab <schwab@suse.de>
30399 * posix/regexec.c (extend_buffers): Add parameter min_len.
30400 (check_matching): Pass minimum needed length.
30401 (clean_state_log_if_needed): Likewise.
30402 (get_subexp): Likewise.
30403 * posix/Makefile (tests): Add bug-regex34.
30404 (bug-regex34-ENV): Define.
30405 * posix/bug-regex34.c: New file.
30408 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30409 elements compare against the byte sequence of it, not its name.
30410 * posix/Makefile (tests): Add bug-regex35.
30411 (bug-regex35-ENV): Define.
30412 * posix/bug-regex35.c: New file.
30414 2013-02-11 Tom de Vries <tom@codesourcery.com>
30416 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30418 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30419 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30420 (CHECK_EOL): Add undef.
30422 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30424 * bits/stdlib-bsearch.h: New file.
30425 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30426 * stdlib/stdlib.h: Likewise.
30428 2013-02-11 Roland McGrath <roland@hack.frob.com>
30430 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30431 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30433 * manual/search.texi (Array Search Function): Add missing const in
30435 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30436 declaration to use rlim_t.
30437 (Basic Scheduling Functions): Remove erroneous const from
30438 sched_getparam prototype. Remove erroneous * from
30439 sched_get_priority_max and sched_get_priority_min prototypes.
30440 (Resource Usage): Fix summary @comment on vtimes to refer to
30441 sys/vtimes.h rather than vtimes.h.
30442 Add missing *s in vtimes prototype.
30443 (Limits on Resources): Fix ulimit prototype to return long int.
30444 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30445 prototypes to use long int rather than double.
30446 (BSD Random): Fix initstate and setstate to use char *, not void *.
30447 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30448 prototype to make second argument 'struct aiocb64 *const[]'.
30449 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30450 (Status of AIO Operations): Remove erroneous const in aio_return and
30451 aio_return64 prototypes.
30452 (Synchronizing I/O): Fix sync prototype to return void.
30453 * manual/startup.texi (Suboptions): Remove an erroneous const in
30454 getsubopt prototype.
30455 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30456 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30457 use size_t rather than int.
30458 (Scanning All Users): Likewise for getpwent_r.
30459 (Setting Groups): Add missing const to setgroups prototype.
30460 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30461 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30462 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30463 'const void *' rather than 'const char *'.
30464 (Host Address Functions): Likewise for inet_ntop.
30465 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30466 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30467 ssize_t for return value.
30468 (Sending Data): Likewise for send, sendto, sendmsg.
30469 (Socket Option Functions): Add a missing const in setsockopt prototype.
30470 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30471 use wchar_t for the argument.
30472 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30473 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30475 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30476 double/float/long double for second argument.
30477 Fix return types of significand, significandf, significandl.
30478 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30479 argument in fchmod prototype.
30480 (File Owner): Use uid_t and gid_t in fchown prototype.
30481 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30482 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30483 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30484 use 'const struct dirent **' as argument types to CMP function pointer
30486 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30487 (File Times): Fix summary magic @comment for struct utimbuf and utime
30488 to refer to utime.h, not time.h.
30489 * manual/string.texi (Argz Functions): Add missing const in
30490 argz_extract and argz_next prototypes.
30491 (Finding Tokens in a String): Likewise for basename.
30492 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30493 (Copying and Concatenation): Fix typo in wmemmove prototype.
30494 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30495 (Signal Stack): Remove erroneous const in sigstack prototype.
30496 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30498 (Simple Calendar Time): Likewise for stime.
30499 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30501 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30502 say sys/sysctl.h instead.
30503 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30504 and vsyslog prototypes.
30506 2013-02-11 Tom de Vries <tom@codesourcery.com>
30508 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30511 2013-02-11 Roland McGrath <roland@hack.frob.com>
30513 * misc/sys/mman.h: Fix typo in mremap comment.
30515 2013-02-08 Roland McGrath <roland@hack.frob.com>
30517 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30518 the '\0' terminator.
30520 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30523 * debug/segfault.c: Don't include <bp-checks.h>.
30524 * sysdeps/generic/bp-checks.h: Remove file.
30525 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30526 (__GETDENTS): Don't use CHECK_N.
30527 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30528 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30529 (__getgroups): Don't use CHECK_N.
30530 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30531 (setgroups): Don't use CHECK_N.
30532 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30533 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30534 (__libc_msgrcv): Don't use CHECK_N.
30535 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30536 (__libc_msgsnd): Don't use CHECK_N.
30537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30539 (__libc_pread): Don't use CHECK_N.
30540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30541 include <bp-checks.h>.
30542 (__libc_pread64): Don't use CHECK_N.
30543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30544 include <bp-checks.h>.
30545 (__libc_pwrite): Don't use CHECK_N.
30546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30547 include <bp-checks.h>.
30548 (__libc_pwrite64): Don't use CHECK_N.
30549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30551 (__libc_pread): Don't use CHECK_N.
30552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30553 include <bp-checks.h>.
30554 (__libc_pread64): Don't use CHECK_N.
30555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30556 include <bp-checks.h>.
30557 (__libc_pwrite): Don't use CHECK_N.
30558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30559 include <bp-checks.h>.
30560 (__libc_pwrite64): Don't use CHECK_N.
30561 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30562 (do_pread): Don't use CHECK_N.
30563 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30564 (do_pread64): Don't use CHECK_N.
30565 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30566 (do_pwrite): Don't use CHECK_N.
30567 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30568 (do_pwrite64): Don't use CHECK_N.
30569 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30570 (__libc_readv): Don't use CHECK_N.
30571 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30572 (semop): Don't use CHECK_N.
30573 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30575 (semtimedop): Don't use CHECK_N.
30576 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30577 (__libc_pread): Don't use CHECK_N.
30578 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30580 (__libc_pread64): Don't use CHECK_N.
30581 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30583 (__libc_pwrite): Don't use CHECK_N.
30584 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30586 (__libc_pwrite64): Don't use CHECK_N.
30587 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30589 (__libc_msgrcv): Don't use CHECK_N.
30590 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30591 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30592 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30593 (__libc_writev): Don't use CHECK_N.
30595 2013-02-08 Roland McGrath <roland@hack.frob.com>
30597 * string/strcpy.c: Removed unused variable.
30599 * Makeconfig (+sysdep-includes): Define with := rather than =.
30600 Use an existing include/ subdir of each sysdeps dir before it.
30602 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30604 * nscd/connection.c (register_traced_file): Comment function.
30605 [HAVE_INOTIFY] (union __inev): Define.
30606 [HAVE_INOTIFY] (inotify_check_files): New function.
30607 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30608 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30610 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30612 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30614 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30615 loaded if not already and that a failure is permanent.
30617 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30620 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30621 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30623 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30626 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30627 (CHECK_1_NULL_OK): Likewise.
30628 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30629 (__fxstat): Do not use CHECK_1.
30630 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30632 (___fxstat64): Do not use CHECK_1.
30633 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30635 (__fxstatat): Do not use CHECK_1.
30636 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30638 (__fxstatat64): Do not use CHECK_1.
30639 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30641 (__fxstat): Do not use CHECK_1.
30642 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30644 (__fxstatat): Do not use CHECK_1.
30645 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30647 (__getresgid): Do not use CHECK_1.
30648 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30650 (__getresuid): Do not use CHECK_1.
30651 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30653 (__lxstat): Do not use CHECK_1.
30654 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30656 (__old_msgctl): Do not use CHECK_1.
30657 (__new_msgctl): Likewise.
30658 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30660 (__new_setrlimit): Do not use CHECK_1.
30661 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30663 (__old_shmctl): Do not use CHECK_1.
30664 (__new_shmctl): Likewise.
30665 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30667 (__xstat): Do not use CHECK_1.
30668 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30669 (__lxstat): Do not use CHECK_1.
30670 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30672 (___lxstat64): Do not use CHECK_1.
30673 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30674 (__old_msgctl): Do not use CHECK_1.
30675 (__new_msgctl): Likewise.
30676 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30678 (__gettimeofday): Do not use CHECK_1.
30679 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30680 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30681 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30683 (__gettimeofday): Do not use CHECK_1.
30684 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30685 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30686 (__new_shmctl): Do not use CHECK_1.
30687 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30689 (do_sigtimedwait): Do not use CHECK_1.
30690 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30692 (do_sigwaitinfo): Do not use CHECK_1.
30693 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30695 (msgctl): Do not use CHECK_1.
30696 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30698 (shmctl): Do not use CHECK_1.
30699 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30700 (ustat): Do not use CHECK_1.
30701 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30703 (__fxstat): Do not use CHECK_1.
30704 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30706 (__fxstatat): Do not use CHECK_1.
30707 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30709 (__lxstat): Do not use CHECK_1.
30710 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30712 (__xstat): Do not use CHECK_1.
30713 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30714 (__xstat): Do not use CHECK_1.
30715 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30716 (___xstat64): Do not use CHECK_1.
30719 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30721 (CHECK_BOUNDS_HIGH): Likewise.
30722 * string/strcpy.c: Do not include <bp-checks.h>.
30723 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30725 2013-02-07 Roland McGrath <roland@hack.frob.com>
30727 * nscd/nscd-client.h (__nscd_drop_map_ref):
30728 Add __attribute__ ((unused)).
30729 * nis/nss-nisplus.h (niserr2nss): Likewise.
30731 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30732 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30734 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30735 Remove inline keyword.
30736 * include/rounding-mode.h (round_away): Likewise.
30737 * libio/wfileops.c (adjust_wide_data): Likewise.
30738 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30739 (__m128i_strloadu_tolower): Likewise.
30740 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30741 (__m128i_strloadu_tolower): Likewise.
30742 * time/mktime.c (ydhms_diff): Likewise.
30743 * locale/elem-hash.h (elem_hash): Likewise.
30744 * locale/setlocale.c (setdata): Likewise.
30745 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30746 (re_string_wchar_at): Likewise.
30747 (bitset_not, bitset_merge, bitset_mask): Likewise.
30748 [!(__GNUC__ > 3)] (inline): Remove macro.
30749 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30750 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30751 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30752 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30753 * string/memcmp.c (memcmp_bytes): Likewise.
30754 * locale/programs/locarchive.c (compute_hashval): Likewise.
30755 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30756 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30757 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30758 * nss/getent.c (print_rpc, print_protocols): Likewise.
30759 (print_passwd, print_group, print_aliases): Likewise.
30760 * nis/nss-nisplus.h (niserr2nss): Likewise.
30761 * nscd/connections.c (restart_p): Likewise.
30762 Change return type to bool.
30764 2013-02-05 Roland McGrath <roland@hack.frob.com>
30766 * Makeconfig (all-Depend-files): Add existing
30767 $(sorted-subdirs:=/Depend) files.
30768 (all-subdirs): Remove nss.
30769 * sysdeps/unix/inet/Subdirs: Add it here instead.
30770 * hesiod/Depend: New file.
30772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30773 instead of calling alloca.
30775 * io/lseek.c (__lseek): Rename to __libc_lseek.
30776 Define __lseek as an alias.
30778 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30780 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30782 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30783 else clause and remove check for non-standard endianness.
30785 2013-02-04 David S. Miller <davem@davemloft.net>
30787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30789 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30792 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30793 (__ubp_memchr): Remove prototype.
30794 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30795 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30796 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30797 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30798 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30800 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30801 (__ubp_memchr): Likewise.
30802 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30803 (__ubp_memchr): Likewise.
30804 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30805 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30806 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30807 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30809 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30810 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30811 (__getcwd): Do not use CHECK_STRING.
30812 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30814 (__real_chown): Do not use CHECK_STRING.
30815 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30817 (fchownat): Do not use CHECK_STRING.
30818 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30820 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30822 (__lchown): Do not use CHECK_STRING.
30823 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30824 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30825 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30826 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30828 include <bp-checks.h>.
30829 (truncate64): Do not use CHECK_STRING.
30830 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30832 (__real_chown): Do not use CHECK_STRING.
30833 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30835 (__lchown): Do not use CHECK_STRING.
30836 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30838 (__chown): Do not use CHECK_STRING.
30839 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30841 (truncate64): Do not use CHECK_STRING.
30842 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30844 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30845 (__xmknod): Do not use CHECK_STRING.
30846 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30848 (__xmknodat): Do not use CHECK_STRING.
30849 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30850 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30852 2013-02-04 Andreas Schwab <schwab@suse.de>
30855 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30856 * include/netdb.h: Likewise for h_errno.
30857 * elf/tst-stackguard1.c: Include <tls.h>.
30859 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30861 * elf/link.h (struct link_map): Extend the l_addr comment.
30862 * include/link.h (struct link_map): Likewise.
30864 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30867 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30868 (BOUNDED_1): Remove macro.
30869 * debug/backtrace.c: Don't include <bp-checks.h>.
30870 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30871 (__backtrace): Likewise.
30872 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30874 (__backtrace): Don't use BOUNDED_1.
30875 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30877 (__backtrace): Don't use BOUNDED_1.
30878 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30879 (__backtrace): Don't use BOUNDED_1.
30880 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30881 (shmat): Don't use BOUNDED_N.
30883 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30886 * sysdeps/generic/bp-start.h: Remove file.
30887 * csu/libc-start.c: Don't include <bp-start.h>.
30888 (LIBC_START_MAIN): Set up __environ directly instead of using
30889 INIT_ARGV_and_ENVIRON.
30890 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30894 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30896 (CHECK_FCNTL): Likewise.
30897 (CHECK_N_PAGES): Likewise.
30900 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30902 (CHECK_SIGSET_NULL_OK): Likewise.
30903 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30905 (sigpending): Don't use CHECK_SIGSET.
30906 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30908 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30909 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30911 (do_sigsuspend): Don't use CHECK_SIGSET.
30912 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30914 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30915 (do_sigwait): Don't use CHECK_SIGSET.
30916 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30918 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30919 include <bp-checks.h>.
30920 (sigpending): Don't use CHECK_SIGSET.
30921 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30922 include <bp-checks.h>.
30923 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30924 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30926 (sigpending): Don't use CHECK_SIGSET.
30927 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30929 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30932 * sysdeps/generic/bp-semctl.h: Remove file.
30933 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30934 <bp-checks.h> and <bp-semctl.h>.
30935 (__old_semctl): Don't use CHECK_SEMCTL.
30936 (__new_semctl): Likewise.
30937 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30939 (__old_semctl): Don't use CHECK_SEMCTL.
30940 (__new_semctl): Likewise.
30941 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30942 <bp-checks.h> and <bp-semctl.h>.
30943 (__old_semctl): Don't use CHECK_SEMCTL.
30944 (__new_semctl): Likewise.
30945 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30946 <bp-checks.h> and <bp-semctl.h>.
30947 (semctl): Don't use CHECK_SEMCTL.
30950 * Makerules (elide-bp-thunks): Remove variable.
30951 (elide-routines.oS): Don't use $(elide-bp-thunks).
30952 (elide-routines.os): Likewise.
30953 (elide-routines.o): Likewise.
30954 (elide-routines.op): Likewise.
30955 (elide-routines.og): Likewise.
30956 (objects): Don't use $(bp-thunks).
30957 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30959 (common-generated): Do not add s-proto-bp.d.
30960 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30963 Do not generate makefile rules for bounded-pointer thunks.
30964 * sysdeps/generic/bp-thunks.h: Remove file.
30965 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30966 * sysdeps/unix/s-proto-bp.S: Likewise.
30969 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30970 parts of result separately when argument is not close to line from
30971 -i to i and one part of argument is small.
30972 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30973 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30974 * math/libm-test.inc (cacos_test): Add more tests.
30975 (casin_test): Likewise.
30976 (casinh_test): Likewise.
30977 * sysdeps/i386/fpu/libm-test-ulps: Update.
30978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30980 2013-01-31 David S. Miller <davem@davemloft.net>
30982 * po/de.po: Update from translation team.
30984 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30986 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30988 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30990 * configure.in (_AC_PROG_CC_C89): New definition.
30991 * configure: Regenerate.
30993 * configure.in (AC_PROG_CPP): New definition.
30994 * configure: Regenerate.
30996 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30998 * debug/tst-backtrace.h: New file.
30999 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31000 (ret): Remove variable.
31002 (FAIL): Remove macro.
31003 (NO_INLINE): Likewise.
31004 (fn1): Use match function instead of strstr.
31005 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31006 (ret): Remove variable.
31008 (FAIL): Remove macro.
31009 (NO_INLINE): Likewise.
31010 (fn): Use match function instead of strstr.
31011 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31012 (ret): Remove variable.
31014 (FAIL): Remove macro.
31015 (NO_INLINE): Likewise.
31016 (handle_signal): Use match function instead of strstr.
31017 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31018 (ret): Remove variable.
31020 (FAIL): Remove macro.
31021 (NO_INLINE): Likewise.
31022 (handle_signal): Use match function instead of strstr.
31024 2013-01-23 Roland McGrath <roland@hack.frob.com>
31026 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31028 2013-01-23 David S. Miller <davem@davemloft.net>
31030 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31031 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31032 argument of CAS if possible.
31033 * sysdeps/sparc/sparc64/bits/atomic.h
31034 (__arch_compare_and_exchange_val_32_acq): Likewise.
31035 (__arch_compare_and_exchange_val_64_acq): Likewise.
31037 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31039 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31040 * sysdeps/posix/ulimit.c: ... this.
31041 Include <limits.h>.
31042 * sysdeps/unix/bsd/ulimit.c: Remove file.
31044 2013-01-23 Adam Conrad <adconrad@0c3.net>
31046 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31047 (LDFLAGS-tst-array5): Likewise.
31049 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31052 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31053 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31054 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31055 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31057 2013-01-21 David S. Miller <davem@davemloft.net>
31059 * sysdeps/sparc/backtrace.c: New file.
31060 * sysdeps/sparc/sparc32/backtrace.h: New file.
31061 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31062 * sysdeps/sparc/sparc64/backtrace.h: New file.
31063 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31064 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31067 2013-01-21 Andreas Schwab <schwab@suse.de>
31070 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31073 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31077 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31079 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31080 Mark Mitchell <mark@codesourcery.com>
31081 Tom de Vries <tom@codesourcery.com>
31082 Paul Pluzhnikov <ppluzhnikov@google.com>
31084 * debug/tst-backtrace2.c: New file.
31085 * debug/tst-backtrace3.c: Likewise.
31086 * debug/tst-backtrace4.c: Likewise.
31087 * debug/tst-backtrace5.c: Likewise.
31088 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31089 (CFLAGS-tst-backtrace3.c): Likewise.
31090 (CFLAGS-tst-backtrace4.c): Likewise.
31091 (CFLAGS-tst-backtrace5.c): Likewise.
31092 (LDFLAGS-tst-backtrace2): Likewise.
31093 (LDFLAGS-tst-backtrace3): Likewise.
31094 (LDFLAGS-tst-backtrace4): Likewise.
31095 (LDFLAGS-tst-backtrace5): Likewise.
31096 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31097 tst-backtrace4 and tst-backtrace5.
31099 2013-01-18 Anton Blanchard <anton@samba.org>
31100 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31102 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31103 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31104 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31105 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31107 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31108 "+r" and remove output regs list as redundant. Add explicit inline
31109 asm to specify register of return val to work around compiler codegen
31110 bug. Remove (int) cast on return value. Add return type parameter to
31111 use in macro so that this macro does not truncate return value for
31113 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31114 pass to INTERNAL_VSYSCALL_NCS.
31115 (INLINE_VSYSCALL): Add 'long int' as return type to
31116 INTERNAL_VSYSCALL_NCS macro invocation.
31117 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31118 INTERNAL_VSYSCALL_NCS macro invocation.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31121 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31124 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31125 Fix application of SIMD FP exception mask.
31127 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31128 mp_no from a power of two.
31129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31130 __mpexp_twomm1. Use __pow_mp.
31132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31135 2013-01-17 David S. Miller <davem@davemloft.net>
31137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31139 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31142 * include/complex.h: Condition contents on [!_COMPLEX_H].
31143 (__kernel_casinhf): New prototype.
31144 (__kernel_casinh): Likewise.
31145 (__kernel_casinhl): Likewise.
31146 * math/Makefile (libm_calls): Add k_casinh.
31147 * math/k_casinh.c: New file.
31148 * math/k_casinhf.c: Likewise.
31149 * math/k_casinhl.c: Likewise.
31150 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31151 finite nonzero arguments.
31152 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31153 finite nonzero arguments.
31154 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31155 finite nonzero arguments.
31156 * math/s_casinh.c: Do not include <float.h>.
31157 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31158 * math/s_casinhf.c: Do not include <float.h>.
31159 (__casinhf): Move code for finite nonzero arguments to
31161 * math/s_casinhl.c: Do not include <float.h>.
31162 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31164 (__casinhl): Move code for finite nonzero arguments to
31166 * math/libm-test.inc (cacos_test): Add more tests.
31167 * sysdeps/i386/fpu/libm-test-ulps: Update.
31168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31170 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31172 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31173 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31174 [!HAVE_MREMAP]: Remove [defined linux] case.
31175 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31177 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31179 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31181 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31183 * elf/elf.h (R_386_SIZE32): New relocation.
31184 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31186 (elf_machine_rela): Likewise.
31187 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31188 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31190 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31192 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31193 (FP_FAST_FMA): Do not define.
31194 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31195 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31196 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31197 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31198 !_SOFT_FLOAT]: Likewise.
31199 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31200 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31202 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31203 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31204 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31205 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31206 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31207 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31210 2013-01-16 Andreas Schwab <schwab@suse.de>
31213 * include/stdlib.h (__mktemp): Add declaration.
31214 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31215 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31217 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31219 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31221 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31222 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31223 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31225 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31226 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31228 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31230 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31231 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31232 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31234 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31235 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31237 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31239 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31241 2013-01-15 David S. Miller <davem@davemloft.net>
31243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31244 trunc{,f} to libm-sysdep_routes.
31245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31255 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31256 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31257 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31258 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31259 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31260 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31263 nearbyint{,f} to libm-sysdep_routes.
31264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31275 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31277 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31278 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31280 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31281 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31282 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31284 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31285 libc_feholdexcept and libc_fesetenv.
31287 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31289 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31291 2013-01-14 David S. Miller <davem@davemloft.net>
31293 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31294 (SPARC_ASM_VIS2_IFUNC): Likewise.
31295 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31297 use of 'siam' instruction.
31298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31306 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31316 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31326 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31331 routines to libm-sysdep_routines.
31332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31335 fdim/fdimf to libm-sysdep_routines.
31336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31344 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31345 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31346 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31347 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31349 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31351 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31352 to optimize copies.
31354 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31359 local variable MPTWO.
31360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31363 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31365 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31368 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31370 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31372 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31374 * manual/pattern.texi (glob_t): Document gl_flags.
31375 (glob64_t): Likewise.
31377 2013-01-11 David S. Miller <davem@davemloft.net>
31379 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31380 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31381 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31382 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31383 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31384 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31385 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31386 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31387 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31388 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31389 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31390 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31391 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31393 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31394 sparc V9 rather than using V8 code.
31395 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31396 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31398 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31400 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31403 2013-01-11 Roland McGrath <roland@hack.frob.com>
31405 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31406 not in the main loop.
31407 * configure: Regenerated.
31409 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31411 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31412 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31414 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31415 [!__GLIBC_HAVE_LONG_LONG] case.
31416 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31417 condition to just #else.
31418 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31419 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31420 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31421 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31423 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31424 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31425 #elif condition to just #else.
31426 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31427 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31428 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31429 #elif condition to just #else.
31431 2013-01-11 Steve Ellcey <sellcey@mips.com>
31433 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31434 (EF_MIPS_ARCH_64): Fix value.
31435 (EF_MIPS_ARCH_32R2): New.
31436 (EF_MIPS_ARCH_64R2): New.
31438 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31440 * Makeconfig (+link-pie-before-libc): New.
31441 (+link-pie-after-libc): Likewise.
31442 (+link-pie-tests): Likewise.
31443 (+link-pie): Rewritten.
31444 (link-before-libc): Remove $(config-LDFLAGS).
31445 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31446 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31447 (config-LDFLAGS): Renamed to ...
31448 (rtld-LDFLAGS): This.
31449 (rtld-tests-LDFLAGS): New macro.
31450 (link-libc-rpath-link): Likewise.
31451 (link-libc-tests-rpath-link): Likewise.
31452 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31453 (link-libc): Prepand $(link-libc-rpath-link).
31454 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31455 (test-program-prefix): New macro.
31456 (test-via-rtld-prefix): Likewise.
31457 (test-program-cmd): Likewise.
31458 (host-test-program-cmd): Likewise.
31459 * Makefile ($(common-objpfx)testrun.sh): Replace
31460 $(run-program-prefix) with $(test-program-prefix).
31461 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31463 ($(common-objpfx)shlib.lds): Likewise.
31464 (build-module-helper): Likewise.
31465 ($(common-objpfx)format.lds): Likewise.
31466 * Rules (binaries-pie-tests): New.
31467 (binaries-pie-notests): Likewise.
31468 (binaries-pie): Rewritten.
31469 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31470 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31471 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31472 (make-test-out): Replace $(host-built-program-cmd) with
31473 $(host-test-program-cmd).
31474 * config.make.in (build-hardcoded-path-in-tests): New variable.
31475 * configure.in (--enable-hardcoded-path-in-tests): New configure
31477 (hardcoded_path_in_tests): New AC_SUBST.
31478 * configure: Regenerated.
31479 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31480 $(built-program-cmd) with $(test-program-cmd).
31481 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31482 (test_program_cmd): This.
31483 * elf/Makefile ($(objpfx)order.out): Run test with
31484 $(test-program-prefix).
31485 ($(objpfx)order2.out): Likewise.
31486 ($(objpfx)tst-initorder.out): Likewise.
31487 ($(objpfx)tst-initorder2.out): Likewise.
31488 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31489 $(test-program-cmd).
31490 ($(objpfx)tst-array1-static.out): Likewise.
31491 ($(objpfx)tst-array2.out): Likewise.
31492 ($(objpfx)tst-array3.out): Likewise.
31493 ($(objpfx)tst-array4.out): Likewise.
31494 ($(objpfx)tst-array5.out): Likewise.
31495 ($(objpfx)tst-array5-static.out): Likewise.
31496 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31497 $(test-program-cmd).
31498 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31499 $(run-program-prefix) with $(test-program-prefix).
31500 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31501 (test_program_prefix): This.
31502 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31503 $(run-program-prefix) with $(test-program-prefix).
31504 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31505 (test_program_prefix): This.
31506 * iconvdata/tst-tables.sh: Likewise.
31507 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31508 $(run-program-prefix) with $(test-program-prefix).
31509 ($(objpfx)tst-translit.out): Likewise.
31510 ($(objpfx)tst-gettext2.out): Likewise.
31511 ($(objpfx)tst-gettext4.out): Likewise.
31512 ($(objpfx)tst-gettext6.out): Likewise.
31513 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31514 (test_program_prefix): This.
31515 * intl/tst-gettext2.sh: Likewise.
31516 * intl/tst-gettext4.sh Likewise.
31517 * intl/tst-gettext6.sh: Likewise.
31518 * intl/tst-translit.sh: Likewise.
31519 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31520 with $(test-program-cmd).
31521 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31522 $(run-program-prefix) with $(test-program-prefix).
31523 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31524 (test_program_prefix): This.
31525 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31526 $(run-program-prefix) with $(test-program-prefix).
31527 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31528 (test_program_prefix): This.
31529 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31530 * posix/Makefile ($(objpfx)globtest.out): Replace
31531 $(run-via-rtld-prefix) and $(test-wrapper) with
31532 $(test-program-prefix) and $(test-via-rtld-prefix).
31533 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31534 $(test-program-prefix).
31535 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31536 $(host-test-program-cmd).
31537 (tst-spawn-ARGS): Likewise.
31538 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31539 $(test-program-prefix).
31540 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31541 (test_via_rtld_prefix): This.
31542 (test_wrapper): Renamed to ...
31543 (test_program_prefix): This.
31544 (run_program_prefix): Replaced by test_program_prefix.
31545 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31546 (test_program_prefix): This.
31547 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31548 with $(host-test-program-cmd).
31549 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31550 $(run-program-prefix) with $(test-program-prefix).
31551 ($(objpfx)tst-printf.out): Likewise.
31552 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31553 $(test-program-cmd).
31554 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31555 (test_program_prefix): This.
31556 * stdio-common/tst-unbputc.sh: Likewise.
31557 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31558 $(run-program-prefix) with $(test-program-prefix).
31559 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31560 (test_program_prefix): This.
31561 * string/Makefile ($(objpfx)tst-svc.out): Replace
31562 $(built-program-cmd) with $(test-program-cmd).
31564 2013-01-11 Andreas Jaeger <aj@suse.de>
31567 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31568 value. Sync with Linux 3.7.
31570 2013-01-10 David S. Miller <davem@davemloft.net>
31572 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31573 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31574 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31576 2013-01-10 Roland McGrath <roland@hack.frob.com>
31578 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31580 * configure: Regenerated.
31582 2013-01-10 David S. Miller <davem@davemloft.net>
31584 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31585 sparc V9 rather than using V8 code.
31586 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31587 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31589 2013-01-10 Roland McGrath <roland@hack.frob.com>
31591 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31592 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31593 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31594 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31595 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31596 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31597 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31598 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31599 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31600 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31601 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31602 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31603 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31604 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31605 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31606 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31607 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31608 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31609 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31610 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31611 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31612 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31613 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31614 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31615 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31616 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31617 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31619 2013-01-10 David S. Miller <davem@davemloft.net>
31621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31623 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31625 * posix/Makefile (tests-static): New variable.
31626 (tests): Add $(tests-static).
31627 (tst-exec-static-ARGS): New variable.
31628 (tst-spawn-static-ARGS): Likewise.
31629 * posix/tst-exec-static.c: New file.
31630 * posix/tst-spawn-static.c: Likewise.
31631 * posix/tst-exec.c: Support run directly.
31632 * posix/tst-spawn.c: Likewise.
31634 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31636 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31638 * math/bits/mathcalls.h (llrint): Likewise.
31639 (llround): Likewise.
31640 * stdlib/stdlib.h (struct drand48_data): Likewise.
31641 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31642 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31643 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31645 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31647 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31648 (elf_greg_t): Likewise.
31649 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31650 (__jmp_buf): Likewise.
31651 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31653 (llrint): Likewise, for all definitions.
31654 (llrintl): Likewise.
31656 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31657 Remove [__GNUC__] condition.
31658 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31659 condition to just [__USE_ISOC99].
31660 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31662 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31665 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31666 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31668 (_POSIX_V6_ILP32_OFF32): Likewise.
31669 (_XBS5_ILP32_OFF32): Likewise.
31670 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31671 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31673 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31675 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31678 doubles __mpexp_twomm1. Adjust usage.
31679 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31682 2013-01-10 Andreas Schwab <schwab@suse.de>
31685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31686 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31688 2013-01-09 David S. Miller <davem@davemloft.net>
31691 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31692 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31693 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31694 (TCP_FASTOPEN): Define.
31695 (tcp_repair_opt): New structure.
31696 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31698 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31699 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31700 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31701 (tcp_cookie_transactions): New structure.
31703 2013-01-09 Anton Blanchard <anton@samba.org>
31705 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31706 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31708 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31710 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31712 * include/features.h (__USE_ANSI): Remove.
31714 2013-01-09 Roland McGrath <roland@hack.frob.com>
31716 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31718 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31720 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31722 * sysdeps/s390/fpu/libm-test-ulps: Update.
31724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31726 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31730 (denorm): Likewise.
31731 (__mp_dbl): Likewise.
31732 (__dbl_mp): Likewise.
31733 (add_magnitudes): Likewise.
31734 (sub_magnitudes): Likewise.
31740 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31744 (denorm): Likewise.
31745 (__mp_dbl): Likewise.
31746 (__dbl_mp): Likewise.
31747 (add_magnitudes): Likewise.
31748 (sub_magnitudes): Likewise.
31754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31758 (denorm): Likewise.
31759 (__mp_dbl): Likewise.
31760 (__dbl_mp): Likewise.
31761 (add_magnitudes): Likewise.
31762 (sub_magnitudes): Likewise.
31769 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31771 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31772 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31773 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31774 2 && __USE_EXTERN_INLINES]: Likewise.
31776 2013-01-08 Andreas Jaeger <aj@suse.de>
31779 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31781 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31782 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31784 2013-01-07 Anton Blanchard <anton@samba.org>
31786 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31787 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31788 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31789 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31790 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31791 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31792 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31793 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31795 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31796 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31797 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31798 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31800 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31801 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31802 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31803 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31804 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31806 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31807 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31808 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31809 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31810 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31811 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31812 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31813 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31815 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31816 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31818 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31819 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31820 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31821 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31822 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31824 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31825 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31826 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31827 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31828 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31830 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31832 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31833 (__MALLOC_PMT): Likewise.
31834 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31835 [__GNUC__], only on [_LIBC].
31836 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31837 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31838 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31839 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31840 forward declaration.
31841 (realloc_hook_ini): Likewise.
31842 (memalign_hook_ini): Likewise.
31843 (__libc_memalign): Do not use __MALLOC_PMT in variable
31845 (__libc_valloc): Likewise.
31846 (__libc_pvalloc): Likewise.
31847 (__libc_calloc): Likewise.
31848 (__posix_memalign): Likewise.
31851 * math/s_casinh.c: Include <float.h>.
31852 (__casinh): Do not do computation with squaring and square root
31853 for large arguments.
31854 * math/s_casinhf.c: Include <float.h>.
31855 (__casinhf): Do not do computation with squaring and square root
31856 for large arguments.
31857 * math/s_casinhl.c: Include <float.h>.
31858 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31859 (__casinhl): Do not do computation with squaring and square root
31860 for large arguments.
31861 * math/libm-test.inc (casin_test): Add more tests.
31862 (casinh_test): Likewise.
31863 * sysdeps/i386/fpu/libm-test-ulps: Update.
31864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31866 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31868 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31869 (__x86_64_raw_data_cache_size): Likewise.
31870 (__x86_64_data_cache_size_half): Likewise.
31871 (__x86_64_raw_data_cache_size_half): Likewise.
31872 (__x86_64_shared_cache_size): Likewise.
31873 (__x86_64_raw_shared_cache_size): Likewise.
31874 (__x86_64_shared_cache_size_half): Likewise.
31875 (__x86_64_raw_shared_cache_size_half): Likewise.
31876 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31878 (__x86_data_cache_size): This.
31879 (__x86_64_raw_data_cache_size): Renamed to ...
31880 (__x86_raw_data_cache_size): This.
31881 (__x86_64_data_cache_size_half): Renamed to ...
31882 (__x86_data_cache_size_half): This.
31883 (__x86_64_raw_data_cache_size_half): Renamed to ...
31884 (__x86_raw_data_cache_size_half): This.
31885 (__x86_64_shared_cache_size): Renamed to ...
31886 (__x86_shared_cache_size): This.
31887 (__x86_64_raw_shared_cache_size): Renamed to ...
31888 (__x86_raw_shared_cache_size): This.
31889 (__x86_64_shared_cache_size_half): Renamed to ...
31890 (__x86_shared_cache_size_half): This.
31891 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31892 (__x86_raw_shared_cache_size_half): This.
31893 * sysdeps/x86_64/memcpy.S: Updated.
31894 * sysdeps/x86_64/memset.S: Likewise.
31895 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31899 2013-01-04 David S. Miller <davem@davemloft.net>
31901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31903 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31905 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31906 1 to avoid redefinition warning.
31907 (__USE_GNU): Don't define.
31908 (init_signaling_nan): Protoize.
31910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31912 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31914 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31916 (__cpymn): Likewise.
31917 (norm): Remove commented code.
31918 (denorm): Likewise.
31919 (__mp_dbl): Likewise.
31921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31922 (__cpymn): Likewise.
31923 (norm): Remove commented code.
31924 (denorm): Likewise.
31925 (__mp_dbl): Likewise.
31928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31929 mp_no value for 1.0 and 2.0.
31930 (norm): Use RADIXI instead of radixi.d.
31931 (denorm): Likewise.
31932 (__mul): Use 0.0 instead of zero.d.
31933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31934 mp_no value for 1.0 and 2.0.
31935 (norm): Use RADIXI instead of radixi.d.
31936 (denorm): Likewise.
31937 (__mul): Use 0.0 instead of zero.d.
31939 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31942 * math/s_casinh.c (__casinh): Reduce finite argument to first
31943 quadrant then set signs of results at the end.
31944 * math/s_casinhf.c (__casinhf): Likewise.
31945 * math/s_casinhl.c (__casinhl): Likewise.
31946 * math/libm-test.inc (casin_test): Add more tests.
31947 (casinh_test): Likewise.
31948 * sysdeps/i386/fpu/libm-test-ulps: Update.
31949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31951 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31953 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31955 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31957 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31959 (denorm): Likewise.
31960 (__mp_dbl): Likewise.
31963 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31964 and adjust the header comment.
31966 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31967 variable name from declaration.
31969 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31972 Initialize COMMON_CPUID_INDEX_7 element.
31973 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31974 (CPUID_RTM): Likewise.
31975 (HAS_RTM): Likewise.
31976 (COMMON_CPUID_INDEX_7): New enum.
31978 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31981 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31982 size is zero, record memory as freed.
31984 2013-01-03 Andreas Jaeger <aj@suse.de>
31986 * po/ia.po: Add new Interlingua translation.
31988 2012-01-03 Allan McRae <allan@archlinux.org>
31990 * locale/programs/localedef.c: Fix description of '--posix' flag.
31992 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31994 * NEWS: Update dates in second copyright notice.
31995 * README: Update copyright dates in example.
31996 * manual/libc.texinfo: Update copyright dates.
31997 * scripts/test-installation.pl: Update copyright date in --version
32000 * hurd/ctty-input.c: Fix copyright notice formatting.
32001 * hurd/ctty-output.c: Likewise.
32002 * hurd/dtable.c: Likewise.
32003 * hurd/hurd-raise.c: Likewise.
32004 * hurd/hurdprio.c: Likewise.
32005 * hurd/msgportdemux.c: Likewise.
32006 * misc/sys/file.h: Likewise.
32007 * misc/sys/ioctl.h: Likewise.
32008 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32009 * sysdeps/mach/hurd/chdir.c: Likewise.
32010 * sysdeps/mach/hurd/fchdir.c: Likewise.
32011 * sysdeps/mach/hurd/rename.c: Likewise.
32012 * sysdeps/mach/hurd/rmdir.c: Likewise.
32013 * sysdeps/mach/hurd/seekdir.c: Likewise.
32014 * sysdeps/mach/hurd/setsid.c: Likewise.
32015 * sysdeps/posix/wait3.c: Likewise.
32017 * All files with FSF copyright notices: Update copyright dates
32018 using scripts/update-copyrights.
32019 * intl/plural.c: Regenerated.
32020 * locale/programs/charmap-kw.h: Likewise.
32021 * locale/programs/locfile-kw.h: Likewise.
32023 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32025 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32028 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32029 calculation loop and add branch prediction.
32031 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32032 check access beyond bounds of m1np.
32034 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32036 (__inv): Remove local variable MPTWO to use the global
32038 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32039 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32041 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32042 MP3HALFS static const.
32044 2013-01-01 David S. Miller <davem@davemloft.net>
32046 * po/ca.po: Update from translation team.
32048 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32050 * scripts/update-copyrights: New file.
32051 * Makeconfig: Reformat copyright notice.
32052 * ctype/ctype.h: Likewise.
32053 * debug/swprintf_chk.c: Likewise.
32054 * elf/dl-cache.c: Likewise.
32055 * elf/dl-debug.c: Likewise.
32056 * elf/dl-object.c: Likewise.
32057 * grp/initgroups.c: Likewise.
32058 * hurd/Makefile: Likewise.
32059 * hurd/hurd/signal.h: Likewise.
32060 * hurd/hurdfault.c: Likewise.
32061 * hurd/hurdioctl.c: Likewise.
32062 * hurd/hurdlookup.c: Likewise.
32063 * hurd/intr-msg.c: Likewise.
32064 * iconv/gconv_open.c: Likewise.
32065 * libio/swprintf.c: Likewise.
32066 * locale/lc-ctype.c: Likewise.
32067 * locale/nl_langinfo.c: Likewise.
32068 * mach/Machrules: Likewise.
32069 * mach/Makefile: Likewise.
32070 * malloc/obstack.h: Likewise.
32071 * manual/Makefile: Likewise.
32072 * manual/tsort.awk: Likewise.
32073 * misc/bits/stab.def: Likewise.
32074 * nis/nis_print_group_entry.c: Likewise.
32075 * nis/nis_table.c: Likewise.
32076 * nis/nss_compat/compat-pwd.c: Likewise.
32077 * nis/nss_compat/compat-spwd.c: Likewise.
32078 * po/Makefile: Likewise.
32079 * posix/fnmatch.c: Likewise.
32080 * posix/regex.h: Likewise.
32081 * resolv/Makefile: Likewise.
32082 * resolv/nss_dns/dns-network.c: Likewise.
32083 * resolv/res_hconf.c: Likewise.
32084 * scripts/gen-sorted.awk: Likewise.
32085 * soft-fp/soft-fp.h: Likewise.
32086 * stdio-common/printf.h: Likewise.
32087 * stdlib/monetary.h: Likewise.
32088 * stdlib/random.c: Likewise.
32089 * stdlib/random_r.c: Likewise.
32090 * sysdeps/generic/Makefile: Likewise.
32091 * sysdeps/gnu/Makefile: Likewise.
32092 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32094 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32096 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32097 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32098 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32099 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32100 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32102 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32103 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32104 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32105 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32106 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32107 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32108 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32109 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32110 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32112 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32113 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32114 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32115 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32116 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32117 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32118 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32119 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32120 * sysdeps/mach/hurd/errnos.awk: Likewise.
32121 * sysdeps/mach/hurd/fork.c: Likewise.
32122 * sysdeps/mach/hurd/getcwd.c: Likewise.
32123 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32124 * sysdeps/mach/hurd/mmap.c: Likewise.
32125 * sysdeps/mach/hurd/utimes.c: Likewise.
32126 * sysdeps/mach/hurd/xmknod.c: Likewise.
32127 * sysdeps/posix/profil.c: Likewise.
32128 * sysdeps/posix/readdir_r.c: Likewise.
32129 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32130 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32131 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32132 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32134 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32135 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32136 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32138 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32139 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32140 * sysdeps/pthread/lio_listio.c: Likewise.
32141 * sysdeps/sparc/dl-procinfo.h: Likewise.
32142 * sysdeps/unix/i386/sysdep.S: Likewise.
32143 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32144 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32145 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32146 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32148 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32149 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32150 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32151 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32152 * sysdeps/wordsize-32/divdi3.c: Likewise.
32153 * time/sys/time.h: Likewise.
32154 * wcsmbs/Makefile: Likewise.
32156 2013-01-01 David S. Miller <davem@davemloft.net>
32158 * po/fr.po: Update from translation team.
32160 * catgets/gencat.c: Update copyright year.
32161 * csu/version.c: Likewise.
32162 * debug/catchsegv.sh: Likewise.
32163 * debug/pcprofiledump.c: Likewise.
32164 * debug/xtrace.sh: Likewise.
32165 * elf/ldconfig.c: Likewise.
32166 * elf/ldd.bash.in: Likewise.
32167 * elf/pldd.c: Likewise.
32168 * elf/sotruss.ksh: Likewise.
32169 * elf/sprof.c: Likewise.
32170 * iconv/iconv_prog.c: Likewise.
32171 * iconv/iconvconfig.c: Likewise.
32172 * locale/programs/locale.c: Likewise.
32173 * locale/programs/localedef.c: Likewise.
32174 * login/programs/pt_chown.c: Likewise.
32175 * malloc/memusage.sh: Likewise.
32176 * malloc/memusagestat.c: Likewise.
32177 * malloc/mtrace.pl: Likewise.
32178 * nscd/nscd.c: Likewise.
32179 * nss/getent.c: Likewise.
32180 * nss/makedb.c: Likewise.
32181 * posix/getconf.c: Likewise.
32183 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32185 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32188 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32190 * math/bits/mathcalls.h (modf): Use __nonnull.
32192 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32194 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32195 (split): Use macro CN instead of the bare value.
32196 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32199 instead of the bare value.
32200 (power1): Likewise.
32202 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32206 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32208 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32210 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32211 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32212 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32213 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32215 2012-12-28 Andreas Jaeger <aj@suse.de>
32217 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32218 values are from Linux 3.7.
32220 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32221 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32223 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32225 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32228 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32230 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32231 variables with preprocessor constants.
32232 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32233 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32234 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32236 2012-12-27 Bruno Haible <bruno@clisp.org>
32239 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32242 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32245 and use variable directly.
32246 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32248 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32250 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32251 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32253 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32255 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32256 include directive. Remove local variable MPONE.
32257 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32258 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32259 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32261 2012-12-25 David S. Miller <davem@davemloft.net>
32263 * version.h (RELEASE): Set to "development".
32264 (VERSION): Set to "2.17.90".
32265 * NEWS: Add 2.18 section.
32267 2012-12-21 David S. Miller <davem@davemloft.net>
32269 * po/hr.po: Update from translation team.
32271 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32273 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32275 2012-12-19 Steve Ellcey <sellcey@mips.com>
32277 * NEWS: Mention new memcpy for MIPS.
32279 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32281 * manual/contrib.texi (Contributors): Spelling correction.
32283 2012-12-15 David S. Miller <davem@davemloft.net>
32285 * po/ru.po: Update from translation team.
32287 2012-12-13 David S. Miller <davem@davemloft.net>
32289 * NEWS: Mention IFUNC testsuite enhancements.
32291 * po/pl.po: Update from translation team.
32292 * po/bg.po: Likewise.
32294 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32295 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32297 2012-12-11 David S. Miller <davem@davemloft.net>
32299 * po/sv.po: Update from translation team.
32301 * po/vi.po: Update from translation team.
32303 * po/cs.po: Update from translation team.
32305 * po/de.po: Update from translation team.
32306 * po/eo.po: Likewise.
32307 * po/nl.po: Likewise.
32309 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32312 * manual/argp.texi (Argp Helper Functions): Move node to follow
32313 Argp Parsing State.
32316 * manual/conf.texi (Limits on File System Capacity): Mention if
32317 terminating null is included in the max size.
32319 2012-12-10 Andreas Jaeger <aj@suse.de>
32321 * po/cs.po: Update from translation team.
32323 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32325 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32326 void pointer and cast to uintptr_t.
32327 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32329 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32330 * sysdeps/s390/s390-64/memset.S: Likewise.
32332 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32335 * menual/message.texi (Message Translation): Fix typos.
32336 (Helper programs for gettext): Likewise.
32338 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32341 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32344 2012-12-07 David S. Miller <davem@davemloft.net>
32346 * po/libc.pot: Update.
32348 2012-12-07 Richard Henderson <rth@redhat.com>
32351 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32352 normal/normal case to before the switch.
32353 (_FP_DIV): Likewise.
32355 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32356 Mike Frysinger <vapier@gentoo.org>
32358 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32359 check for __NR_fadvise64_64.
32361 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32363 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32364 0, not just to plain "0" as a statement.
32365 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32368 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32370 * NEWS: Use sourceware.org in Bugzilla URL.
32372 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32375 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32377 * stdio-common/tst-put-error.c (do_test): Add newline to the
32378 padded test to ensure flush.
32380 2012-12-05 Jeff Law <law@redhat.com>
32382 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32384 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32386 * README: Don't refer to ports add-on as distributed separately.
32387 Mention AArch64 in list of systems supported in the ports add-on.
32389 * LICENSES: Add more non-FSF copyright and license notices.
32391 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32394 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32396 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32397 10000 as width of padded output.
32399 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32401 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32403 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32404 variable LX with __attribute__ ((unused)).
32405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32407 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32410 with __attribute__ ((unused)).
32412 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32414 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32416 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32418 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32419 (CFLAGS-nldbl-acos.c): New variable.
32420 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32421 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32422 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32423 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32424 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32425 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32426 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32427 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32428 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32429 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32430 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32431 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32432 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32433 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32434 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32435 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32436 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32437 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32438 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32439 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32440 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32441 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32442 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32443 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32444 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32445 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32446 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32447 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32448 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32449 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32450 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32451 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32452 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32453 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32454 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32455 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32456 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32457 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32458 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32459 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32460 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32461 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32462 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32463 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32464 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32465 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32466 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32467 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32468 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32469 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32470 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32471 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32472 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32473 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32474 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32475 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32476 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32477 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32478 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32479 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32480 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32481 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32482 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32483 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32484 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32485 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32486 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32487 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32488 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32489 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32490 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32491 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32492 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32493 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32494 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32495 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32496 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32497 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32498 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32499 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32500 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32501 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32502 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32503 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32504 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32505 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32506 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32507 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32508 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32509 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32510 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32511 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32512 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32513 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32514 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32515 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32516 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32519 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32523 whole low double instead of just low 47 bits when splitting values
32526 2012-12-03 Allan McRae <allan@archlinux.org>
32528 * manual/stdio.texi (Predefined Printf Handlers): Remove
32529 @hsep and @vsep usage.
32531 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32533 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32534 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32536 2012-12-03 Jeff Law <law@redhat.com>
32538 * time/sys/time.h (settimeofday): Do not mark TV argument
32541 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32543 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32544 when currently writing and seek to current position when not.
32545 * libio/Makefile (tests): Remove bug-fclose1.
32546 * libio/bug-fclose1.c: Delete.
32548 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32550 * manual/arith.texi (feenableexcept): Fix typo.
32551 (fedisableexcept): Likewise.
32553 2012-11-30 Roland McGrath <roland@hack.frob.com>
32555 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32556 second, differently-typed declaration, rather than a cast.
32558 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32560 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32561 * include/rpc/svc.h: ... here.
32563 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32566 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32567 depending n and resplen2 to catch cases where answer
32570 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32572 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32573 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32575 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32579 2012-11-29 Roland McGrath <roland@hack.frob.com>
32581 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32583 2012-11-28 Jeff Law <law@redhat.com>
32586 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32587 dataset_temporary. Track alloca usage into alloca_used.
32588 If dataset is large allocate and release it via malloc/free.
32590 2012-06-04 Florian Weimer <fweimer@redhat.com>
32593 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32595 2012-11-28 David S. Miller <davem@davemloft.net>
32597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32599 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32602 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32603 of pi/2 rounded to nearest to 64 bits.
32604 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32605 nearest to 64 bits.
32606 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32609 2012-11-28 Jeff Law <law@redhat.com>
32610 Martin Osvald <mosvald@redhat.com>
32613 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32614 * sunrpc/svc.c: Include time.h.
32615 (__svc_accept_failed): New function.
32616 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32617 any reason other than EINTR, call __svc_accept_failed.
32618 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32619 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32621 2012-11-28 Andreas Schwab <schwab@suse.de>
32623 * scripts/abilist.awk: Also handle indirect functions in .opd
32626 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32629 * sysdeps/x86/fpu/powl_helper.c: New file.
32630 * sysdeps/x86/fpu/Makefile: Likewise.
32631 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32633 (__ieee754_powl): Use __powl_helper for finite arguments except
32634 integer exponents below 8.
32635 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32637 (__ieee754_powl): Use __powl_helper for finite arguments except
32638 integer exponents below 8.
32639 * math/libm-test.inc (pow_test): Add more tests and enable some
32640 previously disabled tests.
32641 * sysdeps/i386/fpu/libm-test-ulps: Update.
32642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32644 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32645 Carlos O'Donell <carlos_odonell@mentor.com>
32647 * nss/makedb.c (is_prime): Assert that input is odd and greater
32648 than 4. Note that fact in a comment too.
32649 (next_prime): Add 4 to input.
32651 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32654 * libio/Makefile (tests): Add test case tst-fwrite-error.
32655 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32656 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32657 * libio/tst-fwrite-error.c: New test case.
32659 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32661 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32662 before casting to void *.
32663 * include/libc-internal.h (__pointer_type): New macro.
32664 (__integer_if_pointer_type_sub): Likewise.
32665 (__integer_if_pointer_type): Likewise.
32666 (cast_to_integer): Likewise.
32667 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32668 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32669 before casting to atomic64_t.
32670 (atomic_exchange_acq): Likewise.
32671 (__arch_exchange_and_add_body): Likewise.
32672 (__arch_add_body): Likewise.
32673 (atomic_add_negative): Likewise.
32674 (atomic_add_zero): Likewise.
32676 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32678 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32679 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32680 (add_fdes): Likewise.
32681 (linear_search_fdes): Likewise.
32682 (binary_search_unencoded_fdes): Likewise.
32684 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32686 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32688 2012-11-24 Adam Conrad <adconrad@0c3.net>
32690 * configure.in: Autodetect C++ header directories.
32691 * configure: Regenerated.
32693 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32695 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32697 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32701 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32703 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32704 LDBL_MANT_DIG == 106]: Disable some tests.
32705 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32707 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32711 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32712 input for small inputs. Return +/- pi/2 for large inputs.
32713 * math/libm-test.inc (atan_test): Add more tests.
32715 * sysdeps/generic/unwind-dw2-fde-glibc.c
32716 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32717 __attribute__ ((unused)).
32720 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32721 x * y if x and y are nonzero and z is zero.
32724 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32725 nonzero exponents with absolute value below 0x1p-117 to +/-
32729 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32730 up arguments below 2**-450, not just those below 2**-500.
32731 * math/libm-test.inc (hypot_test): Add another test.
32734 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32735 Return a+b for ratio over 2**120, not 2**60.
32736 * math/libm-test.inc (hypot_test): Add another test.
32738 * math/libm-test.inc (clog_test): Use
32739 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32740 (clog10_test): Likewise.
32743 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32745 2012-11-22 Andreas Schwab <schwab@suse.de>
32747 * sysdeps/i386/fpu/libm-test-ulps: Update.
32749 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32751 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32752 printf output with newline.
32754 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32757 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32758 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32759 -z nodlopen, -z initfirst and -z execstack support.
32760 * configure: Regenerated.
32762 * elf/elf.h (DF_1_NODIRECT): New macro.
32763 (DF_1_IGNMULDEF): Likewise.
32764 (DF_1_NOKSYMS): Likewise.
32765 (DF_1_NOHDR): Likewise.
32766 (DF_1_EDITED): Likewise.
32767 (DF_1_NORELOC): Likewise.
32768 (DF_1_SYMINTPOSE): Likewise.
32769 (DF_1_GLOBAUDIT): Likewise.
32770 (DF_1_SINGLETON): Likewise.
32771 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32772 DT_1_SUPPORTED_MASK bits.
32773 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32775 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32777 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32779 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32781 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32784 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32785 (sendmmsg): Move declarations...
32786 * socket/sys/socket.h: ... here.
32787 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32788 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32790 * socket/recvmmsg.c: ... this new file.
32791 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32792 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32793 definition of __sendmmsg hidden.
32794 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32795 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32796 Move ENOSYS stub into and include it from...
32797 * socket/sendmmsg.c: ... this new file.
32798 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32799 (sysdep_routines): Move recvmmsg and sendmmsg...
32800 * socket/Makefile (routines): ... here.
32801 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32802 (GLIBC_PRIVATE): Add __sendmmsg.
32803 * include/sys/socket.h (__sendmmsg): Add declarations.
32804 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32807 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32809 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32810 variable I1 with __attribute__ ((unused)).
32811 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32813 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32815 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32816 DUMMY variables with __attribute__ ((unused)).
32818 * bits/byteswap.h: Include <bits/types.h>.
32819 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32821 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32823 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32824 string_t. Do not manually set errno.
32825 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32826 length with __strnlen. Make sure to both set errno and return it on
32829 2012-11-19 David S. Miller <davem@davemloft.net>
32831 With help from Joseph Myers.
32832 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32833 very large arguments properly.
32834 * math/libm-test.inc (atan_test): New tests.
32835 (atan2_test): New tests.
32836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32839 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32842 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32845 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32846 [POSIX] (EADDRNOTAVAIL): Likewise.
32847 [POSIX] (EAFNOSUPPORT): Likewise.
32848 [POSIX] (EALREADY): Likewise.
32849 [POSIX] (ECONNABORTED): Likewise.
32850 [POSIX] (ECONNREFUSED): Likewise.
32851 [POSIX] (ECONNRESET): Likewise.
32852 [POSIX] (EDESTADDRREQ): Likewise.
32853 [POSIX] (EDQUOT): Likewise.
32854 [POSIX] (EHOSTUNREACH): Likewise.
32855 [POSIX] (EIDRM): Likewise.
32856 [POSIX] (EISCONN): Likewise.
32857 [POSIX] (ELOOP): Likewise.
32858 [POSIX] (EMULTIHOP): Likewise.
32859 [POSIX] (ENETDOWN): Likewise.
32860 [POSIX] (ENETUNREACH): Likewise.
32861 [POSIX] (ENOBUFS): Likewise.
32862 [POSIX] (ENODATA): Likewise.
32863 [POSIX] (ENOLINK): Likewise.
32864 [POSIX] (ENOMSG): Likewise.
32865 [POSIX] (ENOPROTOOPT): Likewise.
32866 [POSIX] (ENOSR): Likewise.
32867 [POSIX] (ENOSTR): Likewise.
32868 [POSIX] (ENOTCONN): Likewise.
32869 [POSIX] (ENOTSOCK): Likewise.
32870 [POSIX] (EOPNOTSUPP): Likewise.
32871 [POSIX] (EOVERFLOW): Likewise.
32872 [POSIX] (EPROTO): Likewise.
32873 [POSIX] (EPROTONOSUPPORT): Likewise.
32874 [POSIX] (EPROTOTYPE): Likewise.
32875 [POSIX] (ESTALE): Likewise.
32876 [POSIX] (ETIME): Likewise.
32877 [POSIX] (ETXTBSY): Likewise.
32878 [POSIX] (EWOULDBLOCK): Likewise.
32879 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32880 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32881 [POSIX] (SEEK_CUR): Likewise.
32882 [POSIX] (SEEK_END): Likewise.
32883 [POSIX || UNIX98] (mode_t): Do not require.
32884 [POSIX] (off_t): Likewise.
32885 [POSIX] (pid_t): Likewise.
32886 [POSIX] (sys/stat.h): Do not allow header.
32887 [POSIX] (unistd.h): Likewise.
32888 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32889 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32890 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32891 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32893 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32894 sigevent): Specify elements.
32895 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32897 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32898 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32900 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32901 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32902 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32903 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32904 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32905 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32906 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32907 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32908 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32909 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32910 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32911 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32912 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32913 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32915 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32917 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32919 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32921 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32922 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32923 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32924 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32925 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32926 Specify lower bound on value.
32927 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32928 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32929 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32930 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32931 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32932 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32933 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32934 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32936 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32938 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32939 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32940 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32941 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32942 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32943 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32944 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32945 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32946 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32947 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32948 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32949 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32950 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32951 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32952 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32953 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32955 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32957 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32958 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32959 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32960 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32961 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32962 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32964 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32965 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32969 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32970 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32972 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32976 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32977 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32978 specify as optional.
32979 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32982 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32983 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32984 [XPG3] (NL_LANGMAX): Likewise.
32985 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32986 [POSIX || XPG3] (NL_NMAX): Likewise.
32987 [POSIX || XPG3] (NL_SETMAX): Likewise.
32988 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32989 [XPG3] (NZERO): Likewise.
32990 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32991 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32992 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32993 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32994 (REG_ERANGE): Expect.
32995 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32997 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32998 Use (void) in prototype.
32999 [POSIX] (*_t): Allow.
33000 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33001 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33002 (WRDE_BADVAL): Expect.
33004 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33006 [XPG3 || XPG4] (O_RSYNC): Likewise.
33007 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33009 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33010 [XPG3 || XPG4] (sigqueue): Likewise.
33011 [XPG3 || XPG4] (sigtimedwait): Likewise.
33012 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33013 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33014 [XPG3 || XPG4] (vsnprintf): Likewise.
33015 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33017 [XPG3 || XPG4] (blksize_t): Likewise.
33018 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33020 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33021 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33022 [XPG3 || XPG4] (struct itimerspec): Likewise.
33023 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33024 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33025 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33026 [XPG3 || XPG4] (clockid_t): Likewise.
33027 [XPG3 || XPG4] (timer_t): Likewise.
33028 [XPG3 || XPG4] (clock_getres): Likewise.
33029 [XPG3 || XPG4] (clock_gettime): Likewise.
33030 [XPG3 || XPG4] (clock_settime): Likewise.
33031 [XPG3 || XPG4] (nanosleep): Likewise.
33032 [XPG3 || XPG4] (timer_create): Likewise.
33033 [XPG3 || XPG4] (timer_delete): Likewise.
33034 [XPG3 || XPG4] (timer_gettime): Likewise.
33035 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33036 [XPG3 || XPG4] (timer_settime): Likewise.
33037 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33038 [XPG3 || XPG4] (getlogin_r): Likewise.
33039 [XPG3 || XPG4] (pread): Likewise.
33040 [XPG3 || XPG4] (pthread_atfork): Likewise.
33041 [XPG3 || XPG4] (pwrite): Likewise.
33044 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33047 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33049 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33050 finalizing MALLSTREAM.
33052 * sysdeps/mach/hurd/syncfs.c: New file.
33054 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33057 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33058 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33059 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33060 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33061 (_nss_dns_gethostbyname4_r): Likewise.
33062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33063 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33065 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33068 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33070 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33072 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33073 * elf/cache.c (print_entry): Print ",AArch64" for
33076 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33077 * elf/cache.c (print_entry): Print ",hard-float" for
33080 2012-11-18 David S. Miller <davem@davemloft.net>
33082 With help from Joseph Myers.
33083 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33085 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33087 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33088 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33090 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33091 * math/libm-test.inc (y0_test): New tests.
33092 (y1_test): New tests.
33093 * sysdeps/i386/fpu/libm-test-ulps: Update.
33094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33097 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33099 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33101 * configure: Regenerated.
33103 2012-11-17 David S. Miller <davem@davemloft.net>
33106 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33107 nonzero exponents with absolute value below 0x1p-128 to +/-
33110 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33112 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33114 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33116 * posix/getconf-speclist.c: New file.
33117 * posix/posix-envs.def: Likewise.
33118 * posix/confstr.c (START_ENV_GROUP): New macro.
33119 (END_ENV_GROUP): Likewise.
33120 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33121 (KNOWN_PRESENT_ENV_STRING): Likewise.
33122 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33123 (UNKNOWN_ENVIRONMENT): Likewise.
33124 (confstr): Include posix-envs.def instead of handling
33125 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33126 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33127 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33128 (END_ENV_GROUP): Likewise.
33129 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33130 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33131 (UNKNOWN_ENVIRONMENT): Likewise.
33132 (__sysconf): Include posix-envs.def instead of handling associated
33133 cases directly here.
33134 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33135 preprocessing getconf-speclist.c rather than running getconf or
33136 generating empty file.
33138 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33140 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33142 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33145 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33147 2012-11-16 David S. Miller <davem@davemloft.net>
33149 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33150 smaller than LDBL_EPSILON/2.0L, just return xm1.
33152 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33154 * elf/tst-array1.c (init): Set constructor priority to 1000.
33155 (fini): Set destructor priority to 1000.
33156 * elf/tst-array2dep.c: Likewise.
33158 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33161 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33162 (_IO_new_file_xsputn): Also return EOF if none of the input
33163 data was written when overflow failed.
33164 * libio/iopadn.c (_IO_padn): Likewise.
33165 * libio/iowpadn.c (_IO_wpadn): Likewise.
33166 * stdio-common/tst-put-error.c: Add copyright notice.
33167 (do_test): Add case for printing padded string.
33168 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33169 _IO_padn returned error.
33170 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33171 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33174 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33176 * libio/libioP.h: Add comment note that the references to C++
33177 bits are now obsolete.
33179 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33181 * math/libm-test.inc (check_complex): Use asprintf.
33183 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33185 * debug/pcprofiledump.c (print_version): Update copyright year.
33186 * malloc/memusagestat.c (print_version): Likewise.
33188 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33191 * elf/Makefile (tests): Add tst-audit8.
33192 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33193 ($(objpfx)tst-audit8.out): New target.
33194 (tst-audit8-ENV): New variable.
33195 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33196 audit if l_reloc_result is NULL.
33197 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33198 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33199 * elf/tst-audit8.c: New file.
33201 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33203 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33204 * misc/Makefile (CFLAGS-select.c): Define.
33205 * posix/Makefile (CFLAGS-pause.c): Define.
33207 2012-11-13 David S. Miller <davem@davemloft.net>
33209 * crypt/Makefile: Move test targets after toplevel Rules
33210 inclusion. Grab any necessary sysdep routines when linking.
33211 * crypt/md5.c (md5_process_block): Remove define, we will always
33212 name it __md5_process_block.
33213 (md5_finish_ctx): Update md5_process_block call.
33214 (md5_stream): Likewise.
33215 (md5_process_bytes): Likewise.
33216 (md5_process_block): Rename to __md5_process_block and move to ...
33217 * crypt/md5-block.c: ... here.
33218 * crypt/sha256.c (sha256_process_block): Move to ...
33219 * crypt/sha256-block.c: ... here.
33220 * crypt/sha512.c (sha512_process_block): Move to ...
33221 * crypt/sha512-block.c: ... here.
33222 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33224 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33225 * sysdeps/sparc/sparc64/multiarch/Makefile
33226 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33228 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33229 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33231 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33232 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33233 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33234 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33235 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33236 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33237 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33238 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33239 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33241 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33242 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33244 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33246 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33248 * timezone/tzselect.ksh: Update from tzcode git revision
33249 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33250 * timezone/zdump.c: Likewise.
33251 * timezone/zic.c: Likewise.
33252 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33253 in TZVERSION setting, not $(PKGVERSION).
33254 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33255 REPORT_BUGS_TO settings.
33258 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33261 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33263 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33264 detection to immediately after _FP_ROUND().
33265 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33268 2012-11-11 David S. Miller <davem@davemloft.net>
33270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33272 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33273 __close rather than their public counterparts.
33275 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33277 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33279 [UNIX98] (sem_timedwait): Do not expect.
33280 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33281 [XPG4 || UNIX98] (sockatmark): Do not expect.
33282 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33283 (clock_getcpuclockid): Do not expect.
33284 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33285 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33287 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33288 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33289 [UNIX98] (vwscanf): Likewise.
33290 [UNIX98] (vswscanf): Likewise.
33292 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33294 * timezone/version.h: Remove file.
33295 * timezone/README: Do not refer to version.h.
33296 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33297 $(objpfx)version.h.
33298 ($(objpfx)zdump.o): Likewise.
33299 ($(objpfx)version.h): New target.
33301 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33303 * timezone/README: Don't mention modification to tzselect.ksh.
33304 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33305 work on unmodified tzselect.ksh. Substitute version numbers in
33308 * Makefile (format-me): Remove.
33309 (INSTALL): Adjust indentation. Use commands directly instead of
33310 using $(format-me).
33312 * aclocal.m4 (ACX_PKGVERSION): New macro.
33313 (ACX_BUGURL): Likewise.
33314 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33315 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33316 (REPORT_BUGS_TO): Likewise.
33317 * configure: Regenerated.
33318 * config.h.in (PKGVERSION): New macro.
33319 (REPORT_BUGS_TO): Likewise.
33320 * config.make.in (PKGVERSION): New variable.
33321 (PKGVERSION_TEXI): Likewise.
33322 (REPORT_BUGS_TO): Likewise.
33323 (REPORT_BUGS_TEXI): Likewise.
33324 * Makefile (format-me): Use -I$(common-objpfx)manual.
33325 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33326 ($(common-objpfx)manual/%): New target.
33327 (manual/%): Remove target.
33328 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33329 (print_version): Use PKGVERSION.
33330 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33331 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33332 and REPORT_BUGS_TO.
33333 ($(objpfx)xtrace): Likewise.
33334 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33335 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33336 (print_version): Use PKGVERSION.
33337 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33338 (do_version): Use PKGVERSION.
33339 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33341 (common-ldd-rewrite): Likewise.
33342 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33343 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33344 (print_version): Use PKGVERSION.
33345 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33346 * elf/pldd.c (argp_program_bug_address): Remove variable.
33347 (more_help): New function.
33348 (argp): Use more_help.
33349 (print_version): Use PKGVERSION.
33350 * elf/sln.c (main): Use PKGVERSION.
33351 (usage): Use REPORT_BUGS_TO.
33352 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33353 (top level): Use PKGVERSION.
33354 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33355 (print_version): Use PKGVERSION.
33356 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33357 (print_version): Use PKGVERSION.
33358 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33359 (print_version): Use PKGVERSION.
33360 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33361 (print_version): Use PKGVERSION.
33362 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33363 (print_version): Use PKGVERSION.
33364 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33365 (print_version): Use PKGVERSION.
33366 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33368 ($(objpfx)memusage): Likewise.
33369 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33370 (do_version): Use PKGVERSION.
33371 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33372 (print_version): Use PKGVERSION.
33373 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33374 ($PKGVERSION): New variable.
33375 ($REPORT_BUGS_TO): Likewise.
33376 (usage): Use $REPORT_BUGS_TO.
33377 (top level): Use $PKGVERSION.
33378 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33379 ($(objpfx)pkgvers.texi): New rule.
33380 ($(objpfx)stamp-pkgvers): Likewise.
33381 * manual/install.texi: Include pkgvers.texi.
33382 (--with-pkgversion): Document new configure option.
33383 (--with-bugurl): Likewise.
33384 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33385 than necessarily for this particular distribution. Use
33386 REPORT_BUGS_TO for where to report bugs.
33387 * INSTALL: Regenerated.
33388 * manual/libc.texinfo: Include pkgvers.texi.
33389 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33390 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33391 (print_version): Use PKGVERSION.
33392 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33393 (print_version): Use PKGVERSION.
33394 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33395 (print_version): Use PKGVERSION.
33396 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33397 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33399 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33400 (print_version): Use PKGVERSION.
33401 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33402 (print_version): Use PKGVERSION.
33403 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33406 * timezone/checktab.awk: Update from tzcode 2012i.
33407 * timezone/ialloc.c: Likewise.
33408 * timezone/private.h: Likewise.
33409 * timezone/scheck.c: Likewise.
33410 * timezone/tzfile.h: Likewise.
33411 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33412 (TZVERSION): Hardcode tzcode version number.
33413 * timezone/zdump.c: Update from tzcode 2012i.
33414 * timezone/zic.c: Likewise.
33415 * timezone/version.h: New file.
33416 * timezone/README: Describe version.h. Update upstream location.
33419 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33420 (mktemp): Enable declaration.
33421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33423 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33438 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33439 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33440 for copies of such integer values.
33441 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33442 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33444 2012-11-09 Andreas Jaeger <aj@suse.de>
33446 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33447 definitions and declarations that are provided by
33448 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33450 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33452 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33453 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33454 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33457 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33459 * elf/elf.h: Update comment before AArch64 relocations.
33461 2012-11-07 David S. Miller <davem@davemloft.net>
33463 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33464 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33465 (__start_context): Declare.
33466 (__makecontext_ret): Delete.
33467 (__makecontext): Hook up __start_context instead of
33469 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33470 (sysdep_routines): Add __start_context when in stdlib.
33472 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33474 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33475 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33476 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33478 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33479 (READELF): New variable. Use it instead of hardcoded "readelf".
33481 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33483 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33484 * sysdeps/x86/Makefile: Here.
33485 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33486 * sysdeps/x86/tst-xmmymm.sh: This.
33488 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33490 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33492 [UNIX98] (pthread_barrier_t): Do not expect.
33493 [UNIX98] (pthread_barrierattr_t): Likewise.
33494 [UNIX98] (pthread_spinlock_t): Likewise.
33495 [UNIX98] (pthread_barrier_destroy): Likewise.
33496 [UNIX98] (pthread_barrier_init): Likewise.
33497 [UNIX98] (pthread_barrier_wait): Likewise.
33498 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33499 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33500 [UNIX98] (pthread_barrierattr_init): Likewise.
33501 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33502 [UNIX98] (pthread_getcpuclockid): Likewise.
33503 [UNIX98] (pthread_mutex_timedlock): Likewise.
33504 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33505 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33506 [UNIX98] (pthread_sigmask): Likewise.
33507 [UNIX98] (pthread_spin_destroy): Likewise.
33508 [UNIX98] (pthread_spin_init): Likewise.
33509 [UNIX98] (pthread_spin_lock): Likewise.
33510 [UNIX98] (pthread_spin_trylock): Likewise.
33511 [UNIX98] (pthread_spin_unlock): Likewise.
33512 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33514 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33515 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33516 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33517 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33518 [XPG3 || XPG4] (pthread_key_t): Likewise.
33519 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33520 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33521 [XPG3 || XPG4] (pthread_once_t): Likewise.
33522 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33523 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33524 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33525 [XPG3 || XPG4] (pthread_t): Likewise.
33527 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33529 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33531 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33532 Change function return type to int.
33534 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33535 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33536 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33537 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33538 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33539 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33540 [!POSIX] (posix_madvise): Likewise.
33541 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33543 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33544 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33545 (mode_t): Likewise.
33546 (posix_mem_offset): Likewise.
33547 (posix_typed_mem_get_info): Likewise.
33548 (posix_typed_mem_open): Likewise.
33550 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33551 Change condition to [XOPEN2K8].
33553 * conform/conformtest.pl: Preprocess allow-header data with -x c
33554 instead of from stdin.
33555 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33556 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33557 [C99-based standards] (cerfc): Likewise.
33558 [C99-based standards] (cexp2): Likewise.
33559 [C99-based standards] (cexpm1): Likewise.
33560 [C99-based standards] (clog10): Likewise.
33561 [C99-based standards] (clog1p): Likewise.
33562 [C99-based standards] (clog2): Likewise.
33563 [C99-based standards] (clgamma): Likewise.
33564 [C99-based standards] (ctgamma): Likewise.
33565 [C99-based standards] (cerff): Likewise.
33566 [C99-based standards] (cerfcf): Likewise.
33567 [C99-based standards] (cexp2f): Likewise.
33568 [C99-based standards] (cexpm1f): Likewise.
33569 [C99-based standards] (clog10f): Likewise.
33570 [C99-based standards] (clog1pf): Likewise.
33571 [C99-based standards] (clog2f): Likewise.
33572 [C99-based standards] (clgammaf): Likewise.
33573 [C99-based standards] (ctgammaf): Likewise.
33574 [C99-based standards] (cerfl): Likewise.
33575 [C99-based standards] (cerfcl): Likewise.
33576 [C99-based standards] (cexp2l): Likewise.
33577 [C99-based standards] (cexpm1l): Likewise.
33578 [C99-based standards] (clog10l): Likewise.
33579 [C99-based standards] (clog1pl): Likewise.
33580 [C99-based standards] (clog2l): Likewise.
33581 [C99-based standards] (clgammal): Likewise.
33582 [C99-based standards] (ctgammal): Likewise.
33583 * conform/data/inttypes.h-data [C99-based standards]: Include
33584 stdint.h-data. Remove all expectations for stdint.h contents.
33585 [C99-based standards] (PRI*): Do not allow.
33586 [C99-based standards] (SCN*): Likewise.
33587 [C99-based standards] (*_t): Likewise.
33588 [C99-based-standards] (PRId8): Expect macro.
33589 [C99-based-standards] (PRIi8): Likewise.
33590 [C99-based-standards] (PRIo8): Likewise.
33591 [C99-based-standards] (PRIu8): Likewise.
33592 [C99-based-standards] (PRIx8): Likewise.
33593 [C99-based-standards] (PRIX8): Likewise.
33594 [C99-based-standards] (SCNd8): Likewise.
33595 [C99-based-standards] (SCNi8): Likewise.
33596 [C99-based-standards] (SCNo8): Likewise.
33597 [C99-based-standards] (SCNu8): Likewise.
33598 [C99-based-standards] (SCNx8): Likewise.
33599 [C99-based-standards] (PRIdLEAST8): Likewise.
33600 [C99-based-standards] (PRIiLEAST8): Likewise.
33601 [C99-based-standards] (PRIoLEAST8): Likewise.
33602 [C99-based-standards] (PRIuLEAST8): Likewise.
33603 [C99-based-standards] (PRIxLEAST8): Likewise.
33604 [C99-based-standards] (PRIXLEAST8): Likewise.
33605 [C99-based-standards] (SCNdLEAST8): Likewise.
33606 [C99-based-standards] (SCNiLEAST8): Likewise.
33607 [C99-based-standards] (SCNoLEAST8): Likewise.
33608 [C99-based-standards] (SCNuLEAST8): Likewise.
33609 [C99-based-standards] (SCNxLEAST8): Likewise.
33610 [C99-based-standards] (PRIdFAST8): Likewise.
33611 [C99-based-standards] (PRIiFAST8): Likewise.
33612 [C99-based-standards] (PRIoFAST8): Likewise.
33613 [C99-based-standards] (PRIuFAST8): Likewise.
33614 [C99-based-standards] (PRIxFAST8): Likewise.
33615 [C99-based-standards] (PRIXFAST8): Likewise.
33616 [C99-based-standards] (SCNdFAST8): Likewise.
33617 [C99-based-standards] (SCNiFAST8): Likewise.
33618 [C99-based-standards] (SCNoFAST8): Likewise.
33619 [C99-based-standards] (SCNuFAST8): Likewise.
33620 [C99-based-standards] (SCNxFAST8): Likewise.
33621 [C99-based-standards] (PRId16): Likewise.
33622 [C99-based-standards] (PRIi16): Likewise.
33623 [C99-based-standards] (PRIo16): Likewise.
33624 [C99-based-standards] (PRIu16): Likewise.
33625 [C99-based-standards] (PRIx16): Likewise.
33626 [C99-based-standards] (PRIX16): Likewise.
33627 [C99-based-standards] (SCNd16): Likewise.
33628 [C99-based-standards] (SCNi16): Likewise.
33629 [C99-based-standards] (SCNo16): Likewise.
33630 [C99-based-standards] (SCNu16): Likewise.
33631 [C99-based-standards] (SCNx16): Likewise.
33632 [C99-based-standards] (PRIdLEAST16): Likewise.
33633 [C99-based-standards] (PRIiLEAST16): Likewise.
33634 [C99-based-standards] (PRIoLEAST16): Likewise.
33635 [C99-based-standards] (PRIuLEAST16): Likewise.
33636 [C99-based-standards] (PRIxLEAST16): Likewise.
33637 [C99-based-standards] (PRIXLEAST16): Likewise.
33638 [C99-based-standards] (SCNdLEAST16): Likewise.
33639 [C99-based-standards] (SCNiLEAST16): Likewise.
33640 [C99-based-standards] (SCNoLEAST16): Likewise.
33641 [C99-based-standards] (SCNuLEAST16): Likewise.
33642 [C99-based-standards] (SCNxLEAST16): Likewise.
33643 [C99-based-standards] (PRIdFAST16): Likewise.
33644 [C99-based-standards] (PRIiFAST16): Likewise.
33645 [C99-based-standards] (PRIoFAST16): Likewise.
33646 [C99-based-standards] (PRIuFAST16): Likewise.
33647 [C99-based-standards] (PRIxFAST16): Likewise.
33648 [C99-based-standards] (PRIXFAST16): Likewise.
33649 [C99-based-standards] (SCNdFAST16): Likewise.
33650 [C99-based-standards] (SCNiFAST16): Likewise.
33651 [C99-based-standards] (SCNoFAST16): Likewise.
33652 [C99-based-standards] (SCNuFAST16): Likewise.
33653 [C99-based-standards] (SCNxFAST16): Likewise.
33654 [C99-based-standards] (PRId32): Likewise.
33655 [C99-based-standards] (PRIi32): Likewise.
33656 [C99-based-standards] (PRIo32): Likewise.
33657 [C99-based-standards] (PRIu32): Likewise.
33658 [C99-based-standards] (PRIx32): Likewise.
33659 [C99-based-standards] (PRIX32): Likewise.
33660 [C99-based-standards] (SCNd32): Likewise.
33661 [C99-based-standards] (SCNi32): Likewise.
33662 [C99-based-standards] (SCNo32): Likewise.
33663 [C99-based-standards] (SCNu32): Likewise.
33664 [C99-based-standards] (SCNx32): Likewise.
33665 [C99-based-standards] (PRIdLEAST32): Likewise.
33666 [C99-based-standards] (PRIiLEAST32): Likewise.
33667 [C99-based-standards] (PRIoLEAST32): Likewise.
33668 [C99-based-standards] (PRIuLEAST32): Likewise.
33669 [C99-based-standards] (PRIxLEAST32): Likewise.
33670 [C99-based-standards] (PRIXLEAST32): Likewise.
33671 [C99-based-standards] (SCNdLEAST32): Likewise.
33672 [C99-based-standards] (SCNiLEAST32): Likewise.
33673 [C99-based-standards] (SCNoLEAST32): Likewise.
33674 [C99-based-standards] (SCNuLEAST32): Likewise.
33675 [C99-based-standards] (SCNxLEAST32): Likewise.
33676 [C99-based-standards] (PRIdFAST32): Likewise.
33677 [C99-based-standards] (PRIiFAST32): Likewise.
33678 [C99-based-standards] (PRIoFAST32): Likewise.
33679 [C99-based-standards] (PRIuFAST32): Likewise.
33680 [C99-based-standards] (PRIxFAST32): Likewise.
33681 [C99-based-standards] (PRIXFAST32): Likewise.
33682 [C99-based-standards] (SCNdFAST32): Likewise.
33683 [C99-based-standards] (SCNiFAST32): Likewise.
33684 [C99-based-standards] (SCNoFAST32): Likewise.
33685 [C99-based-standards] (SCNuFAST32): Likewise.
33686 [C99-based-standards] (SCNxFAST32): Likewise.
33687 [C99-based-standards] (PRId64): Likewise.
33688 [C99-based-standards] (PRIi64): Likewise.
33689 [C99-based-standards] (PRIo64): Likewise.
33690 [C99-based-standards] (PRIu64): Likewise.
33691 [C99-based-standards] (PRIx64): Likewise.
33692 [C99-based-standards] (PRIX64): Likewise.
33693 [C99-based-standards] (SCNd64): Likewise.
33694 [C99-based-standards] (SCNi64): Likewise.
33695 [C99-based-standards] (SCNo64): Likewise.
33696 [C99-based-standards] (SCNu64): Likewise.
33697 [C99-based-standards] (SCNx64): Likewise.
33698 [C99-based-standards] (PRIdLEAST64): Likewise.
33699 [C99-based-standards] (PRIiLEAST64): Likewise.
33700 [C99-based-standards] (PRIoLEAST64): Likewise.
33701 [C99-based-standards] (PRIuLEAST64): Likewise.
33702 [C99-based-standards] (PRIxLEAST64): Likewise.
33703 [C99-based-standards] (PRIXLEAST64): Likewise.
33704 [C99-based-standards] (SCNdLEAST64): Likewise.
33705 [C99-based-standards] (SCNiLEAST64): Likewise.
33706 [C99-based-standards] (SCNoLEAST64): Likewise.
33707 [C99-based-standards] (SCNuLEAST64): Likewise.
33708 [C99-based-standards] (SCNxLEAST64): Likewise.
33709 [C99-based-standards] (PRIdFAST64): Likewise.
33710 [C99-based-standards] (PRIiFAST64): Likewise.
33711 [C99-based-standards] (PRIoFAST64): Likewise.
33712 [C99-based-standards] (PRIuFAST64): Likewise.
33713 [C99-based-standards] (PRIxFAST64): Likewise.
33714 [C99-based-standards] (PRIXFAST64): Likewise.
33715 [C99-based-standards] (SCNdFAST64): Likewise.
33716 [C99-based-standards] (SCNiFAST64): Likewise.
33717 [C99-based-standards] (SCNoFAST64): Likewise.
33718 [C99-based-standards] (SCNuFAST64): Likewise.
33719 [C99-based-standards] (SCNxFAST64): Likewise.
33720 [C99-based-standards] (PRIdMAX): Likewise.
33721 [C99-based-standards] (PRIiMAX): Likewise.
33722 [C99-based-standards] (PRIoMAX): Likewise.
33723 [C99-based-standards] (PRIuMAX): Likewise.
33724 [C99-based-standards] (PRIxMAX): Likewise.
33725 [C99-based-standards] (PRIXMAX): Likewise.
33726 [C99-based-standards] (SCNdMAX): Likewise.
33727 [C99-based-standards] (SCNiMAX): Likewise.
33728 [C99-based-standards] (SCNoMAX): Likewise.
33729 [C99-based-standards] (SCNuMAX): Likewise.
33730 [C99-based-standards] (SCNxMAX): Likewise.
33731 [C99-based-standards] (PRIdPTR): Likewise.
33732 [C99-based-standards] (PRIiPTR): Likewise.
33733 [C99-based-standards] (PRIoPTR): Likewise.
33734 [C99-based-standards] (PRIuPTR): Likewise.
33735 [C99-based-standards] (PRIxPTR): Likewise.
33736 [C99-based-standards] (PRIXPTR): Likewise.
33737 [C99-based-standards] (SCNdPTR): Likewise.
33738 [C99-based-standards] (SCNiPTR): Likewise.
33739 [C99-based-standards] (SCNoPTR): Likewise.
33740 [C99-based-standards] (SCNuPTR): Likewise.
33741 [C99-based-standards] (SCNxPTR): Likewise.
33742 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33744 * conform/data/stdint.h-data: Update comments to clarify
33746 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33748 [C99-based standards] (INT8_MAX): Likewise.
33749 [C99-based standards] (INT16_MIN): Likewise.
33750 [C99-based standards] (INT16_MAX): Likewise.
33751 [C99-based standards] (INT32_MIN): Likewise.
33752 [C99-based standards] (INT32_MAX): Likewise.
33753 [C99-based standards] (INT64_MIN): Likewise.
33754 [C99-based standards] (INT64_MAX): Likewise.
33755 [C99-based standards] (UINT8_MAX): Likewise.
33756 [C99-based standards] (UINT16_MAX): Likewise.
33757 [C99-based standards] (UINT32_MAX): Likewise.
33758 [C99-based standards] (UINT64_MAX): Likewise.
33759 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33760 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33761 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33762 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33763 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33764 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33765 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33766 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33767 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33768 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33769 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33770 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33771 [C99-based standards] (INT_FAST8_MIN): Likewise.
33772 [C99-based standards] (INT_FAST8_MAX): Likewise.
33773 [C99-based standards] (INT_FAST16_MIN): Likewise.
33774 [C99-based standards] (INT_FAST16_MAX): Likewise.
33775 [C99-based standards] (INT_FAST32_MIN): Likewise.
33776 [C99-based standards] (INT_FAST32_MAX): Likewise.
33777 [C99-based standards] (INT_FAST64_MIN): Likewise.
33778 [C99-based standards] (INT_FAST64_MAX): Likewise.
33779 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33780 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33781 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33782 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33783 [C99-based standards] (INTPTR_MIN): Likewise.
33784 [C99-based standards] (INTPTR_MAX): Likewise.
33785 [C99-based standards] (UINTPTR_MAX): Likewise.
33786 [C99-based standards] (INTMAX_MIN): Likewise.
33787 [C99-based standards] (INTMAX_MAX): Likewise.
33788 [C99-based standards] (UINTMAX_MAX): Likewise.
33789 [C99-based standards] (PTRDIFF_MIN): Likewise.
33790 [C99-based standards] (PTRDIFF_MAX): Likewise.
33791 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33792 [C99-based standards] (SIZE_MAX): Likewise.
33793 [C99-based standards] (WCHAR_MAX): Likewise.
33794 [C99-based standards] (WINT_MAX): Likewise.
33795 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33796 constraint on value.
33797 [C99-based standards] (WCHAR_MIN): Likewise.
33798 [C99-based standards] (WINT_MIN): Likewise.
33799 [C99-based standards] (*_t): Allow.
33800 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33801 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33802 Include math.h-data and complex.h-data. Remove all expectations
33803 of math.h and complex.h contents.
33804 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33806 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33807 (struct tm): Expect tag.
33808 [C99-based-standards] (wcstof): Expect function.
33809 [C99-based-standards] (wcstold): Likewise.
33810 [C99-based-standards] (wcstoll): Likewise.
33811 [C99-based-standards] (wcstoull): Likewise.
33812 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33813 macro-int-constant. Specify type.
33814 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33815 constraint on value.
33816 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33818 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33820 [ISO C standards]: Do not allow headers.
33821 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33822 wcs[abcdefghijklmnopqrstuvwxyz]*.
33823 [ISO C standards] (*_t): Do not allow.
33824 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33826 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33827 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33829 [ISO C standards]: Do not allow headers.
33830 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33831 is[abcdefghijklmnopqrstuvwxyz]*.
33832 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33833 to[abcdefghijklmnopqrstuvwxyz]*.
33834 [ISO C standards] (*_t): Do not allow.
33835 * conform/data/stdalign.h-data: New file.
33836 * conform/data/stdbool.h-data: Likewise.
33837 * conform/data/stdnoreturn.h-data: Likewise.
33839 2012-11-07 Roland McGrath <roland@hack.frob.com>
33842 * manual/filesys.texi (Directory Entries): Typo fix.
33843 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33845 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33847 * elf/elf.h (EM_AARCH64): New macro.
33848 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33849 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33850 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33851 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33852 (R_AARCH64_TLSDESC): Likewise.
33853 (NT_ARM_TLS): Likewise.
33854 (NT_ARM_HW_BREAK): Likewise.
33855 (NT_ARM_HW_WATCH): Likewise.
33857 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33860 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33861 (__ieee754_powl): Saturate nonzero exponents with absolute value
33862 below 0x1p-79 to +/- 0x1p-79.
33863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33864 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33865 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33866 nonzero exponents with absolute value below 0x1p-32 to +/-
33868 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33869 (__ieee754_powl): Saturate nonzero exponents with absolute value
33870 below 0x1p-79 to +/- 0x1p-79.
33871 * math/libm-test.inc (pow_test): Add more tests.
33873 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33875 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33876 _dl_s390_cap_flags with kernel. Increase string length.
33877 (_dl_s390_platforms): Add z196 and zEC12.
33879 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33881 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33882 Change XOPEN21K to XOPEN2K.
33884 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33886 * string/memmove.c: Use memcpy when possible.
33888 2012-11-06 Andreas Jaeger <aj@suse.de>
33890 * po/eo.po: Update from translation team.
33892 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33896 exponent and small x and y exponents, scale x or y up. Increase
33897 by 2 the exponent used in scaling up.
33898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33899 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33900 * math/libm-test.inc (fma_test): Add more tests.
33901 (fma_test_towardzero): Likewise.
33902 (fma_test_downward): Likewise.
33903 (fma_test_upward): Likewise.
33905 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33908 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33912 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33913 namespace for names of struct fields.
33914 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33916 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33917 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33919 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33922 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33924 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33926 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33930 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33933 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33936 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33937 definitely overflow as x * y not x * y + z.
33938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33940 * math/libm-test.inc (fma_test): Add more tests.
33941 (fma_test_towardzero): Likewise.
33942 (fma_test_downward): Likewise.
33943 (fma_test_upward): Likewise.
33945 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33949 * include/stub-tag.h: Remove file.
33950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33952 * manual/maint.texi (Porting): Don't reference it.
33953 * Makerules ($(objpfx)stubs): Likewise.
33954 * dirent/closedir.c: Don't include <stub-tag.h>.
33955 * dirent/dirfd.c: Likewise.
33956 * dirent/fdopendir.c: Likewise.
33957 * dirent/getdents.c: Likewise.
33958 * dirent/getdents64.c: Likewise.
33959 * dirent/opendir.c: Likewise.
33960 * dirent/readdir.c: Likewise.
33961 * dirent/readdir64.c: Likewise.
33962 * dirent/readdir64_r.c: Likewise.
33963 * dirent/readdir_r.c: Likewise.
33964 * dirent/rewinddir.c: Likewise.
33965 * dirent/seekdir.c: Likewise.
33966 * dirent/telldir.c: Likewise.
33967 * gmon/profil.c: Likewise.
33968 * grp/setgroups.c: Likewise.
33969 * inet/if_index.c: Likewise.
33970 * io/access.c: Likewise.
33971 * io/chdir.c: Likewise.
33972 * io/chmod.c: Likewise.
33973 * io/chown.c: Likewise.
33974 * io/close.c: Likewise.
33975 * io/dup.c: Likewise.
33976 * io/dup2.c: Likewise.
33977 * io/dup3.c: Likewise.
33978 * io/euidaccess.c: Likewise.
33979 * io/faccessat.c: Likewise.
33980 * io/fchdir.c: Likewise.
33981 * io/fchmod.c: Likewise.
33982 * io/fchmodat.c: Likewise.
33983 * io/fchown.c: Likewise.
33984 * io/fchownat.c: Likewise.
33985 * io/fcntl.c: Likewise.
33986 * io/flock.c: Likewise.
33987 * io/fstatfs.c: Likewise.
33988 * io/fstatfs64.c: Likewise.
33989 * io/fstatvfs.c: Likewise.
33990 * io/fstatvfs64.c: Likewise.
33991 * io/futimens.c: Likewise.
33992 * io/fxstat.c: Likewise.
33993 * io/fxstat64.c: Likewise.
33994 * io/fxstatat.c: Likewise.
33995 * io/fxstatat64.c: Likewise.
33996 * io/getcwd.c: Likewise.
33997 * io/isatty.c: Likewise.
33998 * io/lchmod.c: Likewise.
33999 * io/lchown.c: Likewise.
34000 * io/link.c: Likewise.
34001 * io/linkat.c: Likewise.
34002 * io/lseek.c: Likewise.
34003 * io/lseek64.c: Likewise.
34004 * io/lxstat64.c: Likewise.
34005 * io/mkdir.c: Likewise.
34006 * io/mkdirat.c: Likewise.
34007 * io/mkfifo.c: Likewise.
34008 * io/mkfifoat.c: Likewise.
34009 * io/open.c: Likewise.
34010 * io/open64.c: Likewise.
34011 * io/openat.c: Likewise.
34012 * io/openat64.c: Likewise.
34013 * io/pipe.c: Likewise.
34014 * io/pipe2.c: Likewise.
34015 * io/poll.c: Likewise.
34016 * io/posix_fadvise.c: Likewise.
34017 * io/posix_fadvise64.c: Likewise.
34018 * io/posix_fallocate.c: Likewise.
34019 * io/posix_fallocate64.c: Likewise.
34020 * io/read.c: Likewise.
34021 * io/readlink.c: Likewise.
34022 * io/readlinkat.c: Likewise.
34023 * io/rmdir.c: Likewise.
34024 * io/sendfile.c: Likewise.
34025 * io/sendfile64.c: Likewise.
34026 * io/statfs.c: Likewise.
34027 * io/statfs64.c: Likewise.
34028 * io/statvfs.c: Likewise.
34029 * io/statvfs64.c: Likewise.
34030 * io/symlink.c: Likewise.
34031 * io/symlinkat.c: Likewise.
34032 * io/ttyname.c: Likewise.
34033 * io/ttyname_r.c: Likewise.
34034 * io/umask.c: Likewise.
34035 * io/unlink.c: Likewise.
34036 * io/unlinkat.c: Likewise.
34037 * io/utime.c: Likewise.
34038 * io/utimensat.c: Likewise.
34039 * io/write.c: Likewise.
34040 * io/xmknod.c: Likewise.
34041 * io/xmknodat.c: Likewise.
34042 * io/xstat.c: Likewise.
34043 * io/xstat64.c: Likewise.
34044 * login/getpt.c: Likewise.
34045 * login/grantpt.c: Likewise.
34046 * login/unlockpt.c: Likewise.
34047 * math/e_acoshl.c: Likewise.
34048 * math/e_acosl.c: Likewise.
34049 * math/e_asinl.c: Likewise.
34050 * math/e_atan2l.c: Likewise.
34051 * math/e_atanhl.c: Likewise.
34052 * math/e_coshl.c: Likewise.
34053 * math/e_expl.c: Likewise.
34054 * math/e_fmodl.c: Likewise.
34055 * math/e_gammal_r.c: Likewise.
34056 * math/e_hypotl.c: Likewise.
34057 * math/e_j0l.c: Likewise.
34058 * math/e_j1l.c: Likewise.
34059 * math/e_jnl.c: Likewise.
34060 * math/e_lgammal_r.c: Likewise.
34061 * math/e_log10l.c: Likewise.
34062 * math/e_log2l.c: Likewise.
34063 * math/e_logl.c: Likewise.
34064 * math/e_powl.c: Likewise.
34065 * math/e_rem_pio2l.c: Likewise.
34066 * math/e_sinhl.c: Likewise.
34067 * math/e_sqrtl.c: Likewise.
34068 * math/fclrexcpt.c: Likewise.
34069 * math/fedisblxcpt.c: Likewise.
34070 * math/feenablxcpt.c: Likewise.
34071 * math/fegetenv.c: Likewise.
34072 * math/fegetexcept.c: Likewise.
34073 * math/fegetround.c: Likewise.
34074 * math/feholdexcpt.c: Likewise.
34075 * math/fesetenv.c: Likewise.
34076 * math/fesetround.c: Likewise.
34077 * math/feupdateenv.c: Likewise.
34078 * math/fgetexcptflg.c: Likewise.
34079 * math/fraiseexcpt.c: Likewise.
34080 * math/fsetexcptflg.c: Likewise.
34081 * math/ftestexcept.c: Likewise.
34082 * math/k_cosl.c: Likewise.
34083 * math/k_rem_pio2l.c: Likewise.
34084 * math/k_sinl.c: Likewise.
34085 * math/k_tanl.c: Likewise.
34086 * math/s_asinhl.c: Likewise.
34087 * math/s_atanl.c: Likewise.
34088 * math/s_cbrtl.c: Likewise.
34089 * math/s_erfl.c: Likewise.
34090 * math/s_expm1l.c: Likewise.
34091 * math/s_log1pl.c: Likewise.
34092 * math/s_tanhl.c: Likewise.
34093 * misc/acct.c: Likewise.
34094 * misc/brk.c: Likewise.
34095 * misc/chflags.c: Likewise.
34096 * misc/chroot.c: Likewise.
34097 * misc/fchflags.c: Likewise.
34098 * misc/fgetxattr.c: Likewise.
34099 * misc/flistxattr.c: Likewise.
34100 * misc/fremovexattr.c: Likewise.
34101 * misc/fsetxattr.c: Likewise.
34102 * misc/fsync.c: Likewise.
34103 * misc/ftruncate.c: Likewise.
34104 * misc/futimes.c: Likewise.
34105 * misc/futimesat.c: Likewise.
34106 * misc/getdomain.c: Likewise.
34107 * misc/getdtsz.c: Likewise.
34108 * misc/gethostid.c: Likewise.
34109 * misc/gethostname.c: Likewise.
34110 * misc/getloadavg.c: Likewise.
34111 * misc/getpagesize.c: Likewise.
34112 * misc/getsysstats.c: Likewise.
34113 * misc/getxattr.c: Likewise.
34114 * misc/gtty.c: Likewise.
34115 * misc/ioctl.c: Likewise.
34116 * misc/lgetxattr.c: Likewise.
34117 * misc/listxattr.c: Likewise.
34118 * misc/llistxattr.c: Likewise.
34119 * misc/lremovexattr.c: Likewise.
34120 * misc/lsetxattr.c: Likewise.
34121 * misc/lutimes.c: Likewise.
34122 * misc/madvise.c: Likewise.
34123 * misc/mincore.c: Likewise.
34124 * misc/mlock.c: Likewise.
34125 * misc/mlockall.c: Likewise.
34126 * misc/mmap.c: Likewise.
34127 * misc/mprotect.c: Likewise.
34128 * misc/msync.c: Likewise.
34129 * misc/munlock.c: Likewise.
34130 * misc/munlockall.c: Likewise.
34131 * misc/munmap.c: Likewise.
34132 * misc/preadv.c: Likewise.
34133 * misc/preadv64.c: Likewise.
34134 * misc/ptrace.c: Likewise.
34135 * misc/pwritev.c: Likewise.
34136 * misc/pwritev64.c: Likewise.
34137 * misc/readv.c: Likewise.
34138 * misc/reboot.c: Likewise.
34139 * misc/remap_file_pages.c: Likewise.
34140 * misc/removexattr.c: Likewise.
34141 * misc/revoke.c: Likewise.
34142 * misc/select.c: Likewise.
34143 * misc/setdomain.c: Likewise.
34144 * misc/setegid.c: Likewise.
34145 * misc/seteuid.c: Likewise.
34146 * misc/sethostid.c: Likewise.
34147 * misc/sethostname.c: Likewise.
34148 * misc/setregid.c: Likewise.
34149 * misc/setreuid.c: Likewise.
34150 * misc/setxattr.c: Likewise.
34151 * misc/sstk.c: Likewise.
34152 * misc/stty.c: Likewise.
34153 * misc/swapoff.c: Likewise.
34154 * misc/swapon.c: Likewise.
34155 * misc/sync.c: Likewise.
34156 * misc/syncfs.c: Likewise.
34157 * misc/syscall.c: Likewise.
34158 * misc/truncate.c: Likewise.
34159 * misc/ualarm.c: Likewise.
34160 * misc/usleep.c: Likewise.
34161 * misc/ustat.c: Likewise.
34162 * misc/utimes.c: Likewise.
34163 * misc/vhangup.c: Likewise.
34164 * misc/writev.c: Likewise.
34165 * posix/_exit.c: Likewise.
34166 * posix/alarm.c: Likewise.
34167 * posix/execve.c: Likewise.
34168 * posix/fexecve.c: Likewise.
34169 * posix/fork.c: Likewise.
34170 * posix/fpathconf.c: Likewise.
34171 * posix/getaddrinfo.c: Likewise.
34172 * posix/getegid.c: Likewise.
34173 * posix/geteuid.c: Likewise.
34174 * posix/getgid.c: Likewise.
34175 * posix/getgroups.c: Likewise.
34176 * posix/getlogin.c: Likewise.
34177 * posix/getlogin_r.c: Likewise.
34178 * posix/getpgid.c: Likewise.
34179 * posix/getpid.c: Likewise.
34180 * posix/getppid.c: Likewise.
34181 * posix/getresgid.c: Likewise.
34182 * posix/getresuid.c: Likewise.
34183 * posix/getsid.c: Likewise.
34184 * posix/getuid.c: Likewise.
34185 * posix/glob64.c: Likewise.
34186 * posix/nanosleep.c: Likewise.
34187 * posix/pathconf.c: Likewise.
34188 * posix/pause.c: Likewise.
34189 * posix/posix_madvise.c: Likewise.
34190 * posix/pread.c: Likewise.
34191 * posix/pread64.c: Likewise.
34192 * posix/pwrite.c: Likewise.
34193 * posix/pwrite64.c: Likewise.
34194 * posix/sched_getaffinity.c: Likewise.
34195 * posix/sched_getp.c: Likewise.
34196 * posix/sched_gets.c: Likewise.
34197 * posix/sched_primax.c: Likewise.
34198 * posix/sched_primin.c: Likewise.
34199 * posix/sched_rr_gi.c: Likewise.
34200 * posix/sched_setaffinity.c: Likewise.
34201 * posix/sched_setp.c: Likewise.
34202 * posix/sched_sets.c: Likewise.
34203 * posix/sched_yield.c: Likewise.
34204 * posix/setgid.c: Likewise.
34205 * posix/setlogin.c: Likewise.
34206 * posix/setpgid.c: Likewise.
34207 * posix/setresgid.c: Likewise.
34208 * posix/setresuid.c: Likewise.
34209 * posix/setsid.c: Likewise.
34210 * posix/setuid.c: Likewise.
34211 * posix/sleep.c: Likewise.
34212 * posix/spawni.c: Likewise.
34213 * posix/sysconf.c: Likewise.
34214 * posix/times.c: Likewise.
34215 * posix/wait.c: Likewise.
34216 * posix/wait3.c: Likewise.
34217 * posix/wait4.c: Likewise.
34218 * posix/waitpid.c: Likewise.
34219 * resolv/gai_sigqueue.c: Likewise.
34220 * resource/getpriority.c: Likewise.
34221 * resource/getrlimit.c: Likewise.
34222 * resource/getrusage.c: Likewise.
34223 * resource/nice.c: Likewise.
34224 * resource/setpriority.c: Likewise.
34225 * resource/setrlimit.c: Likewise.
34226 * resource/ulimit.c: Likewise.
34227 * rt/aio_cancel.c: Likewise.
34228 * rt/aio_fsync.c: Likewise.
34229 * rt/aio_read.c: Likewise.
34230 * rt/aio_sigqueue.c: Likewise.
34231 * rt/aio_suspend.c: Likewise.
34232 * rt/aio_write.c: Likewise.
34233 * rt/clock_getres.c: Likewise.
34234 * rt/clock_gettime.c: Likewise.
34235 * rt/clock_nanosleep.c: Likewise.
34236 * rt/clock_settime.c: Likewise.
34237 * rt/lio_listio.c: Likewise.
34238 * rt/mq_close.c: Likewise.
34239 * rt/mq_getattr.c: Likewise.
34240 * rt/mq_notify.c: Likewise.
34241 * rt/mq_open.c: Likewise.
34242 * rt/mq_receive.c: Likewise.
34243 * rt/mq_send.c: Likewise.
34244 * rt/mq_setattr.c: Likewise.
34245 * rt/mq_timedreceive.c: Likewise.
34246 * rt/mq_timedsend.c: Likewise.
34247 * rt/mq_unlink.c: Likewise.
34248 * rt/shm_open.c: Likewise.
34249 * rt/shm_unlink.c: Likewise.
34250 * rt/timer_create.c: Likewise.
34251 * rt/timer_delete.c: Likewise.
34252 * rt/timer_getoverr.c: Likewise.
34253 * rt/timer_gettime.c: Likewise.
34254 * rt/timer_settime.c: Likewise.
34255 * setjmp/__longjmp.c: Likewise.
34256 * setjmp/setjmp.c: Likewise.
34257 * signal/kill.c: Likewise.
34258 * signal/killpg.c: Likewise.
34259 * signal/raise.c: Likewise.
34260 * signal/sigaction.c: Likewise.
34261 * signal/sigaltstack.c: Likewise.
34262 * signal/sigblock.c: Likewise.
34263 * signal/sigignore.c: Likewise.
34264 * signal/sigintr.c: Likewise.
34265 * signal/signal.c: Likewise.
34266 * signal/sigpause.c: Likewise.
34267 * signal/sigpending.c: Likewise.
34268 * signal/sigqueue.c: Likewise.
34269 * signal/sigreturn.c: Likewise.
34270 * signal/sigset.c: Likewise.
34271 * signal/sigsetmask.c: Likewise.
34272 * signal/sigstack.c: Likewise.
34273 * signal/sigsuspend.c: Likewise.
34274 * signal/sigtimedwait.c: Likewise.
34275 * signal/sigvec.c: Likewise.
34276 * signal/sigwait.c: Likewise.
34277 * signal/sigwaitinfo.c: Likewise.
34278 * signal/sysv_signal.c: Likewise.
34279 * socket/accept.c: Likewise.
34280 * socket/accept4.c: Likewise.
34281 * socket/bind.c: Likewise.
34282 * socket/connect.c: Likewise.
34283 * socket/getpeername.c: Likewise.
34284 * socket/getsockname.c: Likewise.
34285 * socket/getsockopt.c: Likewise.
34286 * socket/isfdtype.c: Likewise.
34287 * socket/listen.c: Likewise.
34288 * socket/recv.c: Likewise.
34289 * socket/recvfrom.c: Likewise.
34290 * socket/recvmsg.c: Likewise.
34291 * socket/send.c: Likewise.
34292 * socket/sendmsg.c: Likewise.
34293 * socket/sendto.c: Likewise.
34294 * socket/setsockopt.c: Likewise.
34295 * socket/shutdown.c: Likewise.
34296 * socket/sockatmark.c: Likewise.
34297 * socket/socket.c: Likewise.
34298 * socket/socketpair.c: Likewise.
34299 * stdio-common/ctermid.c: Likewise.
34300 * stdio-common/cuserid.c: Likewise.
34301 * stdio-common/remove.c: Likewise.
34302 * stdio-common/rename.c: Likewise.
34303 * stdio-common/renameat.c: Likewise.
34304 * stdio-common/tempname.c: Likewise.
34305 * stdlib/getcontext.c: Likewise.
34306 * stdlib/makecontext.c: Likewise.
34307 * stdlib/setcontext.c: Likewise.
34308 * stdlib/swapcontext.c: Likewise.
34309 * stdlib/system.c: Likewise.
34310 * streams/fattach.c: Likewise.
34311 * streams/fdetach.c: Likewise.
34312 * streams/getmsg.c: Likewise.
34313 * streams/getpmsg.c: Likewise.
34314 * streams/putmsg.c: Likewise.
34315 * streams/putpmsg.c: Likewise.
34316 * sysdeps/unix/bsd/getpt.c: Likewise.
34317 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34318 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34319 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34322 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34323 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34324 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34325 * sysvipc/msgctl.c: Likewise.
34326 * sysvipc/msgget.c: Likewise.
34327 * sysvipc/msgrcv.c: Likewise.
34328 * sysvipc/msgsnd.c: Likewise.
34329 * sysvipc/semctl.c: Likewise.
34330 * sysvipc/semget.c: Likewise.
34331 * sysvipc/semop.c: Likewise.
34332 * sysvipc/semtimedop.c: Likewise.
34333 * sysvipc/shmat.c: Likewise.
34334 * sysvipc/shmctl.c: Likewise.
34335 * sysvipc/shmdt.c: Likewise.
34336 * sysvipc/shmget.c: Likewise.
34337 * termios/tcdrain.c: Likewise.
34338 * termios/tcflow.c: Likewise.
34339 * termios/tcflush.c: Likewise.
34340 * termios/tcgetattr.c: Likewise.
34341 * termios/tcgetpgrp.c: Likewise.
34342 * termios/tcsendbrk.c: Likewise.
34343 * termios/tcsetattr.c: Likewise.
34344 * termios/tcsetpgrp.c: Likewise.
34345 * time/adjtime.c: Likewise.
34346 * time/clock.c: Likewise.
34347 * time/getitimer.c: Likewise.
34348 * time/gettimeofday.c: Likewise.
34349 * time/setitimer.c: Likewise.
34350 * time/settimeofday.c: Likewise.
34351 * time/stime.c: Likewise.
34352 * time/time.c: Likewise.
34354 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34356 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34359 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34361 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34363 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34367 FE_TONEAREST before applying Dekker multiplication and Knuth
34368 addition. Clear inexact exceptions and check for exact zero
34369 results afterwards.
34370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34371 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34372 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34373 * math/libm-test.inc (fma_test): Add more tests.
34374 (fma_test_towardzero): Likewise.
34375 (fma_test_downward): Likewise.
34376 (fma_test_upward): Likewise.
34377 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34379 (libc_fesetround): New macro.
34380 (libc_fesetroundf): Likewise.
34381 (libc_fesetroundl): Likewise.
34382 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34384 (libc_fesetround_387): Likewise.
34385 (libc_fesetroundf): New macro.
34386 (libc_fesetround): Likewise.
34387 (libc_fesetroundl): Likewise.
34388 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34390 (libc_fesetroundf): New macro.
34391 (libc_fesetround): Likewise.
34392 (libc_fesetroundl): Likewise.
34393 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34394 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34395 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34397 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34398 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34400 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34401 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34403 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34407 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34408 integer constant usable in #if and use that to give value to enum
34410 (FE_DIVBYZERO): Likewise.
34411 (FE_UNDERFLOW): Likewise.
34412 (FE_OVERFLOW): Likewise.
34413 (FE_INVALID): Likewise.
34414 (FE_INVALID_SNAN): Likewise.
34415 (FE_INVALID_ISI): Likewise.
34416 (FE_INVALID_IDI): Likewise.
34417 (FE_INVALID_ZDZ): Likewise.
34418 (FE_INVALID_IMZ): Likewise.
34419 (FE_INVALID_COMPARE): Likewise.
34420 (FE_INVALID_SOFTWARE): Likewise.
34421 (FE_INVALID_SQRT): Likewise.
34422 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34423 (FE_TONEAREST): Likewise.
34424 (FE_TOWARDZERO): Likewise.
34425 (FE_UPWARD): Likewise.
34426 (FE_DOWNWARD): Likewise.
34427 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34428 (FE_DIVBYZERO): Likewise.
34429 (FE_OVERFLOW): Likewise.
34430 (FE_UNDERFLOW): Likewise.
34431 (FE_INEXACT): Likewise.
34432 (FE_TONEAREST): Likewise.
34433 (FE_DOWNWARD): Likewise.
34434 (FE_UPWARD): Likewise.
34435 (FE_TOWARDZERO): Likewise.
34436 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34437 (FE_UNDERFLOW): Likewise.
34438 (FE_OVERFLOW): Likewise.
34439 (FE_DIVBYZERO): Likewise.
34440 (FE_INVALID): Likewise.
34441 (FE_TONEAREST): Likewise.
34442 (FE_TOWARDZERO): Likewise.
34443 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34444 (FE_OVERFLOW): Likewise.
34445 (FE_UNDERFLOW): Likewise.
34446 (FE_DIVBYZERO): Likewise.
34447 (FE_INEXACT): Likewise.
34448 (FE_TONEAREST): Likewise.
34449 (FE_TOWARDZERO): Likewise.
34450 (FE_UPWARD): Likewise.
34451 (FE_DOWNWARD): Likewise.
34452 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34453 (FE_DIVBYZERO): Likewise.
34454 (FE_OVERFLOW): Likewise.
34455 (FE_UNDERFLOW): Likewise.
34456 (FE_INEXACT): Likewise.
34457 (FE_TONEAREST): Likewise.
34458 (FE_DOWNWARD): Likewise.
34459 (FE_UPWARD): Likewise.
34460 (FE_TOWARDZERO): Likewise.
34462 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34464 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34466 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34468 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34469 commands. Quote $PWD.
34470 (blacklist_exports): Don't use remove_newlines. Replace "declare
34472 (remove_newlines): Remove.
34474 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34476 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34477 * stdlib/stdlib.h (atof): Moved to ...
34478 * include/bits/stdlib-float.h: Here. New file.
34479 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34480 * stdlib/bits/stdlib-float.h: New file.
34481 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34483 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34486 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34488 * conform/conformtest.pl (@headers): Add fenv.h.
34489 * conform/data/fenv.h-data: New file.
34490 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34491 include of <math/fenv.h>.
34493 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34494 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34495 && !UNIX98]. Enables tests for XOPEN2K8.
34496 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34497 POSIX2008]: Likewise.
34499 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34500 (struct rusage): Do not expect type or its members.
34503 * math/math.h (FP_NAN): Define macro to integer constant usable in
34504 #if and use that to give value to enum constant.
34505 (FP_INFINITE): Likewise.
34506 (FP_ZERO): Likewise.
34507 (FP_SUBNORMAL): Likewise.
34508 (FP_NORMAL): Likewise.
34510 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34512 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34513 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34516 2012-11-02 Roland McGrath <roland@hack.frob.com>
34518 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34519 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34520 autoconf-time if not.
34521 * configure.in: Remove AC_PREREQ.
34523 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34525 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34526 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34527 of the internal implementation.
34529 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34531 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34532 except include of <misc/sys/syslog.h>.
34534 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34537 function returns with a NULL context exit with zero.
34539 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34541 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34543 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34545 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34546 (run_program_cmd): This.
34547 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34548 (tst_langinfo): New variable. Use it.
34550 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34552 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34553 floating point opcodes.
34555 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34557 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34560 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34562 * sysdeps/mach/hurd/powerpc: Remove directory.
34563 * sysdeps/mach/powerpc: Likewise.
34565 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34567 * scripts/check-local-headers.sh: Ignore c++ headers.
34569 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34571 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34572 __libc_cleanup_region_start argument.
34574 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34578 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34579 x * y using scaling, not as x * y + z.
34580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34582 * math/libm-test.inc (fma_test): Add more tests.
34583 (fma_test_towardzero): Likewise.
34584 (fma_test_downward): Likewise.
34585 (fma_test_upward): Likewise.
34587 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34589 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34591 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34593 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34596 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34598 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34600 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34607 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34610 Fix the order of the list for glibc 2.17.
34611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34614 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34618 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34622 for low part of x being zero before using __atanl (y).
34623 * math/libm-test.inc (atan2_test): Add another test.
34625 * manual/install.texi (Configuring and compiling): Document
34626 general use of test-wrapper and test-wrapper-env.
34627 * INSTALL: Regenerated.
34629 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34630 (__fma): Do not extract and scale down low bits on after-rounding
34631 systems when result rounded to normal precision would have normal
34633 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34634 (__fmal): Do not extract and scale down low bits on after-rounding
34635 systems when result rounded to normal precision would have normal
34637 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34638 (__fmal): Do not extract and scale down low bits on after-rounding
34639 systems when result rounded to normal precision would have normal
34641 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34643 (fma_test): Add more tests.
34644 (fma_test_towardzero): Likewise.
34645 (fma_test_downward): Likewise.
34646 (fma_test_upward): Likewise.
34648 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34650 * sysdeps/i386/tininess.h: Renamed to ...
34651 * sysdeps/x86/tininess.h: This.
34652 * sysdeps/x86_64/tininess.h: Removed.
34654 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34656 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34657 input. Use $(build-program-cmd).
34658 ($(objpfx)tst-array1-static.out): Likewise.
34659 ($(objpfx)tst-array2.out): Likewise.
34660 ($(objpfx)tst-array3.out): Likewise.
34661 ($(objpfx)tst-array4.out): Likewise.
34662 ($(objpfx)tst-array5.out): Likewise.
34663 ($(objpfx)tst-array5-static.out): Likewise.
34665 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34667 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34670 * nss/nsswitch.h (nss_interface_function): Provide new
34671 macro for use with NSS functions.
34672 * grp/initgroups.c: Use new macro.
34673 * nss/getXXbyYY.c: Likewise.
34674 * nss/getXXbyYY_r.c: Likewise.
34675 * nss/getXXent.c: Likewise.
34676 * nss/getXXent_r.c: Likewise.
34677 * sysdeps/posix/getaddrinfo.c: Likewise.
34679 2012-10-30 Andreas Jaeger <aj@suse.de>
34681 * po/ru.po: Update Russion translation from translation project.
34683 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34688 result and shift together with sticky bit instead of replicating
34689 round-to-nearest rounding.
34690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34691 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34692 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34693 missing underflow exceptions.
34694 (fma_test_towardzero): Add more tests.
34695 (fma_test_downward): Likewise.
34696 (fma_test_upward): Likewise.
34699 * sysdeps/generic/tininess.h: New file.
34700 * sysdeps/i386/tininess.h: Likewise.
34701 * sysdeps/sh/tininess.h: Likewise.
34702 * sysdeps/x86_64/tininess.h: Likewise.
34703 * stdlib/tst-strtod-underflow.c: Likewise.
34704 * stdlib/tst-tininess.c: Likewise.
34705 * stdlib/strtod_l.c: Include <tininess.h>.
34706 (round_and_return): Do not set errno for exact underflow cases.
34707 Force an underflow exception when setting errno for underflow.
34708 Determine underflow based on rounding to normal precision if
34709 TININESS_AFTER_ROUNDING.
34710 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34711 ERANGE for exact underflow cases.
34712 * stdlib/Makefile (tests): Add tst-tininess and
34713 tst-strtod-underflow.
34714 ($(objpfx)tst-tininess): Use $(link-libm).
34715 ($(objpfx)tst-strtod-underflow): Likewise.
34717 2012-10-30 Andreas Jaeger <aj@suse.de>
34720 * elf/Makefile (tests): Remove conditional for have-initfini-array
34721 since this is now always required and the variable does not exist
34723 (tests-static): Likewise.
34724 (modules-names): Likewise.
34726 * po/eo.po: Add Esperanto translation from translation project.
34728 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34729 merged with constructor/destructor.
34730 (init_array): Likewise.
34731 * elf/tst-array2dep.c (fini_array): Likewise.
34732 (init_array): Likewise.
34734 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34736 * manual/message.texi: Delete @cartouche tags.
34738 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34740 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34742 * sysdeps/mach/hurd/fsync.c: Likewise.
34744 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34745 [_POSIX_REALTIME_SIGNALS]: Change condition to
34746 [_POSIX_REALTIME_SIGNALS > 0].
34748 2012-10-27 Andreas Jaeger <aj@suse.de>
34750 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34751 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34753 [__WORDSIZE != 64]: Likewise.
34755 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34757 * iconvdata/tst-table.sh: Remove ${SHELL}.
34758 * iconvdata/tst-tables.sh: Likewise.
34760 2012-10-25 David S. Miller <davem@davemloft.net>
34762 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34763 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34769 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34770 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34773 2012-10-25 Roland McGrath <roland@hack.frob.com>
34775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34776 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34779 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34780 Jim Blandy <jimb@codesourcery.com>
34782 * scripts/cross-test-ssh.sh: New file.
34783 * manual/install.texi (Configuring and compiling): Document use of
34785 * INSTALL: Regenerated.
34787 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34789 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34792 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34794 * Makeconfig (run-program-prefix): Fix comment.
34796 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34797 Jim Blandy <jimb@codesourcery.com>
34799 * Makeconfig (test-wrapper): New variable,
34800 (test-wrapper-env): Likewise.
34801 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34802 (run-built-tests): Define to yes.
34803 (run-program-prefix): Use $(test-wrapper).
34804 (built-program-cmd): Likewise.
34805 * Rules (make-test-out): Use $(test-wrapper-env) and
34806 $(host-built-program-cmd).
34807 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34808 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34810 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34811 $(test-wrapper-env) to tst-rtld-load-self.sh.
34812 ($(objpfx)order2.out): Use $(test-wrapper).
34813 ($(objpfx)tst-initorder.out): Likewise.
34814 ($(objpfx)tst-initorder2.out): Likewise.
34815 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34816 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34817 (test_wrapper_env): New variable. Use it to run ld.so.
34818 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34819 Use it to run ld.so.
34820 (test_wrapper_env): Likewise.
34821 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34822 $(test-wrapper) to run-iconv-test.sh.
34823 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34824 (ICONV): Use $test_wrapper.
34825 * posix/Makefile ($(objpfx)globtest.out): Pass
34826 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34827 globtest.sh, not $(run-program-prefix).
34828 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34829 (test_wrapper): Likewise.
34830 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34831 set together with run_via_rtld_prefix.
34832 (run_program_prefix): Define in terms of test_wrapper and
34833 run_via_rtld_prefix.
34835 2012-10-24 Roland McGrath <roland@hack.frob.com>
34837 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34838 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34842 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34843 Declare __clock_getres, __clock_gettime, __clock_settime,
34844 __clock_nanosleep, and __clock_getcpuclockid.
34845 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34846 Remove librt_hidden_def (clock_gettime).
34847 * sysdeps/unix/clock_gettime.c: Likewise.
34848 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34849 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34850 * rt/clock_getres.c: Define __clock_getres as an alias.
34851 * sysdeps/posix/clock_getres.c: Likewise.
34852 * rt/clock_settime.c: Define __clock_settime as an alias.
34853 * sysdeps/unix/clock_settime.c: Likewise.
34854 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34855 * sysdeps/unix/clock_nanosleep.c: Likewise.
34856 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34857 * rt/clock-compat.c: New file.
34858 * rt/Makefile (librt-routines): Add clock-compat and move
34859 $(clock-routines) to ...
34860 (routines): ... here, new variable.
34861 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34862 Don't add get_clockfreq here.
34863 * rt/Versions (libc: GLIBC_2.17): New version set.
34864 Add clock_* symbols here.
34865 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34867 (GLIBC_2.17): Add clock_* symbols.
34868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34870 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34879 * NEWS: Mention the move.
34881 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34882 Use __open, __read, __close rather than their public counterparts.
34883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34884 (__get_clockfreq_via_cpuinfo): Likewise.
34885 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34886 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34888 * config.h.in (HAVE_IFUNC): New #undef.
34889 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34891 * configure: Regenerated.
34893 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34895 * configure.in: Move READELF check to start of file.
34896 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34897 libc_cv_asm_gnu_indirect_function in the process.
34898 * configure: Regenerated.
34900 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34902 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34903 send the output to /dev/null.
34904 (libc_cv_cc_with_libunwind): Likewise.
34905 (libc_cv_as_noexecstack): Likewise.
34906 * configure: Regenerate.
34908 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34910 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34912 * posix/globtest.sh (TMPDIR): Do not set.
34913 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34914 (testout): Likewise.
34916 2012-10-24 Andreas Jaeger <aj@suse.de>
34918 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34919 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34920 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34921 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34922 posix_fadvise64, posix_fallocate64.
34924 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34925 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34926 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34928 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34930 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34933 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34934 <bits/fcntl-linux.h>.
34935 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34938 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34939 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34940 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34941 [__WORDSIZE != 64]: Likewise.
34943 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34945 * Makeconfig (run-built-tests): New variable.
34946 * Rules [$(cross-compiling) = yes]: Change condition to
34947 [$(run-built-tests) = no].
34948 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34949 to [$(run-built-tests) = yes].
34950 * elf/Makefile [$(cross-compiling) = no]: Likewise
34951 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34952 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34953 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34954 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34955 * io/Makefile [$(cross-compiling) = no]: Likewise.
34956 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34957 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34958 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34959 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34960 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34961 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34962 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34963 * string/Makefile [$(cross-compiling) = no]: Likewise.
34965 * posix/Makefile ($(objpfx)globtest.out): Pass
34966 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34967 $(rtld-installed-name).
34968 * posix/globtest.sh (elf_objpfx): Remove variable.
34969 (rtld_installed_name): Likewise.
34970 (library_path): Likewise.
34971 (run_program_prefix): New variable. Use for running globtest
34974 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34975 Joseph Myers <joseph@codesourcery.com>
34977 * Makeconfig (host-built-program-cmd): New variable.
34978 * elf/Makefile (tst-stackguard1-ARGS): Use
34979 $(host-built-program-cmd).
34980 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34981 (tst-spawn-ARGS): Likewise.
34982 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34984 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34985 Jim Blandy <jimb@codesourcery.com>
34987 * Makeconfig (run-via-rtld-prefix): New variable.
34988 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34989 (built-program-cmd): Likewise.
34991 2012-10-22 Andreas Jaeger <aj@suse.de>
34993 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34994 __O_RSYNC if it exists, otherwise to O_SYNC.
34996 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34997 Joseph Myers <joseph@codesourcery.com>
34999 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35001 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35003 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35006 2012-10-22 Andreas Jaeger <aj@suse.de>
35008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35010 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35012 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35013 bits/fcntl-linux.h.
35015 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35016 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35023 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35024 Joseph Myers <joseph@codesourcery.com>
35026 * config.make.in (NM): New variable.
35028 2012-10-21 Andreas Jaeger <aj@suse.de>
35030 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35031 definitions and declarations that are provided by
35032 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35034 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35037 * elf/Makefile (tests-static): Add tst-leaks1-static.
35038 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35039 ($(objpfx)tst-leaks1-static): New rule.
35040 ($(objpfx)tst-leaks1-static-mem): Likewise.
35041 (tst-leaks1-static-ENV): New macro.
35042 * elf/dl-open.c (dl_open_worker): Check the main application
35043 only if SHARED is defined.
35044 * elf/tst-leaks1-static.c: New file.
35046 2012-10-20 Andreas Jaeger <aj@suse.de>
35048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35049 generic values for Linux.
35050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35051 and declarations that are provided by <bits/fcntl-linux.h> and
35052 include <bits/fcntl-linux.h>.
35053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35056 2012-10-20 Roland McGrath <roland@hack.frob.com>
35058 * io/fcntl.h: Move include of <bits/types.h> to the top and
35059 include it unconditionally.
35061 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35063 * wcsmbs/Makefile (tests-ifunc): New variable.
35064 (tests): Add $(tests-ifunc).
35065 * wcsmbs/test-wcschr-ifunc.c: New file.
35066 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35067 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35068 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35069 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35070 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35072 * string/Makefile (tests-ifunc): New variable.
35073 (tests): Add $(tests-ifunc).
35074 * string/test-memccpy.c (TEST_NAME): New macro.
35075 * string/test-memchr.c (TEST_NAME): Likewise.
35076 * string/test-memcmp.c (TEST_NAME): Likewise.
35077 * string/test-memcpy.c (TEST_NAME): Likewise.
35078 * string/test-memmem.c (TEST_NAME): Likewise.
35079 * string/test-memmove.c (TEST_NAME): Likewise.
35080 * string/test-memset.c (TEST_NAME): Likewise.
35081 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35082 * string/test-stpcpy.c (TEST_NAME): Likewise.
35083 * string/test-stpncpy.c (TEST_NAME): Likewise.
35084 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35085 * string/test-strcasestr.c (TEST_NAME): Likewise.
35086 * string/test-strcat.c (TEST_NAME): Likewise.
35087 * string/test-strchr.c (TEST_NAME): Likewise.
35088 * string/test-strcmp.c(TEST_NAME): Likewise.
35089 * string/test-strcpy.c (TEST_NAME): Likewise.
35090 * string/test-strcspn.c (TEST_NAME): Likewise.
35091 * string/test-strlen.c (TEST_NAME): Likewise.
35092 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35093 * string/test-strncmp.c (TEST_NAME): Likewise.
35094 * string/test-strncpy.c (TEST_NAME): Likewise.
35095 * string/test-strnlen.c (TEST_NAME): Likewise.
35096 * string/test-strpbrk.c (TEST_NAME): Likewise.
35097 * string/test-strrchr.c (TEST_NAME): Likewise.
35098 * string/test-strspn.c (TEST_NAME): Likewise.
35099 * string/test-strstr.c (TEST_NAME): Likewise.
35100 * string/test-bcopy-ifunc.c: New file.
35101 * string/test-bzero-ifunc.c: Likewise.
35102 * string/test-memccpy-ifunc.c: Likewise.
35103 * string/test-memchr-ifunc.c: Likewise.
35104 * string/test-memcmp-ifunc.c: Likewise.
35105 * string/test-memcpy-ifunc.c: Likewise.
35106 * string/test-memmem-ifunc.c: Likewise.
35107 * string/test-memmove-ifunc.c: Likewise.
35108 * string/test-mempcpy-ifunc.c: Likewise.
35109 * string/test-memset-ifunc.c: Likewise.
35110 * string/test-rawmemchr-ifunc.c: Likewise.
35111 * string/test-stpcpy-ifunc.c: Likewise.
35112 * string/test-stpncpy-ifunc.c: Likewise.
35113 * string/test-strcasecmp-ifunc.c: Likewise.
35114 * string/test-strcasestr-ifunc.c: Likewise.
35115 * string/test-strcat-ifunc.c: Likewise.
35116 * string/test-strchr-ifunc.c: Likewise.
35117 * string/test-strchrnul-ifunc.c: Likewise.
35118 * string/test-strcmp-ifunc.c: Likewise.
35119 * string/test-strcpy-ifunc.c: Likewise.
35120 * string/test-strcspn-ifunc.c: Likewise.
35121 * string/test-strlen-ifunc.c: Likewise.
35122 * string/test-strncasecmp-ifunc.c: Likewise.
35123 * string/test-strncat-ifunc.c: Likewise.
35124 * string/test-strncmp-ifunc.c: Likewise.
35125 * string/test-strncpy-ifunc.c: Likewise.
35126 * string/test-strnlen-ifunc.c: Likewise.
35127 * string/test-strpbrk-ifunc.c: Likewise.
35128 * string/test-strrchr-ifunc.c: Likewise.
35129 * string/test-strspn-ifunc.c: Likewise.
35130 * string/test-strstr-ifunc.c: Likewise.
35132 * debug/Makefile (tests-ifunc): New variable.
35133 (tests): Add $(tests-ifunc).
35134 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35135 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35136 * debug/test-stpcpy_chk-ifunc.c: New file.
35137 * debug/test-strcpy_chk-ifunc.c: Likewise.
35139 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35142 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35143 header is not read in.
35145 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35147 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35148 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35149 directly. Pass built executable to script as
35150 $(built-program-cmd).
35151 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35152 $testprogram without using LD_LIBRARY_PATH and $ldso.
35154 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35155 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35156 $(rtld-installed-name).
35157 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35158 (rtld_installed_name): Likewise.
35159 (library_path): Likewise.
35160 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35161 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35162 $(run-program-prefix) to tst-tables.sh.
35163 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35164 it to run tst-table-from and tst-table-to.
35165 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35166 Pass it to tst-table.sh.
35167 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35168 $(run-program-prefix) to tst-gettext.sh.
35169 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35171 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35173 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35174 to run tst-gettext.
35175 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35176 to run tst-gettext2.
35177 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35178 to run tst-translit.
35179 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35180 $(run-program-prefix) to tst-mtrace.sh.
35181 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35183 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35184 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35185 $(rtld-installed-name).
35186 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35187 (rtld_installed_name): Likewise.
35188 (run_program_prefix): New variable. Use it to run wordexp-test.
35190 * Makeconfig (ARCH): Remove all definitions.
35191 (machine): Likewise.
35192 [ARCH]: Remove conditional code.
35193 [!objdir]: Give error.
35194 [!objdir] (objpfx): Remove.
35195 [!objdir] (common-objpfx): Likewise.
35196 [!objdir] (common-objdir): Likewise.
35197 * configure.in (config_makefile): Remove. Hardcode Makefile in
35198 AC_CONFIG_FILES call.
35199 * configure: Regenerated.
35202 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35204 (testout): Likewise.
35206 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35207 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35208 $(rtld-installed-name).
35209 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35210 (rtld_installed_name): Likwise.
35211 (runit): Remove function.
35212 (run_getconf): New variable, Use it for running getconf binary.
35214 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35217 * string/test-memmem.c (check_result): New function.
35218 (do_one_test): Use it.
35219 (check1): New function.
35220 (test_main): Use it.
35222 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35224 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35226 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35228 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35229 (_G_LSEEK64): Likewise.
35230 (_G_MMAP64): Likewise.
35231 (_G_FSTAT64): Likewise.
35232 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35233 (_G_LSEEK64): Likewise.
35234 (_G_MMAP64): Likewise.
35235 (_G_FSTAT64): Likewise.
35236 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35237 unconditional. Call __mmap64 directly.
35238 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35239 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35240 __lseek64 directly.
35241 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35242 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35244 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35245 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35246 __lseek64 directly.
35247 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35248 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35249 __lseek64 directly.
35250 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35251 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35252 __lseek64 directly.
35253 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35254 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35255 __fxstat64 directly.
35256 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35257 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35259 (freopen64) [!_G_OPEN64]: Remove conditional code.
35260 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35262 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35263 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35265 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35266 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35268 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35269 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35271 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35272 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35274 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35275 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35277 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35278 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35280 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35282 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35285 * manual/memory.texi (Malloc Tunable Parameters): Add note
35286 about free list pointers overwriting some perturb bytes.
35287 Wording suggested by Roland McGrath.
35289 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35291 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35292 (lgamma_test): Likewise.
35293 (tgamma_test): Likewise.
35295 2012-10-16 Florian Weimer <fweimer@redhat.com>
35298 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35299 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35301 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35303 * NEWS: Mention BZ #14716.
35304 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35305 when removing AVAILABLE1_USES_J macro.
35307 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35309 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35310 (__bswap_64): __uint64_t for unsigned 64-bit int.
35312 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35314 * include/string.h (memmem): Declare libc hidden alias.
35315 * string/memmem.c (memmem): Define libc hidden alias.
35316 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35317 __read, __close instead of open, read, close.
35319 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35321 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35322 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35324 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35325 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35326 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35328 (__rawmemchr_sse2): Likewise.
35329 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35330 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35331 (__strchr_sse2): Likewise.
35332 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35333 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35334 (__strcasecmp_sse2): Likewise.
35335 (__strncasecmp_sse2): Likewise.
35336 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35337 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35338 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35339 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35340 (__strrchr_sse2): Likewise.
35341 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35343 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35344 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35345 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35346 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35347 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35348 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35349 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35350 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35351 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35352 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35353 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35354 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35355 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35356 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35357 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35358 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35359 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35360 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35361 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35362 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35363 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35364 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35365 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35366 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35367 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35368 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35369 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35370 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35371 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35372 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35374 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35376 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35377 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35378 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35379 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35381 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35383 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35384 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35385 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35386 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35388 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35389 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35390 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35391 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35392 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35393 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35394 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35395 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35396 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35397 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35398 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35399 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35400 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35401 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35402 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35403 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35404 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35405 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35406 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35407 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35408 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35409 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35410 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35411 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35412 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35413 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35414 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35415 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35416 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35417 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35418 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35419 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35420 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35421 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35422 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35423 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35424 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35425 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35426 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35427 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35428 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35430 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35431 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35432 * include/ifunc-impl-list.h: New file.
35433 * misc/ifunc-impl-list.c: Likewise.
35434 * misc/Makefile (routines): Add ifunc-impl-list.
35435 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35436 * string/test-string.h: Include <ifunc-impl-list.h>.
35437 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35438 TEST_NAME]: New variables.
35439 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35441 (test_init): Call __libc_ifunc_impl_list to initialize
35442 func_list if TEST_IFUNC and TEST_NAME are defined.
35444 * string/Makefile (strop-tests): Add bcopy and bzero.
35445 * string/test-bcopy.c: New file.
35446 * string/test-bzero.c: Likewise.
35447 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35449 * string/test-memset.c: Support bzero test if TEST_BZERO is
35451 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35453 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35455 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35458 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35460 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35461 * configure: Regenerated.
35463 * Makeconfig (+link-static-before-libc): Don't include
35464 $(link-static-libc).
35466 * libio/libio.h (_IO_pos_t): Remove.
35468 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35470 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35473 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35475 * crypt/crypt-entry.c: Include fips-private.h.
35476 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35477 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35478 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35479 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35481 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35483 * crypt/crypt-private.h: Include stdbool.h.
35484 (_ufc_setup_salt_r): Return bool.
35485 * crypt/crypt-entry.c: Include errno.h.
35486 (__crypt_r): Return NULL with EINVAL for bad salt.
35487 * crypt/crypt_util.c (bad_for_salt): New.
35488 (_ufc_setup_salt_r): Check that salt is long enough and within
35489 the specified alphabet.
35490 * crypt/badsalttest.c: New file.
35491 * crypt/Makefile (tests): Add it.
35492 ($(objpfx)badsalttest): New.
35494 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35496 * NEWS: Add entry for BZ #14602.
35498 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35500 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35502 * math/libm-test.inc: Update comment listing what functions and
35504 (isgreater_test): New function.
35505 (isgreaterequal_test): Likewise.
35506 (isless_test): Likewise.
35507 (islessequal_test): Likewise.
35508 (islessgreater_test): Likewise.
35509 (isunordered_test): Likewise.
35510 (main): Call the new functions.
35512 2012-10-09 Roland McGrath <roland@hack.frob.com>
35514 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35515 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35516 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35517 * sysdeps/i386/configure: Regenerated.
35518 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35519 * sysdeps/mach/configure: Regenerated.
35520 * sysdeps/mach/hurd/configure: Regenerated.
35521 * sysdeps/powerpc/configure: Regenerated.
35522 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35523 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35524 * sysdeps/s390/s390-32/configure: Regenerated.
35525 * sysdeps/s390/s390-64/configure: Regenerated.
35526 * sysdeps/sh/configure: Regenerated.
35527 * sysdeps/sparc/configure: Regenerated.
35528 * sysdeps/unix/sysv/linux/configure: Regenerated.
35529 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35530 * sysdeps/x86_64/configure: Regenerated.
35532 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35533 defined. Don't check if MAP is NULL.
35535 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35537 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35538 (_G_stat64): Likewise.
35539 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35540 (_G_stat64): Likewise.
35541 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35542 instead of struct _G_stat64.
35543 * libio/fileops.c (mmap_remap_check): Likewise.
35544 (decide_maybe_mmap): Likewise.
35545 (_IO_new_file_seekoff): Likewise.
35546 (_IO_file_stat): Likewise.
35547 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35549 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35550 instead of struct _G_stat64.
35551 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35553 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35556 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35558 (CHECK_EOL): New macro.
35559 (two_way_short_needle): Check beginning of haystack for EOL. Use
35561 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35562 Replace with CHECK_EOL.
35563 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35564 Replace with CHECK_EOL.
35566 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35568 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35570 * math/libm-test.inc: Update comment listing what functions and
35572 (finite_test): New function.
35573 (isinf_test): Likewise.
35574 (isnan_test): Likewise.
35575 (fpclassify_test): Test subnormal input.
35576 (isfinite_test): Likewise.
35577 (isnormal_test): Likewise.
35578 (main): Call the new functions.
35580 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35583 * Makerules (%.dynsym): Force C locale when running
35584 $(OBJDUMP) --dynamic-syms.
35586 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35588 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35591 2012-10-06 David S. Miller <davem@davemloft.net>
35593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35594 upper 32-bits of the length value in %o2 since we use branch-on-register
35595 tests which consider the entire 64-bit register.
35597 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35599 * string/test-strstr.c (check2): Add a test for page boundary.
35601 2012-10-05 David S. Miller <davem@davemloft.net>
35603 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35606 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35608 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35609 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35610 and bzero when HWCAP_SPARC_CRYPTO is present.
35612 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35615 * string/test-strstr.c (check2): New function.
35616 (test_main): Call check2.
35618 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35620 * string/bug-strcasestr1.c (do_test): Moved to ...
35621 * string/test-strcasestr.c (check1): Here. New function.
35622 (do_one_test): Break out result checking code into ...
35623 (check_result): This. New function.
35624 (do_one_test): Call check_result.
35625 (test_main): Call check1.
35626 * string/bug-strchr1.c (do_test): Moved to ...
35627 * string/test-strchr.c (check1): Here. New function.
35628 (do_one_test): Break out result checking code into ...
35629 (check_result): This. New function.
35630 (do_one_test): Call check_result.
35631 (test_main): Call check1.
35632 * string/bug-strstr1.c (main): Moved to ...
35633 * string/test-strstr.c (check1): Here. New function.
35634 (do_one_test): Break out result checking code into ...
35635 (check_result): This. New function.
35636 (do_one_test): Call check_result.
35637 (test_main): Call check1.
35638 * string/bug-strcasestr1.c: Removed.
35639 * string/bug-strchr1.c: Likewise.
35640 * string/bug-strstr1.c: Likewise.
35642 * elf/Makefile (dl-routines): Add hwcaps.
35643 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35644 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35645 (_dl_important_hwcaps): Moved to ...
35646 * elf/dl-hwcaps.c: Here. New file.
35647 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35650 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35651 if IS_IN_rtld isn't defined.
35653 * elf/dl-support.c (_dl_sysinfo_map): New.
35654 Include "get-dynamic-info.h" and "setup-vdso.h".
35655 (_dl_non_dynamic_init): Call setup_vdso.
35656 * elf/dynamic-link.h: Don't include <assert.h>.
35657 (elf_get_dynamic_info): Moved to ...
35658 * elf/get-dynamic-info.h: Here. New file.
35659 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35660 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35661 * elf/setup-vdso.h: Here. New file.
35662 * elf/rtld.c: Include "setup-vdso.h".
35663 (dl_main): Call setup_vdso.
35665 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35667 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35668 creal in comment listing functions tested. List finite, isinf,
35669 isnan, isless, islessequal, isgreater, isgreaterequal,
35670 islessgreater, isunordered, lgamma_r and pow10 as functions and
35671 macros not tested. Mention which functions not tested are aliases
35672 for other functions. Fix typo. Note that signs of NaNs are not
35675 * scripts/config.guess: Update from config.git.
35676 * scripts/config.sub: Likewise.
35678 2012-10-04 Roland McGrath <roland@hack.frob.com>
35680 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35681 * misc/madvise.c (madvise): Renamed to __madvise.
35682 Make madvise a weak alias.
35683 * include/sys/mman.h: Declare __madvise.
35684 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35685 * sysdeps/unix/syscalls.list
35686 (madvise): Make __madvise the strong name, and madvise a weak alias.
35687 * sysdeps/unix/sysv/linux/syscalls.list
35688 (madvise, mmap): Remove redundant entries.
35689 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35690 * malloc/malloc.c (mtrim): Likewise.
35691 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35693 2012-10-03 Roland McGrath <roland@hack.frob.com>
35695 * sysdeps/mach/hurd/dl-cache.c: File removed.
35696 * config.h.in (USE_LDCONFIG): New #undef.
35697 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35698 * configure: Regenerated.
35699 * elf/Makefile (dl-routines): Add dl-cache only under
35700 [$(use-ldconfig) = yes].
35701 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35702 cache on [USE_LDCONFIG].
35703 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35705 * elf/rtld.c (dl_main): Likewise.
35707 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35709 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35710 _SC_LEVEL4_CACHE_LINESIZE.
35712 2012-10-03 Roland McGrath <roland@hack.frob.com>
35714 * sysdeps/unix/bsd/confstr.h: File removed.
35716 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35718 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35721 2012-10-02 Roland McGrath <roland@hack.frob.com>
35723 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35724 Make 'mapoff' field ElfW(Off) rather than off_t.
35726 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35728 * nscd/Makefile: Remove nscd-cflags and all its users.
35729 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35730 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35733 * malloc.c (malloc_printerr): Clarify error message.
35735 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35739 Set bit_FMA_Usable if FMA is supported.
35740 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35742 (bit_FMA4_Usable): Updated.
35743 (index_FMA_Usable): New macro.
35744 (CPUID_FMA): Likewise
35745 (HAS_FMA): Defined with bit_FMA_Usable.
35747 2012-10-01 Roland McGrath <roland@hack.frob.com>
35749 * bits/types.h (__swblk_t): Type removed.
35750 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35751 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35753 (__SWBLK_T_TYPE): Likewise.
35754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35755 (__SWBLK_T_TYPE): Likewise.
35756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35757 (__SWBLK_T_TYPE): Likewise.
35758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35759 (__SWBLK_T_TYPE): Likewise.
35761 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35762 Honza Horak <hhorak@redhat.com>
35764 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35765 (xdr_mapname): Use YPMAXMAP as maxsize.
35766 (xdr_peername): Use YPMAXPEER as maxsize.
35767 (xdr_keydat): Use YPAXRECORD as maxsize.
35768 (xdr_valdat): Use YPMAXRECORD as maxsize.
35770 2012-10-01 Roland McGrath <roland@hack.frob.com>
35772 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35774 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35775 * csu/init-first.c: ... here.
35776 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35777 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35778 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35779 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35780 * sysdeps/i386/init-first.c: File removed.
35781 * sysdeps/sh/init-first.c: File removed.
35783 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35786 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35787 if x * y might underflow to zero and z is zero.
35788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35789 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35790 * math/libm-test.inc (min_subnorm_value): New variable.
35791 (fma_test): Add more tests.
35792 (fma_test_towardzero): Likewise.
35793 (fma_test_downward): Likewise
35794 (fma_test_upward): Likewise.
35795 (initialize): Set min_subnorm_value.
35797 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35803 mode for addition resulting in exact zero.
35804 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35805 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35809 * math/libm-test.inc (fma_test): Add more tests.
35810 (fma_test_towardzero): New function.
35811 (fma_test_downward): Likewise.
35812 (fma_test_upward): Likewise.
35813 (main): Call the new functions.
35815 2012-09-28 David S. Miller <davem@davemloft.net>
35817 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35819 2012-09-28 Roland McGrath <roland@hack.frob.com>
35821 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35822 instead of SIGALRM.
35824 * sysdeps/gnu/_G_config.h: Moved to ...
35825 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35826 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35827 * sysdeps/generic/_G_config.h: ... here.
35829 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35831 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35833 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35834 Conditionalize target on [libnss_test1.so-version].
35836 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35838 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35839 (elfobjdir): Move out of conditionals.
35841 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35842 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35843 (__nss_lookup_function): Conditionalize label remove_from_tree on
35844 [!DO_STATIC_NSS || SHARED], matching its only use.
35846 2012-09-28 David S. Miller <davem@davemloft.net>
35848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35849 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35851 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35853 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35855 when HWCAP_SPARC_CRYPTO is present.
35857 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35859 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35861 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35864 * stdio-common/vfprintf.c (process_string_arg): Revert
35867 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35869 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35871 * stdio-common/tst-sprintf.c: Include <locale.h>
35872 (main): Test sprintf's handling of incomplete multibyte
35875 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35877 * elf/dl-runtime.c (VERSYMIDX): Removed.
35878 * elf/dl-version.c (VERSYMIDX): Likewise.
35879 * elf/do-rel.h (VERSYMIDX): Likewise.
35880 (VALIDX): Likewise.
35881 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35882 * elf/rtld.c (VALIDX): Likewise.
35883 (ADDRIDX): Likewise.
35884 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35885 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35886 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35887 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35888 (VALIDX): Likewise.
35889 (ADDRIDX): Likewise.
35891 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35893 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35895 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35898 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35900 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35901 addresses are in the same scope as 192.0.2/24.
35902 * posix/gai.conf: Document new scope table defaults.
35904 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35907 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35908 for ftell. Compute offsets from write pointers instead.
35909 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35911 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35914 * libio/Makefile (tests): New test case tst-fseek.
35915 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35916 combination works in wide mode.
35917 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35918 state when the external buffer state changes.
35920 2012-09-27 David S. Miller <davem@davemloft.net>
35923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35924 pass reloc->r_addend in as the 'high' argument to
35925 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35929 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35931 * rt/tst-aio2.c: Include <pthread.h>.
35932 * rt/tst-aio3.c: Likewise.
35934 2012-09-27 Steve Ellcey <sellcey@mips.com>
35936 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35938 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35940 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35941 contents on [SHARED].
35943 2012-09-26 Marek Polacek <polacek@redhat.com>
35947 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35948 for C++ and GCC <4.3 as well as for non GCC compilers.
35950 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35954 2012-09-25 Roland McGrath <roland@hack.frob.com>
35956 * Makefile.in (all, install): Declare with .PHONY.
35957 Reported by Michael Hope <michael.hope@linaro.org>.
35959 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35961 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35962 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35964 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35966 (sydep_routines): Add the new and the internal functions.
35967 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35968 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35970 (GLIBC_2.17): Add the new function.
35971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35972 (GLIBC_2.17): Likewise.
35973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35974 (GLIBC_2.17): Likewise.
35975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35976 (GLIBC_2.17): Likewise.
35977 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35979 2012-09-25 Alan Modra <amodra@gmail.com>
35981 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35982 Add release barrier before setting once_control to say
35983 initialisation is done. Add hints on lwarx. Use macro in
35985 (clear_once_control): Add release barrier.
35987 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35990 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35992 * math/s_clog10.c (__clog10): Likewise.
35993 * math/s_clog10f.c (__clog10f): Likewise.
35994 * math/s_clog10l.c (__clog10l): Likewise.
35995 * math/s_clogf.c (__clogf): Likewise.
35996 * math/s_clogl.c (__clogl): Likewise.
35997 * math/Makefile (libm-calls): Add x2y2m1.
35998 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35999 (__x2y2m1): Likewise.
36000 (__x2y2m1l): Likewise.
36001 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36002 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36005 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36006 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36007 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36008 * sysdeps/i386/fpu/libm-test-ulps: Update.
36009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36012 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36013 int as type of variable DEPTH.
36014 (glob): Use size_t instead of int as type of variables NEWCOUNT
36017 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36019 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36020 Add s_sincosf-sse2.
36021 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36022 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36023 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36024 macros for using routine as __sincosf_ia32.
36025 Use macro for function declaration and weak_alias.
36026 * sysdeps/i386/fpu/libm-test-ulps: Update.
36028 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36031 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36032 subnormal argument.
36033 * math/s_cexpf.c (__cexpf): Likewise.
36034 * math/s_csinf.c (__csinf): Likewise.
36035 * math/s_csinhf.c (__csinhf): Likewise.
36036 * math/s_ctanf.c (__ctanf): Likewise.
36037 * math/s_ctanhf.c (__ctanhf): Likewise.
36038 * math/s_ccosh.c (__ccoshf): Likewise.
36039 * math/s_cexp.c (__cexpl): Likewise.
36040 * math/s_csin.c (__csin): Likewise.
36041 * math/s_csinh.c (__csinh): Likewise.
36042 * math/s_ctan.c (__ctan): Likewise.
36043 * math/s_ctanh.c (ctanh): Likewise.
36044 * math/s_ccoshl.c (__ccoshl): Likewise.
36045 * math/s_cexpl.c (__cexpl): Likewise.
36046 * math/s_csinl.c (__csinl): Likewise.
36047 * math/s_csinhl.c (__csinhl): Likewise.
36048 * math/s_ctanl.c (__ctanl): Likewise.
36049 * math/s_ctanhl.c (__ctanhl): Likewise.
36051 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36053 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36054 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36055 (_IO_off_t): Define to __off_t, not _G_off_t.
36056 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36057 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36058 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36059 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36060 type of __dummy and __dummy2 fields.
36061 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36062 (_G_ssize_t): Likewise.
36063 (_G_off_t): Likewise.
36064 (_G_pid_t): Likewise.
36065 (_G_uid_t): Likewise.
36066 (_G_wchar_t): Likewise.
36067 (_G_wint_t): Likewise.
36068 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36069 (_G_ssize_t): Likewise.
36070 (_G_off_t): Likewise.
36071 (_G_pid_t): Likewise.
36072 (_G_uid_t): Likewise.
36073 (_G_wchar_t): Likewise.
36074 (_G_wint_t): Likewise.
36075 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36076 (_G_ssize_t): Likewise.
36077 (_G_off_t): Likewise.
36078 (_G_pid_t): Likewise.
36079 (_G_uid_t): Likewise.
36080 (_G_wchar_t): Likewise.
36081 (_G_wint_t): Likewise.
36083 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36085 * malloc/arena.c: Include malloc-sysdep.h.
36086 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36087 is sufficient to shrink the heap or an unmap is needed.
36088 * sysdeps/generic/malloc-sysdep.h: New file. Define
36089 new function check_may_shrink_heap.
36090 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36091 new function check_may_shrink_heap.
36093 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36095 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36098 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36100 * catgets/test-gencat.sh: Add "set -e".
36101 * elf/tst-pathopt.sh: Likewise.
36102 * grp/tst_fgetgrent.sh: Likewise.
36103 * iconvdata/run-iconv-test.sh: Likewise.
36104 * intl/tst-gettext.sh: Likewise.
36105 * intl/tst-gettext2.sh: Likewise.
36106 * intl/tst-gettext4.sh: Likewise.
36107 * intl/tst-gettext6.sh: Likewise.
36108 * intl/tst-translit.sh: Likewise.
36109 * io/ftwtest-sh: Likewise.
36110 * libio/test-freopen.sh: Likewise.
36111 * malloc/tst-mtrace.sh: Likewise.
36112 * posix/globtest.sh: Likewise.
36113 * posix/tst-getconf.sh: Likewise.
36114 * posix/wordexp-tst.sh: Likewise.
36115 * stdio-common/tst-printf.sh: Likewise.
36116 * stdio-common/tst-unbputc.sh: Likewise.
36117 * stdlib/tst-fmtmsg.sh: Likewise.
36118 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36119 * catgets/Makefile: Do not specify -e option when running
36120 testsuite shell scripts.
36121 * elf/Makefile: Likewise.
36122 * grp/Makefile: Likewise.
36123 * iconvdata/Makefile: Likewise.
36124 * intl/Makefile: Likewise.
36125 * io/Makefile: Likewise.
36126 * libio/Makefile: Likewise.
36127 * malloc/Makefile: Likewise.
36128 * posix/Makefile: Likewise.
36129 * stdio-common/Makefile: Likewise.
36130 * stdlib/Makefile: Likewise.
36131 * sysdeps/x86_64/Makefile: Likewise.
36133 * io/ftwtest-sh: Add copyright header.
36134 * posix/globtest.sh: Likewise.
36135 * posix/tst-getconf.sh: Likewise.
36136 * posix/wordexp-tst.sh: Likewise.
36137 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36139 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36142 * Makeconfig (+link): Defined as $(+link-static) if
36143 $(build-shared) isn't yes.
36144 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36146 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36148 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36151 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36152 new chunk size with MALLOC_ALIGN_MASK.
36154 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36157 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36159 (__printf_fphex): Determine rounding using get_rounding_mode and
36161 * stdio-common/tst-printf-round.c (struct hex_test): New
36163 (hex_tests): New variable.
36164 (test_hex_in_one_mode): New function.
36165 (do_test): Also run tests for hex float output.
36167 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36169 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36170 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36171 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36172 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36173 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36174 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36175 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36176 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36178 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36180 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36181 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36182 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36183 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36185 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36188 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36190 * elf/tst-rtld-load-self.sh: New test.
36191 * elf/Makefile: Run it.
36193 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36195 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36196 (tst-writev-ENV): Remove.
36197 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36199 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36201 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36203 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36205 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36207 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36209 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36210 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36211 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36214 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36217 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36218 * config.make.in (have-cpp-asm-debuginfo): Removed.
36219 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36220 * configure: Regenerated.
36222 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36225 * stdio-common/printf_fp.c: Include <stdbool.h> and
36227 (___printf_fp): Determine rounding using get_rounding_mode and
36229 * stdio-common/tst-printf-round.c: New file.
36230 * stdio-common/Makefile (tests): Add tst-printf-round.
36231 (link-libm): New variable.
36232 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36234 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36237 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36238 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36240 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36243 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36245 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36246 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36247 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36248 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36250 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36253 * include/rounding-mode.h: New file.
36254 * sysdeps/generic/get-rounding-mode.h: Likewise.
36255 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36256 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36257 (MAX_VALUE): New macro.
36258 (MIN_VALUE): Likewise.
36259 (overflow_value): New function.
36260 (underflow_value): Likewise.
36261 (round_and_return): Use overflow_value and underflow_value to
36262 determine return values in overflow and underflow cases. Use
36263 round_away to determine rounding depending on rounding mode.
36264 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36265 determine return values in overflow and underflow cases.
36266 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36267 (struct test_results): New structure.
36268 (struct test): Use struct test_results to store expected results
36269 for all rounding modes.
36270 (TEST): Include expected results for all rounding modes.
36271 (test_in_one_mode): New function.
36272 (do_test): Use test_in_one_mode to compute and check results.
36273 Check results for all rounding modes.
36274 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36277 2012-12-09 Allan McRae <allan@archlinux.org>
36279 * sysdeps/i386/fpu/libm-test-ulps: Update
36281 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36283 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36284 (_G_int32_t): Likewise.
36285 (_G_uint16_t): Likewise.
36286 (_G_uint32_t): Likewise.
36287 (_G_HAVE_BOOL): Likewise.
36288 (_G_HAVE_ATEXIT): Likewise.
36289 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36290 (_G_HAVE_IO_FILE_OPEN): Likewise.
36291 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36292 (_G_int32_t): Likewise.
36293 (_G_uint16_t): Likewise.
36294 (_G_uint32_t): Likewise.
36295 (_G_HAVE_BOOL): Likewise.
36296 (_G_HAVE_ATEXIT): Likewise.
36297 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36298 (_G_HAVE_IO_FILE_OPEN): Likewise.
36299 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36300 (_G_int32_t): Likewise.
36301 (_G_uint16_t): Likewise.
36302 (_G_uint32_t): Likewise.
36303 (_G_HAVE_BOOL): Likewise.
36304 (_G_HAVE_ATEXIT): Likewise.
36305 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36306 (_G_HAVE_IO_FILE_OPEN): Likewise.
36308 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36310 * csu/libc-tls.c: Update copyright years.
36312 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36314 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36315 [!_G_USING_THUNKS]: Remove conditional code.
36316 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36317 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36319 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36320 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36321 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36322 (_G_VTABLE_LABEL_PREFIX): Likewise.
36323 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36324 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36325 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36326 (_G_VTABLE_LABEL_PREFIX): Likewise.
36327 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36328 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36329 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36330 (_G_VTABLE_LABEL_PREFIX): Likewise.
36331 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36333 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36335 * libio/Makefile: Include ../Makeconfig before tests.
36336 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36337 only if $(build-shared) is yes.
36339 * iconv/gconv_db.c: Update copyright years.
36341 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36343 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36344 unwind info if defined PIC. Fix special cases description.
36345 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36347 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36349 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36351 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36353 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36355 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36358 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36359 (LDLIBS-tst-chk4): This.
36360 (LDFLAGS-tst-chk5): Renamed to ...
36361 (LDLIBS-tst-chk5): This.
36362 (LDFLAGS-tst-chk6): Renamed to ...
36363 (LDLIBS-tst-chk6): This.
36364 (LDFLAGS-tst-lfschk4): Renamed to ...
36365 (LDLIBS-tst-lfschk4): This.
36366 (LDFLAGS-tst-lfschk5): Renamed to ...
36367 (LDLIBS-tst-lfschk5): This.
36368 (LDFLAGS-tst-lfschk6): Renamed to ...
36369 (LDLIBS-tst-lfschk6): This.
36371 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36372 on $(common-objpfx)soversions.mk.
36374 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36377 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36380 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36382 * malloc/arena.c (arena_get_retry): New function that gets
36383 another arena for the caller to try its request on.
36384 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36385 current arena cannot fulfill the request.
36386 (__libc_memalign): Likewise.
36387 (__libc_memalign): Likewise.
36388 (__libc_pvalloc): Likewise.
36389 (__libc_calloc): Likewise.
36391 2012-09-05 John Tobey <john.tobey@gmail.com>
36394 * manual/arith.texi (Operations on Complex): Fix description
36395 of carg branch cut.
36397 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36400 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36404 * manual/memory.texi (Memory): Make order of menu items match
36407 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36409 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36410 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36411 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36413 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36415 * csu/libc-tls.c (static_dtv): Renamed to ...
36416 (_dl_static_dtv): This. Make it global.
36417 (_dl_initial_dtv): Removed.
36418 (__libc_setup_tls): Updated.
36419 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36420 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36423 2012-09-06 Petr Machata <pmachata@redhat.com>
36425 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36426 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36427 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36428 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36430 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36433 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36434 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36437 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36440 * Makeconfig (link-static-before-libc): Replace $(+prector)
36442 (link-static-after-libc): Replace $(+postctor) with
36444 (link-bounded): Replace $(+prector)/$(+postctor) with
36445 $(+prectorT)/$(+postctorT).
36446 (+prectorT): New macro.
36447 (+postctorT): Likewise.
36449 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36451 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36452 (round_str): Handle values above the maximum for IBM long double
36454 * stdlib/tst-strtod-round.c (tests): Regenerated.
36456 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36458 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36460 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36461 zarch_nohighgprs around the zarch optimized routines.
36462 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36463 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36464 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36467 2012-09-05 David S. Miller <davem@davemloft.net>
36469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36471 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36472 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36473 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36474 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36477 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36479 * malloc/arena.c: Fold copyright years.
36480 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36482 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36484 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36486 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36488 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36490 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36492 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36493 change internal state upon failure.
36495 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36497 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36498 * malloc/memusage.c (mmap): Likewise.
36499 (mmap64, mremap): Likewise. Adjust name in comment.
36501 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36503 * libio/fileops.c: Fix typos in comments.
36504 * libio/oldfileops.c: Likewise.
36505 * libio/wfileops.c: Likewise.
36507 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36510 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36511 (tst-malloc-usable-ENV): Set environment for test case.
36512 * malloc/hooks.c (malloc_check_get_size): New function to get
36514 * malloc/malloc.c (musable): Use malloc_check_get_size.
36515 * malloc/tst-malloc-usable.c: New test case.
36517 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36519 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36521 2012-09-05 Allan McRae <allan@archlinux.org>
36524 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36525 determine header location.
36526 * configure: Regenerated.
36528 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36530 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36532 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36533 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36535 (test): Regenerate.
36537 2012-09-04 David S. Miller <davem@davemloft.net>
36539 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36540 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36543 2012-09-04 Florian Weimer <fweimer@redhat.com>
36545 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36548 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36550 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36553 * libio/iogetdelim.c: Include <limits.h>.
36554 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36555 + len + 1 would overflow.
36557 2012-09-03 Andreas Jaeger <aj@suse.de>
36559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36560 * sysdeps/i386/fpu/libm-test-ulps: Update.
36562 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36564 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36565 Add s_sinf-sse2, s_conf-sse2.
36567 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36568 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36569 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36570 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36572 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36573 for using routine as __sinf_ia32.
36574 Use macro for function declaration and weak_alias.
36575 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36576 for using routine as __cosf_ia32.
36577 Use macro for function declaration and weak_alias.
36579 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36580 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36582 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36583 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36586 * math/libm-test.inc (cos_test): Add more test cases.
36587 (sin_test): Likewise.
36588 (sincos_test): Likewise.
36590 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36592 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36593 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36595 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36597 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36600 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36601 first element of the GOT.
36602 (elf_machine_load_address): Return the difference between
36603 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36605 2012-09-01 Allan McRae <allan@archlinux.org>
36608 * configure.in (AWK): Require gawk version 3.0 or later.
36609 * configure: Regenerated.
36611 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36613 * sysdeps/unix/sysv/linux/kernel-features.h
36614 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36616 [__NR_clock_getres]: Make code unconditional.
36617 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36618 (clock_getcpuclockid): Remove code left unreachable by removal of
36620 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36621 code unconditional.
36622 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36623 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36624 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36625 Make code unconditional.
36626 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36627 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36628 * sysdeps/unix/sysv/linux/clock_settime.c
36629 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36631 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36632 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36634 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36637 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36638 scripts/test-installation.pl.
36640 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36641 and $ld_so_version if it is set.
36643 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36646 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36647 failure if reading from procfs failed.
36648 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36650 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36652 * sysdeps/unix/sysv/linux/kernel-features.h
36653 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36654 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36655 Remove conditional code.
36656 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36657 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36658 Remove conditional code.
36659 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36660 * sysdeps/unix/sysv/linux/i386/fxstat.c
36661 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36663 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36664 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36666 * sysdeps/unix/sysv/linux/i386/lxstat.c
36667 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36669 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36670 Remove conditional code.
36671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36672 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36673 Remove conditional code.
36674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36675 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36676 <kernel-features.h>.
36677 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36679 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36680 Remove conditional code.
36681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36682 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36683 Remove conditional.
36685 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36688 * NEWS: Add fixed bug number.
36690 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36693 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36694 underflowing exponent in case of negative sign.
36695 * stdlib/tst-strtod-round-data: Add more tests.
36696 * stdlib/tst-strtod-round.c (tests): Regenerated.
36699 * stdlib/strtod_l.c (NDIG): Remove.
36700 (HEXNDIG): Likewise.
36701 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36702 smallest representable value.
36703 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36704 lie within an exact representation of 1/2 ulp of the result.
36705 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36707 (TENS_P9_IDX): Define unconditionally.
36708 (TENS_P9_SIZE): Likewise.
36709 (TENS_P10_IDX): Likewise.
36710 (TENS_P10_SIZE): Likewise.
36711 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36712 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36713 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36714 entries for 10^2^13 and 10^2^14.
36715 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36716 (TENS_P13_IDX): Define.
36717 (TENS_P13_SIZE): Likewise.
36718 (TENS_P14_IDX): Likewise.
36719 (TENS_P14_SIZE): Likewise.
36720 (_fpioconst_pow10): Change array size to
36721 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36723 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36724 1024]: Add entries for 10^2^13 and 10^2^14.
36725 [LAST_POW10 > _LAST_POW10]: Remove #error.
36726 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36727 (_fpioconst_pow10): Change array size to
36728 FPIOCONST_POW10_ARRAY_SIZE.
36729 * stdlib/gen-fpioconst.c: New file.
36730 * stdlib/gen-tst-strtod-round.c: Likewise.
36731 * stdlib/tst-strtod-round-data: Likewise.
36732 * stdlib/tst-strtod-round.c: Likewise.
36733 * stdlib/Makefile (tests): Add tst-strtod-round.
36736 * stdlib/strtod_l.c: Include <stdint.h>.
36737 (NDEBUG): Do not define.
36738 (round_and_return): Change EXPONENT parameter to type intmax_t.
36739 Rearrange calculations to avoid internal overflow possibilities.
36740 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36741 Rearrange calculations to avoid internal overflow possibilities.
36742 Assert that number fits inside MPNSIZE limbs.
36743 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36744 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36745 calculations and add assertions to avoid internal overflow
36746 possibilities. Add casts to avoid signed/unsigned operations.
36747 * stdlib/tst-strtod-overflow.c: New file.
36748 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36750 2012-08-25 Marek Polacek <polacek@redhat.com>
36752 * time/time.h: Fix some typos in comments.
36754 2012-08-23 Roland McGrath <roland@hack.frob.com>
36756 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36757 * posix/tst-rfc3484-2.c: Likewise.
36758 * posix/tst-rfc3484-3.c: Likewise.
36760 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36762 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36763 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36765 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36767 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36768 #include of fxstatat64.c.
36770 2012-08-22 Roland McGrath <roland@hack.frob.com>
36772 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36773 * shadow/getspent_r.c: Likewise.
36774 * shadow/getspnam.c: Likewise.
36775 * shadow/getspnam_r.c: Likewise.
36776 * gshadow/getsgent.c: Likewise.
36777 * gshadow/getsgent_r.c: Likewise.
36778 * gshadow/getsgnam.c: Likewise.
36779 * gshadow/getsgnam_r.c: Likewise.
36780 * inet/getnetbyad.c: Likewise.
36781 * inet/getnetbyad_r.c: Likewise.
36782 * inet/getnetbynm.c: Likewise.
36783 * inet/getnetbynm_r.c: Likewise.
36784 * inet/getnetent.c: Likewise.
36785 * inet/getnetent_r.c: Likewise.
36786 * inet/getproto.c: Likewise.
36787 * inet/getproto_r.c: Likewise.
36788 * inet/getprtent.c: Likewise.
36789 * inet/getprtent_r.c: Likewise.
36790 * inet/getprtname.c: Likewise.
36791 * inet/getprtname_r.c: Likewise.
36792 * inet/getrpcbyname.c: Likewise.
36793 * inet/getrpcbyname_r.c: Likewise.
36794 * inet/getrpcbynumber.c: Likewise.
36795 * inet/getrpcbynumber_r.c: Likewise.
36796 * inet/getrpcent.c: Likewise.
36797 * inet/getrpcent_r.c: Likewise.
36798 * inet/getaliasent.c: Likewise.
36799 * inet/getaliasent_r.c: Likewise.
36800 * inet/getaliasname.c: Likewise.
36801 * inet/getaliasname_r.c: Likewise.
36802 * nscd/getgrgid_r.c: Likewise.
36803 * nscd/getgrnam_r.c: Likewise.
36804 * nscd/gethstbyad_r.c: Likewise.
36805 * nscd/gethstbynm3_r.c: Likewise.
36806 * nscd/getpwnam_r.c: Likewise.
36807 * nscd/getpwuid_r.c: Likewise.
36808 * nscd/getsrvbynm_r.c: Likewise.
36809 * nscd/getsrvbypt_r.c: Likewise.
36810 * nscd/gai.c: Likewise.
36812 * configure.in (build_nscd): New substituted variable, set
36813 by --disable-build-nscd and defaults to $use_nscd.
36814 * configure: Regenerated.
36815 * config.make.in (build-nscd): New substituted variable.
36816 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36817 Change conditional to require [$(build-nscd) = yes] as well.
36818 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36821 * configure.in (use_nscd): New substituted variable, set by
36822 --disable-nscd. If enabled, define USE_NSCD.
36823 * configure: Regenerated.
36824 * config.h.in: Add USE_NSCD.
36825 * config.make.in (use-nscd): New substituted variable.
36826 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36827 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36828 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36829 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36830 (CFLAGS-getgrnam_r.c): Likewise.
36831 (CFLAGS-initgroups.c): Likewise.
36832 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36833 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36835 * inet/getnetgrent_r.c
36836 (nscd_setnetgrent): New function, broken out of ...
36837 (setnetgrent): ... here. Call it.
36838 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36839 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36840 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36841 * nscd/Makefile (routines, aux): Move definitions after include of
36842 Makeconfig. Conditionalize on [$(use-nscd) != no].
36843 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36844 Conditionalize on [USE_NSCD].
36845 (is_nscd, nscd_init_cb): Likewise.
36846 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36847 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36848 * nss/nss_db/db-init.c: Likewise.
36849 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36851 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36852 (make_request): Use it.
36853 (cache_valid_p): New function.
36854 (__check_pf): Use it.
36855 * NEWS: Add item for --disable-nscd.
36857 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36859 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36860 to support sed >= 4.2.1-20-ga9bf076.
36861 * configure: Regenerated.
36863 2012-08-22 Roland McGrath <roland@hack.frob.com>
36865 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36866 Conditionalize whole body on [IREL].
36868 2012-08-22 Jeff Law <law@redhat.com>
36871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36872 if the family is PF_UNSPEC.
36874 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36876 * Makerules (lib-version): Rename from V.
36877 (install-lib-nosubdir): Change V to lib-version.
36879 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36882 * powerpc32/power6/wcschr.c: New file.
36883 * powerpc32/power6/wcscpy.c: New file.
36884 * powerpc32/power6/wcsrchr.c: New file.
36885 * powerpc64/power6/wcschr.c: New file.
36886 * powerpc64/power6/wcscpy.c: New file.
36887 * powerpc64/power6/wcsrchr.c: New file.
36889 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36891 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36892 (two_way_short_needle): Use it.
36893 * string/strstr.c (AVAILABLE1_USES_J): Define.
36894 * string/strcasestr.c: Likewise.
36896 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36898 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36901 * NEWS: Add an entry.
36902 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36903 define their defaults.
36904 (two_way_short_needle): Detect end-of-string on-the-fly.
36905 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36906 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36907 * string/bug-strcasestr1.c: New test.
36908 * string/Makefile: Run it.
36910 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36913 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36914 the first character.
36916 2012-08-21 Roland McGrath <roland@hack.frob.com>
36918 * csu/elf-init.c (__libc_csu_irel): Function removed.
36919 * csu/libc-start.c (apply_irel): New function.
36920 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36922 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36924 * sysdeps/unix/sysv/linux/kernel-features.h
36925 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36926 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36927 <kernel-features.h>.
36928 [__NR_fadvise64_64]: Make code unconditional.
36929 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36930 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36931 !__NR_fadvise64_64)]: Likewise.
36932 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36933 !__NR_fadvise64_64))]: Likewise.
36934 [__NR_fadvise64]: Make code unconditional.
36935 [!__NR_fadvise64]: Remove conditional code.
36936 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36937 <kernel-features.h>.
36938 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36940 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36943 not include <kernel-features.h>.
36944 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36946 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36948 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36949 include <kernel-features.h>.
36950 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36952 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36955 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36957 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36958 slight instruction rearrangements per scrollpipe analysis.
36959 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36961 2012-08-20 Roland McGrath <roland@hack.frob.com>
36963 * manual/syslog.texi (syslog; vsyslog, closelog):
36964 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36965 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36967 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36968 DSOCAPS to match condition on defining it.
36970 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36972 * sysdeps/unix/sysv/linux/kernel-features.h
36973 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36975 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36976 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36978 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36979 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36981 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36982 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36984 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36985 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36987 * sysdeps/unix/sysv/linux/kernel-features.h
36988 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36989 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36991 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36992 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36993 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36994 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36995 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36996 Make code unconditional.
36997 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36998 (__mmap64) [!__NR_mmap2]: Likewise.
36999 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37000 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37001 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37002 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37003 [__NR_mmap2]: Make code unconditional.
37004 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37005 (__mmap64) [!__NR_mmap2]: Likewise.
37007 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37009 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37011 2012-08-18 Andreas Jaeger <aj@suse.de>
37013 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37015 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37017 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37018 * include/unistd.h (__have_sock_cloexec): Likewise.
37019 (__have_pipe2): Likewise.
37020 (__have_dup3): Likewise.
37022 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37025 * include/unistd.h (__have_pipe2): Change define into an extern int.
37026 (__have_dup3): Likewise.
37027 * socket/have_sock_cloexec.c: Include fcntl.h.
37028 (__have_pipe2): New variable.
37029 (__have_dup3): Likewise.
37031 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37033 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37035 2012-08-17 Marek Polacek <polacek@redhat.com>
37037 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37038 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37040 2012-08-17 Roland McGrath <roland@hack.frob.com>
37042 * configure.in: Add AC_SUBST for sysheaders.
37043 * configure: Regenerated.
37044 * config.make.in (sysheaders): New substituted variable.
37046 * sysdeps/unix/mkfifo.c: Moved ...
37047 * sysdeps/posix/mkfifo.c: ... here.
37048 * sysdeps/unix/mkfifoat.c: Moved ...
37049 * sysdeps/posix/mkfifoat.c: ... here.
37051 * sysdeps/unix/utime.c: Moved ...
37052 * sysdeps/posix/utime.c: ... here.
37054 * sysdeps/unix/time.c: Moved ...
37055 * sysdeps/posix/time.c: ... here.
37056 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37057 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37059 * sysdeps/unix/nice.c: Moved ...
37060 * sysdeps/posix/nice.c: ... here.
37062 * sysdeps/unix/alarm.c: Moved ...
37063 * sysdeps/posix/alarm.c: ... here.
37065 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37067 2012-08-17 Jeff Law <law@redhat.com>
37069 * intl/Makefile (codeset_mo): New variable.
37070 ($(codeset_mo)): New target.
37071 (tst-codeset.out): Depend on that. Remove explicit rule.
37072 (tst-gettext3.out, tst-gettext5.out): Likewise.
37073 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37074 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37075 * intl/tst-codeset.sh: Remove.
37076 * intl/tst-gettext3.sh: Likewise.
37077 * intl/tst-gettext5.sh: Likewise.
37079 2012-08-17 Roland McGrath <roland@hack.frob.com>
37081 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37082 * sysdeps/unix/syscalls.list: ... here.
37084 * sysdeps/posix/getaddrinfo.c
37085 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37086 (gaiconf_init, gaiconf_reload): Use them.
37087 [!_STATBUF_ST_NSEC]
37088 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37089 Define using time_t rather than struct timespec.
37091 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37092 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37094 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37096 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37097 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37100 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37101 __libc_cleanup_push argument.
37103 * bits/param.h: New file.
37104 * misc/sys/param.h: New file.
37105 * include/sys/param.h: New file.
37106 * misc/Makefile (headers): Add bits/param.h.
37107 * sysdeps/generic/sys/param.h: File removed.
37108 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37109 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37110 * sysdeps/mach/hurd/bits/param.h: New file.
37111 * sysdeps/mach/hurd/sys/param.h: File removed.
37113 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37116 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37118 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37119 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37122 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37123 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37124 rather than -D_IO_MTSAFE_IO conditionally.
37125 * stdio-common/Makefile (CPPFLAGS): Likewise.
37126 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37127 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37128 Use $(libio-mtsafe).
37129 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37130 of -D_IO_MTSAFE_IO.
37131 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37132 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37133 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37134 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37135 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37136 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37137 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37138 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37139 (CFLAGS-fread_u_chk.c): Likewise.
37140 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37141 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37142 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37143 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37144 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37145 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37146 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37147 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37148 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37150 * libio/Makefile: Test [$(libc-reentrant) = yes]
37151 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37154 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37155 * sysdeps/pthread/configure: File removed.
37156 * sysdeps/pthread/Makeconfig: New file.
37157 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37158 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37160 2012-08-16 Gary Benson <gbenson@redhat.com>
37162 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37163 unmapping the first object in a namespace.
37165 2012-08-16 Roland McGrath <roland@hack.frob.com>
37167 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37168 (__internal_setnetgrent): ... this. Add internal_function to
37169 definition. Add libc_hidden_def.
37170 (setnetgrent): Update caller.
37171 (internal_endnetgrent): Renamed to ...
37172 (__internal_endnetgrent): ... this. Add internal_function to
37173 definition. Add libc_hidden_def.
37174 (endnetgrent): Update caller.
37175 (internal_getnetgrent_r): Renamed to ...
37176 (__internal_getnetgrent_r): ... this. Add internal_function to
37177 definition. Add libc_hidden_def.
37178 (__getnetgrent_r): Update caller.
37179 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37181 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37183 * stdlib/longlong.h: Update from GCC.
37185 2012-08-16 Roland McGrath <roland@hack.frob.com>
37187 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37188 on _QL, which is set by umul_ppmm but never used.
37189 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37190 variables, which are set by GMP macros but never used.
37191 * stdio-common/_itowa.c (_itowa): Likewise.
37192 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37193 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37195 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37197 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37198 struct La_sh_regs is not constant.
37199 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37200 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37201 and struct La_sparc64_regs are not constant.
37203 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37205 * sysdeps/unix/sysv/linux/kernel-features.h
37206 (__ASSUME_POSIX_TIMERS): Remove.
37207 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37208 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37209 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37210 Make code unconditional.
37211 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37212 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37213 Make code unconditional.
37214 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37215 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37216 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37217 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37218 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37219 Make code unconditional.
37220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37221 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37222 (__libc_missing_posix_timers): Remove.
37224 2012-08-15 Roland McGrath <roland@hack.frob.com>
37226 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37227 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37229 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37231 * elf/dl-sym.c: Include <stdlib.h>.
37233 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37234 constants, which avoids warnings in 32-bit builds.
37236 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37237 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37239 * misc/lseek.c: File moved to ...
37240 * io/lseek.c: ... here.
37242 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37244 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37245 shifting LEN more than 31 bits at once.
37247 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37250 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37251 segmentation fault for a case of two empty input strings.
37252 * string/test-strncasecmp.c (check1): Renamed to...
37253 (bz12205): ...this.
37254 (bz14195): Add new testcase for two empty input strings and N > 0.
37255 (test_main): Call new testcase, adapt for renamed function.
37257 2012-08-15 Andreas Jaeger <aj@suse.de>
37260 * crypt/md5test2.c: New test, based on test supplied by Serge
37261 Belyshev <belyshev@depni.sinp.msu.ru>.
37262 * crypt/Makefile (xtests): Add md5test-giant..
37263 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37265 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37268 * crypt/md5.c (md5_process_block): Don't assume the buffer
37269 length is less than 2**32.
37270 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37271 length is less than 2**64.
37273 2012-08-15 Roland McGrath <roland@hack.frob.com>
37275 * string/str-two-way.h: Include <sys/param.h>.
37276 (MAX): Macro removed.
37278 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37279 Move #define and #undef of memmove to just before and after
37280 including <string.h>.
37282 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37283 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37284 and after including <string.h>. Move declarations of
37285 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37286 to before #include "string/memmove.c".
37288 * include/dirent.h: Declare __getdirentries.
37290 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37291 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37293 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37295 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37296 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37297 * sysdeps/i386/configure: Regenerated.
37298 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37299 STABS_CURRENT_FILE, and STABS_FUN.
37300 (END): Remove call to STABS_FUN_END.
37301 (STABS_CURRENT_FILE1): Delete.
37302 (STABS_CURRENT_FILE): Likewise.
37303 (STABS_FUN): Likewise.
37304 (STABS_FUN_END): Likewise.
37305 (STABS_FUN2): Likewise.
37306 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37307 * sysdeps/x86_64/configure: Regenerated.
37309 2012-08-14 Roland McGrath <roland@hack.frob.com>
37311 * elf/dl-open.c: Include <atomic.h>.
37312 * elf/dl-lookup.c: Likewise.
37314 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37316 * sysdeps/unix/sysv/linux/kernel-features.h
37317 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37318 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37320 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37322 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37323 condition on __ASSUME_CLONE_THREAD_FLAGS.
37325 2012-08-14 Andreas Jaeger <aj@suse.de>
37327 * sysdeps/i386/fpu/libm-test-ulps: Update.
37329 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37331 * include/atomic.h (atomic_exchange_and_add): Split into ...
37332 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37335 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37339 2012-08-13 Jeff Law <law@redhat.com>
37341 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37342 null byte in the output string.
37344 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37346 * sysdeps/unix/sysv/linux/kernel-features.h
37347 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37348 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37349 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37350 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37351 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37352 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37353 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37355 2012-08-09 Jeff Law <law@redhat.com>
37358 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37359 When avoid_arena is set, don't retry in the that arena. Pick the
37360 next one, whatever it might be.
37361 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37362 (arena_lock): Pass in new parameter to arena_get2.
37363 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37365 (__libc_malloc): Unify retrying after main arena failure with
37366 __libc_memalign version.
37367 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37369 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37372 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37373 to __redirect_strstr.
37374 (__strstr_sse42): Use typeof __redirect_strstr.
37375 (__strstr_ia32): Likewise.
37376 (__libc_strstr): New prototype.
37377 (strstr): Renamed to ...
37378 (__libc_strstr): This.
37379 (strstr): New strong alias of __libc_strstr.
37380 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37381 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37384 (__libc_time): New prototype.
37385 (time_ifunc): Replace time with __libc_time.
37386 (time): New strong alias and hidden definition of __libc_time.
37387 (__GI_time): Remove strong alias.
37388 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37389 Include <stddef.h>.
37390 (memmove): Redefined to __redirect_memmove.
37391 (__memmove_sse2): Use typeof __redirect_memmove.
37392 (__memmove_ssse3): Likewise.
37393 (__memmove_ssse3_back): Likewise.
37394 (__libc_memmove): New prototype.
37395 (memmove): Renamed to ...
37396 (__libc_memmove): This.
37397 (memmove): New strong alias of __libc_memmove.
37399 2012-08-08 Mark Salter <msalter@redhat.com>
37402 (R_MN10300_TLS_GD): Define.
37403 (R_MN10300_TLS_LD): Likewise.
37404 (R_MN10300_TLS_LDO): Likewise.
37405 (R_MN10300_TLS_GOTIE): Likewise.
37406 (R_MN10300_TLS_IE): Likewise.
37407 (R_MN10300_TLS_LE): Likewise.
37408 (R_MN10300_TLS_DTPMOD): Likewise.
37409 (R_MN10300_TLS_DTPOFF): Likewise.
37410 (R_MN10300_TLS_TPOFF): Likewise.
37411 (R_MN10300_SYM_DIFF): Likewise.
37412 (R_MN10300_ALIGN): Likewise.
37413 (R_MN10300_NUM): Update.
37415 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37417 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37420 2012-08-08 Roland McGrath <roland@hack.frob.com>
37422 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37424 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37425 sysdeps/unix -> sysdeps/posix move.
37426 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37428 2012-08-07 Allan McRae <allan@archlinux.org>
37431 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37432 (SUNOS_CPP): Likewise.
37433 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37435 (open_input): Call CPP using execvp.
37437 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37439 * sysdeps/unix/sysv/linux/kernel-features.h
37440 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37441 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37442 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37443 (__ASSUME_WAITID_SYSCALL): Likewise.
37444 * sysdeps/unix/sysv/linux/dl-execstack.c
37445 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37446 code unconditional.
37447 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37449 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37450 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37451 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37453 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37455 [__ASSUME_WAITID_SYSCALL]: Likewise.
37456 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37458 2012-08-07 Roland McGrath <roland@hack.frob.com>
37460 * sysdeps/unix/closedir.c: Renamed to ...
37461 * sysdeps/posix/closedir.c: ... here.
37462 * sysdeps/unix/dirfd.c: Renamed to ...
37463 * sysdeps/posix/dirfd.c: ... here.
37464 * sysdeps/unix/dirstream.h: Renamed to ...
37465 * sysdeps/posix/dirstream.h: ... here.
37466 * sysdeps/unix/fdopendir.c: Renamed to ...
37467 * sysdeps/posix/fdopendir.c: ... here.
37468 * sysdeps/unix/opendir.c: Renamed to ...
37469 * sysdeps/posix/opendir.c: ... here.
37470 * sysdeps/unix/readdir.c: Renamed to ...
37471 * sysdeps/posix/readdir.c: ... here.
37472 * sysdeps/unix/readdir_r.c: Renamed to ...
37473 * sysdeps/posix/readdir_r.c: ... here.
37474 * sysdeps/unix/rewinddir.c: Renamed to ...
37475 * sysdeps/posix/rewinddir.c: ... here.
37476 * sysdeps/unix/seekdir.c: Renamed to ...
37477 * sysdeps/posix/seekdir.c: ... here.
37478 * sysdeps/unix/telldir.c: Renamed to ...
37479 * sysdeps/posix/telldir.c: ... here.
37480 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37481 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37482 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37483 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37485 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37486 * bits/fcntl.h: ... here.
37488 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37490 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37491 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37492 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37493 (struct flock): Move l_start, l_len to the beginning.
37494 Use __pid_t for l_pid.
37495 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37496 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37497 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37498 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37499 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37500 [__USE_LARGEFILE64] (struct flock64): New type.
37501 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37503 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37504 * bits/dirent.h: ... here.
37506 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37507 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37509 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37511 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37512 Change from 2.6.0 to 2.6.16.
37513 * sysdeps/unix/sysv/linux/configure: Regenerated.
37514 * sysdeps/unix/sysv/linux/kernel-features.h
37515 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37516 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37518 (__ASSUME_UTIMES): Likewise.
37519 (__ASSUME_CLONE_STOPPED): Remove.
37520 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37521 architectures, not kernel version.
37522 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37523 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37524 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37525 (__ASSUME_WAITID_SYSCALL): Likewise.
37526 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37527 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37528 * README: State 2.6.16 as minimum Linux kernel version. Do not
37529 refer to older versions.
37531 2012-08-06 Roland McGrath <roland@hack.frob.com>
37533 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37534 Define alphasort64 as an alias.
37535 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37536 Define versionsort64 as an alias.
37537 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37538 Define scandir64 as an alias.
37539 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37540 Define scandirat64 as an alias.
37541 * dirent/alphasort64.c (alphasort64):
37542 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37543 * dirent/versionsort64.c: Likewise.
37544 * dirent/scandir64.c: Likewise.
37545 * dirent/scandirat64.c: Likewise.
37546 * sysdeps/wordsize-64/alphasort.c: File removed.
37547 * sysdeps/wordsize-64/alphasort64.c: File removed.
37548 * sysdeps/wordsize-64/scandir.c: File removed.
37549 * sysdeps/wordsize-64/scandir64.c: File removed.
37550 * sysdeps/wordsize-64/scandirat.c: File removed.
37551 * sysdeps/wordsize-64/scandirat64.c: File removed.
37552 * sysdeps/wordsize-64/versionsort.c: File removed.
37553 * sysdeps/wordsize-64/versionsort64.c: File removed.
37554 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37555 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37556 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37557 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37558 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37559 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37560 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37561 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37563 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37565 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37567 [defined __arch64__ || defined __sparcv9]
37568 (__INO_T_MATCHES_INO64_T): New macro.
37569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37570 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37571 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37572 * sysdeps/unix/sysv/linux/bits/dirent.h
37573 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37574 (_DIRENT_MATCHES_DIRENT64): New macro.
37576 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37577 Define lockf64 as an alias.
37578 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37579 Define fseeko64 as an alias.
37580 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37581 Define ftello64 as an alias.
37582 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37583 Define _IO_fgetpos64 and fgetpos64 as aliases.
37584 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37585 Define _IO_fsetpos64 and fsetpos64 as aliases.
37586 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37587 Conditionalize body on this.
37588 * libio/fseeko64.c: Likewise.
37589 * libio/ftello64.c: Likewise.
37590 * libio/iofgetpos64.c: Likewise.
37591 * libio/iofsetpos64.c: Likewise.
37592 * sysdeps/wordsize-64/lockf.c: File removed.
37593 * sysdeps/wordsize-64/lockf64.c: File removed.
37594 * sysdeps/wordsize-64/fseeko.c: File removed.
37595 * sysdeps/wordsize-64/fseeko64.c: File removed.
37596 * sysdeps/wordsize-64/ftello.c: File removed.
37597 * sysdeps/wordsize-64/ftello64.c: File removed.
37598 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37599 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37600 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37601 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37602 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37604 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37605 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37606 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37607 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37608 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37609 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37610 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37611 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37613 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37615 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37617 [defined __arch64__ || defined __sparcv9]
37618 (__OFF_T_MATCHES_OFF64_T): New macro.
37619 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37620 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37622 (__OFF_T_MATCHES_OFF64_T): New macro.
37624 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37626 * stdlib/secure-getenv.c (__secure_getenv): Replace
37627 GLIBC_2_16 with GLIBC_2_17.
37629 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37631 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37632 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37634 2012-08-03 David S. Miller <davem@davemloft.net>
37636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37638 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37640 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37642 (__ASSUME_CORRECT_SI_PID): Likewise.
37643 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37644 (__ASSUME_TMPFS_NAME): Likewise.
37645 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37646 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37647 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37648 (HAVE_AUX_SECURE): Make definition unconditional.
37649 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37650 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37652 2012-08-03 Roland McGrath <roland@hack.frob.com>
37654 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37655 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37656 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37657 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37658 __eloop_threshold instead of SYMLOOP_MAX.
37660 * sysdeps/generic/eloop-threshold.h: New file.
37661 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37663 * elf/chroot_canon.c (chroot_canon): Likewise.
37665 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37668 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37669 Change to 2.6.0 everywhere.
37670 * sysdeps/unix/sysv/linux/configure: Regenerated.
37671 * sysdeps/unix/sysv/linux/kernel-features.h
37672 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37673 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37675 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37676 (__ASSUME_FUTEX_REQUEUE): Remove.
37677 (__ASSUME_STATFS64): Define unconditionally.
37678 (__ASSUME_AT_SECURE): Likewise.
37679 (__ASSUME_CORRECT_SI_PID): Likewise.
37680 (__ASSUME_TGKILL): Define without depending on kernel version for
37682 (__ASSUME_UTIMES): Likewise.
37683 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37685 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37686 (__ASSUME_TMPFS_NAME): Likewise.
37687 * README: Update reference to Linux kernel versions.
37689 2012-08-02 Marek Polacek <polacek@redhat.com>
37692 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37693 libc_cv_asm_type_prefix with %.
37694 * configure: Regenerated.
37695 * include/libc-symbols.h: Remove comment about
37696 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37697 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37698 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37699 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37700 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37701 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37702 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37703 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37704 * elf/tst-unique2mod1.c: Likewise.
37705 * elf/tst-unique1mod2.c: Likewise.
37706 * elf/tst-unique1mod1.c: Likewise.
37707 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37708 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37709 Replace ASM_TYPE_DIRECTIVE with .type.
37710 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37711 * sysdeps/i386/sysdep.h: Likewise.
37712 * sysdeps/x86_64/sysdep.h: Likewise.
37713 * sysdeps/sh/sysdep.h: Likewise.
37714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37715 Do not define ASM_TYPE_DIRECTIVE.
37716 * sysdeps/powerpc/sysdep.h: Likewise.
37717 * sysdeps/powerpc/powerpc32/sysdep.h:
37718 Replace ASM_TYPE_DIRECTIVE with .type.
37719 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37720 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37721 * sysdeps/i386/fpu/e_powf.S: Likewise.
37722 * sysdeps/i386/fpu/e_expl.S: Likewise.
37723 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37724 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37725 * sysdeps/i386/fpu/e_pow.S: Likewise.
37726 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37727 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37728 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37729 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37730 * sysdeps/i386/fpu/e_log2.S: Likewise.
37731 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37732 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37733 * sysdeps/i386/fpu/e_powl.S: Likewise.
37734 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37735 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37736 * sysdeps/i386/fpu/e_logl.S: Likewise.
37737 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37738 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37739 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37740 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37741 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37742 * sysdeps/i386/fpu/e_log.S: Likewise.
37743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37744 * sysdeps/i386/fpu/e_logf.S: Likewise.
37745 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37746 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37747 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37748 * sysdeps/i386/fpu/e_log10.S: Likewise.
37749 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37750 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37751 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37752 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37753 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37755 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37756 * sysdeps/i386/i686/strtok.S: Likewise.
37757 * sysdeps/i386/i386-mcount.S: Likewise.
37758 * sysdeps/i386/strtok.S: Likewise.
37759 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37760 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37761 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37762 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37763 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37764 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37765 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37766 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37767 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37768 * sysdeps/x86_64/_mcount.S: Likewise.
37769 * sysdeps/x86_64/strtok.S: Likewise.
37770 * sysdeps/sh/_mcount.S: Likewise.
37772 2012-08-01 Roland McGrath <roland@hack.frob.com>
37774 * libio/iofopen.c: Include <fcntl.h>.
37775 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37776 (_IO_fopen64, fopen64): Define as aliases.
37777 * libio/iofopen64.c: Include <fcntl.h>.
37778 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37779 Conditionalize body on this.
37780 * sysdeps/wordsize-64/iofopen.c: File removed.
37781 * sysdeps/wordsize-64/iofopen64.c: File removed.
37783 2012-08-01 Marek Polacek <polacek@redhat.com>
37785 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37786 Use dlfcn directly instead of a variable.
37787 (binfmt-subdir): Do not define.
37790 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37792 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37793 Remove all definitions.
37794 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37795 <kernel-features.h>.
37796 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37797 (miss_F_GETOWN_EX): Remove all definitions.
37798 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37800 [!__ASSUME_FCNTL64]: Remove conditional code.
37801 [__ASSUME_FCNTL64]: Make code unconditional.
37802 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37803 <kernel-features.h>.
37804 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37805 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37806 (lockf64) [__NR_fcntl64]: Make code unconditional.
37807 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37809 * sysdeps/unix/sysv/linux/kernel-features.h
37810 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37811 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37812 Make code unconditional.
37813 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37814 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37816 [__NR_vfork]: Make code unconditional.
37817 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37818 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37820 [__NR_vfork]: Make code unconditional.
37821 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37822 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37824 2012-08-01 Roland McGrath <roland@hack.frob.com>
37826 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37827 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37829 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37830 Define mkstemp64 as an alias.
37831 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37832 Define mkstemps64 as an alias.
37833 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37834 Define mkostemp64 as an alias.
37835 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37836 Define mkostemps64 as an alias.
37837 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37838 Conditionalize body on this.
37839 * misc/mkostemp64.c: Likewise.
37840 * misc/mkostemps64.c: Likewise.
37841 * misc/mkstemps64.c: Likewise.
37842 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37843 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37844 * sysdeps/wordsize-64/mkostemp.c: File removed.
37845 * sysdeps/wordsize-64/mkstemp.c: File removed.
37846 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37847 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37848 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37849 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37852 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37853 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37854 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37855 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37857 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37858 compat_symbol macros from <shlib-compat.h> rather than the underlying
37859 default_symbol_version and symbol_version macros, so that DEFAULT
37860 lines in shlib-versions are respected.
37861 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37863 2012-08-01 Florian Weimer <fweimer@redhat.com>
37865 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37866 Declare with warn_unused_result.
37867 (setgid, setregid, setegid, setresgid): Likewise.
37868 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37870 * WUR-REPORT: Remove set*id functions.
37872 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37874 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37876 2012-07-31 Roland McGrath <roland@hack.frob.com>
37879 * include/sys/socket.h (__libc_accept, __libc_accept4):
37880 Add attribute_hidden.
37881 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37883 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37885 * inet/getnetgrent_r.c (setup): Likewise.
37887 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37889 2012-07-31 David S. Miller <davem@davemloft.net>
37891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37893 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37896 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37897 value between 1.0 and 2.0 and smaller part has absolute value less
37899 * math/s_clog10.c (__clog10): Likewise.
37900 * math/s_clog10f.c (__clog10f): Likewise.
37901 * math/s_clog10l.c (__clog10l): Likewise.
37902 * math/s_clogf.c (__clogf): Likewise.
37903 * math/s_clogl.c (__clogl): Likewise.
37904 * math/libm-test.inc (clog_test): Add more tests.
37905 (clog10_test): Likewise.
37906 * sysdeps/i386/fpu/libm-test-ulps: Update.
37907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37909 2012-07-31 Florian Weimer <fweimer@redhat.com>
37911 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37912 Exit with zero in case no suitable GID is found, and write a
37913 message to standard error.
37915 2012-07-30 Roland McGrath <roland@hack.frob.com>
37917 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37919 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37920 (MAXPATHLEN): Removed.
37921 (NOGROUP, NODEV): New macros.
37922 (setbit, clrbit, isset, isclr): New macros.
37923 (howmany, roundup, powerof2): New macros.
37924 (DEV_BSIZE): New macro.
37926 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37927 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37929 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37930 definition on [!__NO_LONG_DOUBLE_MATH].
37932 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37933 PTR_MANGLE and PTR_DEMANGLE.
37935 * socket/accept4.c (accept4): Rename to __libc_accept4.
37936 Define accept4 as a weak alias.
37938 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37939 on [_DIRENT_HAVE_D_TYPE].
37940 * io/ftw.c (ftw_dir): Likewise.
37942 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37944 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37946 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37947 Use the BSD numbers rather than the arbitrary ones we had.
37948 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37949 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37950 (SIGXCPU, SIGXFSZ): New macros.
37953 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37954 initializer on [_LIBC_REENTRANT].
37956 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37957 definitions inside [_POSIX_MAPPED_FILES].
37959 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37961 * dirent/opendir.c: Include <fcntl.h>.
37963 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37964 (__libc_getspecific): Likewise.
37965 (__libc_key_create): Likewise.
37967 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37968 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37969 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37970 (tmpfile64): Define as alias.
37971 * sysdeps/wordsize-64/tmpfile.c: File removed.
37972 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37973 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37974 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37976 * stdio-common/vfscanf.c: Include <stdbool.h>.
37977 * nss/makedb.c: Likewise.
37978 * stdio-common/_i18n_number.h: Likewise.
37979 * argp/argp-help.c: Likewise.
37980 * posix/wordexp.c: Likewise.
37981 * sysdeps/posix/spawni.c: Likewise.
37982 * nss/nss_files/files-initgroups.c: Likewise.
37983 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37984 * nss/nss_files/files-initgroups.c: Likewise.
37985 * nss/nss_db/db-netgrp.c: Likewise.
37986 * nss/nss_db/db-initgroups.c: Likewise.
37987 * io/fchmodat.c: Include <sys/stat.h>.
37989 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37990 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37992 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37995 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37996 Add multiple inclusion protection.
37998 2012-07-27 David S. Miller <davem@davemloft.net>
38000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38002 2012-07-27 Gary Benson <gbenson@redhat.com>
38005 * elf/rtld.c: Include <stap-probe.h>.
38006 (dl_main): Added static probes "init_start" and "init_complete".
38007 * elf/dl-load.c: Include <stap-probe.h>.
38008 (lose): Take new parameter "nsid".
38009 Added static probe "map_failed".
38010 (_dl_map_object_from_fd): Pass namespace id to lose.
38011 Added static probe "map_start".
38012 (open_verify): Pass namespace id to lose.
38013 * elf/dl-open.c: Include <stap-probe.h>.
38014 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38015 and "reloc_complete".
38016 * elf/dl-close.c: Include <stap-probe.h>.
38017 (_dl_close_worker): Added static probes "unmap_start" and
38019 * elf/rtld-debugger-interface.txt: New file documenting the above.
38021 2012-07-26 Roland McGrath <roland@hack.frob.com>
38023 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38024 rather than a string variable.
38025 * sunrpc/rpc_main.c (h_output): Likewise.
38026 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38028 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38030 * inet/check_native.c: New file.
38032 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38035 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38036 if larger part has absolute value 1.0.
38037 * math/s_clog10.c (__clog10): Likewise.
38038 * math/s_clog10f.c (__clog10f): Likewise.
38039 * math/s_clog10l.c (__clog10l): Likewise.
38040 * math/s_clogf.c (__clogf): Likewise.
38041 * math/s_clogl.c (__clogl): Likewise.
38042 * math/libm-test.inc (clog_test): Add more tests.
38043 (clog10_test): Likewise.
38044 * sysdeps/i386/fpu/libm-test-ulps: Update.
38045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38047 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38048 (pltexit): Likewise.
38049 (La_regs): Likewise.
38050 (La_retval): Likewise.
38051 (int_retval): Likewise.
38052 Update #error for removed macros to refer only to definitions in
38054 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38056 (pltexit): Likewise.
38057 (La_regs): Likewise.
38058 (La_retval): Likewise.
38059 (int_retval): Likewise.
38060 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38062 (pltexit): Likewise.
38063 (La_regs): Likewise.
38064 (La_retval): Likewise.
38065 (int_retval): Likewise.
38066 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38068 (pltexit): Likewise.
38069 (La_regs): Likewise.
38070 (La_retval): Likewise.
38071 (int_retval): Likewise.
38072 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38074 (pltexit): Likewise.
38075 (La_regs): Likewise.
38076 (La_retval): Likewise.
38077 (int_retval): Likewise.
38078 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38080 (pltexit): Likewise.
38081 (La_regs): Likewise.
38082 (La_retval): Likewise.
38083 (int_retval): Likewise.
38084 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38086 (pltexit): Likewise.
38087 (La_regs): Likewise.
38088 (La_retval): Likewise.
38089 (int_retval): Likewise.
38090 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38091 macro definitions in tst-audit.h.
38092 * sysdeps/i386/tst-audit.h: New file.
38093 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38094 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38095 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38096 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38097 * sysdeps/sh/tst-audit.h: Likewise.
38098 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38099 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38100 * sysdeps/x86_64/tst-audit.h: Likewise.
38102 2012-07-26 Andreas Jaeger <aj@suse.de>
38104 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38107 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38108 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38109 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38111 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38112 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38113 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38115 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38118 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38120 (si_call_addr, si_syscall, si_arch): Define new macro.
38121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38123 (si_call_addr, si_syscall, si_arch): Define new marcro.
38124 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38126 (si_call_addr, si_syscall, si_arch): Define new macro.
38127 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38129 (si_call_addr, si_syscall, si_arch): Define new macro.
38131 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38135 Change to 2.4.21 where previously 2.4.1.
38136 * sysdeps/unix/sysv/linux/configure: Regenerated.
38137 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38138 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38139 Linux kernel version.
38140 (__ASSUME_STD_AUXV): Remove.
38141 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38143 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38144 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38145 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38146 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38147 (__ASSUME_NETLINK_SUPPORT): Likewise.
38148 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38149 (__no_netlink_support): Remove conditional definition.
38150 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38152 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38153 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38154 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38155 (if_nameindex_ioctl): Remove.
38156 (if_nameindex_netlink): Do not handle __no_netlink_support.
38157 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38159 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38160 Remove conditional code.
38161 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38163 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38165 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38166 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38167 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38169 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38170 [!__ASSUME_STD_AUXV]: Remove conditional code.
38171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38172 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38173 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38175 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38176 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38178 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38180 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38181 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38183 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38185 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38188 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38191 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38192 code unconditional.
38193 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38195 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38197 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38200 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38202 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38205 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38206 code unconditional.
38207 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38209 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38211 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38214 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38215 code unconditional.
38216 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38218 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38220 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38223 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38225 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38226 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38227 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38228 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38229 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38230 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38231 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38232 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38233 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38234 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38235 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38236 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38237 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38238 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38239 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38240 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38241 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38242 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38243 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38244 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38245 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38246 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38247 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38249 2012-07-25 Florian Weimer <fweimer@redhat.com>
38251 * Versions.def: Add GLIBC_2.17.
38252 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38253 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38254 Introduce __libc_secure_getenv.
38255 * stdlib/Versions (2.17): Add secure_getenv
38256 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38257 * stdlib/secure-getenv.c: Rename __secure_getenv to
38258 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38259 symbol __secure_getenv for GLIBC_2.0.
38260 * stdlib/tst-secure-getenv.c: New.
38261 * stdlib/Makefile (tests): Add testcase.
38262 * manual/startup.texi (Environment Access): Document
38264 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38265 __libc_secure_getenv.
38266 * inet/ruserpass.c (ruserpass): Likewise.
38267 * malloc/mtrace.c (mtrace): Likewise.
38268 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38269 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38270 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38271 * sysdeps/posix/tempname.c: Likewise. Evaluate
38272 HAVE_SECURE_GETENV.
38273 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38274 __secure_getenv to __libc_secure_getenv.
38275 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38288 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38290 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38291 (struct La_i86_retval): Likewise.
38292 (struct La_x86_64_regs): Likewise.
38293 (struct La_x86_64_retval): Likewise.
38294 (struct La_x32_regs): Likewise.
38295 (struct La_x32_retval): Likewise.
38296 (struct La_ppc32_regs): Likewise.
38297 (struct La_ppc32_retval): Likewise.
38298 (struct La_ppc64_regs): Likewise.
38299 (struct La_ppc64_retval): Likewise.
38300 (struct La_sh_regs): Likewise.
38301 (struct La_sh_retval): Likewise.
38302 (struct La_s390_32_regs): Likewise.
38303 (struct La_s390_32_retval): Likewise.
38304 (struct La_s390_64_regs): Likewise.
38305 (struct La_s390_64_retval): Likewise.
38306 (struct La_sparc32_regs): Likewise.
38307 (struct La_sparc32_retval): Likewise.
38308 (struct La_sparc64_regs): Likewise.
38309 (struct La_sparc64_retval): Likewise.
38310 (struct audit_ifaces): Remove architecture-specific pltenter and
38312 * sysdeps/i386/ldsodefs.h: New file.
38313 * sysdeps/powerpc/ldsodefs.h: Likewise.
38314 * sysdeps/s390/ldsodefs.h: Likewise.
38315 * sysdeps/sh/ldsodefs.h: Likewise.
38316 * sysdeps/sparc/ldsodefs.h: Likewise.
38317 * sysdeps/x86_64/ldsodefs.h: Likewise.
38319 2012-07-25 Marek Polacek <polacek@redhat.com>
38322 * math/libm-test.inc (yn_test): Add another test.
38323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38324 to ERANGE when the result is +-Inf.
38325 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38326 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38327 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38328 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38330 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38332 * conform/data/time.h-data (NULL): Use macro-constant. Require
38334 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38336 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38338 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38340 * configure.in <sysdeps resolving>: Correct printing
38342 * configure: Regenerate.
38344 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38346 * math/w_ilogb.c: Include <limits.h>.
38347 * math/w_ilogbl.c: Likewise.
38349 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38351 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38352 va_copy. Document allowing for unavailable va_copy only as
38353 pre-C99 compatibility.
38354 * manual/string.texi (Copying and Concatenation): Use va_copy
38355 instead of __va_copy in concat example.
38357 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38359 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38360 (__sendto): Use create_address_port. Initialize APORT and deallocate
38363 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38364 with O_NOLINK passed to __file_name_lookup.
38366 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38367 with O_NOLINK passed to __file_name_lookup.
38369 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38370 negative N or less than NGIDS.
38372 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38373 type to string_t. Set ERANGE as errno and return it if NAME is not big
38374 enough. Use memcpy instead of strncpy.
38376 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38378 * elf/Makefile (check-data): Remove.
38379 (localplt.data): New vpath directive.
38380 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38381 instead of $(check-data).
38382 * scripts/data/localplt-generic.data: Move to ...
38383 * sysdeps/generic/localplt.data: ... here.
38384 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38385 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38386 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38389 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38392 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38395 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38398 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38401 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38405 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38407 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38408 PPC32 and PPC64 files.
38409 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38410 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38412 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38414 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38415 __makecontext_ret to ...
38416 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38417 ... here and call exit if uc_link is NULL. New file.
38418 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38419 __makecontext_ret.S.
38420 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38421 __makecontext_ret to ...
38422 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38423 ... here and call exit if uc_link is NULL. New file.
38424 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38425 __makecontext_ret.S.
38427 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38429 * elf/elf.h (R_390_IRELATIVE): New definition.
38430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38431 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38432 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38433 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38434 (elf_machine_lazy_rel): Likewise.
38435 * sysdeps/s390/dl-irel.h: New file.
38436 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38437 * sysdeps/s390/s390-64/memset.S: New asm code.
38438 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38439 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38440 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38441 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38442 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38443 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38444 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38445 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38446 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38447 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38448 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38449 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38450 * sysdeps/s390/s390-32/memset.S: New asm code.
38451 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38453 2012-07-17 Marek Polacek <polacek@redhat.com>
38456 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38457 * sysdeps/s390/s390-64/configure.in: Likewise.
38458 * sysdeps/sparc/configure.in: Likewise.
38459 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38460 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38461 * sysdeps/i386/configure.in: Likewise.
38462 * sysdeps/x86_64/configure.in: Likewise.
38463 * sysdeps/sh/configure.in: Likewise.
38464 * sysdeps/s390/s390-32/configure: Regenerated.
38465 * sysdeps/s390/s390-64/configure: Likewise.
38466 * sysdeps/x86_64/configure: Likewise.
38467 * sysdeps/sh/configure: Likewise.
38468 * sysdeps/powerpc/powerpc64/configure: Likewise.
38469 * sysdeps/powerpc/powerpc32/configure: Likewise.
38470 * sysdeps/sparc/configure: Likwise.
38471 * sysdeps/i386/configure: Likewise.
38473 * elf/dl-open.c: Comment fixes.
38475 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38477 * Makefile [CXX] (check-data): Remove.
38478 [CXX] (c++-types.data): New vpath directive.
38479 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38480 vpath. Do not allow for C++ type data being missing.
38481 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38482 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38483 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38484 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38485 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38486 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38487 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38490 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38493 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38496 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38499 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38502 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38505 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38508 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38511 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38512 definitions to architecture-specific files.
38513 (TLS_IE): Likewise.
38514 (TLS_LD): Likewise.
38515 (TLS_GD): Likewise.
38516 * sysdeps/i386/tls-macros.h: New file.
38517 * sysdeps/powerpc/tls-macros.h: Likewise.
38518 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38519 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38520 * sysdeps/sh/tls-macros.h: Likewise.
38521 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38522 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38523 * sysdeps/x86_64/tls-macros.h: Likewise.
38525 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38527 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38528 zero value for regular exit case.
38530 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38531 (__start_context): Preserve zero value for regular exit case.
38533 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38534 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38536 * manual/setjmp.texi (setcontext): Clarify normal process
38537 termination when uc_link is the null pointer.
38538 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38541 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38543 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38544 preprocessor. Test for each exception mask separately.
38546 2012-07-16 Andreas Jaeger <aj@suse.de>
38548 * po/ru.po: Update from translation team.
38550 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38552 * conform/data/string.h-data (NULL): Use macro-constant. Require
38554 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38555 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38556 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38557 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38560 2012-07-13 Andreas Jaeger <aj@suse.de>
38562 * po/fr.po: Update from translation team.
38564 2012-07-12 Marek Polacek <polacek@redhat.com>
38567 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38568 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38571 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38575 Change to 2.4.1 where previously 2.4.0.
38576 * sysdeps/unix/sysv/linux/configure: Regenerated.
38577 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38578 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38580 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38581 (__ASSUME_AT_CLKTCK): Remove.
38582 (__ASSUME_AT_PAGESIZE): Likewise.
38583 (__ASSUME_AT_XID): Likewise.
38584 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38585 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38586 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38588 (HAVE_AUX_PAGESIZE): Likewise.
38589 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38590 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38591 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38593 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38597 the temporary buffer used to invoke __gethostbyname2_r,
38598 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38599 host_data / struct gaih_addrtuple.
38600 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38601 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38602 header file nss/nsswitch.h.
38603 * nss/nsswitch.h (global scope): Add definition of implementation
38604 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38605 resolv/nss_dns/dns-host.c).
38607 2012-07-11 Andreas Jaeger <aj@suse.de>
38609 * po/fr.po: Update from translation team.
38611 * po/sv.po: Update from translation team
38612 * po/fr.po: Another update from translation team.
38614 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38616 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38617 for subnormals or multiply small sinh result by itself.
38618 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38621 2012-07-11 David S. Miller <davem@davemloft.net>
38623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38625 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38628 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38629 (INTERNAL_MARK): Shift it here.
38631 2012-07-10 Marek Polacek <polacek@redhat.com>
38634 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38635 libc_cv_asm_global_directive with .globl.
38636 * configure: Regenerated.
38637 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38639 * sysdeps/i386/configure: Regenerated.
38640 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38642 * sysdeps/x86_64/configure: Regenerated.
38643 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38644 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38645 * elf/tst-unique2mod2.c: Likewise.
38646 * elf/tst-unique2mod1.c: Likewise.
38647 * elf/tst-unique1mod2.c: Likewise.
38648 * elf/tst-unique1mod1.c: Likewise.
38649 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38650 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38651 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38652 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38653 * sysdeps/mach/sysdep.h: Likewise.
38654 * sysdeps/i386/sysdep.h: Likewise.
38655 * sysdeps/i386/i386-mcount.S: Likewise.
38656 * sysdeps/x86_64/_mcount.S: Likewise.
38657 * sysdeps/x86_64/sysdep.h: Likewise.
38658 * sysdeps/sh/_mcount.S: Likewise.
38659 * sysdeps/sh/sysdep.h: Likewise.
38660 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38661 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38662 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38663 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38664 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38665 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38666 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38667 * locale/localeinfo.h: Likewise.
38668 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38669 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38671 2012-07-09 Roland McGrath <roland@hack.frob.com>
38674 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38676 * manual/message.texi (The Uniforum approach): Likewise.
38677 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38678 (glibc iconv Implementation): Likewise.
38680 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38683 * math/s_clog.c (__clog): Avoid scaling a value down where that
38684 could result in underflow.
38685 * math/s_clog10.c (__clog10): Likewise.
38686 * math/s_clog10f.c (__clog10f): Likewise.
38687 * math/s_clog10l.c (__clog10l): Likewise.
38688 * math/s_clogf.c (__clogf): Likewise.
38689 * math/s_clogl.c (__clogl): Likewise.
38690 * math/libm-test.inc (clog_test): Add more tests.
38691 (clog10_test): Likewise.
38692 * sysdeps/i386/fpu/libm-test-ulps: Update.
38693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38698 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38699 by 7 not 8 to examine high bit of fractional part.
38702 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38703 for call to __mcount_internal.
38704 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38705 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38706 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38708 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38711 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38712 approximation for values within 0x1p-13f of an odd multiple of
38714 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38715 exception. Add more tests.
38716 * sysdeps/i386/fpu/libm-test-ulps: Update.
38719 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38720 inputs and return -1 for them. Do not check for +Inf in case not
38721 reachable for +Inf.
38722 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38723 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38724 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38725 and return -1 for them. Do not check for +Inf in case not
38726 reachable for +Inf.
38727 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38729 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38730 and return -1 for them. Do not check for +Inf in case not
38731 reachable for +Inf.
38732 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38733 spurious underflow.
38734 * sysdeps/i386/fpu/libm-test-ulps: Update.
38735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38737 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38739 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38741 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38745 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38746 could result in spurious underflow. Scale down values above
38747 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38748 * math/s_csqrtf.c (__csqrtf): Likewise.
38749 * math/s_csqrtl.c (__csqrtl): Likewise.
38750 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38751 spurious underflow.
38752 * sysdeps/i386/fpu/libm-test-ulps: Update.
38753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38755 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38757 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38759 * catgets/xopen-msg.awk: New file.
38760 * catgets/xopen-msg.sed: Removed.
38762 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38764 * intl/po2test.awk: New file.
38765 * intl/po2test.sed: Removed.
38767 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38770 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38771 or multiply small sinh result by itself.
38772 * math/s_ctanf.c (__ctanf): Likewise.
38773 * math/s_ctanh.c (__ctanh): Likewise.
38774 * math/s_ctanhf.c (__ctanhf): Likewise.
38775 * math/s_ctanhl.c (__ctanhl): Likewise.
38776 * math/s_ctanl.c (__ctanl): Likewise.
38777 * math/libm-test.inc (ctan_test_tonearest): New function.
38778 (ctan_test_towardzero): Likewise.
38779 (ctan_test_downward): Likewise.
38780 (ctan_test_upward): Likewise.
38781 (ctanh_test_tonearest): Likewise.
38782 (ctanh_test_towardzero): Likewise.
38783 (ctanh_test_downward): Likewise.
38784 (ctanh_test_upward): Likewise.
38785 (main): Call these new functions.
38786 * sysdeps/i386/fpu/libm-test-ulps: Update.
38787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38789 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38791 * .gitignore: Delete /ports entry.
38793 2012-07-03 Andreas Jaeger <aj@suse.de>
38795 * po/bg.po: Update from translation team.
38796 * po/cs.po: Likewise.
38797 * po/de.po: Likewise.
38798 * po/hr.po: Likewise.
38799 * po/nl.pl: Likewise.
38800 * po/pl.po: Likewise.
38801 * po/vi.po: Likewise.
38803 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38805 * Makeconfig [!+link] (+link-before-libc): New variable.
38806 [!+link] (+link-after-libc): Likewise.
38807 [!+link] (+link-tests): Likewise.
38808 [!+link] (+link): Define in terms of $(+link-before-libc) and
38809 $(+link-after-libc).
38810 [!+link-static] (+link-static-before-libc): New variable.
38811 [!+link-static] (+link-static-after-libc): Likewise.
38812 [!+link-static] (+link-static-tests): Likewise.
38813 [!+link-static] (+link-static): Define in terms of
38814 $(+link-static-before-libc) and $(+link-static-after-libc).
38815 [build-shared] (link-libc-before-gnulib): New variable.
38816 [build-shared] (link-libc-tests): Likewise.
38817 [build-shared] (link-libc): Define in terms of
38818 $(link-libc-before-gnulib).
38819 [!build-shared] (link-libc-tests): New variable.
38820 (link-libc-static-tests): New variable.
38821 [!gnulib] (gnulib-arch): New variable.
38822 [!gnulib] (gnulib-tests): Likewise.
38823 [!gnulib] (static-gnulib-arch): Likewise.
38824 [!gnulib] (static-gnulib-tests): Likewise.
38825 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38826 Define with "=" instead of ":=".
38827 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38828 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38829 * Rules (binaries-all-notests): New variable.
38830 (binaries-all-tests): Likewise.
38831 (binaries-static-notests): Likewise.
38832 (binaries-static-tests): Likewise.
38833 (binaries-all): Define using $(binaries-all-notests) and
38834 $(binaries-all-tests).
38835 (binaries-static): Define using $(binaries-static-notests) and
38836 $(binaries-static-tests).
38837 (binaries-shared-tests): New variable.
38838 (binaries-shared-notests): Likewise.
38839 (binaries-shared): Remove variable.
38840 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38841 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38842 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38843 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38844 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38845 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38846 * elf/Makefile (sln-modules): New variable.
38847 (extra-objs): Add $(sln-modules:=.o).
38848 (ldconfig-modules): Add static-stubs.
38849 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38850 * elf/static-stubs.c: New file.
38853 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38854 by 7 not 8 to examine high bit of fractional part. Use volatile
38855 variables when splitting into final array of floats if
38856 __FLT_EVAL_METHOD__ != 0.
38857 * math/libm-test.inc (cos_test): Add another test.
38858 (sin_test): Likewise.
38859 * sysdeps/i386/fpu/libm-test-ulps: Update.
38862 * math/libm-test.inc (cosh_test): Add more tests.
38864 * version.h (RELEASE): Set to "development".
38865 (VERSION): Set to "2.16.90".
38867 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38869 * NEWS: Update copyright. Remove last-updated date.
38870 Mention math library bug fixes and timezone data changes.
38871 * README: Mention GNU/Hurd, x32, and HPPA support status.
38873 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38875 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38877 2012-06-27 Andreas Jaeger <aj@suse.de>
38879 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38881 2012-06-25 Andreas Jaeger <aj@suse.de>
38883 * sysdeps/s390/fpu/libm-test-ulps: Update.
38885 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38886 Thomas Schwinge <thomas@codesourcery.com>
38888 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38889 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38890 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38893 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38895 * sysdeps/mach/start.c: Remove file.
38896 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38897 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38898 * sysdeps/sh/init-first.c: Likewise.
38900 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38901 registers for frame unwinding purposes, add CFI directives.
38902 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38903 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38904 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38907 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38908 __fortify_fail returning.
38909 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38911 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38912 sysdeps/sh/____longjmp_chk.S.
38913 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38914 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38915 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38916 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38918 * sysdeps/sh/abort-instr.h: New file.
38919 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38920 process in case exit returns.
38922 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38923 initialize the GOT register before use.
38925 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38926 calculation of ARGC > 4.
38928 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38929 meaningful names to some local labels.
38931 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38932 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38934 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38935 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38936 (__arch_compare_and_exchange_val_16_acq): Likewise.
38937 (__arch_compare_and_exchange_val_32_acq): Likewise.
38938 (atomic_exchange_and_add): Fix gUSA sequence.
38939 (atomic_add): Likewise.
38940 (atomic_add_negative): Likewise.
38941 (atomic_add_zero): Likewise.
38942 (atomic_bit_test_set): Likewise.
38944 2012-06-22 Andreas Schwab <schwab@redhat.com>
38947 * include/link.h (struct link_map): Add l_free_initfini.
38948 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38950 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38951 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38952 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38955 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38957 * configure.in: Use AC_LANG_SOURCE.
38958 * configure: Regenerate.
38960 2012-06-22 Roland McGrath <roland@hack.frob.com>
38962 * configure.in (libc_cv_localstatedir): New substituted variable.
38963 * configure: Regenerated.
38964 * config.make.in (localstatedir): New variable, substituted from
38965 libc_cv_localstatedir.
38966 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38967 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38968 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38969 * sysdeps/gnu/configure: Regenerated.
38971 2012-06-21 Jeff Law <law@redhat.com>
38974 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38975 free. Simplify list management for _LIBC case.
38977 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38980 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38981 Clear sign bit of 64-bit integer value before comparing against
38984 * sysdeps/mach/configure: Regenerated.
38986 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38989 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38991 2012-06-21 Jeff Law <law@redhat.com>
38994 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38995 uint16_t for elements in the "seen" array to avoid char overflows.
38996 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38997 * elf/dl-open.c (dl_open_worker): Likewise.
38999 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39001 * scripts/list-sources.sh: Scan PORTS for translations.
39002 * po/libc.pot: Regenerated.
39004 2012-06-21 Andreas Jaeger <aj@suse.de>
39007 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39009 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39010 * bits/byteswap-16.h (__bswap_16): Likewise.
39011 * bits/byteswap.h (__bswap_constant_16): Likewise.
39013 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39016 * sysdeps/i386/fpu_control.h: Removed.
39017 * sysdeps/x86_64/fpu_control.h: Moved to ...
39018 * sysdeps/x86/fpu_control.h: Here.
39020 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39021 (_FPU_SETCW): Likewise.
39023 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39026 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39027 * sysdeps/x86/fpu/bits/mathinline.h: This.
39028 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39032 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39033 functions if __x86_64__ is defined.
39035 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39037 * string/endian.h: Add !__ASSEMBLER__ condition for including
39038 conversion interfaces.
39040 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39043 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39044 of ABS(x) in calculating zero to negative powers other than odd
39046 * math/libm-test.inc (pow_test): Add more tests.
39048 2012-06-15 Andreas Jaeger <aj@suse.de>
39050 * manual/contrib.texi (Contributors): Update entry of Liubov
39051 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39054 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39056 * string/string.h: Add __wur to GNU version of strerror_r.
39058 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39061 * string/Makefile (tests): Add tst-strtok_r.
39062 * string/tst-strtok_r.c: New file.
39063 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39064 RAX_LP/RDX_LP on SAVE_PTR.
39066 2012-06-14 Roland McGrath <roland@hack.frob.com>
39068 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39070 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39072 * libm_test.inc (csqrt_test): Allow more spurious underflow
39074 (j0_test): Likewise.
39075 (j1_test): Likewise.
39076 (y0_test): Likewise.
39077 (y1_test): Likewise.
39079 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39081 * po/Makefile (libc.pot): Use UTF-8 charset.
39083 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39086 Suppress sign-conversion warning from FD_SET.
39087 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39088 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39089 not unsigned long int.
39090 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39092 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39096 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39097 __extern_always_inline instead of __extern_inline.
39098 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39099 (__signbit): Likewise.
39100 (__signbitl): Support C++ namespace.
39101 (lrintf): New inline function.
39103 (llrintf): Likewise.
39104 (llrint): Likewise.
39114 (floorf): Likewise.
39115 (nearbyint): Likewise.
39116 (nearbyintf): Likewise.
39118 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39120 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39121 non-default versions.
39123 2012-06-11 Roland McGrath <roland@hack.frob.com>
39126 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39128 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39130 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39131 (FE_UPWARD, FE_DOWNWARD): Don't define.
39132 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39133 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39135 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39137 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39138 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39140 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39142 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39143 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39144 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39145 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39147 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39150 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39151 * sysdeps/i386/fpu/Implies: New file.
39152 * sysdeps/x86_64/fpu/Implies: Likewise.
39153 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39154 * sysdeps/x86/fpu/bits/fenv.h: This.
39156 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39159 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39162 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39163 character 0xffff that matches the last element of the
39166 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39171 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39173 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39174 values higher than 25.6283.
39176 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39179 subnormal exponent extraction and add some __builtin_expect.
39180 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39181 Fix for subnormal mantissa calculation.
39183 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39185 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39186 cpu2 is -1 and errno is not ENOSYS.
39188 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39191 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39192 * sysdeps/x86/bits/string.h: This.
39193 * sysdeps/x86_64/bits/string.h: Removed.
39195 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39196 if not compiling for x86-64, but compiling for >= i486.
39198 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39199 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39201 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39202 New macro from Linux kernel 3.4.0.
39203 (FP_XSTATE_MAGIC2): Likewise.
39204 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39205 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39206 (struct _fpx_sw_bytes): New struct.
39207 (struct _xsave_hdr): Likewise.
39208 (struct _ymmh_state): Likewise.
39209 (struct _xstate): Likewise.
39211 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39212 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39213 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39214 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39215 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39216 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39218 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39219 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39220 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39221 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39222 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39223 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39225 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39228 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39229 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39230 (sysdep_headers): Include sys/platform/ppc.h.
39231 * sysdeps/powerpc/test-gettimebase.c: Test for
39232 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39233 * manual/Makefile (appendices): Include platform.texi.
39234 * manual/contrib.texi (Contributors): Update @node pointers.
39235 * manual/maint.texi (Maintenance): Likewise.
39236 (Platform): New node.
39237 * manual/platform.texi: New file. Document the new features.
39239 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39240 Jakub Jelinek <jakub@redhat.com>
39243 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39244 where __builtin_expect is unavailable.
39246 2012-06-03 David S. Miller <davem@davemloft.net>
39248 * stdlib/longlong.h: Updated from GCC.
39250 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39253 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39254 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39257 (GLIBC_2.16): Likewise.
39259 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39261 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39263 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39266 (default-abi): New variable.
39267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39268 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39270 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39272 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39274 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39277 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39278 definition. Document in comment.
39280 2012-06-01 David S. Miller <davem@davemloft.net>
39282 * stdlib/longlong.h: Updated from GCC.
39284 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39287 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39288 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39289 sys/debugreg.h sys/io.h here.
39290 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39291 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39293 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39294 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39295 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39296 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39297 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39298 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39300 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39301 Define only if __x86_64__ is defined.
39303 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39306 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39307 Use int64_t for variable i.
39308 * math/libm-test.inc (fmod_test): Add more tests.
39310 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39311 z computation is not scheduled after fetestexcept.
39312 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39313 Use math_force_eval instead of asm to ensure calculation scheduled
39314 before exception test.
39315 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39316 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39318 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39321 computation is not scheduled after fetestexcept.
39323 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39326 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39327 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39329 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39331 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39332 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39334 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39337 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39339 (__WCHAR_MIN): Support __WORDSIZE == 64.
39340 (__WCHAR_MAX): Likewise.
39342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39343 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39346 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39347 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39350 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39351 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39353 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39354 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39356 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39357 Defined to 1 if __x86_64__ isn't defined.
39358 (_STAT_VER_LINUX_OLD): New.
39359 (st_atime): Remove duplicate.
39360 (st_mtime): Likewise.
39361 (st_ctime): Likewise.
39363 2012-05-31 David S. Miller <davem@davemloft.net>
39365 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39368 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39370 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39374 * elf/dl-reloc.c: Include <_itoa.h>.
39375 (_dl_reloc_bad_type): Remove use of INTUSE.
39376 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39377 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39378 * stdio-common/psiginfo.c (psiginfo): Likewise.
39379 * stdio-common/psignal.c (psignal): Likewise.
39380 * string/strsignal.c (strsignal): Likewise.
39381 * include/signal.h (_sys_siglist): Declare hidden proto.
39382 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39383 INTVARDEF with libc_hidden_data_def.
39384 * stdio-common/itoa-udigits.c: Likewise.
39385 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39386 (_itoa_lower_digits_internal): Remove declaration.
39387 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39388 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39389 (_sys_sigabbrev_internal): Remove aliases.
39390 (_sys_siglist): Define hidden alias.
39392 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39397 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39400 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39401 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39403 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39404 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39405 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39406 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39407 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39408 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39410 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39411 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39412 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39414 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39424 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39426 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39427 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39428 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39429 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39430 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39431 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39433 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39434 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39436 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39437 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39440 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39441 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39443 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39444 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39446 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39448 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39449 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39450 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39452 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39454 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39456 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39458 * math/math.h (M_El): Use two more decimal places.
39459 (M_LOG2El): Likewise.
39460 (M_LOG10El): Likewise.
39461 (M_LN2l): Likewise.
39462 (M_LN10l): Likewise.
39464 (M_PI_2l): Likewise.
39465 (M_PI_4l): Likewise.
39466 (M_1_PIl): Likewise.
39467 (M_2_PIl): Likewise.
39468 (M_2_SQRTPIl): Likewise.
39469 (M_SQRT2l): Likewise.
39470 (M_SQRT1_2l): Likewise.
39472 2012-05-31 David S. Miller <davem@davemloft.net>
39474 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39475 values between float registers.
39476 * sysdeps/sparc/sparc64/memset.S: Likewise.
39477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39479 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39481 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39482 -D_FORTIFY_SOURCE=1.
39483 (CPPFLAGS-tst-longjmp_chk.c): Define.
39484 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39485 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39486 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39487 CFLAGS-tst-wchar-h.c.
39489 2012-05-31 Marek Polacek <polacek@redhat.com>
39492 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39493 __endmntent_internal): Remove declaration.
39494 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39495 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39496 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39498 2012-05-30 David S. Miller <davem@davemloft.net>
39500 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39501 (___Q_simulate_exceptions): Use real FP ops rather than writing
39503 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39506 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39509 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39510 * sysdeps/x86/bits/xtitypes.h: This.
39512 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39513 * sysdeps/x86/bits/wordsize.h: This.
39515 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39516 * sysdeps/x86/bits/huge_vall.h: This.
39518 * sysdeps/i386/bits/select.h: Removed.
39519 * sysdeps/x86_64/bits/select.h: Renamed to ...
39520 * sysdeps/x86/bits/select.h: This.
39522 * sysdeps/i386/bits/setjmp.h: Removed.
39523 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39524 * sysdeps/x86/bits/setjmp.h: This.
39526 * sysdeps/i386/bits/mathdef.h: Removed.
39527 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39528 * sysdeps/x86/bits/mathdef.h: This.
39530 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39533 * include/sys/socket.h (__connect_internal)
39534 (__libc_sa_len_internal): Remove declaration.
39535 (__connect, __libc_sa_len): Declare hidden_proto.
39536 (SA_LEN): Remove use of INTUSE.
39537 * socket/connect.c: Add libc_hidden_def.
39538 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39539 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39540 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39542 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39543 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39544 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39545 of adding _internal alias.
39547 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39550 * sysdeps/i386/bits/link.h: Removed.
39551 * sysdeps/i386/bits/linkmap.h: Likewise.
39552 * sysdeps/x86_64/bits/link.h: Renamed to ...
39553 * sysdeps/x86/bits/link.h: This.
39554 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39555 * sysdeps/x86/bits/linkmap.h: This.
39557 * sysdeps/i386/bits/endian.h: Removed.
39558 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39559 * sysdeps/x86/bits/endian.h: This.
39561 * sysdeps/i386/bits/byteswap.h: Removed.
39562 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39563 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39564 * sysdeps/x86/bits/byteswap.h: This.
39565 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39566 * sysdeps/x86/bits/byteswap-16.h: This.
39567 * sysdeps/i386/Implies: Add x86.
39568 * sysdeps/x86_64/Implies: Likewise.
39570 2012-05-30 David S. Miller <davem@davemloft.net>
39572 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39573 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39574 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39575 (FP_TRAPPING_EXCEPTIONS): Define.
39576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39577 (FP_TRAPPING_EXCEPTIONS): Define.
39578 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39579 subnormals only when inexact has been signalled or underflow
39580 exceptions are enabled.
39581 (_FP_PACK_CANONICAL): Likewise.
39583 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39586 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39587 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39589 2012-05-30 Richard Henderson <rth@twiddle.net>
39591 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39592 with #ifndef NOT_IN_libc.
39594 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39595 marked to avoid plt entry.
39597 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39600 * Makeconfig (default-abi): New macro.
39601 (abi-includes): Likewise.
39602 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39603 $(abi-$(default-abi)-lib-soname) for soname if defined.
39604 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39606 * Makefile (installed-stubs): Likewise.
39607 * include/stubs-biarch.h: Removed.
39608 * scripts/lib-names.awk: Only handle one library at a time.
39609 * scripts/soversions.awk: Remove WORDSIZE support.
39610 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39612 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39614 (syscall-list-default-condition): Likewise.
39615 (syscall-list-default-condition): Likewise.
39616 (syscall-list-includes): Likewise.
39617 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39618 syscall-list-* with abi-*. Handle undefined abi-variants.
39619 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39620 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39621 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39622 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39623 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39624 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39626 (syscall-list-32-options): Likewise.
39627 (syscall-list-32-condition): Likewise.
39628 (syscall-list-64-options): Likewise.
39629 (syscall-list-64-condition): Likewise.
39630 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39632 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39635 (abi-64-ld-soname): New macro.
39636 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39637 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39640 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39641 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39643 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39645 * sysdeps/unix/sysv/linux/kernel-features.h
39646 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39647 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39648 include <kernel-features.h>.
39649 [!__NR_ftruncate64]: Remove conditional code.
39650 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39651 [__NR_ftruncate64]: Make code unconditional.
39652 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39653 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39654 include <kernel-features.h>.
39655 [!__NR_ftruncate64]: Remove conditional code.
39656 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39657 [__NR_ftruncate64]: Make code unconditional.
39658 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39660 include <kernel-features.h>.
39661 [!__NR_ftruncate64]: Remove conditional code.
39662 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39663 [__NR_ftruncate64]: Make code unconditional.
39664 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39666 include <kernel-features.h>.
39667 [!__NR_ftruncate64]: Remove conditional code.
39668 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39669 [__NR_ftruncate64]: Make code unconditional.
39670 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39672 * configure.in (libc_cv_fpie): Weaken to a compile test using
39673 LIBC_TRY_CC_OPTION.
39674 * configure: Regenerated.
39676 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39691 2012-05-27 David S. Miller <davem@davemloft.net>
39693 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39695 (__Q_simulate_exceptions): Return void. Change to simulate
39696 exceptions by writing into the %fsr.
39697 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39698 (__Qp_handle_exceptions): Likewise.
39700 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39701 __Qp_handle_exceptions.
39702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39703 __Qp_handle_exceptions.
39704 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39705 as unused and give dummy FP_RND_NEAREST initializer.
39706 (FP_INHIBIT_RESULTS): Define.
39707 (___Q_simulate_exceptions): Update declaration.
39708 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39710 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39711 as unused and give dummy FP_RND_NEAREST initializer.
39712 (__Qp_handle_exceptions): Update declaration.
39713 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39716 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39718 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39719 the temporary FPU control word.
39720 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39721 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39722 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39723 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39724 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39725 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39726 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39727 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39728 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39729 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39730 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39732 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39734 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39737 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39739 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39740 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39741 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39742 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39744 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39745 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39748 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39750 * po/h.po: Update from translation team.
39752 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39754 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39756 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39757 handling of denormals.
39758 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39759 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39760 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39761 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39767 2012-05-26 Marek Polacek <polacek@redhat.com>
39770 * math/libm-test.inc (fma_test): Don't always expect underflow
39773 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39776 * elf/tst-execstack.c: Include stackinfo.h.
39777 (do_test): Adjust test case to ensure that pthread_getattr_np
39778 behaviour remains the same after marking stack executable.
39780 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39782 * sysdeps/unix/sysv/linux/kernel-features.h
39783 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39784 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39786 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39787 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39788 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39790 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39791 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39793 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39795 * configure.in: Define the default includes to being none.
39796 * configure: Regenerated.
39798 2012-05-25 Roland McGrath <roland@hack.frob.com>
39800 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39801 * sysdeps/x86_64/setjmp.S: Likewise.
39802 * sysdeps/i386/bsd-setjmp.S: Likewise.
39803 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39804 * sysdeps/i386/setjmp.S: Likewise.
39805 * sysdeps/i386/__longjmp.S: Likewise.
39806 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39807 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39809 * include/stap-probe.h: New file.
39810 * configure.in: Handle --enable-systemtap.
39811 * configure: Regenerated.
39812 * config.h.in (USE_STAP_PROBE): New #undef.
39813 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39814 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39815 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39817 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39820 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39821 to 2.4.0 where earlier.
39822 * sysdeps/unix/sysv/linux/configure: Regenerated.
39823 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39824 <kernel-features.h>.
39825 [__ASSUME_32BITUIDS]: Make code unconditional.
39826 [!__ASSUME_32BITUIDS]: Remove conditional code.
39827 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39828 <kernel-features.h>.
39829 [__ASSUME_32BITUIDS]: Make code unconditional.
39830 [!__ASSUME_32BITUIDS]: Remove conditional code.
39831 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39832 [__ASSUME_32BITUIDS]: Make code unconditional.
39833 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39834 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39835 <kernel-features.h>.
39836 [__ASSUME_32BITUIDS]: Make code unconditional.
39837 [!__ASSUME_32BITUIDS]: Remove conditional code.
39838 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39839 <kernel-features.h>.
39840 [__ASSUME_32BITUIDS]: Make code unconditional.
39841 [!__ASSUME_32BITUIDS]: Remove conditional code.
39842 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39843 <kernel-features.h>.
39844 [__ASSUME_32BITUIDS]: Make code unconditional.
39845 [!__ASSUME_32BITUIDS]: Remove conditional code.
39846 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39847 <kernel-features.h>.
39848 [__ASSUME_32BITUIDS]: Make code unconditional.
39849 [!__ASSUME_32BITUIDS]: Remove conditional code.
39850 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39851 <kernel-features.h>.
39852 [__ASSUME_32BITUIDS]: Make code unconditional.
39853 [!__ASSUME_32BITUIDS]: Remove conditional code.
39854 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39855 <kernel-features.h>.
39856 [__ASSUME_32BITUIDS]: Make code unconditional.
39857 [!__ASSUME_32BITUIDS]: Remove conditional code.
39858 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39859 <kernel-features.h>.
39860 [__ASSUME_32BITUIDS]: Make code unconditional.
39861 [!__ASSUME_32BITUIDS]: Remove conditional code.
39862 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39863 <kernel-features.h>.
39864 [__ASSUME_32BITUIDS]: Make code unconditional.
39865 [!__ASSUME_32BITUIDS]: Remove conditional code.
39866 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39867 <kernel-features.h>.
39868 [__ASSUME_32BITUIDS]: Make code unconditional.
39869 [!__ASSUME_32BITUIDS]: Remove conditional code.
39870 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39871 <kernel-features.h>.
39872 [__ASSUME_32BITUIDS]: Make code unconditional.
39873 [!__ASSUME_32BITUIDS]: Remove conditional code.
39874 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39875 <kernel-features.h>.
39876 [__NR_setresgid] (__setresgid): Do not declare.
39877 [__ASSUME_32BITUIDS]: Make code unconditional.
39878 [!__ASSUME_32BITUIDS]: Remove conditional code.
39879 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39880 <kernel-features.h>.
39881 [__NR_setresuid] (__setresuid): Do not declare.
39882 [__ASSUME_32BITUIDS]: Make code unconditional.
39883 [!__ASSUME_32BITUIDS]: Remove conditional code.
39884 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39885 <kernel-features.h>.
39886 [__ASSUME_32BITUIDS]: Make code unconditional.
39887 [!__ASSUME_32BITUIDS]: Remove conditional code.
39888 * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
39925 (__ASSUME_SETRESUID_SYSCALL): Remove.
39926 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39927 (__ASSUME_32BITUIDS): Likewise.
39928 (__ASSUME_LDT_WORKS): Likewise.
39929 (__ASSUME_O_DIRECTORY): Likewise.
39930 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39931 architecture but not kernel version.
39932 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39933 (__ASSUME_MMAP2_SYSCALL): Likewise.
39934 (__ASSUME_STAT64_SYSCALL): Likewise.
39935 (__ASSUME_IPC64): Likewise.
39936 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39937 <kernel-features.h>.
39938 [__ASSUME_32BITUIDS]: Make code unconditional.
39939 [!__ASSUME_32BITUIDS]: Remove conditional code.
39940 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39941 <kernel-features.h>.
39942 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39943 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39944 132096]: Remove conditional code.
39945 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39946 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
39955 <kernel-features.h>.
39956 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39958 (__setresgid): Do not declare.
39959 [__ASSUME_32BITUIDS]: Make code unconditional.
39960 [!__ASSUME_32BITUIDS]: Remove conditional code.
39961 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39962 <kernel-features.h>.
39963 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39965 (__setresuid): Do not declare.
39966 [__ASSUME_32BITUIDS]: Make code unconditional.
39967 [!__ASSUME_32BITUIDS]: Remove conditional code.
39968 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39969 <kernel-features.h>.
39970 [__ASSUME_32BITUIDS]: Make code unconditional.
39971 [!__ASSUME_32BITUIDS]: Remove conditional code.
39972 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39973 <kernel-features.h>.
39974 [__ASSUME_32BITUIDS]: Make code unconditional.
39975 [!__ASSUME_32BITUIDS]: Remove conditional code.
39977 2012-05-25 Richard Henderson <rth@twiddle.net>
39979 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39980 dl_hwcap to ifunc resolver.
39981 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39983 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39984 dl_hwcap to ifunc resolver.
39985 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39987 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39990 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39991 for |x| <= 2**-26, not 2**-57.
39992 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39995 2012-05-24 Jeff Law <law@redhat.com>
39997 * stdio-common/Makefile (tests): Add bug25.
39998 * stdio-common/bug25.c: New test.
40000 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40003 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40004 multiple of MALLOC_ALIGNMENT in size.
40005 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40007 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40009 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40011 (FILENAME_MAX): Use macro-int-constant.
40012 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40013 (_IOFBF): Use macro-int-constant.
40014 (_IOLBF): Likewise.
40015 (_IONBF): Likewise.
40016 (SEEK_CUR): Likewise.
40017 (SEEK_END): Likewise.
40018 (SEEK_SET): Likewise.
40019 (TMP_MAX): Likewise.
40020 (EOF): Use macro-int-constant. Require < 0.
40021 (NULL): Use macro-constant. Require == 0.
40022 (stdin): Require type to be FILE *.
40023 (stdout): Likewise.
40024 (stderr): Likewise.
40025 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40026 macro-int-constant.
40027 (EXIT_SUCCESS): Likewise.
40028 (NULL): Use macro-constant. Require == 0.
40029 (RAND_MAX): Use macro-int-constant.
40030 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40031 [C99-based standards] (strtof): Require function.
40032 [C99-based standards] (strtold): Likewise.
40033 [C99-based standards] (strtoll): Likewise.
40034 [C99-based standards] (strtoull): Likewise.
40035 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40036 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40037 [ISO || ISO99 || ISO11] (math.h): Likewise.
40038 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40039 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40040 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40042 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40045 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40046 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40047 * intl/dgettext.c (DCGETTEXT): Likewise.
40048 * intl/gettext.c (DCGETTEXT): Likewise.
40049 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40050 * posix/regex_internal.h (gettext): Likewise.
40051 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40052 Remove declaration.
40053 * include/argz.h (__argz_count_internal)
40054 (__argz_stringify_internal): Remove declaration.
40055 (__argz_count, __argz_stringify): Declare hidden proto.
40056 * intl/dcgettext.c: Remove use of INTDEF.
40057 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40058 * string/argz-stringify.c: Likewise.
40059 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40060 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40061 Declare hidden proto.
40062 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40063 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40064 Declare hidden proto.
40065 * include/stdio.h (__asprintf_internal): Don't declare.
40066 (__asprintf): Don't define as macro. Declare hidden proto.
40067 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40068 (__fsetlocking): Declare hidden proto.
40069 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40070 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40072 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40073 (_IO_setlinebuf): Remove use of INTUSE.
40074 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40075 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40076 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40077 Remove declaration.
40078 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40079 (_IO_do_flush): Remove use of INTUSE.
40080 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40081 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40082 (_IO_adjust_column, _IO_least_wmarker)
40083 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40084 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40085 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40086 (_IO_default_doallocate, _IO_wdefault_doallocate)
40087 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40088 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40089 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40090 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40091 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40092 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40093 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40094 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40095 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40096 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40097 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40098 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40099 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40101 (_IO_flush_all_internal, _IO_adjust_column_internal)
40102 (_IO_default_uflow_internal, _IO_default_finish_internal)
40103 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40104 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40105 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40106 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40107 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40108 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40109 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40110 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40111 (_IO_file_close_internal, _IO_file_close_it_internal)
40112 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40113 (_IO_file_init_internal, _IO_file_attach_internal)
40114 (_IO_file_fopen_internal, _IO_file_read_internal)
40115 (_IO_file_sync_internal, _IO_file_seek_internal)
40116 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40117 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40118 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40119 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40120 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40121 (_IO_list_all_internal, _IO_link_in_internal)
40122 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40123 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40124 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40125 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40126 (_IO_do_write_internal, _IO_padn_internal)
40127 (_IO_getline_info_internal, _IO_getline_internal)
40128 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40129 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40130 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40131 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40132 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40133 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40134 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40135 with libc_hidden_ver, remove use of INTUSE.
40136 * libio/genops.c: Likewise.
40137 * libio/freopen.c: Likewise.
40138 * libio/freopen64.c: Likewise.
40139 * libio/iofclose.c: Likewise.
40140 * libio/iofdopen.c: Likewise.
40141 * libio/iofflush.c: Likewise.
40142 * libio/iofflush_u.c: Likewise.
40143 * libio/iofgets.c: Likewise.
40144 * libio/iofgets_u.c: Likewise.
40145 * libio/iofopen.c: Likewise.
40146 * libio/iofopncook.c: Likewise.
40147 * libio/iofread.c: Likewise.
40148 * libio/iofread_u.c: Likewise.
40149 * libio/ioftell.c: Likewise.
40150 * libio/iofwrite.c: Likewise.
40151 * libio/iogetline.c: Likewise.
40152 * libio/iogets.c: Likewise.
40153 * libio/iogetwline.c: Likewise.
40154 * libio/iopadn.c: Likewise.
40155 * libio/iopopen.c: Likewise.
40156 * libio/ioseekoff.c: Likewise.
40157 * libio/ioseekpos.c: Likewise.
40158 * libio/iosetbuffer.c: Likewise.
40159 * libio/iosetvbuf.c: Likewise.
40160 * libio/ioungetc.c: Likewise.
40161 * libio/ioungetwc.c: Likewise.
40162 * libio/iovdprintf.c: Likewise.
40163 * libio/iovsprintf.c: Likewise.
40164 * libio/iovsscanf.c: Likewise.
40165 * libio/memstream.c: Likewise.
40166 * libio/obprintf.c: Likewise.
40167 * libio/oldfileops.c: Likewise.
40168 * libio/oldiofclose.c: Likewise.
40169 * libio/oldiofdopen.c: Likewise.
40170 * libio/oldiofopen.c: Likewise.
40171 * libio/oldiopopen.c: Likewise.
40172 * libio/oldstdfiles.c: Likewise.
40173 * libio/putc.c: Likewise.
40174 * libio/setbuf.c: Likewise.
40175 * libio/setlinebuf.c: Likewise.
40176 * libio/stdfiles.c: Likewise.
40177 * libio/strops.c: Likewise.
40178 * libio/vasprintf.c: Likewise.
40179 * libio/vscanf.c: Likewise.
40180 * libio/vsnprintf.c: Likewise.
40181 * libio/vswprintf.c: Likewise.
40182 * libio/wfiledoalloc.c: Likewise.
40183 * libio/wfileops.c: Likewise.
40184 * libio/wgenops.c: Likewise.
40185 * libio/wmemstream.c: Likewise.
40186 * libio/wstrops.c: Likewise.
40187 * libio/__fpurge.c: Likewise.
40188 * libio/__fsetlocking.c: Likewise.
40189 * assert/assert.c: Likewise.
40190 * debug/fgets_chk.c: Likewise.
40191 * debug/fgets_u_chk.c: Likewise.
40192 * debug/fread_chk.c: Likewise.
40193 * debug/fread_u_chk.c: Likewise.
40194 * debug/gets_chk.c: Likewise.
40195 * debug/obprintf_chk.c: Likewise.
40196 * debug/vasprintf_chk.c: Likewise.
40197 * debug/vdprintf_chk.c: Likewise.
40198 * debug/vsnprintf_chk.c: Likewise.
40199 * debug/vsprintf_chk.c: Likewise.
40200 * malloc/mtrace.c: Likewise.
40201 * misc/error.c: Likewise.
40202 * misc/syslog.c: Likewise.
40203 * stdio-common/asprintf.c: Likewise.
40204 * stdio-common/fxprintf.c: Likewise.
40205 * stdio-common/getw.c: Likewise.
40206 * stdio-common/isoc99_fscanf.c: Likewise.
40207 * stdio-common/isoc99_scanf.c: Likewise.
40208 * stdio-common/isoc99_vfscanf.c: Likewise.
40209 * stdio-common/isoc99_vscanf.c: Likewise.
40210 * stdio-common/isoc99_vsscanf.c: Likewise.
40211 * stdio-common/printf-prs.c: Likewise.
40212 * stdio-common/printf_fp.c: Likewise.
40213 * stdio-common/printf_fphex.c: Likewise.
40214 * stdio-common/printf_size.c: Likewise.
40215 * stdio-common/putw.c: Likewise.
40216 * stdio-common/scanf.c: Likewise.
40217 * stdio-common/sprintf.c: Likewise.
40218 * stdio-common/tmpfile.c: Likewise.
40219 * stdio-common/vfprintf.c: Likewise.
40220 * stdio-common/vfscanf.c: Likewise.
40221 * stdlib/strfmon_l.c: Likewise.
40222 * sunrpc/openchild.c: Likewise.
40223 * sunrpc/xdr_stdio.c: Likewise.
40224 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40225 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40227 2012-05-24 Roland McGrath <roland@hack.frob.com>
40229 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40231 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40232 in the third column, to generate for the shared library an IFUNC
40233 that uses _dl_vdso_vsym.
40234 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40235 * Makeconfig (object-suffixes-noshared): New variable.
40237 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40238 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40239 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40240 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40243 * include/sys/time.h (__gettimeofday): Remove macro.
40244 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40245 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40247 (__gettimeofday): Add libc_hidden_def.
40248 (gettimeofday): Add libc_hidden_weak.
40249 * sysdeps/mach/gettimeofday.c: Likewise.
40250 * sysdeps/posix/gettimeofday.c: Likewise.
40251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40252 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40254 (__gettimeofday_internal): Remove strong_alias.
40255 (__gettimeofday): Add libc_hidden_def.
40256 (gettimeofday): Add libc_hidden_weak.
40257 * sysdeps/unix/syscalls.list (gettimeofday):
40258 Remove __gettimeofday_internal alias.
40260 2012-05-24 Daniel Jacobowitz <drow@false.org>
40261 H.J. Lu <hongjiu.lu@intel.com>
40264 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40265 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40266 (largebin_index_32_big): New.
40267 (largebin_index): Use it for 16-byte alignment.
40268 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40269 correction with front_misalign.
40271 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40299 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40300 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40302 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40306 * math/libm-test.inc (exp_test): Add test from bug 14036.
40307 (pow_test): Add test from bug 10846.
40309 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40311 (special_function): Do not include flags in test name.
40312 (parse_args): Likewise.
40313 * sysdeps/i386/fpu/libm-test-ulps: Update.
40314 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40315 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40316 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40319 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40321 * math/libm-test.inc ("Philosophy"): Update comment about
40323 (UNDERFLOW_EXCEPTION): New macro.
40324 (UNDERFLOW_EXCEPTION_OK): Likewise.
40325 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40326 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40327 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40328 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40329 (INVALID_EXCEPTION_OK): Update value.
40330 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40331 (OVERFLOW_EXCEPTION_OK): Likewise.
40332 (IGNORE_ZERO_INF_SIGN): Likewise.
40333 (test_exceptions): Handle underflow exceptions.
40334 (acos_test): Update for underflow exception expectations.
40335 (cexp_test): Likewise.
40336 (clog_test): Likewise.
40337 (clog10_test): Likewise.
40338 (csqrt_test): Likewise.
40339 (ctan_test): Likewise.
40340 (ctanh_test): Likewise.
40341 (exp_test): Likewise.
40342 (exp10_test): Likewise.
40343 (exp2_test): Likewise.
40344 (expm1_test): Likewise.
40345 (fma_test): Likewise.
40346 (j0_test): Likewise.
40347 (jn_test): Likewise.
40348 (nexttoward_test): Likewise.
40349 (pow_test): Likewise.
40350 (scalbn_test): Likewise.
40351 (scalbln_test): Likewise.
40352 (tan_test): Likewise.
40353 (y1_test): Likewise.
40354 * sysdeps/i386/fpu/libm-test-ulps: Update.
40355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40357 2012-05-23 David S. Miller <davem@davemloft.net>
40359 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40360 (__libc_sigaction): Remove unused local variables.
40362 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40364 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40366 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40368 mktime: avoid signed integer overflow
40369 * time/mktime.c (__mktime_internal): Do not mishandle the case
40370 where diff == INT_MIN.
40372 mktime: simplify computation of average
40373 * time/mktime.c (ranged_convert): Use new time_t_avg function
40374 instead of rolling our own (probably-slower) code.
40376 mktime: do not assume signed right shift propagates sign bit
40377 * time/mktime.c (isdst_differ): New static function.
40378 (__mktime_internal): No need to normalize tm_isdst now.
40379 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40382 mktime: merge another wrapv change from gnulib
40383 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40384 from some compilers.
40386 mktime: remove incorrect attempt at unusual arithmetics
40387 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40388 The code didn't really work on such machines anyway.
40389 (TYPE_MINIMUM): Assume two's complement.
40390 (twos_complement_arithmetic): Verify that long_int and time_t
40391 are two's complement (or unsigned, in the latter case).
40393 mktime: check signed shifts on long_int and time_t, too
40394 * time/mktime.c (SHR): Check that shifts work as desired
40395 on the types long_int and time_t too, as SHR is used on
40398 mktime: do not assume 'long' is wide enough
40399 * time/mktime.c (verify): Move decl up.
40400 (long_int): New type.
40401 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40402 to remove assumption in the code that 'long' is wide enough to
40403 store year values. This assumption is not true on x32 and on
40404 some non-glibc platforms.
40406 mktime: merge wrapv change from gnulib
40407 * time/mktime.c (WRAPV): New macro.
40408 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40409 (guess_time_tm, __mktime_internal): Do not assume that signed
40410 integer overflow wraps around; modern compilers generate code
40411 where this assumption is no longer valid.
40413 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40415 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40416 Replace "jmp L(pseudo_end)" with "ret".
40417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40420 2012-05-23 Andreas Jaeger <aj@suse.de>
40422 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40423 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40425 2012-05-23 Andreas Jaeger <aj@suse.de>
40426 Maximilian Attems <max@stro.at>
40428 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40431 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40434 code so that pseudo_end is just ret and the stack pointer is
40435 correct also for static library in error case.
40437 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40439 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40440 move to syscalls.list.
40441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40446 * manual/install.texi (Running make install): Do not mention Linux
40447 kernel version for which pt_chown is not needed.
40448 (Linux): Do not mention problems with nscd with 2.0 kernels.
40449 * INSTALL: Regenerated.
40451 2012-05-23 Andreas Jaeger <aj@suse.de>
40453 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40454 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40456 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40458 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40459 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40460 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40464 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40466 * sysdeps/unix/sysv/linux/bits/in.h
40467 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40469 2012-05-22 Roland McGrath <roland@hack.frob.com>
40471 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40472 (PREPARE_VERSION): Just use assert instead, it will be elided
40473 under [NDEBUG] anyway.
40475 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40477 * sysdeps/unix/sysv/linux/Makefile: Include
40478 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40479 (sysdep_routines): Remove sysctl.
40480 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40481 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40482 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40483 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40484 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40486 2012-05-22 Andreas Jaeger <aj@suse.de>
40488 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40489 that pseudo_end is just ret and the stack pointer is correct also
40490 for static library in error case.
40492 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40495 * nss/nsswitch.c (defconfig_entries): New variable.
40496 (__nss_database_lookup): Don't leak defconfig entries.
40497 (nss_parse_service_list): Don't leak on error paths.
40498 (free_database_entries): New function.
40499 (free_defconfig): New function.
40500 (free_mem): Move common code to free_database_entries.
40502 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40504 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40506 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40508 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40509 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40512 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40513 (INTERNAL_SYSCALL_TYPES): Likewise.
40514 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40515 (LOAD_REGS_TYPES_[1-6]): Likewise.
40516 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40517 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40519 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40521 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40522 copysignl for GLIBC_2_0.
40523 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40524 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40525 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40526 logbl for GLIBC_2_0.
40527 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40528 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40530 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40533 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40535 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40538 * time/mktime.c: Update copyright years.
40540 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40542 mktime: merge comment-quoting-style change from gnulib
40543 * time/mktime.c: Quote 'like this' in comments.
40544 The GNU coding standards suggest that we no longer quote `like this',
40545 as "`" and "'" are typically rendered asymmetrically nowadays.
40546 The typical gnulib style is to quote 'like this' when quoting
40547 code, and "like this" when quoting English.
40549 * time/mktime.c (compile-command): Add "-I.".
40551 mktime: merge mktime-internal.h change from gnulib
40552 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40554 mktime: merge time_r change from gnulib
40555 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40557 mktime: merge DEBUG change from gnulib
40558 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40559 case system <time.h> has a #define.
40561 mktime: merge <sys/types.h> change from gnulib
40562 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40563 since <time.t> is now guaranteed to define time_t.
40565 mktime: merge HAVE_CONFIG_H change from gnulib
40566 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40568 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40570 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40573 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40575 (struct rusage): Use anonymous union to pad each field to
40578 2012-05-21 David S. Miller <davem@davemloft.net>
40580 * Makefules (o-iterator): Remove .s cases.
40581 (compile-command.s): Delete.
40582 (COMPILE.s): Delete.
40583 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40585 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40587 * configure.in (libc_cv_predef_stack_protector): Only consider
40588 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40589 * configure: Regenerated.
40591 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40594 New macro. Use R*LP on int and pointer.
40595 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40596 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40597 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40598 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40600 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40601 [__WORDSIZE_TIME64_COMPAT32] instead of
40602 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40603 (struct utmp): Likewise.
40604 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40605 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40607 (__WORDSIZE_TIME64_COMPAT32): This.
40608 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40609 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40610 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40611 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40612 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40613 (__WORDSIZE_TIME64_COMPAT32): New macro.
40615 2012-05-21 Andreas Jaeger <aj@suse.de>
40617 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40618 only if [SHARED]. Add prototype for __wcschr_ia32.
40620 2012-05-21 Roland McGrath <roland@hack.frob.com>
40622 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40623 of %rbp unmolested in the jmp_buf while mangling the low bits.
40624 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40625 unmolested high bits of %rbp while demangling the low bits.
40626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40628 2012-05-21 Andreas Jaeger <aj@suse.de>
40630 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40631 * sunrpc/svc_simple.c: Use it for registerrpc.
40632 * sunrpc/xcrypt.c: Use it for passwd2des.
40634 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40636 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40638 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40639 Don't define if [__SYSCALL_WORDSIZE != 32].
40640 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40643 2012-05-21 Bruno Haible <bruno@clisp.org>
40644 Andreas Jaeger <aj@suse.de>
40646 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40647 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40648 inptr and inend for must_buffer_ch.
40649 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40650 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40651 * stdio-common/Makefile (tests): Remove bug15.
40652 (bug15-ENV): Remove macro.
40653 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40656 2012-05-19 Andreas Jaeger <aj@suse.de>
40657 Roland McGrath <roland@hack.frob.com>
40659 * manual/contrib.texi: Completely rewritten. It contains now an
40660 alphabetical list of contributors and their contributions.
40662 2012-05-21 Richard Henderson <rth@twiddle.net>
40664 * misc/getauxval.c (__getauxval): Use unsigned long int.
40665 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40666 (getauxval): Use unsigned long int.
40668 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40670 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40672 2012-05-21 Roland McGrath <roland@hack.frob.com>
40674 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40675 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40676 __alignof__ (long double).
40678 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40682 2012-05-20 Richard Henderson <rth@twiddle.net>
40684 * misc/getauxval.c: New file.
40685 * misc/sys/auxv.h: New file.
40686 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40687 (routines): Add getauxval.
40688 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40689 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40690 * elf/dl-sysdep.c (_dl_auxv): Remove.
40691 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40692 * elf/dl-support.c (_dl_auxv): New variable.
40693 (_dl_aux_init): Initialize it.
40694 * manual/startup.texi (Auxiliary Vector): New node.
40695 * sysdeps/generic/bits/hwcap.h: New file.
40696 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40697 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40698 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40699 * sysdeps/sparc/sysdep.h: ... here. Include it.
40700 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40713 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40717 2012-05-19 David S. Miller <davem@davemloft.net>
40719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40721 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40724 * math/s_ccosh.c: Include <float.h>
40725 (__ccosh): Avoid internal overflow calculating sinh and cosh
40726 values before multiplying by sin and cos values.
40727 * math/s_ccoshf.c: Likewise.
40728 * math/s_ccoshl.c: Likewise.
40729 * math/s_csin.c: Likewise.
40730 * math/s_csinf.c: Likewise.
40731 * math/s_csinl.c: Likewise.
40732 * math/s_csinh.c: Likewise.
40733 * math/s_csinhf.c: Likewise.
40734 * math/s_csinhl.c: Likewise.
40735 * math/libm-test.inc (ccos_test): Add more tests.
40736 (ccosh_test): Likewise.
40737 (csin_test): Likewise.
40738 (csinh_test): Likewise.
40739 * sysdeps/i386/fpu/libm-test-ulps: Update.
40740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40742 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40744 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40745 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40747 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40749 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40751 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40752 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40753 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40754 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40755 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40756 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40757 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40758 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40759 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40760 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40761 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40762 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40763 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40764 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40765 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40766 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40767 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40768 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40769 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40770 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40771 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40772 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40773 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40774 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40775 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40776 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40777 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40778 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40779 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40780 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40781 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40783 2012-05-18 Andreas Jaeger <aj@suse.de>
40785 * csu/.gitignore: Delete.
40787 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40789 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40790 (timex): Use __syscall_slong_t.
40792 2012-05-18 Andreas Jaeger <aj@suse.de>
40793 Carlos O'Donell <carlos_odonell@mentor.com>
40795 * manual/install.texi (Configuring and compiling): Update
40796 description about files modified in the source directory.
40797 * INSTALL: Regenerated.
40799 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40801 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40802 value. Use "or" to set return value to -1.
40803 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40804 negate return value.
40806 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40808 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40809 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40810 failure if the compiler has Graphite support disabled.
40811 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40813 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40814 (CFLAGS-memmove.c): Likewise.
40815 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40818 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40820 * sysdeps/x86_64/x32/_itoa.h: New file.
40822 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40823 getdents system call only if kernel and user dirents have the
40824 same d_ino and d_off.
40826 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40827 LLONG_MAX != LONG_MAX.
40828 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40829 (_fitoa_word): Likewise.
40831 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40833 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40834 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40835 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40837 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40838 include <bits/wordsize.h>. Check __x86_64__ instead of
40840 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40841 if __x86_64__ is defined. Use anonymous union on fpstate.
40843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40846 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40848 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40849 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40850 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40851 Refer to _rtld_local_ro instead of _rtld_global_ro.
40852 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40854 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40856 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40858 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40859 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40860 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40862 * sysdeps/powerpc/powerpc32/dl-machine.c
40863 (__elf_machine_runtime_setup) [PROF]: Don't reference
40866 2012-05-18 Andreas Jaeger <aj@suse.de>
40868 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40869 function only available for GCCs before 3.4 since GCC 3.4
40870 introduced a builtin.
40872 (llrintf): Likewise.
40873 (llrint): Likewise.
40880 (nearbyint): Likewise.
40881 (nearbyintf): Likewise.
40885 (floorf): Likewise.
40887 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40889 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40890 on both fields and cast pointer to __syscall_ulong_t.
40892 * bits/types.h (__fsword_t): New type.
40893 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40894 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40895 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40896 (__FSWORD_T_TYPE): Likewise.
40897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40898 (__FSWORD_T_TYPE): Likewise.
40899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40900 (__FSWORD_T_TYPE): Likewise.
40901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40902 (__FSWORD_T_TYPE): Likewise.
40903 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40904 __SWORD_TYPE with __fsword_t.
40905 (statfs64): Likewise.
40907 2012-05-17 David S. Miller <davem@davemloft.net>
40909 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40911 2012-05-17 Andreas Jaeger <aj@suse.de>
40913 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40916 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40918 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40920 2012-05-17 Andreas Jaeger <aj@suse.de>
40922 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40925 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40927 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40929 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40931 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40932 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40934 2012-05-17 Andreas Jaeger <aj@suse.de>
40935 Carlos O'Donell <carlos_odonell@mentor.com>
40938 * sysdeps/x86_64/multiarch/init-arch.h
40939 (bit_YMM_Usable): Rename to...
40940 (bit_AVX_Usable): ... this.
40941 (bit_FMA4_Usable): New macro.
40942 (bit_XMM_state): New macro.
40943 (bit_YMM_state): New macro.
40944 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40945 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40946 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40947 (CPUID_OSXSAVE): New macro.
40948 (CPUID_AVX): New macro.
40949 (CPUID_FMA4): New macro.
40950 (index_YMM_Usable): Rename to...
40951 (index_AVX_Usable): ... this.
40952 (HAS_AVX): Use HAS_ARCH_FEATURE.
40953 (HAS_FMA4): Likewise.
40954 (HAS_YMM_USABLE): Remove.
40955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40956 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40958 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40959 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40960 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40961 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40962 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40964 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40966 * math/libm-test.c: Support platforms without multiple rounding modes.
40967 * math/bug-nextafter.c: Support platforms without FP exceptions.
40968 * math/bug-nexttoward.c: Likewise.
40969 * math/test-fenv.c: Likewise.
40970 * math/test-misc.c: Likewise.
40971 * stdlib/bug-getcontext.c: Likewise.
40973 2012-05-17 Andreas Jaeger <aj@suse.de>
40975 * manual/examples/search.c (critter_cmp): Change signature to
40977 * manual/string.texi (Collation Functions): Likewise.
40979 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40981 * bits/types.h: Fold copyright years.
40982 * bits/typesizes.h: Likewise.
40983 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40985 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40986 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40987 * time/time.h: Likewise.
40989 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40992 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40993 in instead of returning them. Return void.
40994 (__libc_mallinfo): Accumulate over all arenas.
40995 (__malloc_stats): Adjust for change in int_mallinfo interface.
40997 2012-05-16 Roland McGrath <roland@hack.frob.com>
41000 * configure.in (NM): Add AC_CHECK_TOOL for it.
41001 (libc_extra_cflags): New substituted variable.
41002 Check for -fstack-protector being used implicitly.
41003 * configure: Regenerated.
41004 * config.make.in (config-extra-cflags): New variable,
41005 gets @libc_extra_cflags@.
41006 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41009 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41010 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41011 * configure: Regenerated.
41012 * config.make.in (CPPUNDEFS): New substituted variable.
41013 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41014 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41015 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41017 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41019 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41020 (mq_attr): Use __syscall_slong_t.
41022 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41024 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41025 Check __x86_64__ instead of __WORDSIZE.
41026 (_STAT_VER_LINUX): Likewise.
41027 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41028 __syscall_ulong_t and __syscall_slong_t.
41029 (stat64): Likewise.
41031 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41035 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41037 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41039 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41041 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41044 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41045 include <bits/wordsize.h>. Check __x86_64__ instead of
41047 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41049 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41051 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41052 include <bits/wordsize.h>. Check __x86_64__ instead of
41054 (user_regs_struct): Use "__extension__ unsigned long long"
41055 instead of "unsigned long" if __x86_64__ is defined.
41056 (user): Likewise. Pad after pointer field if __ILP32__ is
41059 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41061 * configure.in (makeinfo): Require version 4.5 or later. Allow
41063 * configure: Regenerated.
41064 * manual/install.texi (texinfo): Increase version requirement to
41066 * INSTALL: Regenerated.
41068 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41070 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41072 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41074 * sysdeps/x86_64/x32/ffs.c: New file.
41076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41078 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41079 defined. Use __syscall_ulong_t.
41080 (shminfo): Use __syscall_ulong_t.
41081 (shm_info): Likewise.
41083 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41086 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41088 (msgqnum_t): Use __syscall_ulong_t.
41089 (msglen_t): Likewise.
41090 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41093 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41094 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41096 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41098 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41099 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41101 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41104 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41105 include <bits/wordsize.h>. Check __x86_64__ instead of
41108 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41109 "unsigned long long int" if __x86_64__ is defined.
41110 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41112 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41113 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41114 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41116 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41118 (GET_PC): Cast to uintptr_t first.
41119 (GET_FRAME): Likewise.
41120 (GET_STACK): Likewise.
41122 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41123 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41124 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41125 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41126 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41127 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41128 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41129 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41130 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41131 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41132 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41133 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41135 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41137 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41138 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41140 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41141 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41142 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41143 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41144 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41145 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41146 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41147 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41148 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41149 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41150 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41152 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41154 * Makerules (+depfiles): Also collect depfiles from .oS in
41156 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41157 .oS, $(libnldbl-routines)).
41159 * Makerules (native-compile-mkdep-flags): Define.
41160 * sunrpc/Makefile (extra-objs): Add $(addprefix
41161 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41162 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41163 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41164 calling $(make-target-directory).
41166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41168 * bits/types.h (__snseconds_t): Removed.
41169 * time/time.h (struct timespec): Replace __snseconds_t with
41171 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41172 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41174 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41175 (__SNSECONDS_T_TYPE): Likewise.
41176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41177 (__SNSECONDS_T_TYPE): Likewise.
41178 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41179 (__SNSECONDS_T_TYPE): Likewise.
41181 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41183 * sysdeps/mach/hurd/bits/typesizes.h
41184 (__SYSCALL_SLONG_TYPE): New macro.
41185 (__SYSCALL_ULONG_TYPE): Likewise.
41187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41189 * bits/types.h (__syscall_slong_t): New type.
41190 (__syscall_ulong_t): Likewise.
41192 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41193 (__SYSCALL_ULONG_TYPE): Likewise.
41194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41195 (__SYSCALL_SLONG_TYPE): Likewise.
41196 (__SYSCALL_ULONG_TYPE): Likewise.
41197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41198 (__SYSCALL_SLONG_TYPE): Likewise.
41199 (__SYSCALL_ULONG_TYPE): Likewise.
41200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41201 (__SYSCALL_SLONG_TYPE): Likewise.
41202 (__SYSCALL_ULONG_TYPE): Likewise.
41204 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41206 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41207 Add sigaltstack-offsets.sym.
41208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41209 <sigaltstack-offsets.h>.
41210 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41211 longjmp_msg pointer.
41212 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41213 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41215 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41217 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41219 * elf/stackguard-macros.h: Remove file.
41220 * sysdeps/generic/stackguard-macros.h: New file.
41221 * sysdeps/i386/stackguard-macros.h: Likewise.
41222 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41223 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41224 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41225 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41226 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41227 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41228 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41229 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41230 <elf/stackguard-macros.h>.
41233 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41234 __aligned__ in attribute.
41235 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41236 (gregset_t): Likewise.
41238 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41240 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41241 * sysdeps/x86_64/64/Implies-after: Here. New file.
41242 * sysdeps/x86_64/x32/Implies-after: New file.
41244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41246 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41247 and access return value for _dl_profile_fixup. Use R10_LP to
41250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41252 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41256 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41257 * sysdeps/x86_64/x32/sysdep.h: New file.
41259 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41261 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41262 * sysdeps/x86_64/setjmp.S: Likewise.
41264 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41266 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41267 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41268 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41269 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41270 remove unused global constant.
41272 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41274 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41275 include of <not-cancel.h>.
41277 2012-05-15 Roland McGrath <roland@hack.frob.com>
41279 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41281 2012-05-15 Jeff Law <law@redhat.com>
41282 Andreas Jaeger <aj@suse.de>
41285 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41287 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41288 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41289 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41290 code changing __hst_map_handle.map.
41292 2012-05-15 Roland McGrath <roland@hack.frob.com>
41294 * configure.in (sysnames): Look for Implies-before and Implies-after
41296 * configure: Regenerated.
41298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41300 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41301 8-byte data alignment with LP_SIZE alignment.
41303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41305 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41310 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41312 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41314 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41315 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41316 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41318 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41322 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41323 (stackinfo_sub_sp): Likewise.
41325 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41330 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41332 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41335 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41337 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41340 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41342 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41344 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41346 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41347 into R11_LP and load __x86_64_shared_cache_size_half into
41350 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41355 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41364 powerpc32/power7/fpu/s_logb.c via #include.
41365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41366 powerpc32/power7/fpu/s_logbf.c via #include.
41367 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41368 powerpc32/power7/fpu/s_logbl.c via #include.
41370 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41372 * README.libm: Remove file.
41374 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41376 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41377 count for x32. Use R*_LP and omit operand-size suffix.
41379 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41381 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41382 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41383 * sysdeps/x86_64/x32/shlib-versions: New file.
41385 2012-05-14 Roland McGrath <roland@hack.frob.com>
41387 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41388 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41389 Use _dl_fatal_printf instead.
41391 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41393 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41394 set if not set by the user. Do not allow for being unset.
41395 * sysdeps/unix/sysv/linux/configure: Regenerated.
41397 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41399 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41400 the `q' suffix from lea and replace .quad with ASM_ADDR.
41402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41404 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41405 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41407 (PTR_DEMANGLE): Likewise.
41409 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41411 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41413 (ASM_ADDR): Likewise.
41414 (RAX_LP): Likewise.
41415 (RBP_LP): Likewise.
41416 (RBX_LP): Likewise.
41417 (RCX_LP): Likewise.
41418 (RDI_LP): Likewise.
41419 (RSI_LP): Likewise.
41420 (RSP_LP): Likewise.
41423 (R10_LP): Likewise.
41424 (R10_LP): Likewise.
41425 (R11_LP): Likewise.
41426 (R12_LP): Likewise.
41427 (R13_LP): Likewise.
41428 (R14_LP): Likewise.
41429 (R15_LP): Likewise.
41431 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41433 * sysdeps/x86_64/x32/dl-machine.h: New file.
41435 2012-05-14 Andreas Jaeger <aj@suse.de>
41437 * manual/Makefile (subdir): Remove export of subdir.
41438 (all): Remove target.
41439 (.PHONY): Remove all from list.
41440 (mkinstalldirs): Remove.
41441 (.PHONY): Remove installdirs from list.
41442 ($(inst_infodir)/libc.info): Use make-target-directory.
41443 (installdirs): Remove.
41444 (subdir_%): Remove.
41445 (glibc-targets): Remove.
41448 ($(objpfx)stubs ../po/manual.pot): Remove.
41449 ($(objpfx)stamp%): Remove.
41450 (make-target-directory): Remove.
41451 (subdir_install): Remove.
41452 (routines): Remove.
41459 * manual/.gitignore: Remove, it's not needed anymore.
41460 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41462 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41464 (texis): Renamed to $(objpfx)texis.
41465 (texis-path): New, contains path to generated files.
41466 (chapters.%): Use texis-path for complete path, add extra argument
41468 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41469 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41470 (summary,texi, stamp-summary): Use complete path of
41471 files. Generate files in build dir.
41472 (dir-add.texi): Build in build dir.
41473 (libm-err.texi,stamp-libm-err): Likewise.
41474 (version.texi, stamp-version): Likewise.
41475 (.%c.texi): Likewise.
41476 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41477 (mostlyclean): Remove target.
41478 (realclean): Remove target.
41479 (generated): Add new variable with contents from mostlyclean and
41480 realclean, remove entries duplicated in common-mostlyclean, add
41481 stamp-libm-err and stamp-version.
41482 (generated-dirs): Add libc directory.
41483 ($(inst_infodir)/libc.info): Install files from build dir.
41485 * manual/install.texi (Configuring and compiling): Adjust since
41486 the info files are not part of the tar ball anymore.
41488 2012-05-14 Andreas Jaeger <aj@suse.de>
41490 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41493 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41496 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41497 to 2.2.0 where earlier.
41498 * sysdeps/unix/sysv/linux/configure: Regenerated.
41499 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41500 Remove conditional code.
41501 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41502 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41503 Remove conditional code.
41504 [!__NR_lchown]: Likewise.
41505 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41506 [__NR_lchown]: Likewise.
41507 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41508 comment referencing __ASSUME_LCHOWN_SYSCALL.
41509 * sysdeps/unix/sysv/linux/i386/sigaction.c
41510 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41511 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41512 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41513 Remove conditional code.
41514 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41515 (__protocol_available): Remove #if 0 code.
41516 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41518 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41519 * sysdeps/unix/sysv/linux/kernel-features.h
41520 (__ASSUME_GETCWD_SYSCALL): Don't define.
41521 (__ASSUME_REALTIME_SIGNALS): Likewise.
41522 (__ASSUME_PREAD_SYSCALL): Likewise.
41523 (__ASSUME_PWRITE_SYSCALL): Likewise.
41524 (__ASSUME_POLL_SYSCALL): Likewise.
41525 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41526 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41528 (__ASSUME_SIOCGIFNAME): Don't define.
41529 (__ASSUME_MSG_NOSIGNAL): Likewise.
41530 (__ASSUME_SENDFILE): Define unconditionally.
41531 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41532 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41534 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41535 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41536 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41537 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41538 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41539 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41540 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41542 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41545 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41546 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41551 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41554 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41557 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41565 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41566 Remove conditional code.
41567 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41568 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41569 Remove conditional code.
41570 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41571 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41572 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41573 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41574 Remove conditional code.
41575 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41576 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41577 Remove conditional code.
41578 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41579 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41580 Remove conditional code.
41581 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41582 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41583 Remove conditional code.
41584 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41585 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41586 Remove conditional code.
41587 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41588 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41589 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41590 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41591 * sysdeps/unix/sysv/linux/sigaction.c
41592 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41593 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41594 * sysdeps/unix/sysv/linux/sigpending.c
41595 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41596 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41597 * sysdeps/unix/sysv/linux/sigprocmask.c
41598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41600 * sysdeps/unix/sysv/linux/sigsuspend.c
41601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41603 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41604 (__libc_missing_rt_sigs): Remove.
41605 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41606 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41607 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41608 Remove conditional code.
41609 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41610 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41612 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41613 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41614 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41615 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41617 2012-05-14 Andreas Jaeger <aj@suse.de>
41619 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41620 it's not used in glibc.
41621 (__coshm1): Likewise.
41622 (__acosh1p): Likewise.
41625 * manual/string.texi (Copying and Concatenation): Add missing
41626 variable in concat example.
41627 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41629 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41633 __builtin_clzl with __builtin_clzll.
41635 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41638 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41641 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41643 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41644 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41645 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41646 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41648 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41650 * NEWS: Update ia64 info.
41652 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41654 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41657 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41659 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41660 * sysdeps/unix/syscalls.list (dup3): Likewise.
41661 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41662 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41664 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41666 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41667 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41669 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41671 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41673 (TLS_IE): Use mov/add instead of movq/addq to load thread
41675 (TLS_GD_PREFIX): New.
41678 2012-05-11 David S. Miller <davem@davemloft.net>
41680 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41681 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41682 (_FPU_SETCW): Likewise.
41684 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41686 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41687 is 32-byte aligned.
41689 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41692 * iconvdata/gb18030.c: Update tables.
41693 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41694 characters specially.
41695 (BODY for TO_LOOP): Add encoding of missing ranges.
41697 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41700 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41701 * sysdeps/mach/hurd/dup3.c: Likewise.
41702 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41703 * sysdeps/powerpc/memmove.c:: Likewise.
41705 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41707 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41708 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41710 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41712 * elf/elf.h (R_X86_64_RELATIVE64): New.
41713 (R_X86_64_NUM): Updated.
41714 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41715 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41716 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41717 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41718 tst-quad1pie tst-quad2pie
41719 (modules-names): Add tst-quadmod1 tst-quadmod2.
41720 ($(objpfx)tst-quad1): New dependency.
41721 ($(objpfx)tst-quad2): Likewise.
41722 ($(objpfx)tst-quad1pie): Likewise.
41723 ($(objpfx)tst-quad2pie): Likewise.
41724 * sysdeps/x86_64/tst-quad1.c: New file.
41725 * sysdeps/x86_64/tst-quad1pie.c: New file.
41726 * sysdeps/x86_64/tst-quad2.c: Likewise.
41727 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41728 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41729 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41730 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41731 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41735 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41736 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41737 * streams/stropts.h (t_scalar_t): Define type.
41739 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41740 (_PATH_PRESERVE): Set to "/var/lib".
41741 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41743 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41746 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41747 if __dir_mkfile succeeded.
41749 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41750 checking for _hurd_dtablesize. Unlock it right after having
41751 finished _hurd_dtable allocation.
41753 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41755 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41756 * sysdeps/mach/hurd/configure: Regenerated.
41757 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41758 special-casing to...
41759 * sysdeps/gnu/configure.in: ... this new file.
41760 * sysdeps/unix/sysv/linux/configure: Regenerated.
41761 * sysdeps/gnu/configure: New generated file.
41763 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41764 for Linux: use nsec instead of usec, as well as:
41765 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41766 members of type struct timespec.
41767 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41769 (struct stat64): Likewise.
41770 (_STATBUF_ST_NSEC): New macro.
41771 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41774 __strtoul_internal rather than strtoul.
41776 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41778 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41781 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41783 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41784 which preserves existing values.
41785 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41787 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41789 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41790 TIMEOUT values. Return EINVAL for NFDS values either negative or
41791 greater than FD_SETSIZE.
41793 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41795 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41796 allocated, call __vm_protect to finish enabling the existing space, and
41797 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41798 allocate the remainder.
41800 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41802 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41803 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41805 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41807 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41808 sysdeps/mach/hurd/readlink.c.
41810 * posix/tst-sysconf.c (posix_options): Only use
41811 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41812 _POSIX_SYNCHRONIZED_IO when they are defined
41813 * sysdeps/mach/hurd/bits/posix_opt.h:
41814 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41815 (_XOPEN_REALTIME): Undefine macro.
41816 (_XOPEN_REALTIME_THREADS): Undefine macro.
41817 (_XOPEN_SHM): Undefine macro.
41818 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41820 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41822 (_POSIX_ASYNC_IO): Undefine macro.
41823 (_POSIX_PRIORITIZED_IO): Undefine macro.
41824 (_POSIX_SPIN_LOCKS): Define macro to -1.
41826 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41827 SA_NODEFER, SA_RESETHAND.
41828 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41829 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41832 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41834 * elf/Makefile (pldd-modules): Define unconditionally.
41836 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41838 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41840 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41842 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41843 Return ENOENT when name is empty.
41844 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41848 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41850 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41852 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41854 Fix mlock in all cases except non-readable pages.
41855 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41856 instead of VM_PROT_ALL as parameter to __vm_wire function.
41858 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41859 (__mkdir): When path is `/', just fail with EEXIST.
41860 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41862 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41864 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41865 <sys/uio.h> (for writev).
41866 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41867 and <sys/param.h> (for MIN).
41869 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41871 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41872 REQUESTED_TIME. Properly set the remaining time and return EINTR
41875 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41877 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41878 Depend on against $(link-rpcuserlibs).
41880 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41882 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41883 (__libc_stack_end): Do not use attribute_relro.
41884 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41885 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41886 to libthread-provided value.
41887 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41890 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41893 * bits/libc-lock.h (__libc_once_get): New macro.
41894 * sysdeps/mach/bits/libc-lock.h: Likewise.
41895 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41897 instead of using implementation details.
41899 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41900 * libio/freopen.c: Likewise.
41901 * libio/freopen64.c: Likewise.
41902 * misc/syslog.c: Likewise.
41903 * nscd/connections.c: Likewise.
41904 * nscd/netgroupcache.c: Likewise.
41905 * sysdeps/posix/getcwd.c: Likewise.
41907 2012-05-10 Roland McGrath <roland@hack.frob.com>
41909 * math/w_ilogbf.c: Add #include <limits.h>.
41911 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41913 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41914 path instead of returning without unlocking.
41916 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41917 immediate-write ioctls.
41918 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41922 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41923 __builtin_frame_address instead of making assumptions about the
41924 location of the return address relative to DATA. Force early load of
41925 the return address.
41926 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41927 __builtin_frame_address.
41930 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41931 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41932 implement dup3 and do some further code clean-ups.
41933 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41934 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41938 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41940 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41941 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41942 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41943 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41944 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41947 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41948 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41949 when handler == SIG_ERR, not when handler != SIG_ERR.
41951 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41953 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41954 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41957 accept4 for GNU Hurd.
41958 * include/sys/socket.h (__libc_accept4): New prototype.
41959 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41960 to implement __libc_accept4.
41961 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41963 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41965 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41966 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41967 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41968 signal-defines.sym.
41970 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41972 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41976 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41977 assertion on O_CLOEXEC flag.
41978 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41979 * hurd/intern-fd.c: Likewise.
41980 * hurd/port2fd.c: Likewise.
41982 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41985 * bits/in.h (IPV6_PKTINFO): Define new macro.
41986 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41988 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41993 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41994 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41995 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41996 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41998 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41999 * math/libm-test.inc (logb_test) : Additional logb tests.
42001 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42002 Andreas Jaeger <aj@suse.de>
42004 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42005 * configure: Regenerated.
42006 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42007 * config.make.in (link-obsolete-rpc): New substituted variable.
42008 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42009 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42010 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42011 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42012 so that libc.a contains the symbols.
42013 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42014 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42015 * sunrpc/auth_none.c: Likewise.
42016 * sunrpc/auth_unix.c: Likewise.
42017 * sunrpc/authdes_prot.c: Likewise.
42018 * sunrpc/authuxprot.c: Likewise.
42019 * sunrpc/clnt_gen.c: Likewise.
42020 * sunrpc/clnt_perr.c: Likewise.
42021 * sunrpc/clnt_raw.c: Likewise.
42022 * sunrpc/clnt_simp.c: Likewise.
42023 * sunrpc/clnt_tcp.c: Likewise.
42024 * sunrpc/clnt_udp.c: Likewise.
42025 * sunrpc/clnt_unix.c: Likewise.
42026 * sunrpc/des_crypt.c: Likewise.
42027 * sunrpc/des_soft.c: Likewise.
42028 * sunrpc/get_myaddr.c: Likewise.
42029 * sunrpc/key_call.c: Likewise.
42030 * sunrpc/key_prot.c: Likewise.
42031 * sunrpc/netname.c: Likewise.
42032 * sunrpc/pm_getmaps.c: Likewise.
42033 * sunrpc/pm_getport.c: Likewise.
42034 * sunrpc/pmap_clnt.c: Likewise.
42035 * sunrpc/pmap_prot.c: Likewise.
42036 * sunrpc/pmap_prot2.c: Likewise.
42037 * sunrpc/pmap_rmt.c: Likewise.
42038 * sunrpc/publickey.c: Likewise.
42039 * sunrpc/rpc_cmsg.c: Likewise.
42040 * sunrpc/rpc_common.c: Likewise.
42041 * sunrpc/rpc_dtable.c: Likewise.
42042 * sunrpc/rpc_prot.c: Likewise.
42043 * sunrpc/rpc_thread.c: Likewise.
42044 * sunrpc/rtime.c: Likewise.
42045 * sunrpc/svc.c: Likewise.
42046 * sunrpc/svc_auth.c: Likewise.
42047 * sunrpc/svc_raw.c: Likewise.
42048 * sunrpc/svc_run.c: Likewise.
42049 * sunrpc/svc_tcp.c: Likewise.
42050 * sunrpc/svc_udp.c: Likewise.
42051 * sunrpc/svc_unix.c: Likewise.
42052 * sunrpc/svcauth_des.c: Likewise.
42053 * sunrpc/xcrypt.c: Likewise.
42054 * sunrpc/xdr.c: Likewise.
42055 * sunrpc/xdr_array.c: Likewise.
42056 * sunrpc/xdr_float.c: Likewise.
42057 * sunrpc/xdr_intXX_t.c: Likewise.
42058 * sunrpc/xdr_mem.c: Likewise.
42059 * sunrpc/xdr_rec.c: Likewise.
42060 * sunrpc/xdr_ref.c: Likewise.
42061 * sunrpc/xdr_sizeof.c: Likewise.
42062 * sunrpc/xdr_stdio.c: Likewise.
42064 2012-05-10 Roland McGrath <roland@hack.frob.com>
42066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42067 change. Update copyright years.
42069 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42071 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42073 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42074 Joseph Myers <joseph@codesourcery.com>
42075 Paul Pluzhnikov <ppluzhnikov@google.com>
42078 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42080 [cross-compiling] (extra-libs): Likewise.
42081 [cross-compiling] (extra-libs-others): Likewise.
42082 [cross-compiling] (librpcsvc-routines): Likewise.
42083 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42084 [cross-compiling] (omit-deps): Likewise.
42085 (sunrpc-CPPFLAGS): New variable.
42086 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42087 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42088 (cross-rpcgen-objs): New variable.
42089 (extra-objs): Append $(cross-rpcgen-objs).
42090 ($(cross-rpcgen-objs)): New rule.
42091 ($(objpfx)cross-rpcgen): Likewise.
42092 (rpcgen-cmd): Define to use $(built-program-file). Expand
42094 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42095 ($(objpfx)x%.stmp): Likewise.
42096 * sunrpc/proto.h [IS_IN_build] (_): Define.
42097 [IS_IN_build] (_libc_intl_domainname): Likewise.
42099 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42101 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42102 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42103 and R_X86_64_TPOFF64.
42105 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42107 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42108 sysdeps/unix/sysv/syscalls.list.
42111 * sysdeps/unix/sysv/syscalls.list: Remove file.
42113 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42116 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42117 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42118 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42119 (__LC_IDENTIFICATION): Make these macros useful in #if
42120 expressions, as required by C99.
42122 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42124 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42125 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42128 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42130 * stdlib/longlong.h: Updated from GCC.
42132 2012-05-09 Andreas Jaeger <aj@suse.de>
42134 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42135 default is first entry.
42136 (run_mode): Set type.
42137 (main): Remove informal message about syslog.
42138 (options): Fix typo.
42141 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42144 (llrintf): Likewise.
42145 (llrint): Likewise.
42148 (nearbyint): Likewise.
42149 (nearbyintf): Likewise.
42151 2012-05-09 Andreas Jaeger <aj@suse.de>
42152 Pedro Alves <palves@redhat.com>
42154 * nscd/nscd.c (run_mode): Use enum.
42155 (main): Cleanup coding style issue.
42157 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42158 Andreas Jaeger <aj@suse.de>
42160 * nscd/nscd.c (go_background): Replaced with...
42161 (run_mode): ... this.
42162 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42163 (options): Add -F --foreground.
42164 (main): Implement it.
42165 (parse_opt): Parse it.
42167 2012-05-09 Andreas Jaeger <aj@suse.de>
42170 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42171 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42172 -Wconversion warning.
42173 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42176 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42178 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42180 (LC_ALL): Use macro-int-constant.
42181 (LC_COLLATE): Likewise.
42182 (LC_CTYPE): Likewise.
42183 (LC_MESSAGES): Likewise.
42184 (LC_MONETARY): Likewise.
42185 (LC_NUMERIC): Likewise.
42186 (LC_TIME): Likewise.
42187 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42188 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42190 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42192 [C99-based standards] (float_t): Expect type.
42193 [C99-based standards] (double_t): Expect type.
42194 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42196 [C99-based standards] (HUGE_VALL): Likewise.
42197 [C99-based standards] (INFINITY): Likewise.
42198 [C99-based standards] (NAN): Likewise.
42199 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42200 [C99-based standards] (FP_NAN): Likewise.
42201 [C99-based standards] (FP_NORMAL): Likewise.
42202 [C99-based standards] (FP_SUBNORMAL): Likewise.
42203 [C99-based standards] (FP_ZERO): Likewise.
42204 [C99-based standards] (FP_FAST_FMA): Use
42205 optional-macro-int-constant. Specify type. Require == 1.
42206 [C99-based standards] (FP_FAST_FMAF): Likewise.
42207 [C99-based standards] (FP_FAST_FMAL): Likewise.
42208 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42209 [C99-based standards] (FP_ILOGBNAN): Likewise.
42210 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42212 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42213 [C99-based standards] (math_errhandling): Specify type.
42214 [ISO99 || ISO11] (signgam): Do not allow.
42215 [non-C99-based standards] (copysignf): Do not allow.
42216 [non-C99-based standards] (exp2f): Likewise.
42217 [non-C99-based standards] (log2f): Likewise.
42218 [non-C99-based standards] (modff): Allow.
42219 [non-C99-based standards] (erff): Do not allow.
42220 [non-C99-based standards] (erfcf): Likewise.
42221 [non-C99-based standards] (gammaf): Likewise.
42222 [non-C99-based standards] (hypotf): Likewise.
42223 [non-C99-based standards] (j0f): Likewise.
42224 [non-C99-based standards] (j1f): Likewise.
42225 [non-C99-based standards] (jnf): Likewise.
42226 [non-C99-based standards] (lgammaf): Likewise.
42227 [non-C99-based standards] (tgammaf): Likewise.
42228 [non-C99-based standards] (y0f): Likewise.
42229 [non-C99-based standards] (y1f): Likewise.
42230 [non-C99-based standards] (ynf): Likewise.
42231 [non-C99-based standards] (isnanf): Likewise.
42232 [non-C99-based standards] (acoshf): Likewise.
42233 [non-C99-based standards] (asinhf): Likewise.
42234 [non-C99-based standards] (atanhf): Likewise.
42235 [non-C99-based standards] (cbrtf): Likewise.
42236 [non-C99-based standards] (expm1f): Likewise.
42237 [non-C99-based standards] (ilogbf): Likewise.
42238 [non-C99-based standards] (log1pf): Likewise.
42239 [non-C99-based standards] (logbf): Likewise.
42240 [non-C99-based standards] (nextafterf): Likewise.
42241 [non-C99-based standards] (remainderf): Likewise.
42242 [non-C99-based standards] (rintf): Likewise.
42243 [non-C99-based standards] (scalbf): Likewise.
42244 [non-C99-based standards] (copysignl): Likewise.
42245 [non-C99-based standards] (exp2l): Likewise.
42246 [non-C99-based standards] (log2l): Likewise.
42247 [non-C99-based standards] (modfl): Allow.
42248 [non-C99-based standards] (erfl): Do not allow.
42249 [non-C99-based standards] (erfcl): Likewise.
42250 [non-C99-based standards] (gammal): Likewise.
42251 [non-C99-based standards] (hypotl): Likewise.
42252 [non-C99-based standards] (j0l): Likewise.
42253 [non-C99-based standards] (j1l): Likewise.
42254 [non-C99-based standards] (jnl): Likewise.
42255 [non-C99-based standards] (lgammal): Likewise.
42256 [non-C99-based standards] (tgammal): Likewise.
42257 [non-C99-based standards] (y0l): Likewise.
42258 [non-C99-based standards] (y1l): Likewise.
42259 [non-C99-based standards] (ynl): Likewise.
42260 [non-C99-based standards] (isnanl): Likewise.
42261 [non-C99-based standards] (acoshl): Likewise.
42262 [non-C99-based standards] (asinhl): Likewise.
42263 [non-C99-based standards] (atanhl): Likewise.
42264 [non-C99-based standards] (cbrtl): Likewise.
42265 [non-C99-based standards] (expm1l): Likewise.
42266 [non-C99-based standards] (ilogbl): Likewise.
42267 [non-C99-based standards] (log1pl): Likewise.
42268 [non-C99-based standards] (logbl): Likewise.
42269 [non-C99-based standards] (nextafterl): Likewise.
42270 [non-C99-based standards] (remainderl): Likewise.
42271 [non-C99-based standards] (rintl): Likewise.
42272 [non-C99-based standards] (scalbl): Likewise.
42273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42274 [non-C99-based standards] (FP_*): Do not allow.
42275 [C99-based standards] (FP_*): Change to
42276 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42277 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42279 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42280 (SIG_ERR): Likewise.
42281 [X/Open-based standards] (SIG_HOLD): Likewise.
42282 (SIG_IGN): Likewise.
42283 (SIGABRT): Use macro-int-constant. Specify type. Require
42285 (SIGFPE): Likewise.
42286 (SIGILL): Likewise.
42287 (SIGINT): Likewise.
42288 (SIGSEGV): Likewise.
42289 (SIGTER): Likewise.
42290 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42291 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42292 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42293 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42294 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42295 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42296 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42297 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42298 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42299 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42300 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42301 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42302 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42303 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42304 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42305 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42306 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42307 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42308 [X/Open-based standards] (SIGTRAP): Likewise.
42309 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42310 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42311 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42312 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42313 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42316 2012-05-08 Ian Wienand <ianw@vmware.com>
42319 * time/tzset.c (__tzset_parse_tz): Update default rules for
42320 daylight time changes in the Energy Policy Act of 2005.
42322 2012-05-09 Andreas Jaeger <aj@suse.de>
42325 * elf/ldconfig.c (parse_conf): Change string to make clear that
42326 ldconfig only issued a warning if ld.so.conf does not exist.
42328 2012-05-08 David S. Miller <davem@davemloft.net>
42330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42331 movxtod instead of popping the value on the stack.
42333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42335 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42337 * config.h.in: Add HAVE_ARM_PCS_VFP.
42339 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42342 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42343 checking but the checks are disabled for any reason.
42345 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42347 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42348 and ELF64_R_TYPE with ELFW(R_TYPE).
42350 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42352 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42353 (ulimit): Likewise.
42355 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42356 (settimeofday): Likewise.
42358 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42360 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42361 a struct th_u2 inside the union, and move tu_block/tu_code into
42362 a new th_u3 union of tu_block/tu_code inside of that. Move
42363 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42364 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42365 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42366 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42367 (th_stuff): Change to th_u1.tu_stuff.
42369 (th_msg): Change to th_u1.th_u2.tu_data.
42371 2012-05-07 David S. Miller <davem@davemloft.net>
42373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42377 (SETUP_PIC_REG): Use it.
42378 (SETUP_PIC_REG_LEAF): Use it.
42380 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42384 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42386 (EXPL_FINITE): Likewise.
42387 (FLDLOG): Likewise.
42388 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42389 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42393 (EXPL_FINITE): Likewise.
42394 (FLDLOG): Likewise.
42395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42396 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42398 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42399 test of -max_value argument for long double.
42400 * sysdeps/i386/fpu/libm-test-ulps: Update.
42401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42403 2012-05-06 David S. Miller <davem@davemloft.net>
42405 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42406 quad soft-float symbols whose references which are compiler
42408 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42410 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42414 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42416 (EXPL_FINITE): Likewise.
42417 (FLDLOG): Likewise.
42420 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42421 Adjust comments for base varying.
42422 (__expl_finite): Change alias to EXPL_FINITE.
42423 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42425 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42426 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42428 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42431 (EXPL_FINITE): Likewise.
42432 (FLDLOG): Likewise.
42435 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42436 Adjust comments for base varying.
42437 (__expl_finite): Change alias to EXPL_FINITE.
42438 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42443 * math/libm-test.inc (check_float_internal): Correct ulp
42444 calculation for subnormal expected results.
42446 2012-05-06 Andreas Jaeger <aj@suse.de>
42448 * Makeconfig (+math-flags): New, set to -frounding-math.
42449 (+cflags): Add +math-flags so that all of glibc gets compiled with
42452 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42454 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42456 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42462 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42463 (__ieee754_expl): Allow for and saturate large arguments.
42464 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42465 (u_threshold): Likewise.
42466 (__exp): Call __ieee754_exp before checking for overflow and
42468 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42469 (u_threshold): Likewise.
42470 (__expf): Call __ieee754_expf before checking for overflow and
42472 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42473 (u_threshold): Likewise.
42474 (__expl): Call __ieee754_expl before checking for overflow and
42476 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42477 (__ieee754_expl): Allow for and saturate large arguments.
42478 * math/libm-test.inc (exp_test): Add another test. Do not allow
42479 missing overflow exception on overflow.
42480 (expm1_test): Do not allow missing overflow exception on overflow.
42482 * sysdeps/i386/fpu/e_expl.c: Move to ...
42483 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42484 rather than using inline asm.
42485 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42486 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42487 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42489 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42492 (signal): Likewise.
42496 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42498 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42499 sysdeps/unix/common/syscalls.list.
42500 (fchmod): Likewise.
42501 (fchown): Likewise.
42502 (ftruncate): Likewise.
42503 (getrusage): Likewise.
42504 (gettimeofday): Likewise.
42505 (setpgid): Likewise.
42506 (setregid): Likewise.
42507 (setreuid): Likewise.
42508 (sigaction): Likewise.
42509 (truncate): Likewise.
42510 (vhangup): Likewise.
42511 * sysdeps/unix/common/syscalls.list: Remove file.
42512 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42513 * sysdeps/unix/sysv/linux/Implies: Likewise.
42515 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42517 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42519 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42523 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42526 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42529 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42532 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42535 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42538 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42541 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42545 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42549 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42552 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42556 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42560 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42562 * sysdeps/unix/common/bits/dirent.h: Remove file.
42563 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42565 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42566 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42567 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42568 * sysdeps/unix/bsd/isatty.c: Likewise.
42569 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42570 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42571 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42573 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42577 long double comparison inaccuracies.
42578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42581 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42583 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42586 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42589 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42590 nonzero digits before rounding a hex value.
42591 * stdlib/tst-strtod.c (tests): Add another test.
42593 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42595 * sysdeps/s390/fpu/libm-test-ulps: Update.
42597 2012-05-03 Andreas Jaeger <aj@suse.de>
42599 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42600 does not get optimized out.
42601 (malloc_opt_barrier): New.
42603 2012-05-03 Andreas Jaeger <aj@suse.de>
42604 Roland McGrath <roland@hack.frob.com>
42606 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42607 intermediate file deletion.
42608 (generated): Add .symlist files.
42610 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42613 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42614 Redirect under this condition.
42615 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42616 [__USE_GNU] (__dprintf_chk): Not under this condition.
42617 [__USE_GNU] (__vdprintf_chk): Likewise.
42618 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42619 under this condition.
42620 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42621 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42622 [__USE_XOPEN2K8] (vdprintf): Likewise.
42623 [__USE_GNU] (__dprintf_chk): Not under this condition.
42624 [__USE_GNU] (__vdprintf_chk): Likewise.
42625 [__USE_GNU] (dprintf): Likewise.
42626 [__USE_GNU] (vdprintf): Likewise.
42628 2012-05-03 Roland McGrath <roland@hack.frob.com>
42630 * elf/Makefile (common-generated): Set this instead of generated for
42631 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42632 $(all-built-dso)-derived lists.
42634 2012-05-03 Andreas Jaeger <aj@suse.de>
42636 * sysdeps/i386/fpu/libm-test-ulps: Update.
42639 * FAQ.in: Likewise.
42640 * scripts/gen-FAQ.pl: Likewise.
42641 * manual/install.texi (Installation): Point to online location of
42643 * Makefile (files-for-dist): Remove FAQ.
42646 2012-05-02 Allan McRae <allan@archlinux.org>
42648 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42649 (LDFLAGS-reldepmod5.so): Likewise.
42650 (LDFLAGS-reldep6mod1.so): Likewise.
42651 (LDFLAGS-reldep6mod4.so): Likewise.
42652 (LDFLAGS-reldep8mod3.so): Likewise.
42653 (LDFLAGS-unload4mod1.so): Likewise.
42654 (LDFLAGS-unload4mod2.so): Likewise.
42655 (LDFLAGS-tst-initorder): Likewise.
42656 (LDFLAGS-tst-initordera2.so): Likewise.
42657 (LDFLAGS-tst-initordera3.so): Likewise.
42658 (LDFLAGS-tst-initordera4.so): Likewise.
42659 (LDFLAGS-tst-initorderb2.so): Likewise.
42660 (LDFLAGS-noload): Likewise.
42661 (LDFLAGS-next): Likewise.
42662 (LDFLAGS-order2mod1.so): Likewise.
42663 (LDFLAGS-order2mod2.so): Likewise.
42664 (LDFLAGS-tst-initorder2): Likewise.
42665 (LDFLAGS-tst-initorder2a.so): Likewise.
42666 (LDFLAGS-tst-initorder2b.so): Likewise.
42667 (LDFLAGS-tst-initorder2c.so): Likewise.
42668 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42670 2012-05-02 David S. Miller <davem@davemloft.net>
42672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42674 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42677 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42679 2012-05-02 Andreas Jaeger <aj@suse.de>
42681 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42682 since we manipulate rounding mode.
42683 (CPPFLAGS-test-idouble.c): Likewise.
42684 (CPPFLAGS-test-ifloat.c): Likewise.
42685 (CFLAGS-test-ldouble.c): Likewise.
42686 (CFLAGS-test-double.c): Likewise.
42687 (CFLAGS-test-float.c): Likewise.
42688 (CFLAGS-test-misc.c): Likewise.
42689 (CFLAGS-test-test-fenv.c): Likewise.
42691 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42696 comparisons to determine direction to adjust input.
42698 2012-05-01 Roland McGrath <roland@hack.frob.com>
42700 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42701 output to the target.
42703 * scripts/localplt.awk: New file.
42704 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42705 (check-localplt-CFLAGS): Variable removed.
42706 ($(all-built-dso:=.jmprel)): New static pattern rule.
42707 (generated): Add those targets.
42708 (localplt-built-dso): New variable.
42709 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42711 * elf/check-localplt.c: File removed.
42713 * scripts/check-execstack.awk: New file.
42714 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42715 (check-execstack-CFLAGS): Variable removed.
42716 ($(objpfx)check-execstack.h): Target removed.
42717 ($(objpfx)execstack-default): New target.
42718 (generated): Add that instead of check-execstack.h.
42719 ($(all-built-dso:=.phdr)): New static pattern rule.
42720 (generated): Add those targets.
42721 * elf/check-execstack.c: File removed.
42723 * scripts/check-textrel.awk: New file.
42724 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42725 (check-textrel-CFLAGS): Variable removed.
42726 (all-built-dso): Use := to define.o
42727 ($(all-built-dso:=.dyn)): New static pattern rule.
42728 (generated): Add those targets.
42729 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42730 * config.make.in (READELF): New substituted variable.
42731 * elf/check-textrel.c: File removed.
42733 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42735 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42737 * conform/data/ctype.h-data [C99-based standards] (isblank):
42739 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42740 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42741 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42742 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42743 Specify type. Require positive value.
42744 (EILSEQ): Likewise.
42745 (ERANGE): Likewise.
42746 [ISO || POSIX] (EILSEQ): Do not expect.
42747 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42748 Specify type. Require positive value.
42749 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42750 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42751 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42752 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42753 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42754 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42755 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42757 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42759 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42760 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42761 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42762 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42763 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42764 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42765 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42766 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42767 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42768 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42769 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42770 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42771 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42772 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42773 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42774 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42775 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42776 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42777 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42778 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42779 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42780 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42781 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42782 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42783 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42784 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42785 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42786 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42787 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42788 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42789 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42790 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42791 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42792 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42793 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42794 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42795 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42796 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42797 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42798 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42799 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42800 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42801 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42802 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42803 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42804 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42805 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42806 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42807 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42808 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42809 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42810 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42811 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42812 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42813 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42814 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42816 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42817 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42818 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42819 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42820 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42821 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42822 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42823 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42824 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42825 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42827 (FLT_ROUNDS): Expect as macro, not constant.
42828 (FLT_MANT_DIG): Use macro-int-constant.
42829 (DBL_MANT_DIG): Likewise.
42830 (LDBL_MANT_DIG): Likewise.
42831 (FLT_DIG): Likewise.
42832 (DBL_DIG): Likewise.
42833 (LDBL_DIG): Likewise.
42834 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42835 (DBL_MIN_EXP): Likewise.
42836 (LDBL_MIN_EXP): Likewise.
42837 (FLT_MAX_EXP): Use macro-int-constant.
42838 (DBL_MAX_EXP): Likewise.
42839 (LDBL_MAX_EXP): Likewise.
42840 (FLT_MAX_10_EXP): Likewise.
42841 (DBL_MAX_10_EXP): Likewise.
42842 (LDBL_MAX_10_EXP): Likewise.
42843 (FLT_MAX): Use macro-constant.
42844 (DBL_MAX): Likewise.
42845 (LDBL_MAX): Likewise.
42846 (FLT_EPSILON): Use macro-constant. Give upper bound.
42847 (DBL_EPSILON): Likewise.
42848 (LDBL_EPSILON): Likewise.
42849 (FLT_MIN): Likewise.
42850 (DBL_MIN): Likewise.
42851 (LDBL_MIN): Likewise.
42852 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42853 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42854 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42855 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42856 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42857 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42858 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42859 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42860 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42861 [ISO11] (FLT_TRUE_MIN): Likewise.
42862 [ISO11] (LDBL_TRUE_MIN): Likewise.
42863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42864 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42865 (SCHAR_MIN): Use macro-int-constant. Specify type.
42866 (SCHAR_MAX): Likewise.
42867 (UCHAR_MAX): Likewise.
42868 (CHAR_MIN): Likewise.
42869 (CHAR_MAX): Likewise.
42870 (MB_LEN_MAX): Use macro-int-constant.
42871 (SHRT_MIN): Use macro-int-constant. Specify type.
42872 (SHRT_MAX): Likewise.
42873 (USHRT_MAX): Likewise.
42874 (INT_MAX): Likewise.
42875 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42877 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42879 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42881 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42882 bound negative. Suffix upper bound with "L".
42883 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42885 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42887 [C99-based standards] (LLONG_MAX): Likewise.
42888 [C99-based standards] (ULLONG_MAX): Likewise.
42889 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42891 [ISO11] (max_align_t): Require type.
42892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42894 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42895 from $CFLAGS, without defining away __attribute__ calls.
42896 (checknamespace): Use $CFLAGS_namespace.
42898 * conform/conformtest.pl (@keywords): Only include C99 keywords
42899 for standards based on C99 or C11.
42901 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42903 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42906 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42907 usability of symbols in #if.
42909 * conform/conformtest.pl: If macro or constant types start
42910 "promoted:", expect the symbol to be of the following type
42911 promoted by the integer promotions.
42913 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42914 in one place. Also handle "macro-constant".
42916 * conform/conformtest.pl: Only accept expected macro values with
42917 "==". Parse all "macro" lines in one place.
42918 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42920 * conform/conformtest.pl: Handle braced types on "constant" lines
42921 instead of handling "typed-constant".
42922 * conform/data/signal.h-data: Use "constant" instead of
42925 * conform/conformtest.pl: Handle "optional-" at start of lines in
42926 one place rather than duplicating several cases. Handle each
42927 format of "macro" line with initial "optional-".
42929 * conform/conformtest.pl: Only accept expected constant or
42930 optional-constant values with "==". Parse all "constant" lines in
42931 one place. Parse all "optional-constant" lines in one place.
42932 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42933 * conform/data/fmtmsg.h-data: Likewise.
42934 * conform/data/netinet/in.h-data: Likewise.
42935 * conform/data/tar.h-data: Likewise.
42936 * conform/data/limits.h-data: Use "==" form on "constant" and
42937 "optional-constant" lines.
42939 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42940 Use -std=c99 for XOPEN2K.
42941 (@knownproblems): Remove.
42942 (newtoken): Don't check %isknown.
42944 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42945 Do not expect macro.
42946 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42958 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42959 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42976 [XPG3] (acosh): Likewise.
42977 [XPG3] (asinh): Likewise.
42978 [XPG3] (atanh): Likewise.
42979 [XPG3] (cbrt): Likewise.
42980 [XPG3] (expm1): Likewise.
42981 [XPG3] (ilogb): Likewise.
42982 [XPG3] (log1p): Likewise.
42983 [XPG3] (logb): Likewise.
42984 [XPG3] (nextafter): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42987 [XPG3] (remainder): Likewise.
42988 [XPG3] (rint): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42996 [UNIX98 || XOPEN2K] (scalb): Expect.
42997 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42998 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43031 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43032 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43040 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43041 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43042 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43047 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43050 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43051 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43059 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43060 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43062 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43063 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43064 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43065 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43066 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43068 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43069 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43070 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43071 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43072 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43073 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43074 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43075 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43077 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43089 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43090 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43093 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43094 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43096 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43097 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43098 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43099 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43100 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43101 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43102 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43103 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43104 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43105 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43106 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43107 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43108 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43109 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43110 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43111 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43112 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43113 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43114 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43115 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43116 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43117 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43118 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43119 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43120 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43121 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43122 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43123 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43124 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43125 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43126 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43127 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43128 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43129 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43130 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43131 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43133 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43135 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43136 _XOPEN_SOURCE_EXTENDED for XPG4.
43138 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43140 * Makeconfig (localtime): Remove variable.
43141 (inst_localtime-file): Likewise.
43143 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43164 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43168 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43169 comparisons to determine direction to adjust input.
43170 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43171 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43172 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43174 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43178 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43179 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43181 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43183 * math/libm-test.inc (nexttoward_test): Add more tests.
43185 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43189 in version GLIBC_2.1, not GLIBC_2.0.
43190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43193 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43196 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43198 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43199 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43200 * math/libm-test.inc (acos_test): Add more tests.
43201 (asin_test): Likewise.
43202 * sysdeps/i386/fpu/libm-test-ulps: Update.
43203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43206 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43208 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43209 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43210 * math/libm-test.inc (acos_test_tonearest): New function.
43211 (acos_test_towardzero): Likewise.
43212 (acos_test_downward): Likewise.
43213 (acos_test_upward): Likewise.
43214 (asin_test_tonearest): Likewise.
43215 (asin_test_towardzero): Likewise.
43216 (asin_test_downward): Likewise.
43217 (asin_test_upward): Likewise.
43218 (main): Call the new functions.
43219 * sysdeps/i386/fpu/libm-test-ulps: Update.
43220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43224 * math/e_exp10.c: Include <float.h>.
43225 (__ieee754_exp10): Handle underflow here rather than multiplying
43226 large negative argument by M_LN10.
43227 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43229 * math/e_exp10l.c: Include <float.h>.
43230 (__ieee754_exp10l): Handle underflow here rather than multiplying
43231 large negative argument by M_LN10l.
43232 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43233 spurious overflow exception on underflow.
43235 2012-04-29 Marek Polacek <polacek@redhat.com>
43237 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43238 (__fortify_function): New macro.
43239 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43240 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43241 __extern_always_inline.
43242 * libio/bits/stdio2.h: Likewise.
43243 * libio/bits/stdio.h: Likewise.
43244 * string/string.h: Likewise.
43245 * string/bits/string3.h: Likewise.
43246 * include/stdio.h: Likewise.
43247 * stdlib/bits/stdlib.h: Likewise.
43248 * stdlib/stdlib.h: Likewise.
43249 * rt/bits/mqueue2.h: Likewise.
43250 * rt/mqueue.h: Likewise.
43251 * posix/bits/unistd.h: Likewise.
43252 * posix/unistd.h: Likewise.
43253 * io/bits/poll2.h: Likewise.
43254 * io/bits/fcntl2.h: Likewise.
43255 * io/fcntl.h: Likewise.
43256 * io/sys/poll.h: Likewise.
43257 * misc/bits/syslog.h: Likewise.
43258 * misc/bits/syslog-ldbl.h: Likewise.
43259 * misc/sys/syslog.h: Likewise.
43260 * socket/bits/socket2.h: Likewise.
43261 * socket/sys/socket.h: Likewise.
43262 * debug/tst-chk1.c: Likewise.
43263 * wcsmbs/bits/wchar2.h: Likewise.
43264 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43265 * wcsmbs/wchar.h: Likewise.
43267 2012-04-29 Andreas Jaeger <aj@suse.de>
43269 * Makerules (tests): Remove enable-check-abi protection.
43270 (check-abi-warn): Remove.
43271 (check-abi-%): Remove check-abi-warn usage.
43273 * configure.in: Remove check-abi configure option.
43274 * configure: Regenerated.
43275 * config.make.in (enable-check-abi): Remove.
43277 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43280 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43281 double functions to double *_finite functions.
43284 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43285 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43287 * stdio-common/Makefile (tests): Add tst-sprintf3.
43288 * stdio-common/tst-sprintf3.c: New file.
43290 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43291 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43293 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43295 * conform/conformtest.pl: Remove duplicate typed-constant
43298 2012-04-28 David S. Miller <davem@davemloft.net>
43300 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43301 (check-abi-%): Remove AWK script prerequisite and explicit
43303 (check-abi): Rewrite to just diff the symlist with the abilist.
43304 (config-tls, config-abi-config): Delete, no longer used.
43305 (update-abi-%): Remove AWK script and explicit abilist directory.
43306 (update-abi): Rewrite to simply compare and conditionally copy the
43307 symlist and the sysdep abilist file. Remove update-abi-config
43309 * abilist/ld.abilist: Remove.
43310 * abilist/libBrokenLocale.abilist: Remove.
43311 * abilist/libanl.abilist: Remove.
43312 * abilist/libcrypt.abilist: Remove.
43313 * abilist/libdl.abilist: Remove.
43314 * abilist/librt.abilist: Remove.
43315 * abilist/libthread_db.abilist: Remove.
43316 * abilist/libutil.abilist: Remove.
43317 * scripts/extract-abilist.awk: Remove.
43318 * scripts/merge-abilist.awk: Remove.
43319 * sysdeps/generic/libcidn.abilist: New file.
43320 * sysdeps/generic/libnss_compat.abilist: New file.
43321 * sysdeps/generic/libnss_db.abilist: New file.
43322 * sysdeps/generic/libnss_dns.abilist: New file.
43323 * sysdeps/generic/libnss_files.abilist: New file.
43324 * sysdeps/generic/libnss_hesiod.abilist: New file.
43325 * sysdeps/generic/libnss_nis.abilist: New file.
43326 * sysdeps/generic/libnss_nisplus.abilist: New file.
43327 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43328 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43329 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43331 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43332 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43333 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43334 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43335 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43336 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43337 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43338 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43339 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43341 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43342 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43343 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43344 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43346 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43347 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43348 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43349 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43350 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43351 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43353 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43354 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43355 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43357 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43460 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43461 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43462 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43464 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43465 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43466 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43467 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43468 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43469 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43470 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43471 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43472 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43473 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43525 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43527 * conform/conformtest.pl: Fix typo in handling typed-constant from
43530 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43532 * README: Cut down references to pre-2.6 Linux kernels and
43533 Linuxthreads. Update lists of configurations in libc and ports
43534 and sort alphabetically. Say "or newer" with Linux kernel version
43537 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43539 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43542 * math/libm-test.inc (logb_test_downward): New test to expose
43543 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43546 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43549 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43551 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43552 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43554 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43556 * sysdeps/unix/i386/brk.S: Remove file.
43557 * sysdeps/unix/i386/dl-brk.S: Likewise.
43558 * sysdeps/unix/i386/pipe.S: Likewise.
43559 * sysdeps/unix/i386/sigreturn.S: Likewise.
43560 * sysdeps/unix/i386/syscall.S: Likewise.
43561 * sysdeps/unix/i386/vfork.S: Likewise.
43562 * sysdeps/unix/i386/wait.S: Likewise.
43564 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43565 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43567 * configure.in (arm*-none*): Do not allow without
43568 --enable-hacker-mode.
43569 (netbsd*): Remove case setting base_os.
43570 (386bsd*): Likewise.
43571 (freebsd*): Likewise.
43574 (sunos*): Likewise.
43575 (ultrix*): Likewise.
43576 (newsos*): Likewise.
43577 (dynix*): Likewise.
43583 (minix*): Likewise.
43584 (irix4*): Likewise.
43585 (irix6*): Likewise.
43586 (solaris[2-9]*): Likewise.
43588 * configure: Regenerated.
43590 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43593 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43594 overflow or cancellation in calculating denominator.
43595 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43597 down expression to avoid unexpected rounding in newer GCCs.
43598 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43600 2012-04-26 David S. Miller <davem@davemloft.net>
43602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43603 long-double compat symbols.
43604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43618 2012-04-25 David S. Miller <davem@davemloft.net>
43620 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43621 HWCAP_* values only after the memory barriers have been defined.
43622 (atomic_full_barrier): Define.
43623 (atomic_read_barrier): Define.
43624 (atomic_write_barrier): Define.
43626 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43628 * shlib-versions: Add libgcc_s version information.
43629 * sysdeps/generic/libgcc_s.h: Remove.
43630 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43632 * sysdeps/gnu/unwind-resume.c: Likewise.
43633 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43635 2012-04-25 David S. Miller <davem@davemloft.net>
43637 * sysdeps/unix/sparc/brk.S: Delete.
43638 * sysdeps/unix/sparc/dl-brk.S: Delete.
43639 * sysdeps/unix/sparc/pipe.S: Delete.
43640 * sysdeps/unix/sparc/sysdep.S: Delete.
43641 * sysdeps/unix/sparc/sysdep.h: Delete.
43642 * sysdeps/unix/sparc/vfork.S: Delete.
43643 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43644 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43646 (ret_ERRVAL, r0, r1, MOVE): Define.
43647 (JUMPTARGET): Remove.
43648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43649 sysdeps/unix/sparc/sysdep.h
43650 (ENTRY, END): Remove.
43651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43653 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43655 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43656 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43659 * timezone/README: Update upstream location and email address for
43661 * timezone/zdump.c: Update from tzcode 2012b.
43662 * timezone/zic.c: Likewise.
43664 * configure.in (libc_cv_as_needed): Remove test.
43665 * configure: Regenerated.
43666 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43667 conditional definition.
43668 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43669 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43670 * config.make.in (have-as-needed): Remove variable.
43672 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43673 Paul Pluzhnikov <ppluzhnikov@google.com>
43675 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43678 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43680 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43681 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43682 * sysdeps/sh/strlen.S: Likewise.
43684 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43686 * sysdeps/unix/fork.S: Remove file.
43687 * sysdeps/unix/i386/fork.S: Likewise.
43688 * sysdeps/unix/sparc/fork.S: Likewise.
43690 * sysdeps/unix/system.c: Remove file.
43691 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43693 * sysdeps/unix/getegid.S: Remove file.
43694 * sysdeps/unix/geteuid.S: Likewise.
43696 2012-04-24 Roland McGrath <roland@hack.frob.com>
43698 * scripts/check-localplt.awk: New file.
43699 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43701 * scripts/data/localplt-generic.data: Add a comment.
43703 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43704 NODE when __dir_mkfile failed.
43705 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43706 Reported by Ludovic Courtès <ludo@gnu.org>.
43708 2012-04-24 Andreas Jaeger <aj@suse.de>
43710 * Makerules (common-clean): Also remove gen-as-const-headers
43713 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43715 * Makerules (native-compile): Do not change working directory for
43716 build. Use $(OUTPUT_OPTION) in command.
43717 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43719 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43722 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43723 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43724 * math/libm-test.inc (floor_test): Add more tests.
43725 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43727 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43729 * sysdeps/unix/getdents.c: Remove file.
43730 * sysdeps/unix/sysv/getdents.c: Likewise.
43731 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43733 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43734 sysdeps/unix/mman/syscalls.list.
43736 (mprotect): Likewise.
43738 (munmap): Likewise.
43739 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43740 * sysdeps/unix/mman/syscalls.list: Remove.
43741 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43743 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43744 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43745 * configure: Regenerated.
43746 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43747 $(libgcc_s_suffix).
43748 * config.make.in (libgcc_s_suffix): Remove variable.
43750 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43752 * sysdeps/unix/sysv/gethostname.c: Move to ...
43753 * sysdeps/posix/gethostname.c: ... here.
43755 * sysdeps/unix/execve.S: Remove file.
43757 * sysdeps/unix/_exit.S: Remove file.
43759 2012-04-23 Andreas Jaeger <aj@suse.de>
43762 * manual/Makefile: Remove make dist support, there's no
43763 need for a stand-alone documentation tar ball.
43764 (TEXI2DVI): Define always, it's not in Makeconfig.
43767 (edition): Removed.
43768 (glibc-doc-$(edition).tar): Removed
43772 (ETAGS): Remove, it's in Makeconfig.
43773 (move-if-change): Remove, it's in Makeconfig.
43775 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43778 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43779 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43780 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43781 (strtod_l, strtof_l, strtold_l): Remove __wur.
43782 It is not necessarily an error to ignore strtol's return value.
43783 One can reliably look at the stored endptr to decide whether
43784 the number had valid syntax.
43786 2012-04-21 Andreas Jaeger <aj@suse.de>
43789 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43791 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43793 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43794 * sysdeps/unix/sysv/Versions: Remove file.
43796 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43801 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43805 version from __vm86.
43807 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43809 * sysdeps/unix/common/lxstat.c: Remove file.
43810 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43812 * sysdeps/unix/sysv/Makefile: Remove file.
43814 * sysdeps/unix/sysv/direct.h: Remove file.
43816 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43817 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43818 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43819 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43820 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43821 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43822 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43824 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43826 * sysdeps/unix/xmknod.c: Remove file.
43827 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43829 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43831 * sysdeps/unix/sysv/i386/time.S: Remove file.
43833 * sysdeps/unix/fxstat.c: Remove file.
43834 * sysdeps/unix/xstat.c: Likewise.
43835 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43837 * sysdeps/unix/sysv/sigaction.c: Remove file.
43839 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43840 (sysdep_headers): Remove variable.
43841 [termio.h not in sysdep_headers] (generated): Likewise.
43842 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43843 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43844 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43845 * sysdeps/unix/sysv/tcflow.c: Likewise.
43846 * sysdeps/unix/sysv/tcflush.c: Likewise.
43847 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43848 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43849 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43850 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43851 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43853 * sysdeps/unix/siglist.c: Remove file.
43855 * sysdeps/unix/getppid.S: Remove file.
43857 * sysdeps/unix/mkdir.c: Remove file.
43858 * sysdeps/unix/rmdir.c: Likewise.
43860 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43862 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43864 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43865 errlist-compat value.
43867 2012-04-18 David S. Miller <davem@davemloft.net>
43869 * sysdeps/generic/memcopy.h (reg_char): Delete.
43870 * debug/strcat_chk.c: Use char, not reg_char.
43871 * debug/strcpy_chk.c: Likewise.
43872 * debug/strncat_chk.c: Likewise.
43873 * debug/strncpy_chk.c: Likewise.
43874 * string/memchr.c: Likewise.
43875 * string/memrchr.c: Likewise.
43876 * string/rawmemchr.c: Likewise.
43877 * string/strcat.c: Likewise.
43878 * string/strchr.c: Likewise.
43879 * string/strchrnul.c: Likewise.
43880 * string/strcmp.c: Likewise.
43881 * string/strcpy.c: Likewise.
43882 * string/strncat.c: Likewise.
43883 * string/strncmp.c: Likewise.
43884 * string/strncpy.c: Likewise.
43886 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43888 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43889 __builtin_memcopy is called when src and dest ranges are known to not
43892 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43894 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43895 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43896 fwd_align_merge macro call.
43897 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43898 bwd_align_merge macro call.
43899 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43901 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43903 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43904 bwd_align_merge macros.
43905 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43906 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43907 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43909 2012-04-18 David S. Miller <davem@davemloft.net>
43911 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43913 2012-04-18 Andreas Jaeger <aj@suse.de>
43916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43917 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43918 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43921 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43922 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43924 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43925 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43926 Adjust for changed ldbl-128 files.
43928 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43929 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43930 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43932 2012-04-17 David S. Miller <davem@davemloft.net>
43934 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43936 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43938 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43939 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43940 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43941 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43942 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43943 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43945 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43948 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43949 * math/libm-test.inc: Add ilogb errno and exception tests.
43950 * math/w_ilogb.c: New file: ilogb wrapper.
43951 * math/w_ilogbf.c: New file: ilogbf wrapper.
43952 * math/w_ilogbl.c: New file: ilogbl wrapper.
43953 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43954 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43955 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43956 exception being thrown with 0.0 as argument.
43957 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43958 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43959 exception being thrown with 0.0 as argument.
43960 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43961 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43962 exception being thrown with 0.0 as argument.
43963 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43964 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43965 exception being thrown with 0.0 as argument.
43966 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43967 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43968 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43969 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43970 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43971 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43972 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43973 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43974 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43976 2012-04-17 Petr Baudis <pasky@ucw.cz>
43978 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43981 2012-04-16 Marek Polacek <polacek@redhat.com>
43983 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43985 2012-04-16 Marek Polacek <polacek@redhat.com>
43987 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43988 operands of fdivp instruction.
43990 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43992 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43993 * elf/tst-auditmod3b.c: Likewise.
43994 * elf/tst-auditmod4b.c: Likewise.
43995 * elf/tst-auditmod5b.c: Likewise.
43996 * elf/tst-auditmod6b.c: Likewise.
43997 * elf/tst-auditmod6c.c: Likewise.
43998 * elf/tst-auditmod7b.c: Likewise.
43999 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44000 * sysdeps/x86_64/preconfigure.in: Likewise.
44001 * sysdeps/x86_64/preconfigure: Regenerated.
44003 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44005 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44008 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44010 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44011 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44013 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44016 * locale/iso-639.def: Fix gl language name. Spotted by
44019 2012-04-12 Roland McGrath <roland@hack.frob.com>
44022 * libio/libio.h (__io_write_fn): Update comment.
44024 2012-04-12 Petr Baudis <pasky@ucw.cz>
44027 * stdio.texi (Hook Functions): The user provided writer function
44028 is not allowed to return -1.
44030 2012-04-11 David S. Miller <davem@davemloft.net>
44032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44034 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44036 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44037 Add a leading slash to rtkaio.
44039 2012-04-11 Jim Meyering <meyering@redhat.com>
44042 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44043 It is not necessarily an error to ignore fwrite's return
44044 value. One can reliably use ferror to test for errors after
44047 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44049 * bits/types.h (__snseconds_t): New type.
44050 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44052 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44054 (__SNSECONDS_T_TYPE): Likewise.
44055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44056 (__SNSECONDS_T_TYPE): Likewise.
44057 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44058 (__SNSECONDS_T_TYPE): Likewise.
44060 2012-04-10 Andreas Jaeger <aj@suse.de>
44063 * manual/time.texi (Processor Time): Return type of times is
44064 elapsed real time since an arbitrary point in the past.
44065 (CPU Time): Move CLK_TCK from here...
44066 (Processor Time): ...to here. Correct description.
44067 * manual/conf.texi (Constants for Sysconf): Correct description of
44070 2012-04-10 David S. Miller <davem@davemloft.net>
44073 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44074 where the is a gap between DT_REL(A) and DT_JMPREL.
44076 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44078 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44079 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44080 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44082 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44084 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44085 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44086 (dl_main): Handle --inhibit-cache.
44087 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44089 * elf/dl-load.c (_dl_map_object): Use it.
44090 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44092 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44095 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44096 (__ieee754_powl): Saturate large exponents rather than testing for
44097 overflow of y*log2(x).
44098 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44099 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44103 * math/s_ctan.c: Include <float.h>.
44104 (__ctan): Avoid internal overflow or cancellation in calculating
44106 * math/s_ctanf.c: Likewise.
44107 * math/s_ctanl.c: Likewise.
44108 * math/s_ctanh.c: Likewise.
44109 * math/s_ctanhf.c: Likewise.
44110 * math/s_ctanhl.c: Likewise.
44111 * math/libm-test.inc (ctan_test): Add more tests.
44112 (ctanh_test): Likewise.
44113 * sysdeps/i386/fpu/libm-test-ulps: Update.
44114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44116 2012-04-09 Andreas Jaeger <aj@suse.de>
44119 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44120 is an optional BSD extension.
44123 * manual/stdio.texi (Opening Streams): Document additional fopen
44126 2012-04-09 Roland McGrath <roland@hack.frob.com>
44128 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44129 %eax without telling the compiler.
44131 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44134 * manual/install.texi: Use sourceware.org.
44136 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44139 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44140 (__ieee754_pow): Generate overflow and underflow using huge*huge
44141 and tiny*tiny rather than just returning constant infinity or zero
44142 for large exponents.
44143 * math/libm-test.inc (pow_test): Require overflow exceptions for
44144 applicable cases of large exponents.
44147 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44148 (__ieee754_pow): Use iterative multiplication algorithm only for
44149 integer exponents with absolute value below 1024. Check for odd
44150 integer exponents when using algorithm for real exponents.
44151 * math/libm-test.inc (pow_test): Add more tests.
44152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44154 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44157 * math/libm-test.inc (exp_test): Do not allow overflow exception
44160 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44163 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44164 instead of __kernel_standard_f.
44166 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44168 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44169 * sysdeps/x86_64/memset_chk.S: Likewise.
44171 2012-04-08 Andreas Jaeger <aj@suse.de>
44174 * manual/startup.texi (Environment Access): Describe return value
44175 for putenv and setenv.
44178 * manual/filesys.texi (Directory Entries): Add description for
44182 * manual/filesys.texi (Directory Entries): Clarify that it's file
44183 system not operating system in the description of DT_UNKNOWN.
44186 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44188 2012-04-08 Stephen Compall <s11@member.fsf.org>
44191 * manual/llio.texi (Opening and Closing Files): Add cross
44192 reference to explain mode argument.
44194 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44196 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44197 * sysdeps/x86_64/memset_chk.S: Likewise.
44199 2012-04-07 David S. Miller <davem@davemloft.net>
44201 * elf/elf.h (R_SPARC_WDISP10): Define.
44202 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44204 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44205 R_SPARC_SIZE64 and R_SPARC_H34.
44207 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44209 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44210 conditions and remove no longer applicable assertion.
44212 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44214 * bits/byteswap.h: Include <features.h>.
44215 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44216 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44218 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44220 * bits/byteswap.h (__bswap_16): Removed.
44221 Include <bits/byteswap-16.h> to get __bswap_16.
44222 * sysdeps/i386/bits/byteswap.h: Likewise.
44223 * sysdeps/s390/bits/byteswap.h: Likewise.
44224 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44225 * bits/byteswap-16.h: New file.
44226 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44227 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44228 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44229 * string/Makefile (headers): Add bits/byteswap-16.h.
44231 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44234 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44236 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44237 * nss/tst-nss-static.c: New.
44239 2012-04-06 Robert Millan <rmh@gnu.org>
44242 * manual/llio.texi (File Position Primitive): lseek
44243 refers to WHENCE when it really means OFFSET.
44245 2012-04-06 Andreas Jaeger <aj@suse.de>
44247 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44248 strncmp declarations.
44250 * abilist/libc.abilist: Add __poll and __ppoll.
44252 2012-04-05 David S. Miller <davem@davemloft.net>
44254 * scripts/check-local-headers.sh: Accept a host triplet in the
44255 path matched by the exclude regexp.
44257 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44259 * sysdeps/powerpc/powerpc32/dl-machine.h
44260 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44261 * sysdeps/s390/s390-32/dl-machine.h
44262 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44263 * sysdeps/sparc/sparc32/dl-machine.h
44264 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44265 * sysdeps/sparc/sparc64/dl-machine.h
44266 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44268 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44270 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44271 undefined symbol errors.
44273 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44276 2012-04-05 Michael Matz <matz@suse.de>
44279 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44281 2012-04-05 Andreas Jaeger <aj@suse.de>
44284 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44287 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44289 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44290 which ROUND is no valid rounding mode.
44292 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44294 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44296 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44298 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44300 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44301 an exception using FPU order intentionally.
44303 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44305 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44306 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44307 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44308 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44310 2012-04-05 Simon Josefsson <simon@josefsson.org>
44313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44314 EINVAL when BUFLEN is too smal.
44316 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44319 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44320 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44322 2012-04-03 Andreas Jaeger <aj@suse.de>
44325 * manual/setjmp.texi (System V contexts): Fix sentence.
44328 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44329 New macro for this case.
44330 [!__GNUC__] (__bswap_64): New inline function for this case.
44331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44332 * bits/byteswap.h: Likewise.
44333 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44334 ull, guard with __GLIBC_HAVE_LONG_LONG.
44336 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44337 __GLIBC_HAVE_LONG_LONG.
44339 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44340 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44342 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44345 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44346 inptr and inend, rather than using last_ch.
44348 2012-04-02 David S. Miller <davem@davemloft.net>
44350 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44351 * stdio-common/printf-parse.h (read_int): Change return type to
44352 'int', return -1 on INT_MAX overflow.
44353 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44354 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44355 overflows INT_MAX. Check for overflow of in-format-string precision
44356 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44357 SIZE_MAX not INT_MAX for integer overflow test.
44358 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44359 skip the construct in the format string but do not record anything.
44360 * stdio-common/bug22.c: Adjust to test both width/prevision
44361 INT_MAX overflow as well as total length INT_MAX overflow. Check
44362 explicitly for proper errno values.
44364 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44366 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44368 * string/test-strcmp.c [! WIDE]: Likewise.
44369 * time/tst-mktime2.c: Likewise for INT_MAX.
44370 * string/test-string.h: #include <sys/param.h> for MIN.
44372 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44373 * sysdeps/i386/init-first.c (init): Likewise.
44374 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44375 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44376 * sysdeps/sh/init-first.c (init): Likewise.
44378 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44380 * po/ru.po: Update from translation team.
44381 * po/vi.po: Likewise.
44383 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44385 * resolv/nss_dns/dns-host.c: Merge copyright years.
44387 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44390 Optimize memcpy with prefetch if
44391 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44392 src, dst pointers have unequal 16 byte alignments.
44394 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44397 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44398 from a CNAME entry and return the minimum ttl for the query.
44399 (gaih_getanswer_slice): Likewise.
44401 2012-03-30 Jeff Law <law@redhat.com>
44403 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44405 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44406 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44408 * resolv/nss_dns/dns-host.c: Update copyright year.
44410 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44412 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44413 requests to save a system call. Fix check that all bytes are sent.
44415 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44416 comments for sendmmsg.
44418 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44421 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44422 with only 1 character between 0x0041 and 0x01b0.
44423 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44424 * wcsmbs/tst-mbsnrtowcs.c: New file.
44426 2012-03-29 David S. Miller <davem@davemloft.net>
44428 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44429 small copies by hand.
44431 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44434 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44435 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44438 2012-03-28 David S. Miller <davem@davemloft.net>
44440 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44441 that branches into memcpy.
44442 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44443 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44444 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44445 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44448 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44449 implementation too.
44450 * sysdeps/sparc/mempcpy.S: New file.
44452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44453 the IFUNC routine in the libc case.
44454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44456 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44457 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44458 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44459 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44460 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44461 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44462 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44463 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44465 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44466 loop to 256 bytes instead of 64 bytes and fix test signedness.
44468 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44469 * sysdeps/sparc/sparc32/Makefile: rather than here...
44470 * sysdeps/sparc/sparc64/Makefile: and here.
44472 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44474 * malloc/mallocbug.c: Avoid warnings about unused variables.
44476 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44479 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44480 in the right place. Discard and retry query if response is
44481 larger than input buffer size.
44483 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44488 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44489 x for large integer exponent.
44490 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44491 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44492 sign of result as needed afterwards.
44493 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44494 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44495 result for underflowing pow the same as for overflow.
44496 (__kernel_standard_l): Handle powl overflow and underflow here
44497 rather than calling __kernel_standard.
44498 * math/libm-test.inc (pow_test): Add more tests.
44513 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44514 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44515 (__kernel_standard_l): New function.
44516 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44518 * math/w_acosl.c (__acosl): Likewise.
44519 * math/w_asinl.c (__asinl): Likewise.
44520 * math/w_atan2l.c (__atan2l): Likewise.
44521 * math/w_atanhl.c (__atanhl): Likewise.
44522 * math/w_coshl.c (__coshl): Likewise.
44523 * math/w_exp10l.c (__exp10l): Likewise.
44524 * math/w_exp2l.c (__exp2l): Likewise.
44525 * math/w_fmodl.c (__fmodl): Likewise.
44526 * math/w_hypotl.c (__hypotl): Likewise.
44527 * math/w_j0l.c (__j0l, __y0l): Likewise.
44528 * math/w_j1l.c (__j1l, __y1l): Likewise.
44529 * math/w_jnl.c (__jnl, __ynl): Likewise.
44530 * math/w_lgammal.c (__lgammal): Likewise.
44531 * math/w_log10l.c (__log10l): Likewise.
44532 * math/w_log2l.c (__log2l): Likewise.
44533 * math/w_logl.c (__logl): Likewise.
44534 * math/w_powl.c (__powl): Likewise.
44535 * math/w_remainderl.c (__remainderl): Likewise.
44536 * math/w_scalbl.c (sysv_scalbl): Likewise.
44537 * math/w_sinhl.c (__sinhl): Likewise.
44538 * math/w_sqrtl.c (__sqrtl): Likewise.
44539 * math/w_tgammal.c (__tgammal): Likewise.
44540 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44541 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44542 * math/libm-test.inc (acos_test): Add more tests.
44543 (acosh_test): Likewise.
44544 (asin_test): Likewise.
44545 (atanh_test): Likewise.
44546 (exp_test): Likewise.
44547 (exp10_test): Likewise.
44548 (exp2_test): Likewise.
44549 (expm1_test): Likewise.
44550 (lgamma_test): Likewise.
44551 (log_test): Likewise.
44552 (log10_test): Likewise.
44553 (log1p_test): Likewise.
44554 (log2_test): Likewise.
44555 (pow_test): Do not allow some spurious overflow exceptions.
44556 (sqrt_test): Add more tests.
44557 (tgamma_test): Likewise.
44558 (y0_test): Likewise.
44559 (y1_test): Likewise.
44560 (yn_test): Likewise.
44562 2012-03-27 Anton Blanchard <anton@samba.org>
44564 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44570 2012-03-27 David S. Miller <davem@davemloft.net>
44572 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44574 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44575 have-as-vis3 check.
44577 2012-03-27 Andreas Jaeger <aj@suse.de>
44579 * sysdeps/x86_64/elf/configure.in: Moved to ...
44580 * sysdeps/x86_64/configure.in: ... here.
44581 * sysdeps/x86_64/elf/start.S: Moved to ...
44582 * sysdeps/x86_64/start.S: ... here.
44583 * sysdeps/x86_64/elf/configure: Delete.
44585 * sysdeps/x86_64/configure.in: Merge contents from
44586 sysdeps/i386/configure.in (without i686 check).
44588 * sysdeps/i386/elf/Versions: Merge into ...
44589 * sysdeps/i386/Versions: ... this.
44590 * sysdeps/i386/elf/Versions: Delete file.
44591 * sysdeps/i386/elf/start.S: Moved to ...
44592 * sysdeps/i386/start.S: ...here.
44593 * sysdeps/i386/elf/configure.in: Merge into...
44594 * sysdeps/i386/configure.in: ...here.
44595 * sysdeps/i386/elf/configure.in: Delete file.
44596 * sysdeps/i386/elf/configure: Delete file.
44598 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44599 * debug/backtracesyms.c: ... here.
44600 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44601 * debug/backtracesymsfd.c: ... here.
44602 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44603 * sysdeps/generic/ifunc-sel.h: ... here.
44605 * sysdeps/unix/i386/start.c: Delete file.
44606 * sysdeps/unix/sparc/start.c: Delete file.
44607 * sysdeps/unix/start.c: Delete file.
44609 * sysdeps/sh/elf/configure.in: Moved to ...
44610 * sysdeps/sh/configure.in: ... here.
44611 * sysdeps/sh/elf/start.S: Moved to ...
44612 * sysdeps/sh/start.S: ... here.
44613 * sysdeps/sh/elf/configure: Delete file.
44615 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44616 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44617 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44618 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44619 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44620 * sysdeps/powerpc/powerpc64/start.S: here.
44621 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44622 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44623 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44624 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44625 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44627 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44628 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44629 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44630 * sysdeps/powerpc/powerpc32/start.S: ... here.
44631 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44632 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44633 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44635 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44636 * sysdeps/powerpc/ifunc-sel.h: ... here.
44637 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44638 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44640 * sysdeps/sparc/elf/configure.in: Moved to ...
44641 * sysdeps/sparc/configure.in: ... here.
44642 * sysdeps/sparc/elf/configure: Delete file.
44643 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44644 * sysdeps/sparc/sparc32/start.S: ... here.
44645 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44646 * sysdeps/sparc/sparc64/start.S: ... here.
44647 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44648 * sysdeps/sparc/sparc32/Makefile: ... this.
44649 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44650 * sysdeps/sparc/sparc64/Makefile: ... this.
44652 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44653 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44654 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44655 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44656 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44657 * sysdeps/s390/s390-32/setjmp.S: ... here.
44658 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44659 * sysdeps/s390/s390-32/configure.in: ... here.
44660 * sysdeps/s390/s390-32/elf/configure: Delete file.
44661 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44662 * sysdeps/s390/s390-32/start.S: ... here.
44664 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44665 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44666 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44667 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44668 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44669 * sysdeps/s390/s390-64/setjmp.S: ... here.
44670 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44671 * sysdeps/s390/s390-64/configure.in: ... here
44672 * sysdeps/s390/s390-64/elf/configure: Delete file.
44673 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44674 * sysdeps/s390/s390-64/start.S: ... here.
44675 * sysdeps/s390/s390-64/elf/configure: Delete.
44677 * configure.in: Remove support for elf directories in sysdeps.
44679 * configure: Regenerated.
44680 * sysdeps/i386/configure: Regenerated.
44681 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44682 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44683 * sysdeps/s390/s390-32/configure: Regenerated.
44684 * sysdeps/s390/s390-64/configure: Regenerated.
44685 * sysdeps/sh/configure: Regenerated.
44686 * sysdeps/sparc/configure: Regenerated.
44687 * sysdeps/x86_64/configure: Regenerated.
44689 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44694 denormal result into account.
44696 2012-03-25 Roland McGrath <roland@hack.frob.com>
44698 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44699 Reported by Allan McRae <allan@archlinux.org>.
44701 2012-03-23 Jeff Law <law@redhat.com>
44703 * nss/getnssent.c (__nss_getent): Fix typo.
44705 2012-03-23 David S. Miller <davem@davemloft.net>
44707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44709 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44711 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44712 to pad to uint64_t for each field.
44713 (dl_tls_index): Replace unsigned long with uint64_t.
44715 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44716 Paul Pluzhnikov <ppluzhnikov@google.com>
44719 * grp/Makefile (otherlibs): Don't set it.
44720 * inet/Makefile (otherlibs): Likewise.
44721 * login/Makefile (otherlibs): Likewise.
44722 * nscd/Makefile (otherlibs): Likewise.
44723 * posix/Makefile (otherlibs): Likewise.
44724 * pwd/Makefile (otherlibs): Likewise.
44725 * rt/Makefile (otherlibs): Likewise.
44726 * sunrpc/Makefile (otherlibs): Likewise.
44727 * nss/Makefile (otherlibs): Likewise.
44728 Add libnss_files to routines and static-only-routines.
44729 ($(objpfx)getent): Remove rule.
44730 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44731 static-only-routines.
44733 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44736 * math/s_cexp.c: Include <float.h>.
44737 (__cexp): Handle exp result overflowing not necessarily
44738 overflowing both real and imaginary parts of result.
44739 * math/s_cexpf.c: Likewise.
44740 * math/s_cexpl.c: Likewise.
44741 * math/libm-test.inc (cexp_test): Add more tests.
44742 * sysdeps/i386/fpu/libm-test-ulps: Update.
44743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44745 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44747 * include/link.h (ELFW): New macro.
44748 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44749 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44751 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44753 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44756 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44758 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44760 (struct La_x32_retval): Likewise.
44762 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44764 * sysdeps/x86_64/preconfigure.in: New file.
44765 * sysdeps/x86_64/preconfigure: New generated file.
44767 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44770 * math/e_exp2l.c: Include <float.h>.
44771 (__ieee754_exp2l): Handle overflow and underflow cases
44772 separately. Only pass fractional part of argument to
44774 * math/libm-test.inc (exp2_test): Add more tests.
44776 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44777 negating x to take absolute value.
44778 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44780 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44781 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44783 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44784 computing low part if x was negated.
44785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44787 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44789 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44790 la_x32_gnu_pltexit.
44791 (pltexit): Cast int_retval to ptrdiff_t.
44792 * elf/tst-auditmod3b.c: Likewise.
44793 * elf/tst-auditmod4b.c: Likewise.
44794 * elf/tst-auditmod5b.c: Likewise.
44795 * elf/tst-auditmod6b.c: Likewise.
44796 * elf/tst-auditmod6c.c: Likewise.
44797 * elf/tst-auditmod7b.c: Likewise.
44799 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44800 and x32_gnu_pltexit.
44802 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44803 __ELF_NATIVE_CLASS.
44804 (La_x32_regs): New macro.
44805 (La_x32_retval): Likewise.
44806 (la_x32_gnu_pltenter): New function prototype.
44807 (la_x32_gnu_pltexit): Likewise.
44809 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44811 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44816 * configure.in (libc_cv_cc_nofma): Check for option to disable
44817 generation of FMA instructions.
44818 * configure: Regenerate.
44819 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44820 * sysdeps/ieee754/dbl-64/Makefile: New file.
44821 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44822 Remove brandred-fma4.
44823 (CFLAGS-brandred-fma4.c): Remove.
44824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44825 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44827 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44830 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44832 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44833 LLONG_MAX != LONG_MAX.
44834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44835 (_fitoa_word): Likewise.
44836 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44837 LLONG_MAX != LONG_MAX.
44838 * stdio-common/_itowa.h: Include <_itoa.h>.
44839 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44840 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44841 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44842 only if not defined.
44843 (_ITOA_WORD_TYPE): Likewise.
44844 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44845 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44847 2012-03-21 David S. Miller <davem@davemloft.net>
44849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44851 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44853 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44854 of x86_64 when setting libc_cv_slibdir, libdir and
44856 * sysdeps/unix/sysv/linux/configure: Regenerated.
44858 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44860 * manual/lang.texi (Old Varargs): Remove section.
44861 (How Variadic): Update menu.
44862 (va_start): Do not mention varargs.h.
44864 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44865 Joseph Myers <joseph@codesourcery.com>
44867 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44869 * configure: Regenerated.
44871 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44873 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44874 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44877 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44880 * Makefile (files-for-dist): Remove NOTES.
44881 (NOTES): Remove rule.
44882 * README: Don't refer to NOTES.
44883 * manual/creature.texi: Don't include macros.texi.
44884 * manual/intro.texi (creature.texi): Remove comment referring to
44887 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44888 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44889 * configure: Regenerated.
44890 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44891 LIBC_TRY_CC_OPTION.
44892 (libc_cv_as_i686): Likewise.
44893 (libc_cv_cc_avx): Likewise.
44894 (libc_cv_cc_sse2avx): Likewise.
44895 (libc_cv_cc_fma4): Likewise.
44896 (libc_cv_cc_novzeroupper): Likewise.
44897 * sysdeps/i386/configure: Regenerated.
44900 * sysdeps/i386/fpu/s_cexp.S: Remove.
44901 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44902 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44903 * math/libm-test.inc (cexp_test): Add more tests.
44904 * sysdeps/i386/fpu/libm-test-ulps: Update.
44905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44907 2012-03-21 Allan McRae <allan@archlinux.org>
44909 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44911 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44914 * math/w_exp2.c: Do not include <float.h>.
44915 (o_threshold, u_threshold): Remove.
44916 (__exp2): Calculate result before checking finiteness and calling
44918 * math/w_exp2f.c: Likewise.
44919 * math/w_exp2l.c: Likewise.
44920 * math/libm-test.inc (exp2_test): Require overflow exception for
44924 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44925 range of signed 64-bit integers before using fistpll. Remove
44926 checks for whether integers fit in mantissa bits.
44927 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44928 the range of signed 32-bit integers before using fistpl. Remove
44929 checks for whether integers fit in mantissa bits.
44930 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44931 (__ieee754_powl): Test for y outside the range of signed 64-bit
44932 integers before using fistpll. Reduce 64-bit values to 63-bit
44934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44935 divide-by-zero is raised for zero to large negative powers.
44936 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44937 (__ieee754_powl): Test for y outside the range of signed 64-bit
44938 integers before using fistpll. Reduce 64-bit values to 63-bit
44940 * math/libm-test.inc (pow_test): Add more tests.
44942 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44944 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44945 <stdio-common/_itoa.h>.
44946 * debug/segfault.c: Likewise.
44947 * elf/dl-cache.c: Likewise.
44948 * elf/dl-minimal.c: Likewise.
44949 * elf/dl-misc.c: Likewise.
44950 * elf/dl-sysdep.c: Likewise.
44951 * elf/dl-version.c: Likewise.
44952 * elf/rtld.c: Likewise.
44953 * hurd/hurdsock.c: Likewise.
44954 * hurd/lookup-retry.c: Likewise.
44955 * malloc/malloc.c: Likewise.
44956 * malloc/mtrace.c: Likewise.
44957 * nscd/nscd_getgr_r.c: Likewise.
44958 * nscd/nscd_getpw_r.c: Likewise.
44959 * nscd/nscd_getserv_r.c: Likewise.
44960 * posix/getopt_init.c: Likewise.
44961 * posix/wordexp.c: Likewise.
44962 * stdio-common/_itoa.c: Likewise.
44963 * stdio-common/printf_fphex.c: Likewise.
44964 * stdio-common/vfprintf.c: Likewise.
44965 * string/_strerror.c: Likewise.
44966 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44967 * sysdeps/i386/i686/hp-timing.h: Likewise.
44968 * sysdeps/mach/_strerror.c: Likewise.
44969 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44970 * sysdeps/mach/hurd/sethostid.c: Likewise.
44971 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44972 * sysdeps/mach/xpg-strerror.c: Likewise.
44973 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44974 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44975 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44976 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44977 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44978 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44979 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44980 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44981 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44982 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44983 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44984 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44985 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44986 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44987 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44988 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44989 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44990 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44991 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44992 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44993 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44995 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44997 * stdio-common/_itoa.h: Moved to ...
44998 * sysdeps/generic/_itoa.h: Here.
45000 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45002 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45003 instead of "_itoa.h" and "_itowa.h".
45004 * stdio-common/vfprintf.: Likewise.
45006 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45008 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45010 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45011 (__signbit): Likwise.
45012 (llrintf): Likwise.
45015 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45017 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45020 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45022 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45023 OVERFLOW_EXCEPTION_OK.
45024 * math/libm-test.inc ("Philosophy"): Update comment about
45026 (OVERFLOW_EXCEPTION): Define.
45027 (OVERFLOW_EXCEPTION_OK): Likewise.
45028 (INVALID_EXCEPTION_OK): Renumber.
45029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45030 (IGNORE_ZERO_INF_SIGN): Likewise.
45031 (test_exceptions): Handle FE_OVERFLOW.
45032 (exp10_test): Expect overflow exceptions.
45033 (exp2_test): Likewise.
45034 (expm1_test): Likewise.
45035 (nextafter_test): Likewise.
45036 (pow_test): Likewise.
45037 (scalbn_test): Likewise.
45038 (scalbln_test): Likewise.
45040 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45042 * sysdeps/x86_64/bits/atomic.h
45043 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45045 (atomic_exchange_acq): Likewise.
45046 (__arch_exchange_and_add_body): Likewise.
45047 (__arch_add_body): Likewise.
45048 (atomic_add_negative): Likewise.
45049 (atomic_add_zero): Likewise.
45051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45053 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45054 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45056 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45058 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45059 Check __x86_64__ instead of __WORDSIZE.
45061 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45063 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45065 2012-03-19 David S. Miller <davem@davemloft.net>
45067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45069 * sysdeps/sparc/fpu/fenv_private.h: New file.
45070 * sysdeps/sparc/fpu/math_private.h: Use it.
45071 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45073 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45074 (libc_feholdexcept_setroundl): Remove.
45075 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45077 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45078 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45080 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45082 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45083 int64_t instead of long int.
45084 (INSERT_WORDS64): Likwise.
45086 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45088 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45089 _Unwind_GetCFA return to _Unwind_Ptr first.
45091 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45094 * math/s_clog.c: Include <float.h>.
45095 (__clog): Scale large or subnormal inputs.
45096 * math/s_clogf.c: Likewise.
45097 * math/s_clogl.c: Likewise.
45098 * math/s_clog10.c: Include <float.h>.
45099 (M_LOG10_2): Define.
45100 (__clog10): Scale large or subnormal inputs.
45101 * math/s_clog10f.c: Likewise.
45102 * math/s_clog10l.c: Likewise.
45103 * math/libm-test.inc (clog_test): Add more tests.
45104 (clog10_test): Likewise.
45105 * sysdeps/i386/fpu/libm-test-ulps: Update.
45106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45109 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45111 * math/libm-test.inc (atan2_test): Add another test.
45113 * Makerules (common-objdir-compile): Remove.
45114 * sysdeps/unix/Makefile (config-generated): Do not add
45115 $(unix-generated) to variable.
45116 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45117 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45119 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45121 [generic bits/local_lim.h] (before-compile): Do not append to
45123 [generic bits/local_lim.h] (common-generated): Likewise.
45124 [generic sys/param.h] (before-compile): Do not append to variable.
45125 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45126 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45127 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45128 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45130 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45131 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45132 [generic sys/param.h] ($(addprefix
45133 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45134 [generic sys/param.h] (common-generated): Do not append to
45136 [generic sys/param.h] (sysdep_headers): Likewise.
45137 [generic bits/errno.h] (before-compile): Do not append to
45139 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45141 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45142 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45143 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45144 [generic bits/errno.h] (common-generated): Do not append to
45146 [generic bits/ioctls.h] (before-compile): Do not append to
45148 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45150 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45151 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45152 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45154 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45155 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45156 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45157 [generic bits/ioctls.h] (common-generated): Do not append to
45159 [generic sys/syscall.h] (syscall.h): Remove variable.
45160 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45162 [generic sys/syscall.h] (before-compile): Do not append to
45164 [generic sys/syscall.h] (common-generated): Likewise.
45165 * sysdeps/unix/errnos-tmpl.c: Remove file.
45166 * sysdeps/unix/errnos.awk: Likewise.
45167 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45168 * sysdeps/unix/ioctls.awk: Likewise.
45169 * sysdeps/unix/mk-local_lim.c: Likewise.
45170 * sysdeps/unix/snarf-ioctls: Likewise.
45172 2012-03-19 Richard Henderson <rth@twiddle.net>
45174 * sysdeps/i386/fpu/fenv_private.h: New file.
45175 * sysdeps/i386/fpu/math_private.h: Use it.
45176 (math_opt_barrier, math_force_eval): Remove.
45177 (libc_feholdexcept_setround_53bit): Remove.
45178 (libc_feupdateenv_53bit): Remove.
45179 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45180 (math_opt_barrier, math_force_eval): Remove.
45181 (libc_feholdexcept): Remove.
45182 (libc_feholdexcept_setround): Remove.
45183 (libc_fetestexcept, libc_fesetenv): Remove.
45184 (libc_feupdateenv_test): Remove.
45185 (libc_feupdateenv, libc_feholdsetround): Remove.
45186 (libc_feresetround): Remove.
45188 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45189 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45191 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45192 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45193 (libc_feupdateenv_testl): New.
45194 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45195 (libc_feupdateenv_testf): New.
45196 (libc_feupdateenv): Use libc_feupdateenv_test.
45197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45200 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45201 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45202 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45203 (libc_feresetround_noex): New.
45204 (libc_feresetround_noexf): New.
45205 (libc_feresetround_noexl): New.
45206 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45207 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45208 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45209 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45212 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45214 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45215 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45216 SET_RESTORE_ROUND_NOEX.
45217 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45218 SET_RESTORE_ROUND_NOEXF.
45219 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45220 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45221 (libc_feholdsetroundf): New.
45222 (libc_feresetround, libc_feresetroundf): New.
45224 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45225 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45226 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45228 * sysdeps/generic/math_private.h: Include <fenv.h>.
45229 (default_libc_feholdexcept): New.
45230 (default_libc_feholdexcept_setround): New.
45231 (default_libc_fesetenv, default_libc_feupdateenv): New.
45232 (libc_feholdexcept): Only define if undefined.
45233 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45234 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45235 (libc_feholdexcept_setroundl): Likewise.
45236 (libc_feholdexcept_setround_53bit): Likewise.
45237 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45238 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45239 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45240 (libc_feupdateenv_53bit): Likewise.
45241 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45242 (libc_feholdexcept): Convert from macro to inline function.
45243 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45244 (libc_fesetenv, libc_feupdateenv): Likewise.
45246 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45247 not previously defined.
45248 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45249 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45250 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45251 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45252 * sysdeps/ieee754/flt-32/math_private.h: New file.
45253 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45254 math_private.h below SET_FLOAT_WORD.
45255 (__isnan, __isinf_ns, __finite): Remove.
45256 (__isnanf, __isinf_nsf, __finitef): Remove.
45258 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45262 2012-03-17 David S. Miller <davem@davemloft.net>
45265 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45268 2012-03-16 David S. Miller <davem@davemloft.net>
45270 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45274 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45276 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45277 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45278 sysdep_routines when subdir is sysvipc.
45279 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45280 __getshmlba helper.
45282 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45284 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45286 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45289 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45292 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45293 (__lround): Renamed to ...
45294 (__llround): This. Replace long int with long long int.
45295 Define lround functions as aliases of llround functions.
45296 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45298 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45300 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45301 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45302 adresses to uintptr_t. Replace "long int" and "unsigned long
45303 int" with "greg_t" on va_arg.
45305 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45307 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45308 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45310 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45311 Move e_machine check before EI_CLASS check. Handle x32
45312 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45313 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45314 SKIP_EM_IA_64 and include
45315 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45317 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45318 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45319 (add_system_dir): New macro.
45321 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45322 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45324 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45335 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45337 * math/w_j0f.c (j0f): Likewise.
45339 * math/w_j0l.c (__j0l): Likewise.
45341 * math/w_j1.c (j1): Likewise.
45343 * math/w_j1f.c (j1f): Likewise.
45345 * math/w_j1l.c (__j1l): Likewise.
45347 * math/w_jn.c (jn): Likewise.
45349 * math/w_jnf.c (jnf): Likewise.
45351 * math/w_jnl.c (__jnl): Likewise.
45353 * math/libm-test.inc (j0_test): Add more tests.
45354 (j1_test): Likewise.
45355 (jn_test): Likewise. Add trailing semicolon to existing test.
45356 (y0_test): Likewise.
45357 (y1_test): Likewise.
45358 * sysdeps/i386/fpu/libm-test-ulps: Update.
45359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45363 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45364 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45365 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45366 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45367 (__tanl): Set errno for infinite argument.
45368 * sysdeps/i386/fpu/mptan.c: Remove.
45369 * sysdeps/i386/fpu/s_tan.S: Likewise.
45370 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45371 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45372 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45373 * math/libm-test.inc (tan_test): Add more tests and enable more
45374 tests for double and long double.
45375 * sysdeps/i386/fpu/libm-test-ulps: Update.
45376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45378 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45380 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45381 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45383 2012-03-16 Roland McGrath <roland@hack.frob.com>
45385 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45386 * configure.in: Use it for both main tree and add-ons.
45387 * configure: Regenerated.
45389 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45391 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45393 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45395 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45399 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45400 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45405 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45407 != 0 for prec == 2.
45408 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45409 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45410 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45411 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45412 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45413 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45414 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45415 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45416 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45417 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45418 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45419 * math/libm-test.inc (cos_test): Add more tests and enable more
45420 tests for long double.
45421 (sin_test): Likewise.
45422 (sincos_test): Likewise.
45423 * sysdeps/i386/fpu/libm-test-ulps: Update.
45424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45426 2012-03-16 David S. Miller <davem@davemloft.net>
45428 * sysdeps/sparc/fpu/math_private.h: New file.
45430 2012-03-15 David S. Miller <davem@davemloft.net>
45432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45446 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45447 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45449 * sysdeps/sparc/sparc-ifunc.h: New file.
45450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45490 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45491 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45492 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45495 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45497 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45501 2012-03-15 Andreas Jaeger <aj@suse.de>
45504 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45505 ieee754/flt-32 implementation for sin, cos and sincos.
45506 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45507 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45508 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45509 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45510 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45511 ieee754/flt-32 implementation for tan.
45513 * math/libm-test.inc (cos_test): Enable some large input tests for
45515 (sin_test): Likewise.
45516 (sincos_test): Likewise.
45517 (tan_test): Add tests for large input.
45519 * sysdeps/i386/fpu/libm-test-ulps: Update.
45521 2012-03-15 Andreas Jaeger <aj@suse.de>
45524 * math/libm-test.inc (cos_test): Add more test cases.
45525 (sin_test): Likewise.
45526 (sincos_test): Likewise.
45528 2012-03-15 Andreas Jaeger <aj@suse.de>
45531 * math/libm-test.inc (cos_test): Add a test case for large input
45533 (sin_test): Likewise.
45534 (sincos_test): Likewise.
45536 2012-03-15 Andreas Jaeger <aj@suse.de>
45537 Joseph Myers <joseph@codesourcery.com>
45540 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45541 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45542 * sysdeps/i386/fpu/branred.c: Likewise.
45543 * sysdeps/i386/fpu/dosincos.c: Likewise.
45544 * sysdeps/i386/fpu/mpa.c: Likewise.
45545 * sysdeps/i386/fpu/s_cos.S: Likewise.
45546 * sysdeps/i386/fpu/s_sin.S: Likewise.
45547 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45548 * sysdeps/i386/fpu/sincos32.c: Likewise.
45550 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45552 (libc_feupdateenv_53bit): Define.
45553 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45555 (libc_feupdateenv_53bit): Define.
45557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45558 53 bit (without extend i386 double precision).
45560 * math/libm-test.inc (sincos_test): Add tests for large input.
45564 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45566 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45570 2012-03-15 David S. Miller <davem@davemloft.net>
45572 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45573 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45574 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45575 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45600 fmin/fmax sysdep routines.
45601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45603 2012-03-14 David S. Miller <davem@davemloft.net>
45605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45677 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45682 * sysdeps/sparc/configure.in: New file.
45683 * sysdeps/sparc/configure: Generate.
45684 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45685 * configure: Regenerate.
45686 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45687 * config.make.in (have-as-vis3): New.
45688 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45689 available use -Av9d instead of -Av9a.
45690 * sysdeps/sparc/sparc64/Makefile: Likewise.
45691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45703 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45704 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45706 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45707 fzeros/fnegs to load 0x80000000 into a float register instead of
45709 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45711 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45715 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45716 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45717 ($(inst_includedir)/bits/syscall.h): Remove rule.
45718 ($(objpfx)bits/syscall.d): Include instead of
45719 $(objpfx)syscall-list.d.
45720 (generated): Change syscall-list.h and syscall-list.d to
45721 bits/syscall.h and bits/syscall.d.
45723 2012-03-14 Roland McGrath <roland@hack.frob.com>
45726 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45728 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45731 * math/s_csqrt.c: Include <float.h>.
45732 (__csqrt): Scale large or subnormal inputs.
45733 * math/s_csqrtf.c: Likewise.
45734 * math/s_csqrtl.c: Likewise.
45735 * math/libm-test.inc (csqrt_test): Add more tests.
45736 * sysdeps/i386/fpu/libm-test-ulps: Update.
45737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45740 * math/libm-test.inc (hypot_test): Add more tests.
45742 2012-03-13 David S. Miller <davem@davemloft.net>
45745 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45746 double-precision for the calculation instead of scaling.
45748 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45750 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45751 manipulate bits before adding and subtracting TWO52[sx].
45752 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45757 2012-03-13 David S. Miller <davem@davemloft.net>
45759 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45760 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45762 rtld-global-offsets.h
45763 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45765 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45768 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45770 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45771 'err' in the ifdef scope in which it is actually used.
45773 * nss/nss_db/db-init.c: Include string.h
45775 2012-03-12 David S. Miller <davem@davemloft.net>
45777 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45778 masking out of the most significant byte of random value used.
45779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45780 Fix coding style in previous change.
45782 * sysdeps/unix/sysv/linux/kernel-features.h
45783 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45784 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45786 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45789 2012-03-11 David S. Miller <davem@davemloft.net>
45791 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45792 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45793 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45794 for 'resultvar' otherwise things get truncated on 64-bit.
45796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45797 Fix masking out of the most significant byte of random value used.
45799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45801 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45805 2012-03-09 David S. Miller <davem@davemloft.net>
45807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45808 variables with appropriate CPP guards.
45809 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45810 from the frame pointer, not the stack pointer. Correct layout
45811 comments. Fix test on resulting framesize and the management of
45812 the outregs buffer for pltexit. Preserve floating point return
45813 values across _dl_call_pltexit call.
45814 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45815 framesize and the management of the outregs buffer for pltexit.
45816 Preserve floating point return values across _dl_call_pltexit
45818 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45819 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45820 (la_sparc64_gnu_pltexit): New functions.
45821 (print_exit): Fix format string for return register value.
45823 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45825 * sunrpc/Makefile (others): Add rpcgen.
45826 ($(objpfx)rpcgen): Remove special build rule and dependency on
45828 * sunrpc/rpcgen.c: New file.
45830 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45833 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45834 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45835 * sysdeps/i386/crti.S: Likewise.
45836 * sysdeps/i386/crtn.S: Likewise.
45837 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45838 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45839 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45840 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45841 * sysdeps/sh/crti.S: Likewise.
45842 * sysdeps/sh/crtn.S: Likewise.
45843 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45846 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45848 * locale/programs/locfile-kw.gperf: Likewise.
45849 * locale/programs/charmap-kw.h: Regenerated.
45850 * locale/programs/locfile-kw.h: Likewise.
45853 * intl/plural.y: Replace FSF snail mail address with URL.
45854 * intl/plural.c: Regenerated.
45856 2012-03-09 Richard Henderson <rth@twiddle.net>
45858 * include/math_private.h: Remove file.
45859 * math/math_private.h: Move file ...
45860 * sysdeps/generic/math_private.h: ... here.
45862 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45863 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45864 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45866 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45867 and <math_private.h>.
45868 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45869 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45870 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45871 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45872 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45873 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45874 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45876 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45877 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45879 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45880 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45881 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45882 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45883 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45885 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45886 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45887 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45889 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45890 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45891 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45892 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45893 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45894 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45895 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45896 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45898 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45900 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45901 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45902 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45903 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45904 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45905 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45906 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45907 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45908 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45909 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45910 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45911 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45912 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45913 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45914 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45915 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45916 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45917 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45918 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45919 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45920 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45921 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45922 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45923 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45924 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45925 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45926 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45927 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45929 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45930 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45931 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45932 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45933 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45934 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45935 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45949 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45950 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45951 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45952 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45955 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45956 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45957 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45958 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45959 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45961 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45962 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45963 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45964 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45965 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45967 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45968 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45969 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45970 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45971 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45972 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45973 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45974 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45975 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45976 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45977 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45978 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45979 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45980 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45981 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45982 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45983 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45984 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45985 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45986 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45987 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45988 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45989 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45990 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45991 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45992 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45993 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45994 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45995 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45996 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45997 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45998 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45999 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46000 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46001 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46002 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46003 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46004 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46005 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46006 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46007 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46008 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46009 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46010 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46011 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46012 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46013 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46014 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46015 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46016 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46017 * sysdeps/ieee754/k_standard.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46030 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46031 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46032 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46045 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46049 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46051 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46054 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46058 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46061 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46065 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46066 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46068 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46069 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46070 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46073 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46078 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46079 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46131 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46132 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46137 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46138 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46139 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46140 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46145 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46146 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46147 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46148 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46150 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46153 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46154 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46155 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46158 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46161 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46162 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46163 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46166 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46167 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46168 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46172 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46174 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46176 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46177 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46178 * sysdeps/ieee754/s_lib_version.c: Likewise.
46179 * sysdeps/ieee754/s_matherr.c: Likewise.
46180 * sysdeps/ieee754/s_signgam.c: Likewise.
46181 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46182 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46183 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46184 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46185 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46186 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46187 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46188 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46189 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46190 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46191 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46192 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46193 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46194 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46195 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46196 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46197 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46198 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46199 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46200 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46201 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46203 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46205 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46206 * sunrpc/rpc_main.c: Likewise.
46207 * sunrpc/rpc_svcout.c: Likewise.
46209 2012-03-09 David S. Miller <davem@davemloft.net>
46211 * include/math_private.h: New file.
46213 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46215 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46216 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46217 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46218 from <bits/socket_type.h>.
46219 (enum __socket_type): Don't define here.
46220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46221 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46222 bits/socket_type.h.
46225 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46226 checking __USE_GNU.
46228 * Makerules ($(inst_includedir)/%.h): New rule.
46229 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46230 (install-others): Remove variable setting.
46231 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46233 2012-03-08 Richard Henderson <rth@twiddle.net>
46235 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46236 from macro to inline function; merge with the
46237 !__LIBC_INTERNAL_MATH_INLINES version.
46238 (__ieee754_sqrtf): Likewise.
46240 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46241 to inline function.
46242 (__rintf, __floor, __floorf): Likewise.
46244 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46245 macro to inline function.
46246 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46248 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46249 not <math/math_private.h>.
46251 2012-03-08 David S. Miller <davem@davemloft.net>
46253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46255 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46257 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46259 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46261 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46262 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46264 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46266 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46267 be defined individually, they must be defined as a block. Define
46268 S for printing a string instead of hidint the different by using a
46269 macro for adding the 'l'.
46270 * stdio-common/tst-fphex-wide.c: Adjust.
46272 2012-03-07 Marek Polacek <polacek@redhat.com>
46274 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46276 2012-03-08 Marek Polacek <polacek@redhat.com>
46279 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46280 * stdio-common/tst-fphex.c: Define a few macros to make the
46281 test reusable. Use them.
46282 * stdio-common/tst-fphex-wide.c: New file.
46284 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46287 * manual/macros.texi (gnusystems): New macro.
46288 (nongnusystems): Likewise.
46289 (gnulinuxhurdsystems): Likewise.
46290 (gnuhurdsystems): Likewise..
46291 (gnulinuxsystems): Likewise.
46292 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46293 variants of the GNU system, not "GNU system".
46294 * manual/conf.texi: Likewise.
46295 * manual/errno.texi: Likewise. Update example of errno macro
46297 * manual/filesys.texi: Likewise.
46298 (getumask): Document as specific to GNU/Hurd.
46299 * manual/install.texi: Likewise. Reword some references to
46301 * manual/intro.texi: Likewise.
46302 * manual/io.texi: Likewise.
46303 (File Name Portability): Detail which constraints are inapplicable
46304 to all GNU systems and which are only inapplicable to GNU/Hurd.
46305 * manual/job.texi: Likewise.
46306 * manual/llio.texi: Likewise.
46307 (O_NOCTTY): Document as present on GNU/Linux.
46308 * manual/maint.texi: Likewise.
46309 * manual/memory.texi: Likewise.
46310 * manual/pattern.texi: Likewise.
46311 * manual/pipe.texi: Likewise.
46312 * manual/process.texi: Likewise.
46313 * manual/resource.texi: Likewise.
46314 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46316 * manual/setjmp.texi: Likewise.
46317 * manual/signal.texi: Likewise.
46318 * manual/startup.texi: Likewise.
46319 * manual/stdio.texi: Likewise.
46320 * manual/terminal.texi: Likewise.
46321 (ONLCR): Document as POSIX.
46322 (OXTABS): Document availability on GNU/Linux as XTABS.
46323 (ONOEOT): Document availability separately from other bits.
46324 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46325 * manual/time.texi: Likewise.
46326 * manual/users.texi: Likewise.
46327 * INSTALL: Regenerated.
46328 * sysdeps/gnu/errlist.c: Regenerated.
46330 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46331 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46332 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46334 * configure: Regenerated.
46336 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46338 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46339 default includes instead of AC_HEADER_CHECK.
46340 * sysdeps/i386/configure: Regenerated.
46343 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46344 * math/s_cacoshf.c (__cacoshf): Likewise.
46345 * math/s_cacoshl.c (__cacoshl): Likewise.
46346 * math/s_casinh.c (__casinh): Set signs of result from argument.
46347 * math/s_casinhf.c (__casinhf): Likewise.
46348 * math/s_casinhl.c (__casinhl): Likewise.
46349 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46350 (casinh_test): Add more tests.
46351 * sysdeps/i386/fpu/libm-test-ulps: Update.
46352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46354 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46356 * po/zh_TW.po: Update from translation team.
46358 * login/Makefile (distribute): Remove variable.
46359 * catgets/Makefile: Likewise.
46360 * mach/Makefile: Likewise.
46361 * malloc/Makefile: Likewise.
46362 * misc/Makefile: Likewise.
46363 * iconv/Makefile: Likewise.
46364 * nscd/Makefile: Likewise.
46365 * hurd/Makefile: Likewise.
46366 * manual/Makefile: Likewise.
46367 * locale/Makefile: Likewise.
46368 * intl/Makefile: Likewise.
46369 * conform/Makefile: Likewise.
46370 * nss/Makefile: Likewise.
46371 * time/Makefile: Likewise.
46372 * soft-fp/Makefile: Likewise.
46373 * dirent/Makefile: Likewise.
46374 * gmon/Makefile: Likewise.
46375 * po/Makefile: Likewise.
46376 * rt/Makefile: Likewise.
46377 * socket/Makefile: Likewise.
46378 * math/Makefile: Likewise.
46379 * signal/Makefile: Likewise.
46380 * debug/Makefile: Likewise.
46381 * elf/Makefile: Likewise.
46382 * timezone/Makefile: Likewise.
46383 * stdlib/Makefile: Likewise.
46384 * iconvdata/Makefile: Likewise.
46385 * sunrpc/Makefile: Likewise.
46386 * io/Makefile: Likewise.
46387 * argp/Makefile: Likewise.
46388 * inet/Makefile: Likewise.
46389 * hesiod/Makefile: Likewise.
46390 * grp/Makefile: Likewise.
46391 * csu/Makefile: Likewise.
46392 * wctype/Makefile: Likewise.
46393 * crypt/Makefile: Likewise.
46394 * libio/Makefile: Likewise.
46395 * string/Makefile: Likewise.
46396 * nis/Makefile: Likewise.
46397 * resolv/Makefile: Likewise.
46398 * stdio-common/Makefile: Likewise.
46399 * wcsmbs/Makefile: Likewise.
46400 * dlfcn/Makefile: Likewise.
46401 * posix/Makefile: Likewise.
46404 * timezone/Makefile: Don't install timezone files, just the programs
46407 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46409 * nss/databases.def: Add missing gshadow entry.
46411 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46413 2012-03-06 Marek Polacek <polacek@redhat.com>
46416 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46417 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46418 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46419 * stdio-common/tst-long-dbl-fphex.c: New file.
46421 2012-03-06 David S. Miller <davem@davemloft.net>
46423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46424 (set_obp_int): New function.
46425 (get_obp_int): New function.
46426 (__get_clockfreq_via_dev_openprom): Likewise.
46427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46428 Avoid unused variable warnings on 'val' and use builtin_expect.
46429 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46431 (INLINE_CLONE_SYSCALL): Likewise.
46433 2012-03-05 David S. Miller <davem@davemloft.net>
46435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46437 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46441 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46442 only for |x| >= 40.
46443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46445 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46448 Replace gettimeofday with __vdso_gettimeofday.
46450 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46451 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46452 __vdso_clock_gettime and __vdso_getcpu.
46454 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46455 time with __vdso_time.
46457 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46459 * manual/lang.texi (size_t): Note types to which size_t may be
46460 equivalent with the GNU C Library, but do not describe when
46461 differences between them are significant.
46463 2012-03-05 Andreas Jaeger <aj@suse.de>
46465 * sysdeps/i386/fpu/libm-test-ulps: Update.
46467 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46470 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46471 (__ieee754_pow): Save and restore rounding mode and use
46472 round-to-nearest for main computations.
46473 * math/libm-test.inc (pow_test_tonearest): New function.
46474 (pow_test_towardzero): Likewise.
46475 (pow_test_downward): Likewise.
46476 (pow_test_upward): Likewise.
46477 (main): Call the new functions.
46478 * sysdeps/i386/fpu/libm-test-ulps: Update.
46479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46482 * math/libm-test.inc (cosh_test_tonearest): New function.
46483 (cosh_test_towardzero): Likewise.
46484 (cosh_test_downward): Likewise.
46485 (cosh_test_upward): Likewise.
46486 (sinh_test_tonearest): Likewise.
46487 (sinh_test_towardzero): Likewise.
46488 (sinh_test_downward): Likewise.
46489 (sinh_test_upward): Likewise.
46490 (main): Call the new functions.
46491 * sysdeps/i386/fpu/libm-test-ulps: Update.
46492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46494 2012-03-05 Tom de Vries <tom@codesourcery.com>
46496 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46497 default stack guard is set in last bytes.
46498 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46500 2012-03-05 Kees Cook <keescook@chromium.org>
46502 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46505 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46506 possibly allocate from heap instead of stack.
46507 * stdio-common/bug-vfprintf-nargs.c: New file.
46508 * stdio-common/Makefile (tests): Add nargs overflow test.
46510 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46514 2012-03-03 Marek Polacek <polacek@redhat.com>
46516 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46517 * math/math_private.h: Likewise.
46518 * stdlib/tst-strtod.c: Likewise.
46519 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46520 * sysdeps/x86_64/bits/atomic.h: Likewise.
46522 2012-03-02 David S. Miller <davem@davemloft.net>
46524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46528 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46529 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46530 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46531 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46533 2012-03-02 Roland McGrath <roland@hack.frob.com>
46536 * manual/examples/README: New file, says the example source files
46537 can be used under GPL>=2.
46538 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46539 line containing just "*/".
46540 * manual/examples/add.c: Add copyright header (GPL>=2).
46541 * manual/examples/argp-ex1.c: Likewise.
46542 * manual/examples/argp-ex2.c: Likewise.
46543 * manual/examples/argp-ex3.c: Likewise.
46544 * manual/examples/argp-ex4.c: Likewise.
46545 * manual/examples/atexit.c: Likewise.
46546 * manual/examples/db.c: Likewise.
46547 * manual/examples/dir.c: Likewise.
46548 * manual/examples/dir2.c: Likewise.
46549 * manual/examples/execinfo.c: Likewise.
46550 * manual/examples/filecli.c: Likewise.
46551 * manual/examples/filesrv.c: Likewise.
46552 * manual/examples/fmtmsgexpl.c: Likewise.
46553 * manual/examples/genpass.c: Likewise.
46554 * manual/examples/inetcli.c: Likewise.
46555 * manual/examples/inetsrv.c: Likewise.
46556 * manual/examples/isockad.c: Likewise.
46557 * manual/examples/longopt.c: Likewise.
46558 * manual/examples/memopen.c: Likewise.
46559 * manual/examples/memstrm.c: Likewise.
46560 * manual/examples/mkfsock.c: Likewise.
46561 * manual/examples/mkisock.c: Likewise.
46562 * manual/examples/mygetpass.c: Likewise.
46563 * manual/examples/pipe.c: Likewise.
46564 * manual/examples/popen.c: Likewise.
46565 * manual/examples/rprintf.c: Likewise.
46566 * manual/examples/search.c: Likewise.
46567 * manual/examples/select.c: Likewise.
46568 * manual/examples/setjmp.c: Likewise.
46569 * manual/examples/sigh1.c: Likewise.
46570 * manual/examples/sigusr.c: Likewise.
46571 * manual/examples/stpcpy.c: Likewise.
46572 * manual/examples/strdupa.c: Likewise.
46573 * manual/examples/strftim.c: Likewise.
46574 * manual/examples/strncat.c: Likewise.
46575 * manual/examples/subopt.c: Likewise.
46576 * manual/examples/swapcontext.c: Likewise.
46577 * manual/examples/termios.c: Likewise.
46578 * manual/examples/testopt.c: Likewise.
46579 * manual/examples/testpass.c: Likewise.
46580 * manual/examples/timeval_subtract.c: Likewise.
46583 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46585 * manual/timeval_subtract.c.texi: ... here, new file.
46587 2012-03-02 David S. Miller <davem@davemloft.net>
46589 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46591 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46594 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46595 (__sin): Save and restore rounding mode and use round-to-nearest
46596 for all computations.
46597 (__cos): Save and restore rounding mode and use round-to-nearest
46598 for all computations.
46599 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46601 (tan): Save and restore rounding mode and use round-to-nearest for
46603 * math/libm-test.inc (cos_test_tonearest): New function.
46604 (cos_test_towardzero): Likewise.
46605 (cos_test_downward): Likewise.
46606 (cos_test_upward): Likewise.
46607 (sin_test_tonearest): Likewise.
46608 (sin_test_towardzero): Likewise.
46609 (sin_test_downward): Likewise.
46610 (sin_test_upward): Likewise.
46611 (tan_test_tonearest): Likewise.
46612 (tan_test_towardzero): Likewise.
46613 (tan_test_downward): Likewise.
46614 (tan_test_upward): Likewise.
46615 (main): Call the new functions.
46616 * sysdeps/i386/fpu/libm-test-ulps: Update.
46617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46620 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46621 small n, then large n, before computing and testing k+n.
46622 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46627 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46628 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46629 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46630 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46631 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46632 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46635 * math/libm-test.inc (scalbn_test): Add more tests.
46636 (scalbln_test): Likewise.
46638 * manual/filesys.texi (mode_t): Describe constraints on size and
46639 signedness, not exact equivalence to a particular type.
46641 (ino64_t): Likewise.
46643 (nlink_t): Likewise.
46644 (blkcnt_t): Likewise.
46645 (blkcnt64_t): Likewise.
46646 * manual/llio.texi (off_t): Likewise.
46649 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46650 (__ieee754_exp): Save and restore rounding mode and use
46651 round-to-nearest for all computations.
46652 * math/libm-test.inc (exp_test_tonearest): New function.
46653 (exp_test_towardzero): Likewise.
46654 (exp_test_downward): Likewise.
46655 (exp_test_upward): Likewise.
46656 (main): Call the new functions.
46657 * sysdeps/i386/fpu/libm-test-ulps: Update.
46658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46660 2012-03-01 Chris Demetriou <cgd@google.com>
46662 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46663 have predictable order.
46665 2012-03-01 David S. Miller <davem@davemloft.net>
46667 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46669 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46670 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46671 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46672 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46674 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46675 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46676 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46678 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46679 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46680 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46681 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46682 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46686 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46687 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46688 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46690 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46691 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46692 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46693 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46694 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46695 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46696 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46697 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46698 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46699 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46700 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46703 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46704 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46706 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46707 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46708 * sysdeps/sparc/elf/configure: Regenerated.
46710 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46712 * configure.in (AS, LD): Require binutils 2.20 or later.
46713 * configure: Regenerated.
46714 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46715 as required minimum version.
46716 * INSTALL: Regenerated.
46720 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46721 before squaring exponent.
46722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46723 bottom long double and 27 bits of top long double before squaring
46725 * math/libm-test.inc (erfc_test): Add more tests.
46726 * sysdeps/i386/fpu/libm-test-ulps: Update.
46727 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46730 2012-03-01 Kai Tietz <ktietz@redhat.com>
46732 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46733 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46734 containing bit-fields.
46735 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46736 * soft-fp/single.h (_FP_UNION_S): Likewise.
46737 * soft-fp/double.h (_FP_UNION_D): Likewise.
46739 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46742 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46743 not include ../strcmp.S.
46744 [USE_AS_STRNCASECMP_L]: Likewise.
46745 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46746 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46747 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46748 (__strncasecmp_l_ia32): Define as alias to
46749 __strncasecmp_l_nonascii.
46752 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46753 * sysdeps/i386/fpu/libm-test-ulps: Update.
46754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46756 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46759 2012-02-29 Jeff Law <law@redhat.com>
46761 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46762 out of bounds read.
46764 2012-02-29 Marek Polacek <polacek@redhat.com>
46767 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46768 * elf/Makefile: Add rules to run tst-unused-dep.out.
46770 2012-02-28 David S. Miller <davem@davemloft.net>
46772 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46773 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46775 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46776 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46779 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46781 * math/libm-test.inc (llround_test): Move one test from
46782 lround_test. Use TEST_f_L in moved test.
46783 (lround_test): Move misplaced test to llround_test. Add testcase
46786 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46788 * sysdeps/x86_64/fpu/e_expf.S: New file.
46789 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46791 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46794 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46795 of remain_len that may cause incomplete multi-byte character and
46797 * posix/bug-regex33.c: New file.
46798 * posix/Makefile (tests): Add bug-regex33.
46800 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46802 * manual/macros.texi: New file.
46803 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46804 * manual/libc.texinfo: Include macros.texi.
46805 * manual/creatute.texi: Likewise.
46806 * manual/install.texi: Likewise.
46807 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46808 @glibcadj{} in references to the GNU C Library.
46809 * manual/charset.texi: Likewise.
46810 * manual/conf.texi: Likewise.
46811 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46812 when not using those macros.
46813 * manual/creature.texi: Likewise.
46814 * manual/crypt.texi: Likewise.
46815 * manual/errno.texi: Likewise.
46816 * manual/filesys.texi: Likewise.
46817 * manual/header.texi: Likewise.
46818 * manual/install.texi: Likewise.
46819 * manual/intro.texi: Likewise.
46820 * manual/io.texi: Likewise.
46821 * manual/job.texi: Likewise.
46822 * manual/lang.texi: Likewise.
46823 * manual/libc.texiinfo: Likewise.
46824 * manual/llio.texi: Likewise.
46825 * manual/locale.texi: Likewise.
46826 * manual/maint.texi: Likewise.
46827 * manual/math.texi: Likewise.
46828 * manual/memory.texi: Likewise.
46829 * manual/message.texi: Likewise.
46830 * manual/nss.texi: Likewise.
46831 * manual/pattern.texi: Likewise.
46832 * manual/process.texi: Likewise.
46833 * manual/resource.texi: Likewise.
46834 * manual/search.texi: Likewise.
46835 * manual/setjmp.texi: Likewise.
46836 * manual/signal.texi: Likewise.
46837 * manual/socket.texi: Likewise.
46838 * manual/startup.texi: Likewise.
46839 * manual/stdio.texi: Likewise.
46840 * manual/string.texi: Likewise.
46841 * manual/sysinfo.texi: Likewise.
46842 * manual/syslog.texi: Likewise.
46843 * manual/terminal.texi: Likewise.
46844 * manual/time.texi: Likewise.
46845 * manual/users.texi: Likewise.
46846 * INSTALL: Regenerated.
46847 * NOTES: Regenerated.
46848 * sysdeps/gnu/errlist.c: Regenerated.
46850 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46852 * include/dirent.h: Include <dirstream.h> before
46855 2012-02-28 David S. Miller <davem@davemloft.net>
46857 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46858 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46859 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46860 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46862 2012-02-27 David S. Miller <davem@davemloft.net>
46864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46866 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46867 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46870 frame pointer instead of stack pointer relative arg slot.
46871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46872 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46873 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46875 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46878 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46880 2012-02-27 David S. Miller <davem@davemloft.net>
46882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46886 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46887 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46888 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46889 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46891 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46893 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46894 later. Allow versions 5-9.
46895 * configure: Regenerated.
46896 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46897 required minimum version and 4.6 as recommended version. Do not
46898 mention bugs in GCC 2.7 and 2.8.
46899 * INSTALL: Regenerated.
46901 2012-02-27 David S. Miller <davem@davemloft.net>
46903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46907 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46908 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46909 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46910 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46912 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46913 manipulate bits before adding and subtracting TWO112[sx].
46914 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46916 2012-02-27 Roland McGrath <roland@hack.frob.com>
46919 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46920 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46921 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46922 being in POSIX, because they are in 1003.1-2008.
46924 * rt/tst-aio.c: Include <fcntl.h>.
46925 * rt/tst-aio7.c: Likewise.
46926 * rt/tst-aio64.c: Likewise.
46928 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46930 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46932 * manual/install.texi (--with-headers): Describe headers as
46933 interface headers, not private headers.
46934 (Specific advice for GNU/Linux systems): Describe use of headers
46935 from "make headers_install", not private headers from older
46937 * INSTALL: Regenerated.
46938 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46940 * sysdeps/unix/sysv/linux/configure: Regenerated.
46942 * manual/llio.texi (fclean): Remove documentation.
46944 * manual/Makefile (libc-texi-generated): New variable. Include
46946 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46947 $(libc-texi-generated), not duplicated list of files.
46948 (version.texi, stamp-version): New rules.
46949 (realclean): Remove $(libc-texi-generated), not individual files
46950 from that list. Do not remove dir-add.texinfo.
46951 * manual/libc.texinfo: Comment out uses of edition numbers and
46952 references to printed manual. Remove last-updated dates.
46953 (EDITION): Comment out.
46955 (VERSION, UPDATED): Remove.
46956 (version.texi): Include.
46958 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46960 * sysdeps/posix/spawni.c: Include <signal.h>.
46961 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46962 * sysdeps/pthread/aio_fsync.c: Likewise.
46964 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46966 * conform/Makefile (tests): Run only when not cross-compiling and
46967 when fast-check is not defined.
46969 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46970 * conform/data/limits.h-data: Fixes for POSIX2008.
46971 * conform/run-conformtest.sh: Run all tests.
46972 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46974 * include/bits/dlfcn.h: Likewise.
46975 * include/langinfo.h: Likewise.
46976 * include/monetary.h: Likewise.
46977 * include/sys/poll.h: Likewise.
46979 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46981 * posix/spawn.h: Define __need_sigset_t.
46982 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46983 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46984 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46985 to get sigevent_t only.
46986 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46987 only for __USE_GNU.
46988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46989 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46990 process_vm_writev only for __USE_GNU.
46991 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46993 * conform/Makefile: For now ignore errors from run-conformtest.
46994 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46995 POSIX to avoid namespace pollution. Don't prepend headers.
46996 * conform/data/aio.h-data: Fixes for POSIX testing.
46997 * conform/data/fcntl.h-data: Likewise.
46998 * conform/data/glob.h-data: Likewise.
46999 * conform/data/grp.h-data: Likewise.
47000 * conform/data/pthread.h-data: Likewise.
47001 * conform/data/pwd.h-data: Likewise.
47002 * conform/data/signal.h-data: Likewise.
47003 * conform/data/spawn.h-data: Likewise.
47004 * conform/data/stdio.h-data: Likewise.
47005 * conform/data/stdlib.h-data: Likewise.
47006 * conform/data/stropts.h-data: Likewise.
47007 * conform/data/sys/mman.h-data: Likewise.
47008 * conform/data/sys/stat.h-data: Likewise.
47009 * conform/data/sys/types.h-data: Likewise.
47010 * conform/data/sys/wait.h-data: Likewise.
47011 * conform/data/time.h-data: Likewise.
47012 * conform/data/unistd.h-data: Likewise.
47013 * conform/data/utime.h-data: Likewise.
47015 * io/sys/stat.h: fchmod was always in POSIX.
47016 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47017 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47018 * rt/aio.h: Define __need_timespec before including <time.h>.
47019 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47020 struct. Add forward declaration of pthread_attr_t and use it in
47022 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47023 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47024 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47025 always remove CLK_TCK definition.
47027 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47029 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47031 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47033 * conform/run-conformtest.sh: New file.
47034 * conform/Makefile: Run run-conformtest for tests.
47035 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47038 * conform/data/uchar.h-data: New file.
47039 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47040 * conform/data/arpa/inet.h-data: Likewise.
47041 * conform/data/assert.h-data: Likewise.
47042 * conform/data/complex.h-data: Likewise.
47043 * conform/data/cpio.h-data: Likewise.
47044 * conform/data/ctype.h-data: Likewise.
47045 * conform/data/dirent.h-data: Likewise.
47046 * conform/data/dlfcn.h-data: Likewise.
47047 * conform/data/errno.h-data: Likewise.
47048 * conform/data/fcntl.h-data: Likewise.
47049 * conform/data/float.h-data: Likewise.
47050 * conform/data/fmtmsg.h-data: Likewise.
47051 * conform/data/fnmatch.h-data: Likewise.
47052 * conform/data/ftw.h-data: Likewise.
47053 * conform/data/glob.h-data: Likewise.
47054 * conform/data/grp.h-data: Likewise.
47055 * conform/data/iconv.h-data: Likewise.
47056 * conform/data/inttypes.h-data: Likewise.
47057 * conform/data/langinfo.h-data: Likewise.
47058 * conform/data/libgen.h-data: Likewise.
47059 * conform/data/limits.h-data: Likewise.
47060 * conform/data/locale.h-data: Likewise.
47061 * conform/data/math.h-data: Likewise.
47062 * conform/data/monetary.h-data: Likewise.
47063 * conform/data/mqueue.h-data: Likewise.
47064 * conform/data/ndbm.h-data: Likewise.
47065 * conform/data/net/if.h-data: Likewise.
47066 * conform/data/netdb.h-data: Likewise.
47067 * conform/data/netinet/in.h-data: Likewise.
47068 * conform/data/nl_types.h-data: Likewise.
47069 * conform/data/poll.h-data: Likewise.
47070 * conform/data/pthread.h-data: Likewise.
47071 * conform/data/pwd.h-data: Likewise.
47072 * conform/data/regex.h-data: Likewise.
47073 * conform/data/sched.h-data: Likewise.
47074 * conform/data/search.h-data: Likewise.
47075 * conform/data/semaphore.h-data: Likewise.
47076 * conform/data/setjmp.h-data: Likewise.
47077 * conform/data/signal.h-data: Likewise.
47078 * conform/data/spawn.h-data: Likewise.
47079 * conform/data/stdarg.h-data: Likewise.
47080 * conform/data/stdio.h-data: Likewise.
47081 * conform/data/stdlib.h-data: Likewise.
47082 * conform/data/string.h-data: Likewise.
47083 * conform/data/strings.h-data: Likewise.
47084 * conform/data/stropts.h-data: Likewise.
47085 * conform/data/sys/ipc.h-data: Likewise.
47086 * conform/data/sys/mman.h-data: Likewise.
47087 * conform/data/sys/msg.h-data: Likewise.
47088 * conform/data/sys/resource.h-data: Likewise.
47089 * conform/data/sys/select.h-data: Likewise.
47090 * conform/data/sys/sem.h-data: Likewise.
47091 * conform/data/sys/shm.h-data: Likewise.
47092 * conform/data/sys/socket.h-data: Likewise.
47093 * conform/data/sys/stat.h-data: Likewise.
47094 * conform/data/sys/statvfs.h-data: Likewise.
47095 * conform/data/sys/time.h-data: Likewise.
47096 * conform/data/sys/timeb.h-data: Likewise.
47097 * conform/data/sys/times.h-data: Likewise.
47098 * conform/data/sys/types.h-data: Likewise.
47099 * conform/data/sys/uio.h-data: Likewise.
47100 * conform/data/sys/un.h-data: Likewise.
47101 * conform/data/sys/utsname.h-data: Likewise.
47102 * conform/data/sys/wait.h-data: Likewise.
47103 * conform/data/syslog.h-data: Likewise.
47104 * conform/data/tar.h-data: Likewise.
47105 * conform/data/termios.h-data: Likewise.
47106 * conform/data/utime.h-data: Likewise.
47107 * conform/data/utmpx.h-data: Likewise.
47108 * conform/data/varargs.h-data: Likewise.
47109 * conform/data/wchar.h-data: Likewise.
47110 * conform/data/wctype.h-data: Likewise.
47111 * conform/data/wordexp.h-data: Likewise.
47113 * include/stropts.h: New file.
47114 * include/uchar.h: New file.
47115 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47116 * include/assert.h: Likewise.
47117 * include/ctype.h: Likewise.
47118 * include/dirent.h: Likewise.
47119 * include/dlfcn.h: Likewise.
47120 * include/fcntl.h: Likewise.
47121 * include/fnmatch.h: Likewise.
47122 * include/glob.h: Likewise.
47123 * include/grp.h: Likewise.
47124 * include/libio.h: Likewise.
47125 * include/locale.h: Likewise.
47126 * include/math.h: Likewise.
47127 * include/net/if.h: Likewise.
47128 * include/netdb.h: Likewise.
47129 * include/netinet/in.h: Likewise.
47130 * include/pthread.h: Likewise.
47131 * include/pwd.h: Likewise.
47132 * include/regex.h: Likewise.
47133 * include/sched.h: Likewise.
47134 * include/search.h: Likewise.
47135 * include/setjmp.h: Likewise.
47136 * include/signal.h: Likewise.
47137 * include/stdio.h: Likewise.
47138 * include/stdlib.h: Likewise.
47139 * include/string.h: Likewise.
47140 * include/sys/cdefs.h: Likewise.
47141 * include/sys/mman.h: Likewise.
47142 * include/sys/msg.h: Likewise.
47143 * include/sys/resource.h: Likewise.
47144 * include/sys/select.h: Likewise.
47145 * include/sys/socket.h: Likewise.
47146 * include/sys/stat.h: Likewise.
47147 * include/sys/statvfs.h: Likewise.
47148 * include/sys/time.h: Likewise.
47149 * include/sys/times.h: Likewise.
47150 * include/sys/uio.h: Likewise.
47151 * include/sys/utsname.h: Likewise.
47152 * include/sys/wait.h: Likewise.
47153 * include/termios.h: Likewise.
47154 * include/time.h: Likewise.
47155 * include/ulimit.h: Likewise.
47156 * include/unistd.h: Likewise.
47157 * include/utime.h: Likewise.
47158 * include/wchar.h: Likewise.
47159 * include/wctype.h: Likewise.
47160 * include/wordexp.h: Likewise.
47162 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47164 * time/time.h: TIME_UTC must be a macro.
47165 Make timespec_get available for ISO C11 only as well.
47167 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47169 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47170 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47172 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47174 * configure.in: Use -o not -a in test for unsupported multi-arch.
47176 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47178 * manual/texinfo.tex: Update to version 2012-01-19.16.
47180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47182 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47184 2012-02-24 Roland McGrath <roland@hack.frob.com>
47187 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47188 * manual/fdl-1.3.texi: New file.
47189 * manual/fdl-1.1.texi: File removed.
47192 * manual/libc.texinfo (FDL_VERSION): New @set.
47193 Use it for mention of FDL in cover text.
47194 (Documentation License): Use it in @include file name.
47196 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47197 Roland McGrath <roland@hack.frob.com>
47200 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47201 (not LONG_LONG_MAX and LONG_LONG_MIN.
47202 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47203 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47205 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47207 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47211 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47212 manipulate bits before adding and subtracting TWO23[sx].
47213 * math/libm-test.inc (nearbyint_test): Add more tests.
47215 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47218 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47219 bits before adding and subtracting TWO23[sx].
47220 * math/libm-test.inc (rint_test): Add more tests.
47221 (rint_test_tonearest): Likewise.
47222 (rint_test_towardzero): Likewise.
47223 (rint_test_downward): Likewise.
47224 (rint_test_upward: Likewise.
47226 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47229 * include/stdc-predef.h: New file. Extracted from features.h.
47230 * include/features.h: Include stdc-predef.h.
47231 * Makefile (headers): Add stdc-predef.h.
47232 * CONFORMANCE (Compiler limitations): Update.
47234 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47236 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47238 2012-02-21 David S. Miller <davem@davemloft.net>
47240 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47241 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47243 2012-02-20 David S. Miller <davem@davemloft.net>
47245 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47246 using a normal save/restore sequence, rather than allocating a
47247 dummy stack frame just to store a frame pointer and restore.
47248 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47250 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47252 * manual/install.texi: Fix stray word in line-wrapped comment.
47254 2012-02-20 David S. Miller <davem@davemloft.net>
47256 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47257 both binutils and gcc support GOTDATA.
47259 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47260 "rd %pc" in the PIC register setup sequences.
47262 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47263 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47264 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47265 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47266 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47268 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47269 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47271 (SYSCALL_ERROR_HANDLER): Likewise.
47272 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47273 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47275 (SYSCALL_ERROR_HANDLER): Likewise.
47277 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47278 (HAVE_GCC_GOTDATA): New.
47279 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47280 relocation support in both binutils and gcc.
47281 * sysdeps/sparc/elf/configure: Regenerate.
47283 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47284 * sysdeps/sparc/sparc32/elf/configure: Delete.
47285 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47286 * sysdeps/sparc/sparc64/elf/configure: Delete.
47287 * sysdeps/sparc/elf/configure.in: New file.
47288 * sysdeps/sparc/elf/configure: Generate.
47290 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47291 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47292 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47293 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47294 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47296 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47298 * manual/install.texi: Do not mention specific glibc version
47300 * manual/libc.texinfo (VERSION, UPDATED): Update.
47301 (@copying): Use @copyright{} and range of years.
47303 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47306 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47307 [crti.S not in sysdirs] (generated): Do not append.
47308 [crti.S not in sysdirs] (omit-deps): Likewise.
47309 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47310 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47311 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47312 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47313 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47315 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47316 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47317 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47318 * csu/defs.awk: Remove file.
47319 * sysdeps/generic/initfini.c: Likewise.
47320 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47322 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47325 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47327 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47328 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47329 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47330 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47331 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47332 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47334 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47335 (__EPOLL_PACKED): Define to empty if not defined by
47337 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47341 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47343 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47344 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47345 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47346 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47348 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47352 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47354 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47356 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47357 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47358 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47361 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47363 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47364 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47366 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47368 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47369 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47371 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47373 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47376 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47378 * math/w_acos.c: Use non-signaling floating-point comparisons.
47379 * math/w_acosf.c: Likewise.
47380 * math/w_acosh.c: Likewise.
47381 * math/w_acoshf.c: Likewise.
47382 * math/w_acoshl.c: Likewise.
47383 * math/w_acosl.c: Likewise.
47384 * math/w_asin.c: Likewise.
47385 * math/w_asinf.c: Likewise.
47386 * math/w_asinl.c: Likewise.
47387 * math/w_atanh.c: Likewise.
47388 * math/w_atanhf.c: Likewise.
47389 * math/w_atanhl.c: Likewise.
47390 * math/w_exp2.c: Likewise.
47391 * math/w_exp2f.c: Likewise.
47392 * math/w_exp2l.c: Likewise.
47393 * math/w_j0.c: Likewise.
47394 * math/w_j0f.c: Likewise.
47395 * math/w_j0l.c: Likewise.
47396 * math/w_j1.c: Likewise.
47397 * math/w_j1f.c: Likewise.
47398 * math/w_j1l.c: Likewise.
47399 * math/w_jn.c: Likewise.
47400 * math/w_jnf.c: Likewise.
47401 * math/w_log.c: Likewise.
47402 * math/w_log10.c: Likewise.
47403 * math/w_log10f.c: Likewise.
47404 * math/w_log10l.c: Likewise.
47405 * math/w_log2.c: Likewise.
47406 * math/w_log2f.c: Likewise.
47407 * math/w_log2l.c: Likewise.
47408 * math/w_logf.c: Likewise.
47409 * math/w_logl.c: Likewise.
47410 * math/w_sqrt.c: Likewise.
47411 * math/w_sqrtf.c: Likewise.
47412 * math/w_sqrtl.c: Likewise.
47413 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47414 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47415 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47416 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47417 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47419 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47422 * manual/string.texi (strnlen): Use correct parameter name in
47423 equivalent expression.
47425 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47428 * manual/users.texi (seteuid): Consistently use neweuid for
47431 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47434 * manual/nss.texi (Services in the NSS configuration): Correct
47435 list of services in example configuration file.
47437 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47440 * manual/arith.texi: Remove statements about negative zero
47441 behaving identically to zero.
47443 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47446 * manual/install.texi: Do not document upgrading from libc5.
47448 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47451 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47453 2012-02-18 David S. Miller <davem@davemloft.net>
47455 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47456 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47457 %o7 across the call.
47458 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47460 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47461 SETUP_PIC_REG_LEAF.
47462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47463 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47464 * sysdeps/sparc/crtn.S: Likewise.
47466 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47468 * aout/Makefile: Remove.
47470 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47473 * manual/examples/argp-ex1.c (main): Format definition in GNU
47475 * manual/examples/argp-ex2.c (main): Likewise.
47476 * manual/examples/argp-ex3.c (main): Likewise.
47477 * manual/examples/argp-ex4.c (main): Likewise.
47478 * manual/examples/longopt.c (main): Use new-style prototype
47480 * manual/examples/strncat.c (main): Specify return type and use
47481 (void) for arguments.
47482 * manual/examples/subopt.c (main): Use char **argv argument.
47484 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47487 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47490 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47493 * manual/string.texi (strchr): Change when strchrnul is
47496 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47499 * manual/locale.texi (setlocale): Document LOCPATH.
47501 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47504 * manual/process.texi (execle): Move @dots{} before last argument.
47506 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47509 * manual/charset.texi (Generic Charset Conversion): Fix typo
47510 (LC_TYPE -> LC_CTYPE).
47512 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47515 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47516 (scalbnf): Likewise.
47517 (scalbnl): Likewise.
47518 (scalbln): Likewise.
47519 (scalblnf): Likewise.
47520 (scalblnl): Likewise.
47521 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47522 (vwarnx): Likewise.
47525 * manual/filesys.texi (telldir): Use braces around return type.
47526 * manual/llio.texi (mmap): Add space after comma.
47527 (mmap64): Likewise.
47528 * manual/math.texi (jn): Use @var{} on parameter names.
47534 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47536 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47538 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47539 (sched_get_priority_max): Likewise.
47540 * manual/signal.texi (sigvec): Add space after comma.
47541 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47543 (if_indextoname): Likewise.
47544 (if_freenameindex): Likewise.
47545 (sendto): Use ',' instead of '.' in prototype.
47546 * manual/startup.texi (syscall): Use @dots{} instead of literal
47548 * manual/stdio.texi (__fpending): Separate initial words of
47549 paragraph from @deftypefun line.
47550 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47552 (vsyslog): Use @var{} on parameter names.
47553 * manual/terminal.texi (stty): Use @var{} on parameter names.
47554 * manual/users.texi (getutmp): Use @var{} on parameter names.
47555 (getutmpx): Likewise.
47557 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47560 * manual/stdio.texi (fopen): Fix typos in description of
47563 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47566 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47567 get clock_id definition.
47569 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47572 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47573 (madvise): Cast every argument to void on its own.
47575 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47578 * manual/startup.texi (Exit Status): Fix typo.
47580 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47583 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47584 * manual/examples/argp-ex2.c: Likewise.
47585 * manual/examples/argp-ex3.c: Likewise.
47587 2012-02-16 Richard Henderson <rth@redhat.com>
47589 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47590 * sysdeps/s390/s390-32/initfini.c: Remove.
47591 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47592 * sysdeps/s390/s390-64/initfini.c: Remove.
47594 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47596 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47597 compiler output for sysdeps/generic/initfini.c.
47598 * sysdeps/sh/elf/initfini.c: Remove file.
47600 2012-02-16 David S. Miller <davem@davemloft.net>
47603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47605 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47606 * sysdeps/sparc/crti.S: New file.
47607 * sysdeps/sparc/crtn.S: New file.
47608 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47609 * sysdeps/sparc/sparc64/Makefile: Likewise.
47611 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47614 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47616 2012-02-15 Roland McGrath <roland@hack.frob.com>
47619 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47621 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47622 (write, read, close): Likewise.
47623 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47625 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47627 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47628 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47629 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47630 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47632 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47636 2012-02-14 Marek Polacek <polacek@redhat.com>
47638 * sysdeps/x86_64/crti.S: New file.
47639 * sysdeps/x86_64/crtn.S: New file.
47640 * sysdeps/x86_64/elf/initfini.c: Remove file.
47642 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47644 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47645 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47646 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47647 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47649 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47653 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47655 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47656 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47657 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47658 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47660 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47664 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47666 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47667 __feraiseexcept instead of feraiseexcept.
47669 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47670 nanosleep invocations.
47671 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47672 strings, and add error checking for a nanosleep invocations.
47674 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47676 Replace FSF snail mail address with URLs, as per GNU coding standards.
47677 Most of the snail mail addresses were wrong anyway, and omitting
47678 them makes the source code easier to maintain. Almost all of the
47679 changes are to license notices and to locale LC_IDENTIFICATION
47680 addresses, except for this one:
47681 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47682 not its snail mail address.
47684 2012-02-09 Richard Henderson <rth@twiddle.net>
47686 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47687 of kernel-features.h.
47689 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47691 2012-02-08 Marek Polacek <polacek@redhat.com>
47693 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47694 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47695 * sysdeps/gnu/_G_config.h: Likewise.
47696 * sysdeps/generic/_G_config.h: Likewise.
47698 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47700 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47704 * sysdeps/powerpc/powerpc32/crti.S: New file.
47705 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47706 * sysdeps/powerpc/powerpc64/crti.S: New file.
47707 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47709 * Makeconfig (have-initfini): Don't set.
47710 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47711 * configure.in (nopic_initfini): Don't substitute.
47712 * config.h.in (HAVE_INITFINI): Don't #undef.
47713 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47714 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47716 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47718 Support crti.S and crtn.S provided directly by architectures.
47719 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47720 [crti.S in sysdirs] (omit-deps): Likewise.
47721 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47722 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47723 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47724 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47725 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47726 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47727 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47728 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47729 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47730 compiler output for sysdeps/generic/initfini.c.
47731 * sysdeps/i386/elf/Makefile: Remove file.
47732 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47734 2012-02-07 Marek Polacek <polacek@redhat.com>
47736 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47737 * sysdeps/gnu/_G_config.h: Likewise.
47738 * sysdeps/mach/hurd/_G_config.h: Likewise.
47740 2012-02-07 Marek Polacek <polacek@redhat.com>
47742 * math/Makefile (tests): Add tst-CMPLX2.
47743 * math/tst-CMPLX2.c: New file.
47745 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47747 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47749 * math/libm-test.inc (jn_test): Add missing L suffix.
47751 2012-02-06 Marek Polacek <polacek@redhat.com>
47753 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47754 * sysdeps/i386/fpu/e_powf.S: Likewise.
47755 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47756 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47757 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47758 * sysdeps/i386/fpu/e_pow.S: Likewise.
47759 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47760 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47761 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47762 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47763 * sysdeps/i386/fpu/e_log2.S: Likewise.
47764 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47765 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47766 * sysdeps/i386/fpu/e_powl.S: Likewise.
47767 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47768 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47769 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47770 * sysdeps/i386/fpu/e_logl.S: Likewise.
47771 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47772 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47773 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47774 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47775 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47776 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47777 * sysdeps/i386/fpu/e_log.S: Likewise.
47778 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47779 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47780 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47781 * sysdeps/i386/fpu/e_logf.S: Likewise.
47782 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47783 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47784 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47785 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47786 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47787 * sysdeps/i386/fpu/e_log10.S: Likewise.
47788 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47789 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47790 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47791 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47792 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47793 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47794 * sysdeps/i386/asm-syntax.h: Likewise.
47795 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47796 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47797 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47798 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47799 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47800 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47801 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47802 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47803 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47804 * sysdeps/powerpc/sysdep.h: Likewise.
47805 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47808 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47811 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47813 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47815 * sysdeps/i386/sysdep.h: Include <features.h>.
47816 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47819 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47821 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47823 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47826 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47828 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47829 (SETUP_PIC_REG): Use GET_PC_THUNK.
47830 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47833 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47835 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47836 for non-PIC compilation.
47837 (SETUP_PIC_REG): Add .p2align directive.
47838 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47839 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47840 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47841 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47842 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47843 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47844 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47845 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47846 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47847 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47848 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47849 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47850 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47851 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47852 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47853 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47854 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47855 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47856 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47857 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47858 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47859 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47860 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47861 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47864 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47866 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47867 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47868 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47869 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47870 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47871 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47872 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47873 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47874 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47875 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47876 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47877 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47878 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47880 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47882 * math/tst-CMPLX.c: Include <stdio.h>.
47884 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47886 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47888 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47889 * sysdeps/sparc/bits/mathdef.h: Likewise.
47891 2012-01-31 Marek Polacek <polacek@redhat.com>
47893 * libio/libio.h: Don't define _PARAMS.
47894 * locale/programs/config.h: Don't define PARAMS.
47895 * stdlib/strtol_l.c: Likewise.
47896 (__strtol_l): Remove PARAMS from the prototype.
47898 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47900 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47901 names. Just use the correct names. Remove unnecessary wrapper
47903 * malloc/arena.c: Likewise.
47904 * malloc/hooks.c: Likewise.
47906 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47907 ARENA_TEST says not to. Simplify test for creation of a new arena.
47908 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47910 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47912 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47914 (update_get_addr): New function.
47915 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47916 GET_ADDR_MODULE parameter.
47918 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47920 * crypt/cert.c: Remove __STDC__ conditionals.
47921 * crypt/crypt-entry.c: Likewise.
47922 * crypt/crypt_util.c: Likewise.
47923 * libio/filedoalloc.c: Likewise.
47924 * libio/fileops.c: Likewise.
47925 * libio/genops.c: Likewise.
47926 * libio/iofclose.c: Likewise.
47927 * libio/iofdopen.c: Likewise.
47928 * libio/iofopen.c: Likewise.
47929 * libio/iofopen64.c: Likewise.
47930 * libio/iogetdelim.c: Likewise.
47931 * libio/iopopen.c: Likewise.
47932 * libio/obprintf.c: Likewise.
47933 * libio/oldfileops.c: Likewise.
47934 * libio/oldiofclose.c: Likewise.
47935 * libio/oldiofdopen.c: Likewise.
47936 * libio/oldiofopen.c: Likewise.
47937 * libio/oldiopopen.c: Likewise.
47938 * libio/wfiledoalloc.c: Likewise.
47939 * libio/wgenops.c: Likewise.
47940 * locale/programs/xmalloc.c: Likewise.
47941 * misc/syslog.c: Likewise.
47942 * stdio-common/xbug.c: Likewise.
47943 * string/memchr.c: Likewise.
47944 * string/memcmp.c: Likewise.
47945 * string/memrchr.c: Likewise.
47946 * string/rawmemchr.c: Likewise.
47947 * sysdeps/posix/getcwd.c: Likewise.
47948 * time/strftime_l.c: Likewise.
47950 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47952 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47953 * config.make.in (config-cflags-sse2avx): Define.
47954 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47957 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47959 * scripts/config.guess: Update from upstream config git repository.
47960 * scripts/config.sub: Likewise.
47962 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47964 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47966 (R_TILEPRO_*, R_TILEGX_*): New macros.
47968 * scripts/firstversions.awk: Fix bug in version range handling.
47970 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47972 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47974 * include/sys/epoll.h: New file.
47975 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47978 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47980 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47981 Avoid unnecessary __WORDSIZE == 64 test.
47982 (fmaxf): Use VEX format if possible.
47987 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47988 * math/math_private.h: Remove libc_fegetround* and
47990 * sysdeps/i386/configure.in: Check for -msse2avx.
47991 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47992 also if SSE2AVX is defined.
47993 Remove libc_fegetround* and libc_fesetround*.
47994 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47995 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47996 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47998 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47999 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48000 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48001 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48002 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48004 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48006 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48008 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48010 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48012 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48015 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48017 * Makeconfig (libm): Define.
48018 * elf/Makefile: Add rules to build and run tst-relsort1.
48019 * elf/tst-relsort1.c: New file.
48020 * elf/tst-relsort1mod1.c: New file.
48021 * elf/tst-relsort1mod2.c: New file.
48023 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48025 * math/s_ldexp.c: Remove __STDC__ conditionals.
48026 * math/s_ldexpf.c: Likewise.
48027 * math/s_ldexpl.c: Likewise.
48028 * math/s_nextafter.c: Likewise.
48029 * math/s_nexttowardf.c: Likewise.
48030 * math/s_significand.c: Likewise.
48031 * math/s_significandf.c: Likewise.
48032 * math/s_significandl.c: Likewise.
48033 * math/w_jnl.c: Likewise.
48034 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48035 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48036 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48037 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48038 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48040 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48045 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48049 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48050 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48053 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48054 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48055 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48056 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48057 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48058 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48059 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48060 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48061 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48062 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48063 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48064 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48065 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48066 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48067 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48068 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48069 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48070 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48071 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48072 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48073 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48074 * sysdeps/ieee754/k_standard.c: Likewise.
48075 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48077 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48078 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48079 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48080 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48082 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48083 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48084 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48085 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48086 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48087 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48088 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48089 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48090 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48091 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48092 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48093 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48094 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48095 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48096 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48097 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48098 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48099 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48100 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48101 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48102 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48103 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48104 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48105 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48106 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48107 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48108 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48109 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48110 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48111 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48112 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48113 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48114 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48115 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48117 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48118 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48119 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48120 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48121 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48122 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48123 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48124 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48125 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48126 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48127 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48128 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48129 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48130 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48131 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48132 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48133 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48136 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48137 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48138 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48140 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48141 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48142 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48147 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48148 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48149 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48150 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48151 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48153 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48154 * sysdeps/ieee754/s_matherr.c: Likewise.
48155 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48156 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48157 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48158 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48160 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48162 * crypt/md5.h: Remove __STDC__ conditionals.
48163 * libio/libioP.h: Likewise.
48164 * locale/programs/config.h: Likewise.
48165 * sysdeps/generic/sysdep.h: Likewise.
48166 * sysdeps/i386/asm-syntax.h: Likewise.
48167 * sysdeps/s390/asm-syntax.h: Likewise.
48168 * sysdeps/unix/sysdep.h: Likewise.
48169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48172 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48174 * libio/libio.h: Remove __STDC__ conditionals.
48175 * malloc/obstack.h: Likewise.
48176 * math/complex.h: Likewise.
48177 * math/math.h: Likewise.
48178 * sysdeps/generic/_G_config.h: Likewise.
48179 * sysdeps/gnu/_G_config.h: Likewise.
48180 * sysdeps/mach/hurd/_G_config.h: Likewise.
48181 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48182 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48183 * sysdeps/sparc/bits/mathdef.h: Likewise.
48185 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48188 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48189 Clean up HAS_* macros.
48190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48191 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48196 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48197 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48198 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48199 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48201 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48203 * elf/tst-unique3.cc (gets): Remove declaration.
48204 * elf/tst-unique3lib.cc (gets): Likewise.
48205 * elf/tst-unique3lib2.cc (gets): Likewise.
48206 * elf/tst-unique4.cc (gets): Likewise.
48208 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48210 * include/stdio.h: Add C++ protection. Add gets declarations and
48212 * debug/tst-chk1.c: Don't declare gets here.
48213 * stdio-common/tst-gets.c: Likewise.
48215 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48217 * posix/glob: Remove directory.
48219 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48221 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48223 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48225 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48226 of the non-standard EPFNOSUPPORT.
48228 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48230 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48231 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48232 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48234 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48236 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48238 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48240 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48242 * nscd/grpcache.c (cache_addgr): Likewise.
48243 * nscd/hstcache.c (cache_addhst): Likewise.
48244 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48245 * nscd/pwdcache.c (cache_addpw): Likewise.
48246 * nscd/servicescache.c (cache_addserv): Likewise.
48248 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48250 * malloc/malloc.c: Various cleanups.
48251 * malloc/hooks.c: Likewise.
48253 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48254 * stdlib/bug-fmtmsg1.c: New file.
48256 * stdlib/fmtmsg.c (init): Add missing unlock.
48257 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48259 2012-01-12 Marek Polacek <polacek@redhat.com>
48261 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48264 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48266 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48267 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48268 macro to ensure uniqueness of label name.
48269 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48270 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48272 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48274 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48276 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48277 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48281 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48283 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48285 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48286 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48287 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48289 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48291 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48292 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48296 * math/bits/math-finite.h: Add ldexp support.
48298 2012-01-10 Marek Polacek <polacek@redhat.com>
48300 * locale/programs/localedef.h (show_archive_content): Add noreturn
48303 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48305 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48307 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48309 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48311 * io/Makefile (headers): Add bits/poll2.h.
48313 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48316 typo #include statement.
48318 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48320 * include/sys/cdefs.h: Define __attribute_alloc_size.
48321 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48322 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48323 * elf/pldd.c: Likewise.
48324 * iconv/iconv_charmap.c: Likewise.
48325 * iconv/iconvconfig.c: Likewise.
48326 * iconv/strtab.c: Likewise.
48327 * locale/programs/locale.c: Likewise.
48328 * locale/programs/localedef.h: Likewise.
48329 * locale/programs/simple-hash.c: Likewise.
48330 * nscd/nscd.h: Likewise.
48331 * nss/makedb.c: Likewise.
48332 * sysdeps/generic/ldconfig.h: Likewise.
48333 * locale/programs/localedef.c: Remove xmalloc prototype.
48334 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48336 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48338 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48341 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48343 * math/Makefile (tests): Add tst-CMPLX.
48344 * math/tst-CMPLX.c: New file.
48346 * math/complex.h (CMPLXL): Fix typo.
48348 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48349 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48351 * debug/tst-chk1.c: Add poll and ppoll tests.
48352 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48353 * include/sys/poll.h: Add hidden proto for ppoll.
48354 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48355 * sysdeps/mach/hurd/ppoll.c: Likewise.
48356 * io/ppoll.c: Likewise.
48357 * debug/poll_chk.c: New file.
48358 * debug/ppoll_chk.c: New file.
48359 * include/bits/poll2.h: New file.
48360 * io/bits/poll2.h: New file.
48363 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48365 * configure.in: static is always set to yes. Remove.
48366 * config.make.in: Don't set build-static.
48367 * Makeconfig: Remove use of build-static.
48368 * dlfcn/Makefile: Likewise.
48369 * elf/Makefile: Likewise.
48370 * math/Makefile: Likewise.
48371 * misc/Makefile: Likewise.
48372 * nptl/Makefile: Likewise.
48373 * sysdeps/mach/hurd/Makefile: Likewise.
48375 * configure.in: PWD_P is not used anymore.
48376 * config.make.in: Remove PWD_P entry.
48378 * configure.in: Remove last remnants of RANLIB.
48379 No need to check for signed size_t anymore.
48380 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48382 Remove __builtin_expect test because we require at least gcc 3.4.
48383 * aclocal.m4: Likewise.
48385 * wcsmbs/mbrtoc16.c: Implement using towc function.
48386 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48387 * wcsmbs/wcsmbsload.c: Likewise.
48388 * iconv/gconv_simple.c: Likewise.
48389 * iconv/gconv_int.h: Likewise.
48390 * iconv/gconv_builtin.h: Likewise.
48391 * iconv/iconv_prog.c: Remove CHAR16 handling.
48393 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48395 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48397 * configure.in: Remove --with-elf and --enable-bounded options.
48398 Dont set base_machine for ia64. More non-ELF conditions removed.
48399 Remove testing and setting of leading underscore information.
48400 * config.make.in (build-bounded): Set to no.
48401 * config.h.in: Remove NO_UNDERSCORES entry.
48402 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48404 * csu/start.c: Remove !NO_UNDERSCORE code.
48405 * locale/localeinfo.h: Likewise.
48406 * sysdeps/generic/machine-gmon.h: Likewise.
48407 * sysdeps/generic/sysdep.h: Likewise.
48408 * sysdeps/i386/sysdep.h: Likewise.
48409 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48410 * sysdeps/mach/sysdep.h: Likewise.
48411 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48413 * sysdeps/sh/sysdep.h: Likewise.
48414 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48415 * sysdeps/unix/i386/sysdep.S: Likewise.
48416 * sysdeps/unix/sparc/start.c: Likewise.
48417 * sysdeps/unix/sparc/sysdep.S: Likewise.
48418 * sysdeps/unix/sparc/sysdep.h: Likewise.
48419 * sysdeps/unix/start.c: Likewise.
48420 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48421 * sysdeps/x86_64/sysdep.h: Likewise.
48423 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48426 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48428 * argp/argp-fmtstream.h: Use const instead __const.
48429 * argp/argp.h: Likewise.
48430 * assert/assert.h: Likewise.
48431 * bits/fenv.h: Likewise.
48432 * bits/sched.h: Likewise.
48433 * bits/sigset.h: Likewise.
48434 * bits/sigthread.h: Likewise.
48435 * catgets/nl_types.h: Likewise.
48436 * conform/data/pthread.h-data: Likewise.
48437 * crypt/crypt-private.h: Likewise.
48438 * crypt/crypt.h: Likewise.
48439 * crypt/crypt_util.c: Likewise.
48440 * ctype/ctype.h: Likewise.
48441 * debug/execinfo.h: Likewise.
48442 * debug/mbsnrtowcs_chk.c: Likewise.
48443 * debug/mbsrtowcs_chk.c: Likewise.
48444 * debug/wcsnrtombs_chk.c: Likewise.
48445 * debug/wcsrtombs_chk.c: Likewise.
48446 * debug/wcstombs_chk.c: Likewise.
48447 * dirent/dirent.h: Likewise.
48448 * dlfcn/dlfcn.h: Likewise.
48449 * elf/neededtest4.c: Likewise.
48450 * grp/grp.h: Likewise.
48451 * gshadow/gshadow.h: Likewise.
48452 * iconv/gconv.h: Likewise.
48453 * iconv/gconv_int.h: Likewise.
48454 * iconv/gconv_simple.c: Likewise.
48455 * iconv/iconv.h: Likewise.
48456 * iconv/loop.c: Likewise.
48457 * iconv/skeleton.c: Likewise.
48458 * include/aio.h: Likewise.
48459 * include/aliases.h: Likewise.
48460 * include/argz.h: Likewise.
48461 * include/arpa/inet.h: Likewise.
48462 * include/assert.h: Likewise.
48463 * include/dirent.h: Likewise.
48464 * include/dlfcn.h: Likewise.
48465 * include/execinfo.h: Likewise.
48466 * include/fcntl.h: Likewise.
48467 * include/fenv.h: Likewise.
48468 * include/glob.h: Likewise.
48469 * include/grp.h: Likewise.
48470 * include/libintl.h: Likewise.
48471 * include/mntent.h: Likewise.
48472 * include/netdb.h: Likewise.
48473 * include/pwd.h: Likewise.
48474 * include/rpc/netdb.h: Likewise.
48475 * include/sched.h: Likewise.
48476 * include/search.h: Likewise.
48477 * include/shadow.h: Likewise.
48478 * include/signal.h: Likewise.
48479 * include/stdio.h: Likewise.
48480 * include/stdlib.h: Likewise.
48481 * include/string.h: Likewise.
48482 * include/sys/socket.h: Likewise.
48483 * include/sys/stat.h: Likewise.
48484 * include/sys/statfs.h: Likewise.
48485 * include/sys/statvfs.h: Likewise.
48486 * include/sys/syslog.h: Likewise.
48487 * include/sys/time.h: Likewise.
48488 * include/sys/uio.h: Likewise.
48489 * include/time.h: Likewise.
48490 * include/unistd.h: Likewise.
48491 * include/utmp.h: Likewise.
48492 * include/wchar.h: Likewise.
48493 * include/wctype.h: Likewise.
48494 * inet/aliases.h: Likewise.
48495 * inet/arpa/inet.h: Likewise.
48496 * inet/netinet/ether.h: Likewise.
48497 * inet/netinet/in.h: Likewise.
48498 * intl/libintl.h: Likewise.
48499 * io/bits/fcntl2.h: Likewise.
48500 * io/fcntl.h: Likewise.
48501 * io/ftw.h: Likewise.
48502 * io/sys/poll.h: Likewise.
48503 * io/sys/stat.h: Likewise.
48504 * io/sys/statfs.h: Likewise.
48505 * io/sys/statvfs.h: Likewise.
48506 * io/utime.h: Likewise.
48507 * libio/bits/stdio.h: Likewise.
48508 * libio/bits/stdio2.h: Likewise.
48509 * libio/libio.h: Likewise.
48510 * libio/libioP.h: Likewise.
48511 * libio/stdio.h: Likewise.
48512 * locale/lc-ctype.c: Likewise.
48513 * locale/locale.h: Likewise.
48514 * login/utmp.h: Likewise.
48515 * malloc/arena.c: Likewise.
48516 * malloc/malloc.c: Likewise.
48517 * malloc/malloc.h: Likewise.
48518 * malloc/mcheck.c: Likewise.
48519 * malloc/mtrace.c: Likewise.
48520 * math/bits/mathcalls.h: Likewise.
48521 * math/fenv.h: Likewise.
48522 * math/math_private.h: Likewise.
48523 * misc/bits/error.h: Likewise.
48524 * misc/bits/syslog.h: Likewise.
48525 * misc/err.h: Likewise.
48526 * misc/error.h: Likewise.
48527 * misc/fstab.h: Likewise.
48528 * misc/mntent.h: Likewise.
48529 * misc/regexp.h: Likewise.
48530 * misc/search.h: Likewise.
48531 * misc/sgtty.h: Likewise.
48532 * misc/sys/mman.h: Likewise.
48533 * misc/sys/syslog.h: Likewise.
48534 * misc/sys/uio.h: Likewise.
48535 * misc/sys/xattr.h: Likewise.
48536 * misc/ttyent.h: Likewise.
48537 * nis/rpcsvc/ypclnt.h: Likewise.
48538 * nss/nss.h: Likewise.
48539 * posix/bits/unistd.h: Likewise.
48540 * posix/fnmatch.h: Likewise.
48541 * posix/glob.h: Likewise.
48542 * posix/sched.h: Likewise.
48543 * posix/spawn.h: Likewise.
48544 * posix/sys/wait.h: Likewise.
48545 * posix/unistd.h: Likewise.
48546 * posix/wordexp.h: Likewise.
48547 * pwd/pwd.h: Likewise.
48548 * resolv/netdb.h: Likewise.
48549 * resource/sys/resource.h: Likewise.
48550 * rt/aio.h: Likewise.
48551 * rt/bits/mqueue2.h: Likewise.
48552 * rt/mqueue.h: Likewise.
48553 * shadow/shadow.h: Likewise.
48554 * signal/signal.h: Likewise.
48555 * socket/send.c: Likewise.
48556 * socket/sendto.c: Likewise.
48557 * socket/sys/socket.h: Likewise.
48558 * stdio-common/printf.h: Likewise.
48559 * stdlib/bits/stdlib.h: Likewise.
48560 * stdlib/fmtmsg.h: Likewise.
48561 * stdlib/monetary.h: Likewise.
48562 * stdlib/stdlib.h: Likewise.
48563 * stdlib/ucontext.h: Likewise.
48564 * streams/stropts.h: Likewise.
48565 * string/argz.h: Likewise.
48566 * string/bits/string2.h: Likewise.
48567 * string/string.h: Likewise.
48568 * string/strings.h: Likewise.
48569 * sunrpc/rpc/auth.h: Likewise.
48570 * sunrpc/rpc/auth_des.h: Likewise.
48571 * sunrpc/rpc/clnt.h: Likewise.
48572 * sunrpc/rpc/netdb.h: Likewise.
48573 * sunrpc/rpc/pmap_clnt.h: Likewise.
48574 * sunrpc/rpc/xdr.h: Likewise.
48575 * sysdeps/generic/inttypes.h: Likewise.
48576 * sysdeps/generic/net/if.h: Likewise.
48577 * sysdeps/generic/sys/swap.h: Likewise.
48578 * sysdeps/gnu/net/if.h: Likewise.
48579 * sysdeps/gnu/utmpx.h: Likewise.
48580 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48581 * sysdeps/i386/i486/bits/string.h: Likewise.
48582 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48583 * sysdeps/s390/bits/string.h: Likewise.
48584 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48585 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48586 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48587 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48588 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48589 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48590 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48591 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48592 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48593 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48594 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48595 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48596 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48597 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48598 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48599 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48600 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48602 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48604 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48605 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48606 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48607 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48608 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48609 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48610 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48611 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48612 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48613 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48614 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48615 * sysvipc/sys/ipc.h: Likewise.
48616 * sysvipc/sys/msg.h: Likewise.
48617 * sysvipc/sys/sem.h: Likewise.
48618 * sysvipc/sys/shm.h: Likewise.
48619 * termios/termios.h: Likewise.
48620 * time/sys/time.h: Likewise.
48621 * time/time.h: Likewise.
48622 * wcsmbs/bits/wchar2.h: Likewise.
48623 * wcsmbs/uchar.h: Likewise.
48624 * wcsmbs/wchar.h: Likewise.
48625 * wctype/wctype.h: Likewise.
48628 * Makeconfig: Remove all but ELF support including AIX support.
48629 * Makerules: Likewise.
48630 * config.h.in: Likewise.
48631 * config.make.in: Likewise.
48632 * configure: Likewise.
48633 * configure.in: Likewise.
48634 * csu/Makefile: Likewise.
48635 * csu/version.c: Likewise.
48636 * debug/Makefile: Likewise.
48637 * dlfcn/Makefile: Likewise.
48638 * elf/Makefile: Likewise.
48639 * extra-lib.mk: Likewise.
48640 * iconv/Makefile: Likewise.
48641 * include/libc-symbols.h: Likewise.
48642 * include/shlib-compat.h: Likewise.
48643 * resolv/Makefile: Likewise.
48644 * resolv/res_libc.c: Likewise.
48645 * rt/Makefile: Likewise.
48646 * sysdeps/i386/asm-syntax.h: Likewise.
48647 * sysdeps/i386/sysdep.h: Likewise.
48648 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48649 * sysdeps/mach/sysdep.h: Likewise.
48650 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48651 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48652 * sysdeps/s390/asm-syntax.h: Likewise.
48653 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48654 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48655 * sysdeps/sh/sysdep.h: Likewise.
48656 * sysdeps/unix/sparc/sysdep.h: Likewise.
48657 * sysdeps/wordsize-32/divdi3.c: Likewise.
48658 * sysdeps/x86_64/sysdep.h: Likewise.
48660 * argp/Versions: Remove _argp_unlock_xxx.
48663 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48664 * abilist/libBrokenLocale.abilist: Likewise.
48665 * abilist/libanl.abilist: Likewise.
48666 * abilist/libc.abilist: Likewise.
48667 * abilist/libcrypt.abilist: Likewise.
48668 * abilist/libdl.abilist: Likewise.
48669 * abilist/libm.abilist: Likewise.
48670 * abilist/libnsl.abilist: Likewise.
48671 * abilist/libpthread.abilist: Likewise.
48672 * abilist/libresolv.abilist: Likewise.
48673 * abilist/librt.abilist: Likewise.
48674 * abilist/libthread_db.abilist: Likewise.
48675 * abilist/libutil.abilist: Likewise.
48676 * abilist/libnss_db.abilist: New file.
48678 * scripts/abilist.awk: Add support for indirect functions.
48680 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48682 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48684 * shlib-versions: Remove entries for ports architectures.
48686 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48688 * elf/stackguard-macros.h: Remove support for IA-64.
48689 * elf/tst-auditmod1.c: Likewise.
48690 * sysdeps/generic/ldsodefs.h: Likewise.
48692 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48693 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48697 * configure.in: Remove --enable-omitfp support.
48699 * config.make.in: Likewise.
48700 * Makeconfig: Likewise.
48701 * manual/install.texi: Likewise.
48703 In case anyone cares, the IA-64 architecture could move to ports.
48704 * sysdeps/ia64/*: Removed.
48705 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48706 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48709 * configure.in: Remove entries for unsupported architectures.
48712 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48713 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48715 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48716 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48717 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48718 fall back to using wcrtomb.
48719 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48720 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48722 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48723 * wcsmbs/tst-c16c32-1.c: New file.
48725 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48728 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48730 * elf/tst-unique3.cc: Add explicit declaration of gets.
48731 * elf/tst-unique3lib.cc: Likewise.
48732 * elf/tst-unique3lib2.cc: Likewise.
48733 * elf/tst-unique4.cc: Likewise.
48735 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48737 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48740 * assert/assert.h (static_assert): Don't define for C++.
48741 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48742 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48744 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48746 * iconv/loop.c (single loop): Fix assertion in storing of
48749 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48751 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48753 * posix/getconf.c: Update copyright year.
48754 * nss/getent.c: Likewise.
48755 * nss/makedb.c: Likewise.
48756 * iconv/iconvconfig.c: Likewise.
48757 * iconv/iconv_prog.c: Likewise.
48758 * elf/ldconfig.c: Likewise.
48759 * elf/pldd.c: Likewise.
48760 * elf/sotruss.ksh: Likewise.
48761 * catgets/gencat.c: Likewise.
48762 * csu/version.c: Likewise.
48763 * elf/ldd.bash.in: Likewise.
48764 * elf/sprof.c (print_version): Likewise.
48765 * locale/programs/locale.c: Likewise.
48766 * locale/programs/localedef.c: Likewise.
48767 * login/programs/pt_chown.c: Likewise.
48768 * nscd/nscd.c (print_version): Likewise.
48769 * debug/xtrace.sh: Likewise.
48770 * malloc/memusage.sh: Likewise.
48771 * malloc/mtrace.pl: Likewise.
48772 * debug/catchsegv.sh: Likewise.
48774 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48776 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48779 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48782 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48783 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48785 * iconv/gconv_int.h: Likewise.
48786 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48787 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48788 from libc for GLIBC_2.16.
48789 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48790 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48791 * wcsmbs/uchar.h: Really define mbstate_t.
48792 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48793 * wcsmbs/c16rtomb.c: New file.
48794 * wcsmbs/mbrtoc16.c: New file.
48795 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48796 for C/POSIX locale.
48797 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48798 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48800 * wcsmbs/wchar.h: Add missing __restrict.
48802 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48805 * time/Makefile (routines): Add timespec_get.
48806 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48807 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48808 timespec for ISO C11.
48809 * time/timespec_get.c: New file.
48810 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48811 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48814 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48815 * stdlib/stdlib.h: Declare aligned_alloc.
48816 * Versions.def: Add GLIBC_2.16 for libc.
48817 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48820 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48823 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48827 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48830 * assert/assert.h (static_assert): Define.
48832 * version.h: Update for 2.16 development version.
48835 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48838 * version.h (RELEASE): Bump for 2.15 release.
48839 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48841 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48842 Patch by Marek Polacek <mpolacek@redhat.com>.
48844 * bits/byteswap.h: Protect long long constants with __extension__.
48845 * sysdeps/i386/bits/byteswap.h: Likewise.
48846 * sysdeps/ia64/bits/byteswap.h: Likewise.
48847 * sysdeps/s390/bits/byteswap.h: Likewise.
48848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48850 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48853 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48854 destination buffer.
48855 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48857 2011-12-23 Marek Polacek <polacek@redhat.com>
48859 * elf/dl-addr.c (determine_info): Add inline keyword.
48860 * elf/tst-auditmod4b.c (check_avx): Likewise.
48861 * elf/tst-auditmod6b.c (check_avx): Likewise.
48862 * elf/tst-auditmod6c.c (check_avx): Likewise.
48863 * elf/tst-auditmod7b.c (check_avx): Likewise.
48865 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48867 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48870 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48873 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48874 processing for last bytes.
48876 2011-08-06 Bruno Haible <bruno@clisp.org>
48879 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48880 U+0385, not to U+1FEE.
48883 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48884 entry for U+00A5 U+0301.
48886 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48889 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48890 buffer for the output is too small.
48892 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48896 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48897 SSE flags if possible.
48899 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48903 processing for last bytes.
48905 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48907 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48908 (syscall-list-default-options, syscall-list-default-condition)
48909 (syscall-list-includes): Define.
48910 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48911 list of ABIs and options and #if conditions for each ABI. Do not
48912 handle common syscalls between ABIs specially.
48913 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48915 (syscall-list-variants, syscall-list-32bit-options)
48916 (syscall-list-32bit-condition, syscall-list-64bit-options)
48917 (syscall-list-64bit-condition): Define.
48918 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48919 (syscall-list-variants, syscall-list-32bit-options)
48920 (syscall-list-32bit-condition, syscall-list-64bit-options)
48921 (syscall-list-64bit-condition): Define.
48922 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48924 (syscall-list-variants, syscall-list-32bit-options)
48925 (syscall-list-32bit-condition, syscall-list-64bit-options)
48926 (syscall-list-64bit-condition): Define.
48927 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48929 (syscall-list-variants, syscall-list-32bit-options)
48930 (syscall-list-32bit-condition, syscall-list-64bit-options)
48931 (syscall-list-64bit-condition): Define.
48933 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48935 * locale/iso-639.def: Add brx entry.
48938 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48939 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48941 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48942 __feraiseexcept_renamed.
48944 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48947 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48948 EPOLLET with unsigned values.
48949 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48950 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48952 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48953 to large cancellation.
48954 * math/s_cacoshf.c: Likewise.
48955 * math/s_cacoshl.c: Likewise.
48957 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48961 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48962 * math/s_cacoshf.c: Likewise.
48963 * math/s_cacoshl.c: Likewise.
48965 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48968 * iconv/gconv.h: Define __GCONV_SWAP.
48969 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48970 * iconvdata/utf-16.c: Likewise.
48971 * iconvdata/utf-32.c: Likewise.
48973 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48976 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48977 numerator after shifting it by one limb.
48979 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48981 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48982 under [__USE_EXTERN_INLINES].
48984 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48987 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48989 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48991 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48992 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48994 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48995 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48996 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48997 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48998 for strncasecmp/strncasecmp_l compilation.
48999 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49000 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49002 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49005 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49008 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49011 * time/tzfile.c (__tzfile_read): Check values from file header.
49013 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49015 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49016 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49017 * powerpc/powerpc32/dl-start.S: Likewise.
49018 * powerpc/powerpc32/elf/start.S: Likewise.
49019 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49020 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49021 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49022 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49023 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49024 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49025 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49026 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49027 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49028 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49029 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49030 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49031 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49032 * powerpc/powerpc32/memset.S: Likewise.
49033 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49034 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49035 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49036 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49037 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49038 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49039 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49040 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49041 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49042 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49043 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49044 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49045 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49047 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49049 * math/libm-test.inc: Added more nearbyint tests.
49050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49051 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49052 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49053 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49055 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49057 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49060 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49062 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49063 Add wcscpy-ssse3 wcscpy-c.
49064 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49065 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49066 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49067 * sysdeps/x86_64/wcschr.S: New file.
49068 * sysdeps/x86_64/wcsrchr.S: New file.
49069 * string/test-strcmp.c: Remove checking of wcscmp function for
49071 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49072 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49073 wcsrchr-sse2 wcsrchr-c.
49074 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49075 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49076 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49077 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49078 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49079 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49080 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49081 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49082 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49083 * wcsmbc/wcschr.c (WCSCHR): New macro.
49085 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49087 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49088 * wcsmbs/test-wcsrchr.c: New file.
49089 * string/test-strrchr.c: Add wcsrchr support.
49091 * wcsmbs/test-wcscpy.c: New file.
49092 * string/test-strcpy.c: Add wcscpy support.
49095 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49097 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49100 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49103 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49105 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49107 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49108 Minor optimizations.
49110 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49111 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49112 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49114 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49116 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49117 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49118 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49119 for gcc to avoid warnings.
49120 * inet/Makefile (tests): Add tst-checks.
49121 * inet/tst-checks.c: New file.
49123 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49126 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49129 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49130 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49132 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49134 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49136 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49139 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49141 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49143 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49144 conditional on GCC version.
49145 (__arch_compare_and_exchange_val_8_acq)
49146 (__arch_compare_and_exchange_val_16_acq)
49147 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49148 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49149 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49151 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49153 * sysdeps/sh/backtrace.c: New file.
49155 2011-12-02 Andreas Schwab <schwab@redhat.com>
49157 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49160 2011-12-01 Andreas Schwab <schwab@redhat.com>
49162 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49163 falling back to utime.
49165 2011-11-30 Andreas Schwab <schwab@redhat.com>
49167 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49168 expectations for float.
49170 2011-11-29 Andreas Schwab <schwab@redhat.com>
49172 * locale/weight.h (findidx): Add parameter len.
49173 * locale/weightwc.h (findidx): Likewise.
49174 * posix/fnmatch_loop.c (FCT): Adjust caller.
49175 * posix/regcomp.c (build_equiv_class): Likewise.
49176 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49177 * posix/regexec.c (check_node_accept_bytes): Likewise.
49178 * string/strcoll_l.c (STRCOLL): Likewise.
49179 * string/strxfrm_l.c (STRXFRM): Likewise.
49181 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49183 * Makefile.in: Remove CVSOPT handling.
49184 * configure.in: Remove use of AC_REVISION.
49185 * iconvdata/Makefile (distribute): No need to filter out CVS.
49186 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49189 2011-11-16 Andreas Schwab <schwab@redhat.com>
49191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49192 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49193 [USE_AS_STRNCASECMP_L]: Likewise.
49194 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49195 NO_TLS_DIRECT_SEG_REFS.
49196 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49197 Fix argument offsets for non-PIC.
49198 [USE_AS_STRNCASECMP_L]: Likewise.
49199 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49200 NO_TLS_DIRECT_SEG_REFS.
49202 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49204 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49206 * locale/loadlocale.c (_nl_load_locale): Likewise.
49208 2011-11-15 Andreas Schwab <schwab@redhat.com>
49210 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49211 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49212 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49213 (SYSCALL_GETTIME): Set errno on error.
49215 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49216 count references to noai6ai_cached.
49218 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49220 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49222 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49223 FD_CLOEXEC for /proc/self/maps.
49225 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49226 FD_CLOEXEC for /proc/meminfo.
49228 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49231 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49232 FD_CLOEXEC for given file.
49234 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49236 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49237 FD_CLOEXEC for /etc/hosts.
49238 (_gethtent): Likewise.
49240 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49242 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49243 cancellation and set FD_CLOEXEC for /etc/netgroup.
49245 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49246 reading /etc/publickey.
49248 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49249 allow cancellation when reading /etc/group.
49251 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49253 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49255 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49256 when using data file.
49258 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49260 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49261 (write_nis_obj): Use "c" and "e" in fopen.
49263 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49265 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49267 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49269 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49271 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49274 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49276 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49278 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49280 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49281 file parsing and set FD_CLOEXEC.
49283 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49285 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49287 2011-11-14 Andreas Schwab <schwab@redhat.com>
49289 * malloc/arena.c (arena_get2): Don't call reused_arena when
49290 _int_new_arena failed.
49292 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49294 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49295 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49296 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49297 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49300 to compile strcasecmp and strncasecmp.
49301 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49302 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49306 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49308 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49309 locale-defines.sym to gen-as-const-headers.
49310 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49311 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49313 to compile strcasecmp and strncasecmp.
49314 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49315 strcasecmp_l and strncasecmp_l.
49316 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49317 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49318 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49319 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49320 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49321 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49322 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49323 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49324 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49325 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49326 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49328 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49330 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49331 result of SYSDEP_GETTIME_CPU to retval.
49332 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49333 parameter list to macro. Remove trailing semicolon. Adjust users.
49335 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49338 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49340 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49342 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49343 from unused variable.
49345 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49347 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49350 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49353 * sunrpc/rpc_prot.c (rejected): Fix case value.
49355 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49356 unsigned long long int to avoid warnings in shift.
49358 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49360 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49363 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49364 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49365 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49367 * nis/nis_table.c (nis_list): Use variable of correct type for
49368 result of __follow_path call.
49370 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49372 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49373 of math functions ceil, trunc, floor, round, and sqrt, when
49374 avaliable on the platform.
49375 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49377 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49378 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49379 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49381 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49383 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49384 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49386 2011-11-11 Roland McGrath <roland@hack.frob.com>
49388 * include/unistd.h: Fix __readlink return type.
49389 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49391 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49393 * stdlib/ucontext.h: Undo last change for makecontext.
49395 2011-11-11 Andreas Schwab <schwab@redhat.com>
49397 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49399 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49400 * setjmp/setjmp.h: Mark functions as non-leaf.
49401 * setjmp/bits/setjmp2.h: Likewise.
49402 * stdlib/ucontext.h: Likewise.
49404 2011-11-10 Andreas Schwab <schwab@redhat.com>
49406 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49407 (reused_arena): Don't check arena limit.
49408 (arena_get2): Atomically check arena limit.
49410 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49412 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49413 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49415 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49418 2011-11-07 Andreas Schwab <schwab@redhat.com>
49420 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49421 handler when locking.
49423 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49424 Fix size of allocated buffer.
49426 2011-11-04 Andreas Schwab <schwab@redhat.com>
49429 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49430 declarations for long double functions.
49431 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49433 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49435 2011-11-03 Andreas Schwab <schwab@redhat.com>
49437 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49440 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49443 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49445 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49447 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49449 * include/alloca.h (stackinfo_alloca_round): Define.
49450 (extend_alloca): Use it.
49451 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49452 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49455 * scripts/check-local-headers.sh: Ignore libaudit.h.
49457 * nscd/Makefile (extra-objs): Make recursively expanded.
49459 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49461 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49464 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49465 * posix/tst-rfc3484-2.c: Likewise.
49466 * posix/tst-rfc3484-3.c: Likewise.
49468 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49470 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49472 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49473 process_vm_writev from libc using GLIBC_2.15 version.
49475 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49477 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49479 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49482 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49485 * nss/getent.c (initgroups_keys): Show error message in case no group
49488 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49489 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49490 __bump_nl_timestamp.
49491 * nscd/connections (nscd_init): When host database is served open
49492 netlink socket and request notification about configuration changes.
49493 (main_loop_poll): Track netlink file descriptor and bump timestamp
49494 in case data becomes available.
49495 (main_loop_epoll): Likewise.
49496 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49497 (database_pers_head): Add extra_data fileds.
49498 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49499 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49500 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49502 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49503 in6ai data, call __free_in6ai.
49504 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49505 Add -DHAVE_NETLINK.
49506 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49507 interface information. Reuse previous data if netlink timestamp
49509 (__bump_nl_timestamp): New function.
49510 (__free_in6ai): New function.
49512 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49514 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49515 close_not_cancel_no_status here.
49516 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49518 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49521 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49524 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49525 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49526 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49528 2011-07-03 Andreas Jaeger <aj@suse.de>
49531 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49532 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49533 * math/libm-test.inc (sin_test): Add test case.
49535 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49538 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49539 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49541 * elf/chroot_canon.c (chroot_canon): Cleanups.
49543 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49546 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49547 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49549 * string/test-strchr.c: Make usable for strchrnul testing.
49550 * string/test-strchrnul.c: New file.
49551 * string/Makefile (strop-tests): Add strchrnul.
49553 * po/it.po: Update from translation team.
49554 * po/es.po: Likewise.
49556 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49559 the three constants needed as parameters. Drop the others.
49560 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49561 __m128i_strloadu_tolower.
49562 Create and initialize variable zero and use it in all the places
49563 where _mm_setzero_si128 was used.
49565 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49566 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49567 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49570 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49571 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49572 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49573 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49574 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49575 __mpranred, __mptan.
49576 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49577 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49578 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49579 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49580 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49581 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49582 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49583 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49584 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49586 2011-10-28 Andreas Schwab <schwab@redhat.com>
49588 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49589 redefine if SHARED.
49590 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49592 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49593 wide char related routines to wcsmbs subdir.
49595 2011-10-27 Andreas Schwab <schwab@redhat.com>
49598 * misc/sys/cdefs.h (__THROWNL): Define.
49599 * posix/unistd.h: Use __THREADNL instead of __THREAD
49600 for memory synchronization functions.
49602 2011-10-26 Roland McGrath <roland@hack.frob.com>
49605 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49607 * manual/stdio.texi (Obstack Streams): Node removed.
49609 2011-10-26 Andreas Schwab <schwab@redhat.com>
49611 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49612 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49613 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49615 * math/math_private.h (math_force_eval): Allow non-addressable
49617 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49619 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49621 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49622 file is not needed.
49624 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49626 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49627 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49628 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49629 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49630 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49631 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49633 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49634 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49635 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49636 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49637 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49638 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49639 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49640 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49641 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49642 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49643 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49644 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49645 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49646 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49647 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49648 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49649 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49650 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49651 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49653 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49654 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49656 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49657 place. Use VEX encoding when compiling for AVX.
49659 2011-10-25 Andreas Schwab <schwab@redhat.com>
49661 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49662 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49664 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49666 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49668 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49669 useless if() expression.
49670 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49671 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49672 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49674 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49676 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49677 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49678 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49679 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49680 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49681 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49682 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49683 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49684 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49686 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49687 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49688 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49690 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49692 2011-10-25 Andreas Schwab <schwab@redhat.com>
49694 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49696 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49698 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49700 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49701 .text section. Avoid duplicate constants.
49702 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49706 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49710 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49711 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49712 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49713 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49714 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49715 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49716 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49717 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49718 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49719 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49720 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49722 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49723 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49724 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49725 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49726 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49727 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49728 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49729 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49730 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49731 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49732 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49733 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49734 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49735 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49736 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49737 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49738 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49739 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49740 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49741 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49743 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49744 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49745 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49746 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49748 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49750 * sysdeps/x86_64/dla.h: Move to ...
49751 * sysdeps/x86_64/fpu/dla.h: ...here.
49752 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49753 situations. Use __builtin_fma only for gcc 4.6 and up.
49755 * config.make.in: Add have-mfma4 entry.
49756 * configure.in: Substitute libc_cv_cc_fma4.
49757 * math/Makefile (dbl-only-routines): Add sincostab.
49758 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49759 Use __sincostab not sincos.
49760 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49762 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49767 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49768 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49769 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49770 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49772 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49773 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49775 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49776 define aliases when function name is a macro.
49777 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49778 sysdeps/ieee754/dbl-64/sincos.tbl.
49779 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49780 fma4-enabled routines.
49781 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49782 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49783 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49784 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49785 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49786 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49787 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49788 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49790 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49791 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49792 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49793 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49794 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49795 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49796 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49797 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49798 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49799 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49800 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49801 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49802 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49803 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49804 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49806 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49807 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49808 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49809 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49810 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49812 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49814 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49815 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49816 * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
49820 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49821 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49823 2011-10-24 Andreas Schwab <schwab@redhat.com>
49825 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49827 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49829 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49831 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49833 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49835 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49836 Remove unused variable magic_bits.
49837 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49839 * string/strnlen.c: Define and use STRNLEN macro.
49840 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49841 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49842 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49843 * wcsmbs/wcslen.c: Define and use WCSLEN.
49844 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49845 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49846 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49847 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49848 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49849 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49850 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49852 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49855 strnlen-sse2-no-bsf.
49856 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49858 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49859 Add strnlen support.
49860 (USE_AS_STRNLEN): New macro.
49861 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49862 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49863 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49864 * sysdeps/x86_64/wcslen.S: New file.
49866 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49869 XMM-moves are used for copying on small sizes.
49871 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49873 * wcsmbs/Makefile (strop-tests): Add wcschr.
49874 * wcsmbs/test-wcschr.c: New file.
49875 * string/test-strchr.c: Update.
49876 Add wcschr support.
49879 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49881 * wcsmbs/Makefile (strop-tests): Add wcslen.
49882 * wcsmbs/test-wcslen.c: New file.
49883 * string/test-strlen.c: Update.
49884 Add wcslen support.
49887 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49889 * po/it.po: Update from translation team.
49891 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49893 * sysdeps/x86_64/wcscmp.S: Update.
49894 Fix wrong comparison semantics.
49895 wcscmp shall use signed comparison not unsigned.
49896 Don't use substraction to avoid overflow bug.
49897 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49898 * wcsmbc/wcscmp.c: Likewise.
49899 * string/test-strcmp.c: Likewise.
49900 Add new tests to check cases with negative values.
49902 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49904 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49905 * sysdeps/x86_64/dla.h: ...here. New file.
49906 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49907 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49911 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49913 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49914 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49916 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49918 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49919 __ynl_finite aliases.
49921 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49925 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49927 [DLA_FMA] (EMULV): Use DLA_FMA.
49928 [DLA_FMA] (MUL12): Use EMULV.
49929 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49930 that are not needed.
49931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49932 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49937 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49939 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49941 * math/s_nan.c: Undef __nan.
49942 * math/s_nanf.c: Undef __nanf.
49943 * math/s_nanl.c: Undef __nanl.
49944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49947 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49949 * math/s_catan.c: Add branch predictions.
49950 * math/s_catanf.c: Likewise.
49951 * math/s_catanh.c: Likewise.
49952 * math/s_catanhf.c: Likewise.
49953 * math/s_catanhl.c: Likewise.
49954 * math/s_catanl.c: Likewise.
49955 * math/s_cexp.c: Likewise.
49956 * math/s_cexpf.c: Likewise.
49957 * math/s_cexpl.c: Likewise.
49958 * math/s_clog.c: Likewise.
49959 * math/s_clog10.c: Likewise.
49960 * math/s_clog10f.c: Likewise.
49961 * math/s_clog10l.c: Likewise.
49962 * math/s_clogf.c: Likewise.
49963 * math/s_clogl.c: Likewise.
49964 * math/s_csqrt.c: Likewise.
49965 * math/s_csqrtf.c: Likewise.
49966 * math/s_csqrtl.c: Likewise.
49967 * math/s_ctanf.c: Likewise.
49968 * math/s_ctanh.c: Likewise.
49969 * math/s_ctanhf.c: Likewise.
49970 * math/s_ctanhl.c: Likewise.
49971 * math/s_ctanl.c: Likewise.
49973 * math/math_private.h: Define __nan, __nanf, __nanl.
49974 * math/s_cacosh.c: Include <math_private.h>.
49975 * math/s_cacoshl.c: Likewise.
49976 * math/s_casinh.c: Likewise.
49977 * math/s_casinhf.c: Likewise.
49978 * math/s_casinhl.c: Likewise.
49979 * math/s_ccos.c: Rely entire on ccosh.
49980 * math/s_ccosf.c: Rely entire on ccoshf.
49981 * math/s_ccosl.c: Rely entirely on ccoshl.
49982 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49983 Remove tests for FE_INVALID.
49984 * math/s_ccoshf.c: Likewise.
49985 * math/s_ccoshl.c: Likewise.
49986 * math/s_csin.c: Likewise.
49987 * math/s_csinf.c: Likewise.
49988 * math/s_csinh.c Likewise.
49989 * math/s_csinhf.c: Likewise.
49990 * math/s_csinhl.c: Likewise.
49991 * math/s_csinl.c: Likewise.
49992 * math/s_ctan.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49994 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49995 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49997 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50000 compilation problems.
50002 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50005 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50007 * sysdeps/i386/configure.in: Test for -mfma4 option.
50008 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50009 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50010 COMMON_CPUID_INDEX_80000001.
50011 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50012 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50013 use it if FMA3 is not supported.
50014 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50016 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50017 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50019 2011-10-20 Andreas Schwab <schwab@redhat.com>
50022 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50023 it would create a cycle with a link time dependency.
50025 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50027 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50029 * string/Makefile (strop-tests): Add rawmemchr.
50030 * string/test-rawmemchr.c: New file.
50032 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50033 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50034 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50035 when compiling str{,n}casecmp and when AVX is available. Hook up
50036 new optimized code in initializers.
50038 2011-10-19 Andreas Schwab <schwab@redhat.com>
50040 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50041 __feraiseexcept instead of feraiseexcept.
50043 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50045 * math/math_private.h: Define defaults for libc_fetestexcept and
50047 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50048 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50049 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50051 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50052 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50053 libc_fetestexcept and libc_feupdateenv.
50055 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50056 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50057 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50058 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50059 libc_feholdexcept_setround.
50061 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50062 Add s_nearbyint-c and s_nearbyintf-c.
50063 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50064 nearbyintf inlines.
50065 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50066 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50067 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50068 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50070 * math/math_private.h: Define defaults for libc_fegetround,
50071 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50072 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50073 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50074 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50075 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50076 standard functions.
50077 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50078 Remove comments and hacks for old compiler versions.
50079 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50080 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50081 libc_feholdexceptl.
50083 2011-10-18 Andreas Schwab <schwab@redhat.com>
50085 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50086 (__feraiseexcept_renamed): Add __NTH.
50087 (feraiseexcept): Add __NTH. Rename local variables to fix
50088 namespace violations.
50090 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50092 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50094 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50096 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50097 recently added interfaces.
50098 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50100 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50101 about macro parameter expansion.
50103 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50104 __NO_MATH_INLINES is defined. Cleanups.
50106 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50107 and __floorf is target has SSE4.1.
50108 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50109 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50110 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50111 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50113 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50115 (floorf): Likewise.
50117 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50119 2011-10-17 Andreas Schwab <schwab@redhat.com>
50121 * misc/sys/cdefs.h: Fix last change.
50123 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50126 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50128 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50130 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50131 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50132 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50133 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50134 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50135 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50138 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50139 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50140 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50141 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50142 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50143 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50144 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50145 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50146 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50147 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50148 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50149 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50150 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50151 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50153 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50154 ceil, ceilf, floor, floorf.
50156 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50157 Perform IRELATIVE relocations last.
50159 * elf/do-rel.h: Add another parameter nrelative, replacing the
50160 local variable with the same name. Change name of the function
50161 to end in Rel or Rela (uppercase).
50162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50163 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50164 elf_dynamic_do_##reloc function.
50166 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50168 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50169 is sufficient, at least on modern CPUs.
50171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50173 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50174 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50176 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50178 * math/bits/math-finite.h: Add entries for exp.
50179 * math/e_expl.c: Add __*_finite alias.
50180 * sysdeps/i386/fpu/e_exp.S: Likewise.
50181 * sysdeps/i386/fpu/e_expf.S: Likewise.
50182 * sysdeps/i386/fpu/e_expl.c: Likewise.
50183 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50184 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50185 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50187 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50188 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50189 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50191 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50192 is sufficient, at least on modern CPUs.
50194 * ctype/ctype-info.c (__ctype_init): Define.
50195 * include/ctype.h (__ctype_init): Declare.
50196 (__ctype_b_loc): The variable is always initialized.
50197 (__ctype_toupper_loc): Likewise.
50198 (__ctype_tolower_loc): Likewise.
50199 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50200 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50202 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50204 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50206 * configure.in: Also look in $cxxmachine/include for C++ system
50209 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50211 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50212 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50213 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50214 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50215 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50216 (USE_AS_WMEMCMP): New macro.
50218 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50219 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50220 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50221 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50222 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50223 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50224 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50225 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50226 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50227 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50228 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50229 (USE_AS_WMEMCMP): New macro.
50230 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50231 * sysdeps/string/test-memcmp.c: Update.
50232 Fix simple_wmemcmp.
50234 * wcsmbs/wmemcmp.c: Update.
50235 (WMEMCMP): New macro.
50238 2011-10-12 Andreas Jaeger <aj@suse.de>
50241 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50243 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50245 * libio/iofwide.c (do_length): Avoid warning.
50247 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50249 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50251 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50253 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50254 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50255 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50256 * sysdeps/i386/i686/fpu/e_log.S: New file.
50257 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50258 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50260 * ctype/ctype.h: Add support for inlined isXXX functions when
50261 compiling C++ code.
50263 2011-10-14 Andreas Schwab <schwab@redhat.com>
50265 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50267 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50269 2011-10-13 Roland McGrath <roland@hack.frob.com>
50272 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50274 2011-10-13 Andreas Schwab <schwab@redhat.com>
50276 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50277 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50280 * sysdeps/x86_64/memrchr.S: Check for zero size.
50282 * string/stratcliff.c: Add memrchr tests.
50284 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50287 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50288 rawmemchr-sse2 rawmemchr-sse2-bsf.
50289 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50290 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50291 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50292 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50293 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50294 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50295 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50296 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50297 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50298 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50299 * string/memrchr.c (MEMRCHR): New macro.
50301 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50303 Add integration with gcc's -ffinite-math-only and optimize wrapper
50305 * Versions.def: Define GLIBC_2.15 version for libm.
50306 * math/Makefile (headers): Add bits/math-finite.h.
50307 * math/bits/math-finite.h: New file.
50308 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50309 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50310 * math/e_acoshl.c: Add __*_finite alias.
50311 * math/e_acosl.c: Likewise.
50312 * math/e_asinl.c: Likewise.
50313 * math/e_atan2l.c: Likewise.
50314 * math/e_atanhl.c: Likewise.
50315 * math/e_coshl.c: Likewise.
50316 * math/e_exp10.c: Likewise.
50317 * math/e_exp10f.c: Likewise.
50318 * math/e_exp10l.c: Likewise.
50319 * math/e_exp2l.c: Likewise.
50320 * math/e_fmodl.c: Likewise.
50321 * math/e_gammal_r.c: Likewise.
50322 * math/e_hypotl.c: Likewise.
50323 * math/e_j0l.c: Likewise.
50324 * math/e_j1l.c: Likewise.
50325 * math/e_jnl.c: Likewise.
50326 * math/e_lgammal_r.c: Likewise.
50327 * math/e_log10l.c: Likewise.
50328 * math/e_log2l.c: Likewise.
50329 * math/e_logl.c: Likewise.
50330 * math/e_powl.c: Likewise.
50331 * math/e_sinhl.c: Likewise.
50332 * math/e_sqrtl.c: Likewise.
50333 * math/e_scalb.c: Completely rewritten and optimized.
50334 * math/e_scalbf.c: Likewise.
50335 * math/e_scalbl.c: Likewise.
50336 * math/w_acos.c: Likewise.
50337 * math/w_acosf.c: Likewise.
50338 * math/w_acosl.c: Likewise.
50339 * math/w_acosh.c: Likewise.
50340 * math/w_acoshf.c: Likewise.
50341 * math/w_acoshl.c: Likewise.
50342 * math/w_asin.c: Likewise.
50343 * math/w_asinf.c: Likewise.
50344 * math/w_asinl.c: Likewise.
50345 * math/w_atan2.c: Likewise.
50346 * math/w_atan2f.c: Likewise.
50347 * math/w_atan2l.c: Likewise.
50348 * math/w_atanh.c: Likewise.
50349 * math/w_atanhf.c: Likewise.
50350 * math/w_atanhl.c: Likewise.
50351 * math/w_exp10.c: Likewise.
50352 * math/w_exp10f.c: Likewise.
50353 * math/w_exp10l.c: Likewise.
50354 * math/w_fmod.c: Likewise.
50355 * math/w_fmodf.c: Likewise.
50356 * math/w_fmodl.c: Likewise.
50357 * math/w_j0.c: Likewise.
50358 * math/w_j0f.c: Likewise.
50359 * math/w_j0l.c: Likewise.
50360 * math/w_j1.c: Likewise.
50361 * math/w_j1f.c: Likewise.
50362 * math/w_j1l.c: Likewise.
50363 * math/w_jn.c: Likewise.
50364 * math/w_jnf.c: Likewise.
50365 * math/w_log.c: Likewise.
50366 * math/w_logf.c: Likewise.
50367 * math/w_logl.c: Likewise.
50368 * math/w_log10.c: Likewise.
50369 * math/w_log10f.c: Likewise.
50370 * math/w_log10l.c: Likewise.
50371 * math/w_log2.c: Likewise.
50372 * math/w_log2f.c: Likewise.
50373 * math/w_log2l.c: Likewise.
50374 * math/w_pow.c: Likewise.
50375 * math/w_powf.c: Likewise.
50376 * math/w_powl.c: Likewise.
50377 * math/w_remainder.c: Likewise.
50378 * math/w_remainderf.c: Likewise.
50379 * math/w_remainderl.c: Likewise.
50380 * math/w_scalb.c: Likewise.
50381 * math/w_scalbf.c: Likewise.
50382 * math/w_scalbl.c: Likewise.
50383 * math/w_sqrt.c: Likewise.
50384 * math/w_sqrtf.c: Likewise.
50385 * math/w_sqrtl.c: Likewise.
50386 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50387 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50389 * math/math_private.h: Declare __kernel_standard_f.
50390 * math/w_cosh.c: Remove cruft and optimize a bit.
50391 * math/w_coshf.c: Likewise.
50392 * math/w_coshl.c: Likewise.
50393 * math/w_exp2.c: Likewise.
50394 * math/w_exp2f.c: Likewise.
50395 * math/w_exp2l.c: Likewise.
50396 * math/w_hypot.c: Likewise.
50397 * math/w_hypotf.c: Likewise.
50398 * math/w_hypotl.c: Likewise.
50399 * math/w_lgamma.c: Likewise.
50400 * math/w_lgamma_r.c: Likewise.
50401 * math/w_lgammaf.c: Likewise.
50402 * math/w_lgammaf_r.c: Likewise.
50403 * math/w_lgammal.c: Likewise.
50404 * math/w_lgammal_r.c: Likewise.
50405 * math/w_sinh.c: Likewise.
50406 * math/w_sinhf.c: Likewise.
50407 * math/w_sinhl.c: Likewise.
50408 * math/w_tgamma.c: Likewise.
50409 * math/w_tgammaf.c: Likewise.
50410 * math/w_tgammal.c: Likewise.
50411 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50412 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50413 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50414 Minor optimizations. Pretty printing. Remove cruft.
50415 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50416 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50417 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50418 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50419 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50420 * sysdeps/i386/fpu/e_asin.S: Likewise.
50421 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50422 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50423 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50424 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50425 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50426 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50427 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50428 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50429 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50430 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50431 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50432 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50433 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50434 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50435 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50436 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50437 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50438 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50439 * sysdeps/i386/fpu/e_log.S: Likewise.
50440 * sysdeps/i386/fpu/e_log10.S: Likewise.
50441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50442 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50443 * sysdeps/i386/fpu/e_log2.S: Likewise.
50444 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50445 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50446 * sysdeps/i386/fpu/e_logf.S: Likewise.
50447 * sysdeps/i386/fpu/e_logl.S: Likewise.
50448 * sysdeps/i386/fpu/e_pow.S: Likewise.
50449 * sysdeps/i386/fpu/e_powf.S: Likewise.
50450 * sysdeps/i386/fpu/e_powl.S: Likewise.
50451 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50452 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50453 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50454 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50455 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50457 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50458 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50459 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50460 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50461 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50463 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50464 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50465 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50466 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50467 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50468 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50469 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50470 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50471 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50473 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50474 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50477 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50480 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50481 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50482 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50483 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50484 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50485 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50486 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50487 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50488 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50489 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50491 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50494 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50495 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50496 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50497 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50498 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50499 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50500 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50501 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50502 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50503 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50504 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50505 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50506 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50507 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50510 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50511 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50512 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50513 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50514 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50515 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50516 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50517 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50518 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50520 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50521 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50523 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50524 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50525 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50526 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50527 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50528 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50529 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50530 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50531 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50533 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50534 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50535 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50538 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50539 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50540 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50541 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50545 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50546 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50547 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50548 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50550 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50551 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50552 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50553 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50554 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50555 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50556 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50557 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50558 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50559 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50560 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50561 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50562 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50563 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50564 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50565 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50566 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50567 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50568 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50569 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50570 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50571 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50572 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50573 (__isnanf): Likewise.
50574 (__isinf_ns): Likewise.
50575 (__isinf_nsf): Likewise.
50576 (__finite): Likewise.
50577 (__finitef): Likewise.
50578 (__ieee754_sqrt): Define as macro.
50579 (__ieee754_sqrtf): Define as macro.
50580 (__ieee754_sqrtl): Define as macro.
50581 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50583 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50584 __FINITE_MATH_ONLY__ consistent.
50585 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50587 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50589 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50592 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50594 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50596 * po/ja.po: Update from translation team.
50598 2011-10-08 Roland McGrath <roland@hack.frob.com>
50600 * locale/programs/locarchive.c (prepare_address_space): New function.
50601 (create_archive, enlarge_archive, open_archive): Use it.
50603 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50604 inside [SHARED], where it is used.
50606 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50608 * nss/getent.c (netgroup_keys): Remove unused variable.
50609 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50611 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50613 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50614 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50616 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50617 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50618 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50619 * math/Makefile (libm-calls): Add s_isinf_ns.
50620 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50621 * math/multc3.c: Likewise.
50622 * math/s_casin.c: Likewise.
50623 * math/s_casinf.c: Likewise.
50624 * math/s_casinl.c: Likewise.
50625 * math/s_ccos.c: Likewise.
50626 * math/s_ccosf.c: Likewise.
50627 * math/s_ccosl.c: Likewise.
50628 * math/s_ctan.c: Likewise.
50629 * math/s_ctanf.c: Likewise.
50630 * math/s_ctanh.c: Likewise.
50631 * math/s_ctanhf.c: Likewise.
50632 * math/s_ctanhl.c: Likewise.
50633 * math/s_ctanl.c: Likewise.
50634 * math/w_fmod.c: Likewise.
50635 * math/w_fmodf.c: Likewise.
50636 * math/w_fmodl.c: Likewise.
50637 * math/w_remainder.c: Likewise.
50638 * math/w_remainderf.c: Likewise.
50639 * math/w_remainderl.c: Likewise.
50640 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50641 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50643 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50644 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50645 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50646 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50647 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50649 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50651 * stdio-common/printf_fphex.c: Likewise.
50652 * stdio-common/printf_size.c: Likewise.
50654 * math/e_exp10.c: Include math_private.h using <...> not "...".
50655 * math/e_exp10f.c: Likewise.
50656 * math/e_exp10l.c: Likewise.
50657 * math/e_exp2l.c: Likewise.
50658 * math/e_j0l.c: Likewise.
50659 * math/e_j1l.c: Likewise.
50660 * math/e_jnl.c: Likewise.
50661 * math/e_lgammal_r.c: Likewise.
50662 * math/e_rem_pio2l.c: Likewise.
50663 * math/e_scalb.c: Likewise.
50664 * math/e_scalbf.c: Likewise.
50665 * math/e_scalbl.c: Likewise.
50666 * math/k_cosl.c: Likewise.
50667 * math/k_sinl.c: Likewise.
50668 * math/k_tanl.c: Likewise.
50669 * math/s_cacoshf.c: Likewise.
50670 * math/s_catan.c: Likewise.
50671 * math/s_catanf.c: Likewise.
50672 * math/s_catanh.c: Likewise.
50673 * math/s_catanhf.c: Likewise.
50674 * math/s_catanhl.c: Likewise.
50675 * math/s_catanl.c: Likewise.
50676 * math/s_ccosh.c: Likewise.
50677 * math/s_ccoshf.c: Likewise.
50678 * math/s_ccoshl.c: Likewise.
50679 * math/s_cexp.c: Likewise.
50680 * math/s_cexpf.c: Likewise.
50681 * math/s_cexpl.c: Likewise.
50682 * math/s_clog.c: Likewise.
50683 * math/s_clog10.c: Likewise.
50684 * math/s_clog10f.c: Likewise.
50685 * math/s_clog10l.c: Likewise.
50686 * math/s_clogf.c: Likewise.
50687 * math/s_clogl.c: Likewise.
50688 * math/s_csin.c: Likewise.
50689 * math/s_csinf.c: Likewise.
50690 * math/s_csinh.c: Likewise.
50691 * math/s_csinhf.c: Likewise.
50692 * math/s_csinhl.c: Likewise.
50693 * math/s_csinl.c: Likewise.
50694 * math/s_csqrt.c: Likewise.
50695 * math/s_csqrtf.c: Likewise.
50696 * math/s_csqrtl.c: Likewise.
50697 * math/s_ctan.c: Likewise.
50698 * math/s_ctanf.c: Likewise.
50699 * math/s_ctanh.c: Likewise.
50700 * math/s_ctanhf.c: Likewise.
50701 * math/s_ctanhl.c: Likewise.
50702 * math/s_ctanl.c: Likewise.
50703 * math/s_ldexp.c: Likewise.
50704 * math/s_ldexpf.c: Likewise.
50705 * math/s_ldexpl.c: Likewise.
50706 * math/s_significand.c: Likewise.
50707 * math/s_significandf.c: Likewise.
50708 * math/s_significandl.c: Likewise.
50709 * math/w_acos.c: Likewise.
50710 * math/w_acosf.c: Likewise.
50711 * math/w_acosh.c: Likewise.
50712 * math/w_acoshf.c: Likewise.
50713 * math/w_acoshl.c: Likewise.
50714 * math/w_acosl.c: Likewise.
50715 * math/w_asin.c: Likewise.
50716 * math/w_asinf.c: Likewise.
50717 * math/w_asinl.c: Likewise.
50718 * math/w_atan2.c: Likewise.
50719 * math/w_atan2f.c: Likewise.
50720 * math/w_atan2l.c: Likewise.
50721 * math/w_atanh.c: Likewise.
50722 * math/w_atanhf.c: Likewise.
50723 * math/w_atanhl.c: Likewise.
50724 * math/w_cosh.c: Likewise.
50725 * math/w_coshf.c: Likewise.
50726 * math/w_coshl.c: Likewise.
50727 * math/w_dremf.c: Likewise.
50728 * math/w_exp10.c: Likewise.
50729 * math/w_exp10f.c: Likewise.
50730 * math/w_exp10l.c: Likewise.
50731 * math/w_exp2.c: Likewise.
50732 * math/w_exp2f.c: Likewise.
50733 * math/w_fmod.c: Likewise.
50734 * math/w_fmodf.c: Likewise.
50735 * math/w_fmodl.c: Likewise.
50736 * math/w_hypot.c: Likewise.
50737 * math/w_hypotf.c: Likewise.
50738 * math/w_hypotl.c: Likewise.
50739 * math/w_j0.c: Likewise.
50740 * math/w_j0f.c: Likewise.
50741 * math/w_j0l.c: Likewise.
50742 * math/w_j1.c: Likewise.
50743 * math/w_j1f.c: Likewise.
50744 * math/w_j1l.c: Likewise.
50745 * math/w_jn.c: Likewise.
50746 * math/w_jnf.c: Likewise.
50747 * math/w_jnl.c: Likewise.
50748 * math/w_lgamma.c: Likewise.
50749 * math/w_lgamma_r.c: Likewise.
50750 * math/w_lgammaf.c: Likewise.
50751 * math/w_lgammaf_r.c: Likewise.
50752 * math/w_lgammal.c: Likewise.
50753 * math/w_lgammal_r.c: Likewise.
50754 * math/w_log.c: Likewise.
50755 * math/w_log10.c: Likewise.
50756 * math/w_log10f.c: Likewise.
50757 * math/w_log10l.c: Likewise.
50758 * math/w_log2.c: Likewise.
50759 * math/w_log2f.c: Likewise.
50760 * math/w_log2l.c: Likewise.
50761 * math/w_logf.c: Likewise.
50762 * math/w_logl.c: Likewise.
50763 * math/w_pow.c: Likewise.
50764 * math/w_powf.c: Likewise.
50765 * math/w_powl.c: Likewise.
50766 * math/w_remainder.c: Likewise.
50767 * math/w_remainderf.c: Likewise.
50768 * math/w_remainderl.c: Likewise.
50769 * math/w_scalb.c: Likewise.
50770 * math/w_scalbf.c: Likewise.
50771 * math/w_scalbl.c: Likewise.
50772 * math/w_sinh.c: Likewise.
50773 * math/w_sinhf.c: Likewise.
50774 * math/w_sinhl.c: Likewise.
50775 * math/w_sqrt.c: Likewise.
50776 * math/w_sqrtf.c: Likewise.
50777 * math/w_sqrtl.c: Likewise.
50778 * math/w_tgamma.c: Likewise.
50779 * math/w_tgammaf.c: Likewise.
50780 * math/w_tgammal.c: Likewise.
50782 * po/ja.po: Update from translation team.
50784 2011-09-29 Andreas Jaeger <aj@suse.de>
50787 * sunrpc/netname.c (netname2host): Fix logic.
50791 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50793 * math/w_remainder.c (__remainder): Likewise.
50794 * math/w_remainderf.c (__remainderf): Likewise.
50795 * math/libm-test.inc (remainder_test): Add test cases.
50797 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50799 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50802 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50804 * string/test-memcmp.c: Avoid unncessary #defines.
50805 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50807 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50809 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50810 Use new sse2 version for core i3 - i7 as it's faster
50811 than sse42 version.
50812 (bit_Prefer_PMINUB_for_stringop): New.
50813 * sysdeps/x86_64/rawmemchr.S: Update.
50814 Replace with faster SSE2 version.
50815 * sysdeps/x86_64/memrchr.S: New file.
50816 * sysdeps/x86_64/memchr.S: Update.
50817 Replace with faster SSE2 version.
50819 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50821 * elf/dl-load.c (lose): Add cast to avoid warning.
50823 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50825 * po/ca.po: Update from translation team.
50827 * inet/getnetgrent_r.c: Hook up nscd.
50828 * nscd/Makefile (routines): Add nscd_netgroup.
50829 (nscd-modules): Add netgroupcache.
50830 (CFLAGS-netgroupcache.c): Define.
50831 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50832 (cache_search): Add const to second parameter.
50833 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50835 (dbs): Add netgrdb entry.
50836 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50837 (verify_persistent_db): Handle netgrdb.
50838 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50839 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50841 (netgroup_response_header): Define.
50842 (innetgroup_response_header): Define.
50843 (datahead): Add netgroup_response_header and innetgroup_response_header
50845 * nscd/nscd.conf: Add entries for netgroup cache.
50846 * nscd/nscd.h (dbtype): Add netgrdb.
50847 (_PATH_NSCD_NETGROUP_DB): Define.
50848 (netgroup_iov_disabled): Declare.
50849 (xmalloc, xcalloc, xrealloc): Move declarations here.
50850 (cache_search): Adjust prototype.
50851 Add netgroup-related prototypes.
50852 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50853 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50854 (__nscd_innetgr): Declare.
50855 * nscd/selinux.c (perms): Use access_vector_t as element type and
50856 add netgroup-related initializers.
50857 * nscd/netgroupcache.c: New file.
50858 * nscd/nscd_netgroup.c: New file.
50859 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50860 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50861 For four parameters use innetgr.
50862 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50863 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50864 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50865 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50867 * nscd/connections.c (register_traced_file): Don't register file
50868 for disabled databases.
50870 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50872 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50874 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50875 from tree and freeing node.
50877 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50879 * nss/nsswitch.c (__nss_database_lookup): Handle
50880 nss_parse_service_list out of memory case.
50882 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50884 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50885 out of memory case.
50887 2011-10-04 Andreas Schwab <schwab@redhat.com>
50889 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50890 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50892 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50893 elf_machine_rela, elf_machine_lazy_rel.
50894 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50895 (ELF_DYNAMIC_DO_REL): Likewise.
50896 (ELF_DYNAMIC_DO_RELA): Likewise.
50897 (ELF_DYNAMIC_RELOCATE): Likewise.
50898 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50899 to ELF_DYNAMIC_DO_REL.
50900 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50901 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50902 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50905 skip_ifunc, don't call ifunc function if non-zero.
50906 (elf_machine_rela): Likewise.
50907 (elf_machine_lazy_rel): Likewise.
50908 (elf_machine_lazy_rela): Likewise.
50909 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50910 (elf_machine_lazy_rel): Likewise.
50911 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50913 (elf_machine_lazy_rel): Likewise.
50914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50916 (elf_machine_lazy_rel): Likewise.
50917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50918 (elf_machine_lazy_rel): Likewise.
50919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50920 (elf_machine_lazy_rel): Likewise.
50921 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50922 (elf_machine_lazy_rel): Likewise.
50923 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50924 (elf_machine_lazy_rel): Likewise.
50925 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50926 (elf_machine_lazy_rel): Likewise.
50927 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50928 (elf_machine_lazy_rel): Likewise.
50930 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50932 * nss/nss_files/files-init.c (_nss_files_init): Use static
50933 initialization for all the *_traced_file variables.
50935 2011-09-28 Andreas Schwab <schwab@redhat.com>
50937 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50939 2011-09-27 Roland McGrath <roland@hack.frob.com>
50942 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50944 2011-09-27 Andreas Schwab <schwab@redhat.com>
50946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50947 Reread the line before reparsing it.
50949 2011-09-26 Andreas Schwab <schwab@redhat.com>
50951 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50953 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50954 Maxim Kuvyrkov <maxim@codesourcery.com>
50955 Joseph Myers <joseph@codesourcery.com>
50957 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50958 if needed for __stack_chk_guard.
50960 2011-09-19 Roland McGrath <roland@hack.frob.com>
50962 * sysdeps/posix/spawni.c (script_execute): Always define it.
50963 It will be optimized away if unused.
50964 (maybe_script_execute): New function.
50965 (__spawni): Call it.
50967 * Makerules: Don't include tls.make.
50968 (config-tls): Always set to thread.
50969 * tls.make.c: File removed.
50971 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50973 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50974 * config.make.in (CPPFLAGS-config): New substituted variable.
50976 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50978 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50981 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50982 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50984 2011-09-15 Roland McGrath <roland@hack.frob.com>
50986 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50987 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50988 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50989 (CALL_FAIL): Likewise.
50990 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50991 (CALL_FAIL): Macro removed.
50992 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50994 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50996 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50997 for __FINITE_MATH_ONLY__ == 1.
50999 2011-09-15 Andreas Schwab <schwab@redhat.com>
51001 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51002 __ieee754_sqrt instead of sqrt.
51003 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51004 __ieee754_sqrtf instead of sqrtf.
51005 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51006 __floorf instead of floorf.
51007 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51008 __floorf, __truncf instead of floorf, truncf.
51010 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51012 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51014 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51015 __extern_always_inline.
51016 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51019 2011-09-14 Andreas Schwab <schwab@redhat.com>
51021 * elf/rtld.c (dl_main): Also relocate in dependency order when
51022 doing symbol dependency testing.
51024 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51026 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51027 Always define `refsym'.
51029 2011-09-13 Andreas Schwab <schwab@redhat.com>
51031 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51032 (__FD_ELT): Renamed from __FDELT.
51033 * misc/bits/select2.h (__FD_ELT): Likewise.
51034 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51035 __FD_MASK instead of __FDELT, __FDMASK.
51036 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51038 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51041 * elf/Makefile (gen-ldd): Fix pattern.
51043 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51044 (init_tls): Likewise.
51046 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51050 2011-09-12 Andreas Schwab <schwab@redhat.com>
51052 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51053 `struct cmsghdr *' instead of `void *'.
51054 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51057 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51059 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51061 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51062 ldd_rewrite_script.
51064 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51066 * configure.in: Remove --with-tls option.
51067 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51068 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51069 out in case it is missing.
51070 * sysdeps/ia64/elf/configure.in: Likewise.
51071 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51072 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51073 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51074 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51075 * sysdeps/sh/elf/configure.in: Likewise.
51076 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51077 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51078 * sysdeps/x86_64/elf/configure.in: Likewise.
51079 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51080 * sysdeps/mach/hurd/tls.h: Likewise.
51083 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51086 * configure.in: Fix use of AC_INIT.
51088 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51090 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51092 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51094 * malloc/hooks.c: Likewise.
51097 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51098 variables statically.
51099 (narenas): Initialize.
51100 (list_lock): Initialize.
51101 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51102 initializtion of main_arena and list_lock. Small cleanups.
51103 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51104 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51105 Add initializers to main_arena and mp_.
51106 (malloc_state): Remove pagesize member. Change all users to use
51109 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51110 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51111 is always initialized.
51113 * malloc/malloc.c: Removed unused configurations and dead code.
51114 * malloc/arena.c: Likewise.
51115 * malloc/hooks.c: Likewise.
51116 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51118 * include/tls.h: Removed. USE___THREAD must always be defined.
51119 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51120 * elf/dl-libc.c: Likewise.
51121 * elf/dl-tsd.c: Likewise.
51122 * include/errno.h: Likewise.
51123 * include/netdb.h: Likewise.
51124 * include/resolv.h: Likewise.
51125 * inet/herrno-loc.c: Likewise.
51126 * inet/herrno.c: Likewise.
51127 * malloc/arena.c: Likewise.
51128 * malloc/hooks.c: Likewise.
51129 * malloc/malloc.c: Likewise.
51130 * resolv/res-state.c: Likewise.
51131 * resolv/res_libc.c: Likewise.
51132 * sysdeps/i386/dl-machine.h: Likewise.
51133 * sysdeps/ia64/dl-machine.h: Likewise.
51134 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51135 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51136 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51137 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51138 * sysdeps/sh/dl-machine.h: Likewise.
51139 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51140 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51141 * sysdeps/unix/i386/sysdep.S: Likewise.
51142 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51143 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51146 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51148 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51151 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51152 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51153 * sysdeps/x86_64/dl-machine.h: Likewise.
51154 * tls.make.c: Likewise.
51156 * configure.in: Remove --with-__thread option. Make tests for
51157 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51158 tls_model attribute fail if no support is available. Remove
51160 * Makeconfig: Adjust for dropped configure option. All features are
51162 * Makerules: Likewise.
51163 * Versions.def: Likewise.
51164 * argp/argp-fmtstream.c: Likewise.
51165 * argp/argp-fmtstream.h: Likewise.
51166 * argp/argp-help.c: Likewise.
51167 * assert/assert.c: Likewise.
51168 * config.h.in: Likewise.
51169 * config.make.in: Likewise.
51170 * configure: Likewise.
51171 * configure.in: Likewise.
51172 * csu/Versions: Likewise.
51173 * csu/init.c: Likewise.
51174 * elf/tst-audit2.c: Likewise.
51175 * elf/tst-tls10.c: Likewise.
51176 * elf/tst-tls10.h: Likewise.
51177 * elf/tst-tls11.c: Likewise.
51178 * elf/tst-tls12.c: Likewise.
51179 * elf/tst-tls14.c: Likewise.
51180 * elf/tst-tlsmod11.c: Likewise.
51181 * elf/tst-tlsmod12.c: Likewise.
51182 * elf/tst-tlsmod13.c: Likewise.
51183 * elf/tst-tlsmod13a.c: Likewise.
51184 * elf/tst-tlsmod14a.c: Likewise.
51185 * elf/tst-tlsmod15b.c: Likewise.
51186 * elf/tst-tlsmod16a.c: Likewise.
51187 * elf/tst-tlsmod16b.c: Likewise.
51188 * elf/tst-tlsmod7.c: Likewise.
51189 * elf/tst-tlsmod8.c: Likewise.
51190 * elf/tst-tlsmod9.c: Likewise.
51191 * gmon/gmon.c: Likewise.
51192 * grp/fgetgrent_r.c: Likewise.
51193 * grp/putgrent.c: Likewise.
51194 * hurd/fopenport.c: Likewise.
51195 * include/libc-symbols.h: Likewise.
51196 * include/tls.h: Likewise.
51197 * intl/gettextP.h: Likewise.
51198 * intl/loadinfo.h: Likewise.
51199 * locale/global-locale.c: Likewise.
51200 * locale/localeinfo.h: Likewise.
51201 * mach/devstream.c: Likewise.
51202 * malloc/arena.c: Likewise.
51203 * malloc/set-freeres.c: Likewise.
51204 * misc/err.c: Likewise.
51205 * misc/getttyent.c: Likewise.
51206 * misc/mntent_r.c: Likewise.
51207 * posix/getopt.c: Likewise.
51208 * posix/wordexp.c: Likewise.
51209 * pwd/fgetpwent_r.c: Likewise.
51210 * resolv/Versions: Likewise.
51211 * resolv/res_hconf.c: Likewise.
51212 * shadow/fgetspent_r.c: Likewise.
51213 * shadow/putspent.c: Likewise.
51214 * stdio-common/printf_fphex.c: Likewise.
51215 * stdio-common/tmpfile.c: Likewise.
51216 * stdlib/abort.c: Likewise.
51217 * stdlib/fmtmsg.c: Likewise.
51218 * sunrpc/auth_unix.c: Likewise.
51219 * sunrpc/clnt_perr.c: Likewise.
51220 * sunrpc/clnt_tcp.c: Likewise.
51221 * sunrpc/clnt_udp.c: Likewise.
51222 * sunrpc/clnt_unix.c: Likewise.
51223 * sunrpc/openchild.c: Likewise.
51224 * sunrpc/svc_simple.c: Likewise.
51225 * sunrpc/svc_tcp.c: Likewise.
51226 * sunrpc/svc_udp.c: Likewise.
51227 * sunrpc/svc_unix.c: Likewise.
51228 * sunrpc/xdr.c: Likewise.
51229 * sunrpc/xdr_array.c: Likewise.
51230 * sunrpc/xdr_rec.c: Likewise.
51231 * sunrpc/xdr_ref.c: Likewise.
51232 * sunrpc/xdr_stdio.c: Likewise.
51234 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51236 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51238 2011-07-03 Andreas Jaeger <aj@suse.de>
51240 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51241 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51242 regenerate with gen-libm-tests.pl.
51244 2010-05-12 Petr Baudis <pasky@suse.cz>
51247 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51248 around j0() zero points by switching to j1().
51249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51250 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51252 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51254 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51256 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51258 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51261 Patch in part by Pavel Roskin <proski@gnu.org>.
51264 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51266 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51267 Free memory block if necessary.
51270 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51271 be NULL. Don't lock in this case.
51273 2011-09-09 Roland McGrath <roland@hack.frob.com>
51275 * elf/elf.h (ELFOSABI_GNU): New macro.
51276 (ELFOSABI_LINUX): Define to that.
51278 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51280 * string/strncat.c (strncat): Undef the symbol in case it has been
51281 defined in bits/string.h.
51283 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51285 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51287 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51290 2011-08-17 Andreas Jaeger <aj@suse.de>
51292 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51294 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51295 Ian Lance Taylor <iant@google.com>
51297 * math/libm-test.inc (lround_test): New testcase.
51298 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51300 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51302 * Makefile: Remove support for automatic cvs check-ins.
51303 * Makerules: Likewise.
51304 * config.make.in: Likewise.
51305 * configure.in: Likewise.
51306 * intl/Makefile: Likewise.
51307 * locale/Makefile: Likewise.
51308 * po/Makefile: Likewise.
51309 * posix/Makefile: Likewise.
51310 * sysdeps/gnu/Makefile: Likewise.
51311 * sysdeps/mach/hurd/Makefile: Likewise.
51312 * sysdeps/sparc/sparc32/Makefile: Likewise.
51315 * posix/Makefile (bug-regex32-ENV): Define.
51316 Patch by John Stanley <jpsinthemix@verizon.net>.
51318 * misc/Makefile (headers): Add bits/select2.h.
51319 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51320 * misc/bits/select2.h: New file.
51321 * include/bits/select2.h: New file.
51322 * debug/Makefile (routines): Add fdelt_chk.
51323 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51324 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51326 * debug/fdelt_chk.c: New file.
51328 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51329 * wcsmbs/test-wmemcmp.c: Likewise.
51330 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51331 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51333 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51335 * string/Makefile (strop-tests): Add memcmp.
51336 * string/test-wmemcmp.c: New file.
51337 * string/test-memcmp.c: Add wmemcmp support.
51339 2011-09-08 Roland McGrath <roland@hack.frob.com>
51342 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51345 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51346 garbage value in a __mach_port_mod_refs call in the cases of the
51347 task-self and thread-self ports.
51349 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51351 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51353 2011-09-08 Andreas Schwab <schwab@redhat.com>
51355 * elf/dl-load.c (lose): Check for non-null L.
51357 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51359 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51361 * elf/dl-libc.c (dlerror_run): Pass back error code from
51365 * elf/dl-load.c (lose): Free l_origin if it is valid.
51367 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51370 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51371 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51373 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51374 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51376 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51378 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51379 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51380 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51381 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51382 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51383 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51384 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51385 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51386 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51387 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51389 2011-08-15 Alan Modra <amodra@gmail.com>
51392 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51393 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51394 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51395 ppc_mcount to static-only-routines.
51396 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51398 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51399 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51401 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51403 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51404 for finite and infinity parameters.
51406 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51409 and add nop instructions for throughput optimization.
51410 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51412 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51414 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51415 aligned copy for power7 with vector-scalar instructions.
51416 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51418 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51423 2011-09-07 Andreas Schwab <schwab@redhat.com>
51426 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51429 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51431 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51432 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51433 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51434 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51437 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51439 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51440 Forgot to demangle the pointer.
51442 * sysdeps/i386/sysdep.h: Define atom_text_section.
51443 * sysdeps/x86_64/sysdep.h: Likewise.
51444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51445 section with atom_text_section.
51446 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51447 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51448 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51449 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51450 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51452 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51453 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51454 already be defined. Change to take two parameters and don't assign
51455 result to variable. Adjust all users.
51456 Define INTERNAL_GETTIME if not already defined.
51457 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51460 HAVE_CLOCK_GETTIME_VSYSCALL.
51461 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51464 gettimeofday vsyscall, just use time.
51466 2011-09-06 Andreas Schwab <schwab@redhat.com>
51468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51471 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51473 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51475 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51477 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51479 syscall if possible.
51481 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51483 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51484 e_ident. Don't pass to find_mapsXX.
51485 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51487 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51490 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51491 * sysdeps/x86_64/multiarch/strchr.S: Update.
51492 Check bit_slow_BSF bit.
51493 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51494 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51495 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51497 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51500 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51502 (tryshell): Define.
51503 (__spawni): Change last parameter to be flag. Test
51504 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51505 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51506 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51507 * posix/spawni.c: Likewise.
51508 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51509 * posix/spawnp.c: Likewise. Change normal version to use
51510 SPAWN_XFLAGS_USE_PATH.
51511 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51512 SPAWN_XFLAGS_TRY_SHELL.
51515 * posix/glob.h: Remove gcc 1.x support.
51518 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51520 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51523 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51525 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51526 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51527 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51528 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51529 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51530 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51532 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51534 * sysdeps/x86_64/wcscmp.S: New file.
51536 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51537 wcscmp-c wcscmp-sse2
51538 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51539 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51540 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51541 * wcsmbs/wcscmp.c: Allow renaming.
51543 2011-09-05 David S. Miller <davem@davemloft.net>
51545 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51546 stack slot, rather than the struct return pointer slot.
51547 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51548 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51550 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51552 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51554 * po/ja.po: Update from translation team.
51557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51558 kernel in 64-bit binaries.
51560 2011-09-01 David S. Miller <davem@davemloft.net>
51562 * elf/elf.h (HWCAP_SPARC_*): Move to..
51563 * sysdeps/sparc/sysdep.h: this new file and add new values.
51564 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51565 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51566 _DL_HWCAP_COUNT to 24.
51567 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51569 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51570 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51571 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51573 instead of magic constants.
51574 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51576 2011-08-31 David S. Miller <davem@davemloft.net>
51578 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51579 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51580 Reimplement to do errno handling inline.
51581 (SYSCALL_ERROR_HANDLER): New macro.
51582 (__SYSCALL_STRING): Do not do errno handling in asm.
51583 (__CLONE_SYSCALL_STRING): Delete.
51584 (__INTERNAL_SYSCALL_STRING): Delete.
51585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51586 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51587 (PSEUDO): Reimplement to do errno handling inline.
51588 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51589 (SYSCALL_ERROR_HANDLER): New macro.
51590 (__SYSCALL_STRING): Do not do errno handling in asm.
51591 (__CLONE_SYSCALL_STRING): Delete.
51592 (__INTERNAL_SYSCALL_STRING): Delete.
51593 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51594 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51596 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51597 (inline_syscall*): Add 'err' argument.
51598 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51599 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51600 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51601 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51603 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51604 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51606 2011-08-30 Andreas Schwab <schwab@redhat.com>
51608 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51610 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51612 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51615 2011-08-24 David S. Miller <davem@davemloft.net>
51617 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51619 2011-08-24 Andreas Schwab <schwab@redhat.com>
51621 * elf/Makefile: Add rules to build and run unload8 test.
51622 * elf/unload8.c: New file.
51623 * elf/unload8mod1.c: New file.
51624 * elf/unload8mod1x.c: New file.
51625 * elf/unload8mod2.c: New file.
51626 * elf/unload8mod3.c: New file.
51628 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51631 2011-08-23 David S. Miller <davem@davemloft.net>
51633 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51634 subtract stack bias.
51635 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51636 %sp not %fp in calculations.
51637 (_JMPBUF_UNWINDS_ADJ): Likewise.
51639 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51640 (aio_suspend): Call it to force an exception region around the
51641 AIO_MISC_WAIT() invocation.
51643 2011-08-23 Andreas Schwab <schwab@redhat.com>
51645 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51648 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51650 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51652 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51653 and <dl-machine.h>.
51654 (Elf64_FuncDesc): Remove.
51656 2011-08-22 David S. Miller <davem@davemloft.net>
51658 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51659 sigaltstack check, add missing cfi directives.
51660 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51661 missing cfi directives, and sigaltstack handling.
51663 2011-08-16 Andreas Schwab <schwab@redhat.com>
51666 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51667 object is seen twice.
51668 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51670 * elf/Makefile (distribute): Add tst-initorder2.c.
51671 (tests): Add tst-initorder2.
51672 (modules-names): Add tst-initorder2a tst-initorder2b
51673 tst-initorder2c tst-initorder2d. Add rules to build them.
51674 ($(objpfx)tst-initorder2.out): New rule.
51675 * elf/tst-initorder2.c: New file.
51676 * elf/tst-initorder2.exp: New file.
51678 2011-08-22 Andreas Schwab <schwab@redhat.com>
51680 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51682 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51683 dependencies back to end of function.
51685 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51686 $(elfobjdir)/ld.so.
51688 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51691 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51693 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51694 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51695 of __vdso_gettimeofday.
51696 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51697 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51699 (_libc_vdso_platform_setup): Remove initialization of
51700 __vdso_gettimeofday and __vdso_time.
51702 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51704 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51705 and fgetc_unlocked.
51706 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51709 * elf/dl-open.c (add_to_global): Report additions to the global scope
51710 for LD_DEBUG=scopes.
51711 (dl_open_worker): Also print scope of newly loaded dependencies.
51712 (_dl_show_scope): Indicate if there is no scope.
51715 * stdio-common/Makefile (tests): Add bug24.
51716 * stdio-common/bug24.c: New file.
51718 2011-08-19 Andreas Jaeger <aj@suse.de>
51721 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51722 non-existant file when using close-on-exec mode.
51724 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51727 the very first instruction.
51729 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51730 the CFI state in the end.
51731 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51732 inclusion of dl-trampoline.h.
51733 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51735 2011-08-19 Andreas Schwab <schwab@redhat.com>
51737 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51738 expectations for long double.
51740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51741 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51743 2011-08-14 David S. Miller <davem@davemloft.net>
51745 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51746 artificual limit depends upon the system page size.
51748 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51750 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51751 * resolv/Makefile: Define CFLAGS-libresolv.
51753 2011-08-17 Andreas Schwab <schwab@redhat.com>
51755 * nss/makedb.c (compute_tables): Make variables used in nested
51758 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51760 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51761 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51762 if buffer was too small.
51764 * elf/pldd.c (main): Attach to all threads in the process.
51765 Rewrite /proc handling to use *at functions.
51767 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51769 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51770 specifies first scope to show.
51771 (dl_open_worker): Update callers. Move printing scope of new
51772 object to before the relocation.
51773 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51774 * sysdeps/generic/ldsodefs.h: Update declaration.
51776 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51777 string for the scope number.
51779 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51781 * nscd/servicescache.c (cache_addserv): Make sure written is always
51784 2011-08-14 Roland McGrath <roland@hack.frob.com>
51786 * sysdeps/i386/i486/bits/atomic.h
51787 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51788 statement expression, so as to suppress "set but not used" warning.
51789 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51791 * string/strncat.c (STRNCAT): Use prototype definition.
51793 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51794 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51796 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51797 (localedef-modules): Add localedef.
51798 (locale-modules): Add locale.
51800 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51801 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51802 to avoid a warning.
51804 2011-08-14 David S. Miller <davem@davemloft.net>
51806 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51807 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51809 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51811 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51812 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51813 * elf/rtld.c (dl_main): Set l_name of vDSO.
51814 Call _dl_show_scope when DL_DEBUG_SCOPES.
51815 (process_dl_debug): Recognize scopes flag and also set it for all.
51816 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51817 Declare _dl_show_scope.
51819 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51820 (do_dlopen): Pass caller_dlopen to dl_open.
51821 (__libc_dlopen_mode): Initialize caller_dlopen.
51823 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51824 of libc. Make tolower call locale-independent. Optimize a bit by
51825 using isdigit instead of isalnum.
51826 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51828 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51830 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51831 was a dependency or dynamically loaded.
51833 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51835 * intl/l10nflist.c: Allow architecture-specific pop function.
51836 * sysdeps/x86_64/l10nflist.c: New file.
51838 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51841 2011-08-10 Andreas Schwab <schwab@redhat.com>
51843 * include/dirent.h: Add libc_hidden_proto for scandirat and
51844 scandirat64. Don't declare __scandirat64.
51845 * dirent/scandirat.c: Add libc_hidden_def.
51846 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51847 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51849 2011-08-10 David S. Miller <davem@davemloft.net>
51851 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51853 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51854 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51855 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51857 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51859 * Versions.def [libc]: Add GLIBC_2.15.
51860 * dirent/Makefile (routines): Add scandirat and scandirat64.
51861 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51863 * dirent/dirent.h: Declare scandirat and scandirat64.
51864 * dirent/scandirat.c: New file.
51865 * dirent/scandirat64.c: New file.
51866 * sysdeps/wordsize-64/scandirat.c: New file.
51867 * sysdeps/wordsize-64/scandirat64.c: New file.
51868 * dirent/opendir.c: Define opendirat.
51869 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51871 * dirent/scandir64.c: Adjust for scandir.c change.
51872 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51873 __scandirat64, and __scandir_cancel_handler.
51874 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51875 additional parameter and use openat instead of open (outside of ld.so).
51876 Add new __opendir as wrapper around __opendirat.
51877 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51878 here without requiring old scandirat implementation.
51880 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51882 * dirent/scandir.c (cancel_handler): Renamed to
51883 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51884 defined. Adjust users.
51885 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51886 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51888 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51890 * string/test-string.h (IMPL): Use __STRING to expand name and then
51893 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51896 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51898 * string/Makefile: Update.
51899 (strop-tests): Append strncat.
51900 * string/test-wcscmp.c: New file.
51901 New comprehensive test for wcscmp.
51902 * string/test-strcmp.c: Update.
51903 (WIDE): New define.
51905 2011-07-22 Andreas Schwab <schwab@redhat.com>
51907 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51910 2011-07-26 Andreas Schwab <schwab@redhat.com>
51912 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51913 encoding to ACE if AI_IDN.
51915 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51917 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51918 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51920 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51922 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51923 Fix overflow bug in strncat.
51924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51926 * string/test-strncat.c: Update.
51927 Add new tests for checking overflow bugs.
51929 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51932 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51933 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51934 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51935 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51936 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51937 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51938 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51939 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51942 (USE_AS_STRCAT): Define.
51943 Add strcat and strncat support.
51944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51946 2011-07-25 Andreas Schwab <schwab@redhat.com>
51948 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51949 __n bigger than INT_MAX+1.
51950 (__strncmp_g): Likewise.
51952 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51954 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51955 * libio/stido.h: Likewise.
51957 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51962 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51965 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51969 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51972 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51974 (_dl_x86_64_save_sse): Likewise.
51976 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51980 (_dl_x86_64_save_sse): Likewise.
51982 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51984 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51986 2011-07-21 Andreas Schwab <schwab@redhat.com>
51988 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51990 (_dl_x86_64_save_sse): Use correct AVX check.
51992 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51994 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51995 bug in strncpy/strncat.
51996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51998 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52000 * string/tester.c (test_strcat): Add tests for different alignments
52001 of source and destination.
52002 (test_strncat): Likewise.
52004 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52007 * posix/glob.c (glob): Check passed in values before using them in
52008 expressions to avoid some overflows.
52009 (glob_in_dir): Likewise.
52012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52013 check for AVX enablement so that we don't crash with old kernels and
52015 * elf/tst-audit4.c: Add same checks here.
52016 * elf/tst-audit6.c: Likewise.
52018 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52020 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52022 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52024 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52026 * po/cs.po: Update from translation team.
52027 * po/bg.po: Likewise.
52029 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52031 * misc/sys/cdefs.h: Add support for const attribute.
52032 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52033 to gnu_dev_{major,minor,makedev} functions.
52035 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52037 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52039 2011-07-20 Andreas Schwab <schwab@redhat.com>
52041 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52044 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52046 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52047 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52048 register in order to avoid conflicts with the soft frame pointer
52049 being held in r11 when necessary.
52050 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52051 (INTERNAL_VSYSCALL_NCS): Likewise.
52053 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52055 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52056 * elf/dl-fini.c (_dl_fini): Adjust caller.
52057 * elf/dl-close.c (_dl_close_worker): Likewise.
52058 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52060 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52062 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52063 "aux_cache->nlibs < 0".
52065 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52066 in the reload-count case.
52068 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52070 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52071 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52072 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52073 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52074 * sysdeps/x86_64/multiarch/strcat.S: New file.
52075 * sysdeps/x86_64/multiarch/strncat.S: New file.
52076 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52077 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52078 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52079 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52080 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52081 (USE_AS_STRCAT): Define.
52082 Add strcat and strncat support.
52083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52084 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52085 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52086 * string/strncat.c: Update.
52087 (USE_AS_STRNCAT): Define.
52088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52089 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52091 * sysdeps/x86_64/multiarch/init-arch.h
52092 (bit_Prefer_PMINUB_for_stringop): New.
52093 (index_Prefer_PMINUB_for_stringop): Likewise.
52094 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52095 bit_Prefer_PMINUB_for_stringop.
52097 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52099 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52101 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52102 of casting of buffer.
52103 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52104 buffer32 and buffer64.
52105 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52106 writes instead of casting of buffer.
52107 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52109 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52112 2011-07-19 Andreas Schwab <schwab@redhat.com>
52114 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52116 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52118 * nscd/nscd.c (termination_handler): Don't do anything for a database
52119 if it has not yet been initialized.
52121 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52123 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52125 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52127 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52129 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52131 * po/nl.po: Update from translation team.
52132 * po/sv.po: Likewise.
52134 2011-07-16 Roland McGrath <roland@hack.frob.com>
52136 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52137 now disallowed by GCC.
52139 * configure.in (use-default-link): Default to yes if a test -shared
52140 link meets our qualifications.
52141 * configure: Regenerated.
52143 * config.make.in (output-format): New variable.
52144 * configure.in: Check for ld --print-output-format support.
52145 * configure: Regenerated.
52146 * Makerules ($(common-objpfx)format.lds)
52147 [$(output-format) != unknown]: Just use $(output-format),
52148 instead of the linker-script munging.
52150 2011-07-14 Roland McGrath <roland@hack.frob.com>
52152 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52153 of $(common-objpfx)shlib.lds.
52154 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52156 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52157 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52159 * configure.in (-z relro check): Adjust test code to add a large
52160 writable data section after it.
52161 * configure: Regenerated.
52163 2011-07-11 Roland McGrath <roland@hack.frob.com>
52165 * configure.in (-z relro check): Fix test code to make the variable
52167 * configure: Regenerated.
52169 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52171 * nscd/nscd.h (struct traced_file): Define.
52172 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52173 elements. Add traced_files.
52174 (inotify_fd): Declare.
52175 (register_traced_file): Declare.
52176 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52177 (inotify_fd): Export.
52178 (resolv_conf_descr): Remove.
52179 (nscd_init): Move inotify descriptor creation to main.
52180 Don't register files for notification here.
52181 (register_traced_file): New function.
52182 (invalidate_cache): Don't use reset_res to determine whether to call
52183 res_init, go through the list of registered files.
52184 (main_loop_poll): The inotify descriptors are now stored in the
52185 structures for the traced files.
52186 (main_loop_epoll): Likewise
52187 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52188 to __nss_disable_nscd.
52189 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52190 for a database anymore. Check the records for all the registered
52192 * nss/Makefile (libnss_files-routines): Add files-init.
52193 (libnss_db-routines): Add db-init.
52194 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52195 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52196 * nss/nss_db/db-init.c: New file.
52197 * nss/nss_files/files-init.c: New file.
52198 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52199 __nss_lookup_function.
52200 (__nss_lookup_function): Call nss_load_library.
52201 (nss_load_all_libraries): New function.
52202 (__nss_disable_nscd): Take parameter with callback function for files
52203 to register. Set is_nscd. Load all the DSOs for the NSS modules
52204 used for the cached services.
52205 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52206 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52207 options for features to all the files in nscd.
52209 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52211 2011-07-10 Roland McGrath <roland@hack.frob.com>
52213 * csu/elf-init.c (__libc_csu_init): Comment typo.
52215 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52217 * po/pl.po: Update from translation team.
52218 * po/ja.po: Likewise.
52219 * po/ru.po: Likewise.
52220 * po/ko.po: Likewise.
52221 * po/fr.po: Likewise.
52223 2011-07-09 Roland McGrath <roland@hack.frob.com>
52225 * configure.in (.ctors/.dtors header and trailer check):
52226 Use an empirical test on a built program.
52227 * configure: Regenerated.
52229 * configure.in (-z relro check): Use an empirical test on a built DSO.
52230 Detect, but do not require, on ia64.
52231 * configure: Regenerated.
52233 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52234 Update tests that use readelf to use $READELF instead.
52235 * configure: Regenerated.
52237 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52239 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52240 if the result is not used.
52242 2011-07-05 Andreas Jaeger <aj@suse.de>
52245 * stdlib/tst-strtod.c: Add testcase.
52247 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52249 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52250 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52251 The latter has a higher limit. Take additional parameter to pass to
52253 (__pathconf): Pass file to __statfs_link_max.
52254 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52256 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52260 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52264 (__statfs_filesize_max): Likewise.
52265 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52267 2011-07-05 Andreas Jaeger <aj@suse.de>
52269 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52271 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52273 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52275 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52278 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52280 * Makefile (strop-tests): Add strncat.
52281 * string/test-strncat.c: New file.
52283 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52285 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52287 2011-06-21 Andreas Jaeger <aj@suse.de>
52289 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52290 Copy rule from iconvdata/Makefile.
52292 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52295 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52296 but no long options are defined, just return 'W'.
52298 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52301 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52303 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52305 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52307 (innetgr): Likewise.
52309 2011-07-05 Roland McGrath <roland@hack.frob.com>
52311 * config.make.in (install_root): Default to $(DESTDIR).
52313 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52315 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52317 2011-07-02 Roland McGrath <roland@hack.frob.com>
52319 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52321 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52322 containing directory rather than embedding absolute directory names.
52324 * scripts/check-local-headers.sh: Rewritten using awk.
52325 Match by word, not by line. Print error messages for matches.
52326 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52328 * Makerules [shlib-lds-flags empty]:
52329 ($(common-objpfx)libc_pic.opts): New target.
52330 ($(common-objpfx)libc_pic.os.clean): New target.
52331 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52333 * config.make.in (OBJCOPY): New variable.
52334 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52335 * configure: Regenerated.
52337 * config.make.in (use-default-link): New variable.
52338 * configure.in (use_default_link): Grok --with-default-link to set it.
52339 * configure: Regenerated.
52340 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52341 (shlib-lds, shlib-lds-flags): Define to empty.
52343 * Makerules (shlib-lds): New variable.
52344 (shlib-lds-flags): New variable.
52345 (build-shlib, build-moduile, build-module-asneeded): Use it.
52346 ($(common-objpfx)libc.so): Use $(shlib-lds).
52347 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52348 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52350 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52351 DT_FLAGS/DT_FLAGS_1 with zero flags.
52353 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52354 linker script munging.
52356 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52358 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52360 * crypt/sha512.c (sha512_process_block): Perform total addition using
52361 128-bit if possible.
52362 (__sha512_finish_ctx): Likewise.
52363 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52365 * crypt/sha256.c (SWAP64): Define.
52366 (sha256_process_block): Perform total addition using 64-bit if
52368 (__sha256_finish_ctx): Likewise.
52370 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52372 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52373 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52374 * nscd/hstcache.c (cache_addhst): Likewise.
52375 * nscd/grpcache.c (cache_addgr): Likewise.
52376 * nscd/aicache.c (addhstaiX): Likewise
52377 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52379 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52381 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52383 * nscd/hstcache.c (cache_addhst): Likewise.
52384 * nscd/grpcache.c (cache_addgr): Likewise.
52385 * nscd/aicache.c (addhstaiX): Likewise
52387 2011-07-01 Andreas Schwab <schwab@redhat.com>
52389 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52390 domain only when needed.
52392 2011-06-30 Andreas Schwab <schwab@redhat.com>
52394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52395 is always restored.
52397 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52399 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52400 are re-adding the entry.
52401 * nscd/servicescache.c (cache_addserv): Likewise.
52403 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52405 * sysdeps/generic/dl-irel.h: fix protection against multiple
52407 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52409 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52412 * malloc/memusage.sh: Fix quoting in message.
52413 * debug/xtrace.sh: Likewise.
52415 * configure.in: Remove support for --experimental-malloc option, make
52417 * config.make.in: Likewise.
52418 * malloc/Makefile: Likewise.
52420 2011-06-27 Andreas Schwab <schwab@redhat.com>
52422 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52423 two-byte characters.
52425 2011-06-27 Roland McGrath <roland@hack.frob.com>
52427 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52428 AC_CACHE_CHECK invocation.
52429 * configure: Regenerated.
52431 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52433 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52436 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52437 bit from old_res_options.
52439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52441 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52442 value type for setfct.
52444 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52447 __gettimeofday instead of gettimeofday.
52449 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52451 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52453 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52455 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52457 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52460 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52463 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52464 strcpy-sse2-unaligned strncpy-sse2-unaligned
52465 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52466 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52467 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52468 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52469 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52471 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52472 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52473 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52474 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52475 (STRCPY): Support SSE2 and SSSE3 versions.
52477 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52480 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52481 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52482 kernels which artificially limit size of requests.
52484 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52487 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52488 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52489 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52490 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52491 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52492 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52493 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52494 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52495 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52496 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52497 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52498 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52499 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52500 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52502 Enable unaligned load optimization for Intel Core i3, i5 and i7
52504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52506 (index_Fast_Unaligned_Load): Define.
52507 (HAS_FAST_UNALIGNED_LOAD): Define.
52509 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52511 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52513 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52517 until it is clear that the information is realy needed.
52518 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52520 2011-06-22 Andreas Schwab <schwab@redhat.com>
52522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52524 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52526 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52527 /sys/devices/system/cpu/online if it is usable.
52529 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52530 reading the information from the /proc filesystem to once a second.
52532 2011-06-21 Andreas Jaeger <aj@suse.de>
52534 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52535 NULL after inclusion of kernel headers.
52537 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52539 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52540 calls to internal_setent.
52543 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52544 addresses using gethostbyname4_r ignore IPv4 addresses.
52546 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52547 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52549 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52551 2011-06-20 David S. Miller <davem@davemloft.net>
52553 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52555 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52557 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52558 (elf_irel): Use it.
52559 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52560 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52561 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52562 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52563 * sysdeps/x86_64/dl-irel.h: Likewise.
52565 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52566 * elf/dl-sym.c: Likewise.
52568 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52570 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52571 need to dereference resplen2.
52573 2011-06-14 Andreas Schwab <schwab@redhat.com>
52575 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52577 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52579 * Makeconfig: Define vardbdir and inst_vardbdir.
52580 * nss/Makefile: Add rules to install db-Makefile.
52582 * nss/nss_db/db-XXX.c: Cleanup.
52584 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52585 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52587 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52588 * nss/makedb.c: Implement -g option to specify that value strings
52589 are generated and should not be added to table iterated over for
52591 * nss/nss_db/db-initgroups.c: New file.
52593 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52596 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52597 (internal_getgrouplist): Adjust to name change.
52598 Update use_initgroups_entry if this is not the first call.
52599 * nss/databases.def: Add initgroups entry.
52601 * nss/makedb.c (compute_tables): Check result of multiple hash table
52602 sizes to minimize maximum chain length.
52604 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52606 * Versions.def: Add entry for libnss_db.
52607 * shlib-versions: Likewise.
52608 * nss/Makefile: Add rules to build libnss_db.
52609 * nss/Versions: Add libnss_db information. Organize libnss_files
52611 * nss/db-Makefile: Add gshadow support. Change rules for the new
52612 makedb progra. Some minor improvements to generate smaller files.
52613 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52615 * nss/makedb.c: ...here.
52616 Improve database format to be smaller and require less memory at
52618 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52620 * nss/nss_db/db-netgrp.c: Likewise.
52621 * nss/nss_db/db-open.c: Likewise.
52622 * nss/nss_files/flies-XXX.x: Adjust comments.
52623 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52624 * nss/nss_files/files-grp.c: Likewise.
52625 * nss/nss_files/files-hosts.c: Likewise.
52626 * nss/nss_files/files-network.c: Likewise.
52627 * nss/nss_files/files-proto.c: Likewise.
52628 * nss/nss_files/files-pwd.c: Likewise.
52629 * nss/nss_files/files-rpc.c: Likewise.
52630 * nss/nss_files/files-service.c: Likewise.
52631 * nss/nss_files/files-sgrp.c: Likewise.
52632 * nss/nss_files/files-spwd.c: Likewise.
52633 * nss/nss_db/db-alias.c: Removed.
52634 * nss/nss_db/dummy-db.h: Removed.
52636 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52638 * nss/makedb.c: Rewritten to not use database library.
52639 * nss/Makefile: Update to build new makedb program.
52641 2011-06-14 Andreas Jaeger <aj@suse.de>
52643 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52644 memset declaration.
52646 2011-06-10 Andreas Schwab <schwab@redhat.com>
52648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52651 2011-06-10 Roland McGrath <roland@hack.frob.com>
52653 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52654 * elf/Makefile ($(objpfx)ld.so): Likewise.
52656 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52657 Don't list ld.so twice in dependencies.
52659 * posix/bug-regex31.c: Include <stdlib.h>.
52661 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52663 * nis/nss_compat/compat-spwd.c
52664 (getspent_next_nss_netgr): Remove unused variable.
52665 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52667 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52668 nonmembers" output to use the right array.
52670 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52672 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52674 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52675 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52676 * catgets/gencat.c (read_input_file): Likewise.
52677 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52679 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52680 variable definition inside #if's controlling its use.
52682 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52684 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52686 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52688 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52691 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52693 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52694 * configure: Regenerated.
52696 * Makerules: Revert last change.
52697 * elf/Makefile: Likewise.
52699 2011-06-09 Roland McGrath <roland@hack.frob.com>
52701 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52702 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52703 (reloc-link): Likewise.
52705 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52707 * elf/Makefile: Add rules to build pldd.
52708 * elf/pldd.c: New file.
52709 * elf/pldd-xx.c: New file.
52711 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52713 * version.h: Update for 2.15 development version.
52715 2011-06-07 David S. Miller <davem@davemloft.net>
52717 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52719 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52720 elf_machine_lazy_rel): Likewise.
52721 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52722 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52723 elf_machine_lazy_rel): Likewise.
52724 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52725 dl_hwcap via passed in argument.
52726 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52729 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52731 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52733 2011-06-06 Roland McGrath <roland@hack.frob.com>
52736 * manual/fdl-1.1.texi: New file, verbatim from:
52737 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52738 * manual/lgpl-2.1.texi: New file, verbatim from:
52739 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52740 * manual/Makefile (licenses): New variable, list those new file names.
52742 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52744 * manual/fdl.texi: File removed.
52745 * manual/lesser.texi: File removed.
52746 * manual/libc.texinfo (Copying, Documentation License):
52747 Use new @include file names, put @appendix directive before @include.
52749 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52752 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52753 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52754 (mq_open): Add __NTH.
52756 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52759 Assume Intel Core i3/i5/i7 processor if AVX is available.
52761 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52763 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52766 2011-05-31 Andreas Schwab <schwab@redhat.com>
52768 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52769 memory. Use alloca_account. Fix memory leak when retrying.
52771 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52773 * version.h (RELEASE): Bump for 2.14 release.
52774 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52776 * config.make.in (RANLIB): Remove entry.
52778 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52780 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52781 (libc.pot): Work around missing support for .ksh extension in xgettext.
52784 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52785 if both request failed.
52786 (send_dg): In case of server errors clear resplen or *resplen2.
52789 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52790 when there are multiple maps.
52791 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52792 (_dl_fini): Remove test here.
52794 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52796 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52799 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52800 bit from old_res_options.
52801 (gaih_inet): Likewise.
52804 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52807 * resolv/res_init.c (res_setoptions): Make the code more compact.
52810 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52814 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52816 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52819 * malloc/malloc.h: Declare malloc hook variables as volatile.
52821 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52825 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52826 raise in the comment.
52827 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52828 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52829 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52831 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52834 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52835 grow the buffers more if it already has to be sufficient.
52836 (build_wcs_upper_buffer): Likewise.
52837 * posix/regexec.c (check_matching): Likewise.
52838 (clean_state_log_if_needed): Likewise.
52839 (extend_buffers): Don't enlarge buffers beyond size of the input
52841 Patches mostly by Emil Wojak <emil@wojak.eu>.
52842 * posix/bug-regex32.c: New file.
52843 * posix/Makefile (tests): Add bug-regex32.
52845 * locale/findlocale.c (_nl_find_locale): Return right away if
52846 _nl_explode_name failed.
52847 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52849 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52851 * debug/xtrace.sh: Unify messages.
52852 * malloc/memusage.sh: Likewise.
52855 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52856 time symbol from vDSO. Substitute with vsyscall if not available.
52857 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52860 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52861 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52862 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52863 Add sendmmsg and internal_sendmmsg.
52864 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52865 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52866 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52868 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52869 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52872 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52875 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52876 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52878 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52882 * iconvdata/Makefile (tests): Add bug-iconv9.
52883 * iconvdata/bug-iconv9.c: New file.
52885 2011-05-27 Andreas Schwab <schwab@redhat.com>
52888 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52890 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52892 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52893 (struct user_regs_struct): Change intcs field back to cs.
52895 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52897 * po/ja.po: Update from translation team.
52899 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52902 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52903 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52905 2011-05-20 Andreas Schwab <schwab@redhat.com>
52907 * stdlib/longlong.h: Update from GCC.
52909 2011-05-23 Andreas Schwab <schwab@redhat.com>
52911 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52913 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52914 Add parameter name.
52915 (__sysconf): Pass it down.
52917 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52920 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52923 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52924 add in in __libc_use_alloca calls. Adjust callers.
52925 (glob): Use malloc in some situations.
52927 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52928 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52931 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52933 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52934 and CLOCK_BOOTTIME_ALARM.
52937 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52940 * string/_strerror.c (__strerror_r): Print negative errors as signed
52944 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52945 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52946 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52948 * configure.in: Fix typo in redirection and correct removal of test
52949 files in two cases.
52952 * locale/setlocale.c (new_composite_name): Fix test to check for
52953 identical name of all categories.
52956 * libio/filedoalloc.c (local_isatty): New function.
52957 (_IO_file_doallocate): Use local_isatty.
52958 * stdio-common/perror.c (perror): In case a new stream is used
52959 forward the stream error.
52960 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52963 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52968 * include/alloca.h (extend_alloca_account): Define.
52971 * posix/regex.h: Fix comments with documentation of user-accessible
52972 fields after compilation and describe correct free'ing of pattern
52973 after re_compile_pattern.
52974 Patch by Reuben Thomas <rrt@sc3d.org>.
52976 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52978 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52979 and -mno-altivec to prevent the compiler from using Altivec and/or
52980 VSX instructions when the corresponding registers are not available.
52982 2011-05-19 Andreas Schwab <schwab@redhat.com>
52984 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52986 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52988 * libio/freopen.c (freopen): Use __dup2, not dup2.
52989 * libio/freopen64.c (freopen64): Likewise.
52991 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52994 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52995 * math/Makefile (tests): Add test-powl.
52996 (CFLAGS-test-powl.c): Define.
52997 * math/test-powl.c: New file.
52999 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53001 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53003 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53006 * iconvdata/gb18030.c: Update to GB18020-2005.
53008 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53010 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53011 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53012 Patch by Aharon Robbins <arnold@skeeve.com>.
53015 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53019 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53020 through underflows.
53023 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53024 point to strings before performing equality test for error_one_per_line
53028 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53032 (struct user_fpregs_struct): Avoid __uint*_t types.
53035 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53036 symbol info. Use it instead of calling _dl_addr locally.
53037 (lock_and_info): New function.
53038 (tr_freehook): Call lock_and_info and pass symbol info as additional
53039 parameter to tr_where.
53040 (tr_mallochook): Likewise.
53041 (tr_reallochook): Likewise.
53042 (tr_memalignhook): Likewise.
53044 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53045 used and couldn't be at all thread-safe.
53047 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53049 * libio/freopen.c (freopen): Don't close old file descriptor
53050 before the new one is opened. Instead dup the new file descriptor
53051 to the old one after the new stream is created.
53052 * libio/freopen64.c (freopen64): Likewise.
53053 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53054 * libio/fileops.c (_IO_new_file_close_it): Handle new
53055 _IO_FLAGS2_NOCLOSE flag.
53056 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53057 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53058 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53059 _IO_FLAGS2_NOCLOSE flag.
53060 * include/unistd.h: Add hidden_proto for dup3.
53061 Define __have_dup3.
53062 * io/dup3.c: Define hidden symbol.
53063 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53066 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53067 when an incomplete long option is used.
53068 * posix/tst-getopt_long1.c: New file.
53069 * posix/Makefile (tests): Add tst-getopt_long1.
53072 * scripts/config.guess: Update from autoconf-2.68.
53073 * scripts/config.sub: Likewise.
53076 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53078 (has_cpuclock): ...this. New function.
53079 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53080 macro here based on has_cpuclock code.
53083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53084 First byte (not low byte) is now always NUL.
53085 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53088 Use non-cancelable interfaces.
53091 * locale/iso-639.def: Add entry for Sorani.
53094 * include/stdlib.h: Move include protection to the right place.
53095 Define abort_msg_s. Declare __abort_msg with it.
53096 * stdlib/abort.c (__abort_msg): Adjust type.
53097 * assert/assert.c (__assert_fail_base): New function. Majority
53098 of code from __assert_fail. Allocate memory for __abort_msg with
53100 (__assert_fail): Now call __assert_fail_base.
53101 * assert/assert-perr.c: Remove bulk of implementation. Use
53102 __assert_fail_base.
53103 * include/assert.hL Declare __assert_fail_base.
53104 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53106 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53108 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53112 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53113 until all modules are registered in the DTV.
53114 * elf/Makefile: Add rules to build and run tst-tls19.
53115 * elf/tst-tls19.c: New file.
53116 * elf/tst-tls19mod1.c: New file.
53117 * elf/tst-tls19mod2.c: New file.
53118 * elf/tst-tls19mod3.c: New file.
53119 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53122 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53126 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53127 two-byte sequence errors.
53128 * iconvdata/Makefile (tests): Add bug-iconv8.
53129 * iconvdata/bug-iconv8.c: New file.
53132 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53135 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53138 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53139 (dummy_getcfa): New function.
53140 (init): Get _Unwind_GetCFA address, use dummy if not found.
53141 (backtrace_helper): In recursion check, also check whether CFA changes.
53142 (__backtrace): Completely initialize arg.
53144 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53145 storing incomplete byte sequence in state object. Avoid testing for
53146 guaranteed too small input if we know there is enough data available.
53148 2011-05-11 Andreas Schwab <schwab@redhat.com>
53150 * Makeconfig (+link-pie): Indent.
53151 * Rules (binaries-pie): Define if $(have-fpie) and
53153 (binaries-shared): Also filter out $(binaries-pie).
53154 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53155 * nscd/Makefile (others-pie): Add nscd.
53156 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53157 ($(objpfx)nscd): Remove command override.
53158 * login/Makefile (others-pie): Add pt_chown.
53159 ($(objpfx)pt_chown): Remove command override.
53160 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53161 remove command overrides.
53163 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53165 * libio/tst_putwc.c: Fix error messages.
53168 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53169 currently writing and seek to current position when not.
53170 * libio/Makefile (tests): Add bug-fclose1.
53171 * libio/bug-fclose1.c: New file.
53173 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53176 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53177 don't set DF_1_NODELETE here.
53178 (do_lookup_x): When entering new entry test for copy relocation
53179 and if necessary set DF_1_NODELETE flag.
53180 * elf/tst-unique4.cc: New file.
53181 * elf/tst-unique4.h: New file.
53182 * elf/tst-unique4lib.cc: New file.
53183 * elf/Makefile: Add rules to build and run tst-unique4.
53184 Patch by Piotr Bury <pbury@goahead.com>.
53186 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53189 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53192 * misc/mntent_r.c (addmntent): Flush the stream after the output
53195 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53196 (is_trusted_path_normalize): Skip initial colon. Append slash
53197 to empty buffer. Duplicate is_trusted_path code but allow
53198 constructed patch to be prefix.
53199 (is_dst): Allow $ORIGIN followed by /.
53200 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53201 Correct testing of result of is_trusted_path_normalize
53202 (decompose_rpath): Fix warning.
53204 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53207 * grp/initgroups.c (internal_getgrouplist): When we found the service
53208 list through the initgroups entry in nsswitch.conf do not always
53209 continue on a successful lookup. Don't always use the
53210 __nss_group_database value if it is set.
53211 * nss/nsswitch.conf (initgroups): Change action for successful db
53212 lookup to continue for compatibility.
53214 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53217 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53219 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53221 * iconvdata/tst-tables.sh: Likewise.
53222 * iconvdata/cp770.c: New file.
53223 * iconvdata/cp771.c: New file.
53224 * iconvdata/cp772.c: New file.
53225 * iconvdata/cp773.c: New file.
53226 * iconvdata/cp774.c: New file.
53227 * iconvdata/testdata/CP770: New file.
53228 * iconvdata/testdata/CP770..UTF8: New file.
53229 * iconvdata/testdata/CP771: New file.
53230 * iconvdata/testdata/CP771..UTF8: New file.
53231 * iconvdata/testdata/CP772: New file.
53232 * iconvdata/testdata/CP772..UTF8: New file.
53233 * iconvdata/testdata/CP773: New file.
53234 * iconvdata/testdata/CP773..UTF8: New file.
53235 * iconvdata/testdata/CP774: New file.
53236 * iconvdata/testdata/CP774..UTF8: New file.
53238 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53240 * iconvdata/gen-8bit-gap.sh: Likewise.
53241 * iconvdata/gen-8bit.sh: Likewise.
53243 * locale/iso-639.def: Add ary entry.
53246 * locale/C-translit.h.in: Add U20A1 transliteration.
53249 * locale/iso-639.def: Add wae entry.
53250 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53253 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53257 * locale/C-translit.h.in: Add entry for U20B9.
53258 Patch by pravin.d.s@gmail.com.
53260 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53263 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53264 ENAMETOOLONG use generic getcwd.
53265 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53266 in rtld. Use *stat64.
53267 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53268 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53269 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53270 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53271 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53272 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53273 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53274 __fstatat64 macros.
53275 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53276 * dirent/rewinddir.c: Add libc_hidden_def.
53277 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53278 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53280 * include/dirent.h (__alloc_dir): Add flags parameter.
53281 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53282 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53284 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53285 from fdopendir if O_CLOEXEC is already set.
53287 2011-03-15 Alan Modra <amodra@gmail.com>
53289 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53290 l_tls_firstbyte_offset non-zero. Save padding offset in
53291 l_tls_firstbyte_offset for later use.
53292 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53293 freeing static tls block.
53295 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53297 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53298 where #ifdef was intended. The intent is to prevent ARG_MAX from
53299 being defined by the kernel headers.
53301 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53304 * resolv/resolv.h: Define RES_NOTLDQUERY.
53305 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53306 no-tld-query and set RES_NOTLDQUERY.
53307 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53308 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53309 modern BIND to search name as TLD unless forbidden.
53311 2011-05-07 Petr Baudis <pasky@suse.cz>
53312 Ulrich Drepper <drepper@gmail.com>
53315 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53316 (is_trusted_path): ...to here.
53317 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53318 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53319 using is_trusted_path_normalize() in setuid scripts.
53321 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53323 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53324 __BEGIN/__END_DECLS.
53326 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53328 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53329 NSS_STATUS_NOTFOUND if no record was found.
53331 2011-05-05 Andreas Schwab <schwab@redhat.com>
53333 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53334 (headers-not-in-tirpc): Remove rpc/netdb.h
53335 * resolv/netdb.h: Revert last change.
53337 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53339 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53340 circular dependency between libgcc.a and libc.a.
53342 2011-05-05 Andreas Schwab <schwab@redhat.com>
53344 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53345 * nis/Makefile: Don't install rpcsvc/*.
53346 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53347 instead of <rpc/types.h>.
53348 (MAXHOSTNAMELEN): Define.
53350 2011-05-03 Andreas Schwab <schwab@redhat.com>
53352 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53354 2011-04-28 Maciej Babinski <mbabinski@google.com>
53357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53358 gethostbyname4_r when IPv6 results are possible.
53360 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53363 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53364 _PC_PIPE_BUF handling.
53366 2011-04-30 Bruno Haible <bruno@clisp.org>
53369 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53370 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53372 * inet/getnameinfo.c (getnameinfo): Likewise.
53374 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53376 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53377 to groups setting in database lookup.
53378 * nss/nsswitch.conf: Add initgroups entry.
53380 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53383 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53385 Patch by Eric Blake <eblake@redhat.com>.
53387 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53389 * sunrpc/Makefile (need-export-routines): Add svc_run.
53390 (routines): Remove svc_run.
53391 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53392 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53393 * sunrpc/svc_run.c (svc_run): Likewise.
53394 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53396 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53398 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53399 problem in reallocation in last patch.
53401 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53403 * sunrpc/Makefile: Move inclusion of Rules.
53405 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53407 * nss/nss_files/files-initgroups.c: New file.
53408 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53409 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53410 _nss_files_initgroups_dyn.
53412 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53414 * elf/elf.h (R_ARM_IRELATIVE): Define.
53416 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53418 * po/ru.po: Update from translation team.
53420 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53422 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53425 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53428 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53429 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53430 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53432 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53434 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53436 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53438 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53439 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53440 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53442 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53445 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53447 * stdlib/bug-getcontext.c: New file.
53448 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53450 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53452 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53453 instructions into .machine "z9-109".
53454 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53455 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53457 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53459 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53460 between environment variables and auxiliary vector.
53462 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53464 * Makefile: Add rules to build linkobj/libc.so.
53465 * include/libc-symbols.h: Define libc_hidden_nolink.
53466 * include/rpc/auth.h: Mark functions which are to be hidden.
53467 * include/rpc/auth_des.h: Likewise.
53468 * include/rpc/auth_unix.h: Likewise.
53469 * include/rpc/clnt.h: Likewise.
53470 * include/rpc/des_crypt.h: Likewise.
53471 * include/rpc/key_prot.h: Likewise.
53472 * include/rpc/pmap_clnt.h: Likewise.
53473 * include/rpc/pmap_prot.h: Likewise.
53474 * include/rpc/pmap_rmt.h: Likewise.
53475 * include/rpc/rpc_msg.h: Likewise.
53476 * include/rpc/svc.h: Likewise.
53477 * include/rpc/svc_auth.h: Likewise.
53478 * include/rpc/xdr.h: Likewise.
53479 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53480 * nss/Makefile: Likewise.
53481 * sunrpc/Makefile: Don't install headers. Build library with normal
53482 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53483 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53484 for the compat linking library. Remove use of INTDEF/INTUSE.
53485 * sunrpc/auth_none.c: Likewise.
53486 * sunrpc/auth_unix.c: Likewise.
53487 * sunrpc/authdes_prot.c: Likewise.
53488 * sunrpc/authuxprot.c: Likewise.
53489 * sunrpc/clnt_gen.c: Likewise.
53490 * sunrpc/clnt_perr.c: Likewise.
53491 * sunrpc/clnt_raw.c: Likewise.
53492 * sunrpc/clnt_simp.c: Likewise.
53493 * sunrpc/clnt_tcp.c: Likewise.
53494 * sunrpc/clnt_udp.c: Likewise.
53495 * sunrpc/clnt_unix.c: Likewise.
53496 * sunrpc/des_crypt.c: Likewise.
53497 * sunrpc/des_soft.c: Likewise.
53498 * sunrpc/get_myaddr.c: Likewise.
53499 * sunrpc/key_call.c: Likewise.
53500 * sunrpc/key_prot.c: Likewise.
53501 * sunrpc/netname.c: Likewise.
53502 * sunrpc/pm_getmaps.c: Likewise.
53503 * sunrpc/pm_getport.c: Likewise.
53504 * sunrpc/pmap_clnt.c: Likewise.
53505 * sunrpc/pmap_prot.c: Likewise.
53506 * sunrpc/pmap_prot2.c: Likewise.
53507 * sunrpc/pmap_rmt.c: Likewise.
53508 * sunrpc/publickey.c: Likewise.
53509 * sunrpc/rpc_cmsg.c: Likewise.
53510 * sunrpc/rpc_common.c: Likewise.
53511 * sunrpc/rpc_dtable.c: Likewise.
53512 * sunrpc/rpc_prot.c: Likewise.
53513 * sunrpc/rpc_thread.c: Likewise.
53514 * sunrpc/rtime.c: Likewise.
53515 * sunrpc/svc.c: Likewise.
53516 * sunrpc/svc_auth.c: Likewise.
53517 * sunrpc/svc_authux.c: Likewise.
53518 * sunrpc/svc_raw.c: Likewise.
53519 * sunrpc/svc_run.c: Likewise.
53520 * sunrpc/svc_simple.c: Likewise.
53521 * sunrpc/svc_tcp.c: Likewise.
53522 * sunrpc/svc_udp.c: Likewise.
53523 * sunrpc/svc_unix.c: Likewise.
53524 * sunrpc/svcauth_des.c: Likewise.
53525 * sunrpc/xcrypt.c: Likewise.
53526 * sunrpc/xdr.c: Likewise.
53527 * sunrpc/xdr_array.c: Likewise.
53528 * sunrpc/xdr_float.c: Likewise.
53529 * sunrpc/xdr_intXX_t.c: Likewise.
53530 * sunrpc/xdr_mem.c: Likewise.
53531 * sunrpc/xdr_rec.c: Likewise.
53532 * sunrpc/xdr_ref.c: Likewise.
53533 * sunrpc/xdr_sizeof.c: Likewise.
53534 * sunrpc/xdr_stdio.c: Likewise.
53536 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53539 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53540 * sysdeps/ia64/dl-tls.h: Likewise.
53541 * sysdeps/powerpc/dl-tls.h: Likewise.
53542 * sysdeps/s390/dl-tls.h: Likewise.
53543 * sysdeps/sh/dl-tls.h: Likewise.
53544 * sysdeps/sparc/dl-tls.h: Likewise.
53545 * sysdeps/x86_64/dl-tls.h: Likewise.
53546 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53548 2011-03-14 Andreas Schwab <schwab@redhat.com>
53550 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53551 rpath element also skip the following colon.
53552 (expand_dynamic_string_token): Add is_path parameter and pass
53553 down to DL_DST_REQUIRED and _dl_dst_substitute.
53554 (decompose_rpath): Call expand_dynamic_string_token with
53555 non-zero is_path. Ignore empty rpaths.
53556 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53559 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53564 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53567 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53568 Patch by Filipe David Manana <fdmanana@apache.org>.
53570 2011-04-07 Andreas Schwab <schwab@redhat.com>
53572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53573 Maintain aligned stack.
53574 (CHECK_RSP): Remove unused macro.
53576 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53578 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53579 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53581 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53583 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53585 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53587 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53590 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53591 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53592 * sysdeps/x86_64/memmove.c: New file.
53593 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53594 (memcpy): Renamed to ...
53595 (__new_memcpy): This.
53596 (memcpy): Provide GLIBC_2_14 memcpy.
53597 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53598 (memcpy): Provide GLIBC_2_2_5 memcpy.
53600 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53603 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53605 2011-03-30 Andreas Schwab <schwab@redhat.com>
53607 * misc/syncfs.c: New file.
53608 * misc/Makefile (routines): Add syncfs.
53609 * posix/unistd.h: Declare syncfs.
53610 * sysdeps/unix/syscalls.list: Add syncfs.
53612 2011-04-01 Andreas Schwab <schwab@redhat.com>
53614 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53616 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53617 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53621 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53624 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53626 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53628 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53634 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53635 sync_file_range.c with -fexceptions.
53636 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53637 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53638 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53639 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53640 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53641 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53642 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53643 sync_file_range as cancellation point
53644 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53645 now a wrapper around __call_sync_file_range with cancellation handling.
53646 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53647 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53648 function name to __call_sync_file_range.
53649 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53650 Add call_sync_file_range.
53652 2011-04-01 Andreas Schwab <schwab@redhat.com>
53654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53657 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53659 * iconv/iconv.h: Fix typo in comment.
53660 * io/fcntl.h: Likewise.
53661 * libio/stdio.h: Likewise.
53662 * posix/spawn.h: Likewise.
53663 * posix/unistd.h: Likewise.
53664 * stdlib/stdlib.h: Likewise.
53665 * time/time.h: Likewise.
53666 * wcsmbs/wchar.h: Likewise.
53668 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53669 open_by_handle): Add.
53670 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53671 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53672 Augment a few comments.
53673 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53675 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53678 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53681 * io/fcntl.h (AT_EMPTY_PATH): Define.
53683 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53685 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53686 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53687 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53689 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53690 * Versions.def: Add GLIBC_2.14.
53691 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53694 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53696 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53698 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53700 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53703 * string/test-strncmp.c (do_page_test): New function.
53704 (check2): Likewise.
53705 (test_main): Call check2.
53706 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53708 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53711 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53712 Handle cache information in CPU leaf 4.
53713 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53715 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53718 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53719 character representation.
53720 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53722 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53724 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53725 END(__isnan) to END(__isnanf) to match function entry point/label
53726 EALIGN(__isnanf,...).
53728 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53730 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53732 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53735 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53736 copy from the symbol referenced in the relocation to initialize the
53738 Patch by Piotr Bury <pbury@goahead.com>.
53739 * elf/Makefile: Add rules to build and tst-unique3.
53740 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53741 * elf/tst-unique3.cc: New file.
53742 * elf/tst-unique3.h: New file.
53743 * elf/tst-unique3lib.cc: New file.
53744 * elf/tst-unique3lib2.cc: New file.
53746 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53748 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53750 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53751 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53754 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53756 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53757 to-be-loaded object along a path to loader is ld.so.
53759 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53760 Ulrich Drepper <drepper@gmail.com>
53762 * sysdeps/x86_64/memset.S: After aligning destination, code
53763 branches to different locations depending on the value of
53764 misalignment, when multiarch is enabled. Fix this.
53766 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53768 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53769 Set _x86_64_preferred_memory_instruction for AMD processsors.
53770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53771 Set bit_Prefer_SSE_for_memop for AMD processors.
53773 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53775 * libio/fmemopen.c (fmemopen): Optimize a bit.
53777 2011-03-03 Andreas Schwab <schwab@redhat.com>
53779 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53781 2011-03-03 Roland McGrath <roland@redhat.com>
53783 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53785 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53787 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53788 __bzero_ultra1 instead of __memset_ultra1.
53790 2011-02-23 Andreas Schwab <schwab@redhat.com>
53791 Ulrich Drepper <drepper@gmail.com>
53794 * include/link.h (struct link_map): Add l_orig_initfini.
53795 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53796 returning unsuccessfully.
53797 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53798 close of a file loaded at startup, restore the original l_initfini
53800 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53801 list, store the pointer.
53802 * elf/Makefile ($(objpfx)noload-mem): New rule.
53803 (noload-ENV): Define.
53804 (tests): Add $(objpfx)noload-mem.
53805 * elf/noload.c: Include <memcheck.h>.
53806 (main): Call mtrace. Close all opened handles.
53808 2011-02-17 Andreas Schwab <schwab@redhat.com>
53811 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53812 dependencies are missing.
53814 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53816 Fix __if_freereq crash: Unlike the generic version which uses free,
53818 * sysdeps/mach/hurd/ifreq.h: New file.
53820 2011-01-27 Petr Baudis <pasky@suse.cz>
53821 Ulrich Drepper <drepper@gmail.com>
53824 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53825 to extend_alloca().
53826 * stdio-common/bug23.c: New file.
53827 * stdio-common/Makefile (tests): Add bug23.
53829 2010-09-28 Andreas Schwab <schwab@redhat.com>
53830 Ulrich Drepper <drepper@gmail.com>
53833 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53834 before performing relro protection. At old place add assertion
53835 to make sure nothing changed.
53837 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53838 Glauber de Oliveira Costa <glommer@gmail.com>
53840 * elf/elf.h: Add new ARM TLS relocs.
53842 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53845 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53847 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53849 * sysdeps/wordsize-64/tst-writev.c: New file.
53851 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53853 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53854 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53855 insns in _dl_start to prevent a TOC reference before relocs are
53858 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53861 * Makeconfig: Remove RANLIB definition.
53862 * Makerules: Don't use RANLIB.
53863 * aclocal.m4: Remove ranlib test.
53864 * configure.in: No need to check for ranlib.
53865 * elf/rtld-Rules: Don't use RANLIB.
53867 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53869 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53871 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53872 inclusion protection macro.
53874 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53875 SIGRTMIN and SIGRTMAX and print information in that case only when
53876 SIGRTMIN is defined.
53878 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53880 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53881 arginfo fn returning -1.
53883 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53884 and thousands string is zero terminated.
53886 2011-02-03 Andreas Schwab <schwab@redhat.com>
53888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53889 sysdeps/unix/sysv/linux/bits/socket.h.
53891 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53893 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53894 (__CPU_COUNT): Remove old macros.
53895 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53896 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53897 (__CPU_ALLOC, __CPU_FREE): Add macros.
53898 (__sched_cpualloc, __sched_cpufree): Add declarations.
53900 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53902 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53903 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53904 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53905 (readdhstai): Return value of addhstaiX call.
53906 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53907 (addgrbyX): Return value returned by cache_addgr.
53908 (readdgrbyname): Return value returned by addgrbyX.
53909 (readdgrbygid): Likewise.
53910 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53911 (addpwbyX): Return value returned by cache_addpw.
53912 (readdpwbyname): Return value returned by addhstbyX.
53913 (readdpwbyuid): Likewise.
53914 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53915 (addservbyX): Return value returned by cache_addserv.
53916 (readdservbyname): Return value returned by addservbyX:
53917 (readdservbyport): Likewise.
53918 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53919 (addhstbyX): Return value returned by cache_addhst.
53920 (readdhstbyname): Return value returned by addhstbyX.
53921 (readdhstbyaddr): Likewise.
53922 (readdhstbynamev6): Likewise.
53923 (readdhstbyaddrv6): Likewise.
53924 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53925 (readdinitgroups): Return value returned by addinitgroupsX.
53926 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53927 (prune_cache): Keep track of timeout value of re-added entries.
53928 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53929 * nscd/nscd.h: Adjust prototypes of readd* functions.
53931 2011-02-04 Roland McGrath <roland@redhat.com>
53933 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53934 (nis_stats): Likewise.
53935 * nis/nis_modify.c (nis_modify): Likewise.
53936 * nis/nis_remove.c (nis_remove): Likewise.
53937 * nis/nis_add.c (nis_add): Likewise.
53939 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53941 * posix/fnmatch_loop.c: Add some consts.
53943 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53945 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53948 * config.make.in (config-cflags-novzeroupper): Define.
53949 * configure.in: Substitute libc_cv_cc_novzeroupper.
53950 * elf/Makefile (AVX-CFLAGS): Define.
53951 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53952 (CFLAGS-tst-auditmod4a.c): Likewise.
53953 (CFLAGS-tst-auditmod4b.c): Likewise.
53954 (CFLAGS-tst-auditmod6b.c): Likewise.
53955 (CFLAGS-tst-auditmod6c.c): Likewise.
53956 (CFLAGS-tst-auditmod7b.c): Likewise.
53957 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53959 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53961 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53962 function to the callback.
53963 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53965 2011-02-02 Andreas Schwab <schwab@redhat.com>
53967 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53970 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53973 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53975 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53977 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53980 * elf/Makefile: Add rules to build and run new test.
53981 * elf/tst-initorder.c: New file.
53982 * elf/tst-initorder.exp: New file.
53983 * elf/tst-initordera1.c: New file.
53984 * elf/tst-initordera2.c: New file.
53985 * elf/tst-initordera3.c: New file.
53986 * elf/tst-initordera4.c: New file.
53987 * elf/tst-initorderb1.c: New file.
53988 * elf/tst-initorderb2.c: New file.
53989 * elf/tst-order-a1.c: New file.
53990 * elf/tst-order-a2.c: New file.
53991 * elf/tst-order-a3.c: New file.
53992 * elf/tst-order-a4.c: New file.
53993 * elf/tst-order-b1.c: New file.
53994 * elf/tst-order-b2.c: New file.
53995 * elf/tst-order-main.c: New file.
53996 New test case by George Gensure <werkt0@gmail.com>.
53998 2010-10-01 Andreas Schwab <schwab@redhat.com>
54000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54001 decoding ACE if AI_CANONIDN.
54003 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54005 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54007 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54009 * version.h (RELEASE): Bump for 2.13 release.
54010 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54012 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54014 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54016 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54017 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54018 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54019 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54020 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54021 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54023 * posix/getconf.c: Update copyright year.
54024 * catgets/gencat.c: Likewise.
54025 * csu/version.c: Likewise.
54026 * debug/catchsegv.sh: Likewise.
54027 * debug/xtrace.sh: Likewise.
54028 * elf/ldconfig.c: Likewise.
54029 * elf/ldd.bash.in: Likewise.
54030 * elf/sprof.c (print_version): Likewise.
54031 * iconv/iconv_prog.c: Likewise.
54032 * iconv/iconvconfig.c: Likewise.
54033 * locale/programs/locale.c: Likewise.
54034 * locale/programs/localedef.c: Likewise.
54035 * malloc/memusage.sh: Likewise.
54036 * malloc/mtrace.pl: Likewise.
54037 * nscd/nscd.c (print_version): Likewise.
54038 * nss/getent.c: Likewise.
54040 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54041 PF_CAIF, and PF_ALG.
54042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54044 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54046 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54047 (modules-names): Use them.
54048 (ifunc-test-modules, ifunc-pie-tests): Define.
54049 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54050 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54051 (test-extras): Likewise.
54052 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54053 $(compile-command.c).
54054 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54055 (all-built-dso): Define.
54056 (check-textrel.out, check-execstack.out): Depend on it.
54058 * configure.in: Don't override --enable-multi-arch.
54060 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54063 * nscd/hstcache.c (tryagain): Define.
54064 (cache_addhst): Return tryagain not notfound for temporary errors.
54065 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54068 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54071 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54072 to make the syscall.
54073 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54076 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54077 and fall back to matching as normal character if the string ends before
54078 the matching ']' is found. This is what POSIX requires.
54079 * posix/testfnm.c: Adjust test result.
54080 * posix/globtest.sh: Adjust test result. Add new test.
54081 * posix/tst-fnmatch.input: Likewise.
54082 * posix/tst-fnmatch2.c: Add new test.
54084 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54086 * elf/Makefile (check-execstack): Revert last change. Depend on
54088 (check-execstack.h): New target.
54089 (generated): Add check-execstack.h.
54090 * elf/check-execstack.c: Include "check-execstack.h".
54091 (main): Revert last change.
54092 (handle_file): Return zero if GNU_STACK is absent and
54093 DEFAULT_STACK_PERMS doesn't include PF_X.
54095 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54097 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54098 in child fails because the descriptor is already closed.
54099 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54100 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54101 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54104 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54108 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54109 temporary buffer used to handle multi lookups locally.
54110 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54112 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54114 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54117 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54119 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54120 alignment for SSE2.
54122 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54125 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54126 characters. When rounding increased number of integer digits recompute
54128 * stdio-common/tst-grouping.c: New file.
54129 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54131 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54133 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54134 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54136 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54138 * bits/select.h: Likewise.
54140 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54142 * po/ja.po: Update from translation team.
54144 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54147 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54148 implementation just like for lxstat, fxstatat, et al.
54150 2010-12-27 Jim Meyering <meyering@redhat.com>
54153 * posix/regexec.c (build_trtable): Return failure indication upon
54154 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54156 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54159 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54160 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54161 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54162 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54165 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54168 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54169 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54171 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54173 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54174 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54175 script has SORT_BY_INIT_PRIORITY.
54176 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54177 NO_CTORS_DTORS_SECTIONS is defined.
54178 * elf/soinit.c: Likewise.
54179 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54180 NO_CTORS_DTORS_SECTIONS is defined.
54181 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54182 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54183 * sysdeps/sh/init-first.c: Likewise.
54184 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54186 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54188 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54189 always use the slow path.
54191 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54193 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54194 similar rule which adds the sysdep directories to the header search in
54195 order to pick up the correct platform stackinfo.h.
54196 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54197 perform test if it is, otherwise return successfully without testing.
54198 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54199 DEFAULT_STACK_PERMS define in stackinfo.h.
54200 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54201 defined in stackinfo.h.
54202 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54203 DEFAULT_STACK_PERMS defined in stackinfo.h.
54204 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54205 * sysdeps/ia64/stackinfo.h: Likewise.
54206 * sysdeps/s390/stackinfo.h: Likewise.
54207 * sysdeps/sh/stackinfo.h: Likewise.
54208 * sysdeps/sparc/stackinfo.h: Likewise.
54209 * sysdeps/x86_64/stackinfo.h: Likewise.
54210 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54211 PF_X for powerpc64. Retain PF_X for powerpc32.
54213 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54215 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54217 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54218 GETDENTS_64BIT_ALIGNED.
54220 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54222 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54224 2010-12-10 Andreas Schwab <schwab@redhat.com>
54226 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54229 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54230 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54232 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54233 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54235 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54238 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54241 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54243 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54245 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54247 * po/it.po: Update from translation team.
54249 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54254 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54256 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54258 2010-11-24 Andreas Schwab <schwab@redhat.com>
54260 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54262 (gaih_getanswer_slice): Likewise.
54264 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54266 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54268 2010-05-31 Petr Baudis <pasky@suse.cz>
54271 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54272 silently even in the chroot mode.
54274 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54276 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54277 last patch a bit. Pretty printing
54279 2010-05-31 Petr Baudis <pasky@suse.cz>
54282 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54283 initialization of skip_initgroups_dyn.
54285 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54287 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54288 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54290 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54292 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54294 2010-11-11 Andreas Schwab <schwab@redhat.com>
54296 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54297 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54298 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54299 ($(objpfx)tst-fnmatch-mem): New rule.
54300 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54301 * posix/tst-fnmatch.c (main): Call mtrace.
54303 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54306 Support Intel processor model 6 and model 0x2c.
54308 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54310 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54313 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54316 * string/test-strncasecmp.c (check_result): New function.
54317 (do_one_test): Use it.
54318 (check1): New function.
54319 (test_main): Use it.
54320 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54321 Support strcasecmp and strncasecmp.
54323 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54326 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54327 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54329 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54331 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54333 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54335 * sysdeps/x86_64/multiarch/bzero.S: New file.
54336 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54337 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54338 * sysdeps/x86_64/multiarch/memset.S: New file.
54339 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54341 Set bit_Prefer_SSE_for_memop for Intel processors.
54342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54344 (index_Prefer_SSE_for_memop): Define.
54345 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54347 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54349 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54350 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54352 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54355 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54356 (__x86_64_raw_data_cache_size_half): Likewise.
54357 (__x86_64_raw_shared_cache_size): Likewise.
54358 (__x86_64_raw_shared_cache_size_half): Likewise.
54360 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54361 (__x86_64_raw_data_cache_size_half): Likewise.
54362 (__x86_64_raw_shared_cache_size): Likewise.
54363 (__x86_64_raw_shared_cache_size_half): Likewise.
54364 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54365 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54366 and __x86_64_raw_shared_cache_size_half. Round
54367 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54368 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54369 to multiple of 256 bytes.
54371 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54374 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54375 of inacessible symlinks. Verify result of symlink before returning it.
54376 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54377 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54379 2010-10-28 Erich Ritz <erichritz@gmail.com>
54381 * math/math.h (isinf): Fix typo in comment.
54383 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54385 * po/da.po: Update from translation team.
54387 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54389 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54390 is added to the list.
54392 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54393 Ulrich Drepper <drepper@gmail.com>
54395 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54396 the global list here. Move code to...
54397 (_dl_add_to_namespace_list): ...here. New function.
54398 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54399 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54400 * elf/dl-load.c (lose): Don't remove the element from the list.
54401 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54402 (_dl_map_object): Likewise.
54404 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54407 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54408 into all bytes of SSE register.
54409 Patch by Richard Li <richardpku@gmail.com>.
54411 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54414 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54417 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54419 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54420 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54421 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54422 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54427 2010-10-22 Andreas Schwab <schwab@redhat.com>
54429 * include/dlfcn.h (__RTLD_SECURE): Define.
54430 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54431 mode & __RTLD_SECURE instead.
54432 (open_path): Rename preloaded parameter to secure.
54433 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54434 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54435 * elf/dl-deps.c (openaux): Likewise.
54436 * elf/rtld.c (struct map_args): Remove is_preloaded.
54437 (map_doit): Don't use it.
54438 (dl_main): Likewise.
54439 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54440 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54442 2010-09-09 Andreas Schwab <schwab@redhat.com>
54444 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54445 (sysd-rules-targets): Remove duplicates.
54446 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54447 rtld-%.$o dependency.
54449 2010-10-18 Andreas Schwab <schwab@redhat.com>
54451 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54452 _dl_map_object do it.
54454 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54456 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54457 fast fma builtins, define the macros in the C99 standard.
54458 (FP_FAST_FMAF): Likewise.
54459 (FP_FAST_FMAL): Likewise.
54460 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54462 * bits/mathdef.h: Update copyright year.
54463 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54465 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54467 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54468 builtins, define the macros in the C99 standard.
54469 (FP_FAST_FMAF): Likewise.
54470 (FP_FAST_FMAL): Likewise.
54471 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54473 (FP_FAST_FMAF): Likewise.
54475 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54478 * math/libm-test.inc (fma_test): Some new testcases.
54479 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54480 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54481 y and infinite z. Do multiplication by C already in long double.
54482 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54484 y and infinite z. Do bitwise or of inexact bit into u.d.
54485 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54486 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54487 * sysdeps/i386/fpu/s_fma.S: Removed.
54488 * sysdeps/i386/fpu/s_fmal.S: Removed.
54490 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54493 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54494 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54495 computation is not scheduled after fetestexcept. Fix value
54496 of minimum denormal long double.
54498 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54501 * math/libm-test.inc (fma_test): Add some more tests.
54502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54505 2010-10-15 Andreas Schwab <schwab@redhat.com>
54507 * scripts/data/localplt-s390-linux-gnu.data: New file.
54508 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54510 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54513 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54514 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54516 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54518 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54520 if one of x and y is very large and the other is subnormal.
54521 * sysdeps/s390/fpu/s_fmaf.c: New file.
54522 * sysdeps/s390/fpu/s_fma.c: New file.
54523 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54524 * sysdeps/powerpc/fpu/s_fma.S: New file.
54525 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54526 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54527 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54529 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54532 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54534 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54535 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54536 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54537 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54538 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54539 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54540 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54542 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54545 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54546 * posix/bug-regex31.input: Add test case.
54548 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54550 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54551 * posix/bug-regex31.input: New file.
54554 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54555 (parse_sub_exp): Fix last change, use postorder.
54557 * posix/bug-regex31.c: New file.
54558 * posix/Makefile: Add rules to build and run bug-regex31.
54560 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54563 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54566 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54567 to have entries in sys_siglist.
54570 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54573 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54576 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54577 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54578 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54579 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54580 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54581 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54582 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54583 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54584 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54585 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54586 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54587 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54588 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54589 * math/ftestexcept.c (fetestexcept): Likewise.
54590 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54591 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54592 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54593 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54594 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54595 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54596 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54598 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54601 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54604 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54606 * string/bug-strstr1.c: New file.
54607 * string/Makefile: Add rules to build and run bug-strstr1.
54609 2010-10-05 Eric Blake <eblake@redhat.com>
54612 * string/str-two-way.h (two_way_long_needle): Always clear memory
54613 when skipping input due to the shift table.
54615 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54618 * malloc/mcheck.c: Handle large requests.
54621 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54622 for strncmp and strncasecmp.
54623 * string/stratcliff.c: Add tests for strcmp and strncmp.
54624 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54626 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54628 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54631 2010-09-30 Andreas Jaeger <aj@suse.de>
54633 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54634 (CGROUP_SUPER_MAGIC): Define.
54635 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54636 Handle btrfs and cgroup file systems.
54637 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54640 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54642 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54643 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54645 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54648 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54649 trying to locate the ELF header.
54651 2010-09-27 Andreas Schwab <schwab@redhat.com>
54654 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54655 Mask out sign-bit copies when constructing f_fsid.
54657 2010-09-24 Petr Baudis <pasky@suse.cz>
54659 * debug/stack_chk_fail_local.c: Add missing licence exception.
54660 * debug/warning-nop.c: Likewise.
54662 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54664 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54665 implementing getdents64 using getdents syscall, set d_type if
54666 __ASSUME_GETDENTS32_D_TYPE.
54668 2010-09-16 Andreas Schwab <schwab@redhat.com>
54670 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54671 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54673 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54676 * posix/unistd.h: Undo change of feature selection for ftruncate from
54679 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54681 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54684 2010-09-20 Andreas Schwab <schwab@redhat.com>
54686 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54688 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54690 2010-09-14 Andreas Schwab <schwab@redhat.com>
54692 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54693 variables after CHECK_SP call.
54694 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54696 2010-09-13 Andreas Schwab <schwab@redhat.com>
54697 Ulrich Drepper <drepper@redhat.com>
54699 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54700 re-relocationg ld.so.
54701 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54702 _dl_init_paths call.
54703 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54706 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54708 * resolv/res_init.c (__res_vinit): Count the default server we added.
54710 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54711 Ulrich Drepper <drepper@redhat.com>
54714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54715 (____longjmp_chk): Use %ebx for saving value across system call.
54718 2010-09-06 Andreas Schwab <schwab@redhat.com>
54720 * manual/Makefile: Don't mix pattern rules with normal rules.
54722 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54724 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54726 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54727 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54728 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54729 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54733 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54736 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54737 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54739 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54741 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54742 * sysdeps/x86_64/addmul_1.S: Likewise.
54743 * sysdeps/x86_64/lshift.S: Likewise.
54744 * sysdeps/x86_64/mul_1.S: Likewise.
54745 * sysdeps/x86_64/rshift.S: Likewise.
54746 * sysdeps/x86_64/sub_n.S: Likewise.
54747 * sysdeps/x86_64/submul_1.S: Likewise.
54749 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54751 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54752 Define __sched_param instead of SCHED_* and sched_param when
54753 <bits/sched.h> is included with __need_schedparam defined.
54754 * bits/sched.h [__need_schedparam]
54755 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54756 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54757 (__defined_schedparam): Define to 1.
54758 (__sched_param): New structure, identical to sched_param.
54759 (__need_schedparam): Undefine.
54761 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54764 (epoll_create1): Declare.
54766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54768 2010-08-31 Andreas Schwab <schwab@redhat.com>
54771 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54772 shifting retval into place.
54774 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54776 * nis/rpcsvc/nis.h: Update copyright notice.
54777 * nis/rpcsvc/nis.x: Likewise.
54778 * nis/rpcsvc/nis_callback.h: Likewise.
54779 * nis/rpcsvc/nis_callback.x: Likewise.
54780 * nis/rpcsvc/nis_object.x: Likewise.
54781 * nis/rpcsvc/nis_tags.h: Likewise.
54782 * nis/rpcsvc/yp.h: Likewise.
54783 * nis/rpcsvc/yp.x: Likewise.
54784 * nis/rpcsvc/ypupd.h: Likewise.
54785 * nis/yp_xdr.c: Likewise.
54786 * nis/ypupdate_xdr.c: Likewise.
54788 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54789 mainly the body of pmap_getport. Add parameters to specify timeouts.
54790 (pmap_getport): Use __libc_rpc_getport.
54791 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54792 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54793 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54795 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54800 2010-08-27 Roland McGrath <roland@redhat.com>
54802 * sysdeps/i386/i686/multiarch/Makefile
54803 (CFLAGS-varshift.c): New variable.
54805 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54807 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54808 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54812 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54814 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54816 * sysdeps/x86_64/strlen.S: Unroll the loop.
54817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54818 strlen-sse2 strlen-sse2-bsf.
54819 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54820 __strlen_no_bsf if bit_Slow_BSF is set.
54821 (__strlen_sse42): Removed.
54822 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54823 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54825 2010-08-25 Roland McGrath <roland@redhat.com>
54827 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54828 * sysdeps/x86_64/multiarch/varshift.c: New file.
54829 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54830 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54831 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54832 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54834 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54836 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54837 strlen-sse2 strlen-sse2-bsf.
54838 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54839 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54840 (__strlen_sse2): Removed.
54841 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54842 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54844 bit_Slow_BSF for Atom.
54845 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54846 (index_Slow_BSF): Define.
54847 (HAS_SLOW_BSF): Define.
54849 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54852 * resolv/res_init.c (__res_vinit): When no server address at all
54853 is given default to loopback.
54855 2010-08-24 Roland McGrath <roland@redhat.com>
54857 * configure.in: Remove config-name.h generation.
54858 * configure: Regenerated.
54859 * config-name.in: File removed.
54860 * scripts/config-uname.sh: New file.
54861 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54862 ($(objdir)config-name.h): New target.
54864 * sunrpc/rpc_parse.h: Avoid nested comment.
54866 2010-08-24 Richard Henderson <rth@redhat.com>
54867 Ulrich Drepper <drepper@redhat.com>
54868 H.J. Lu <hongjiu.lu@intel.com>
54870 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54872 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54873 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54874 _mm_alignr_epi8 with _mm_loadu_si128.
54875 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54876 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54877 (__m128i_shift_right): Removed.
54878 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54879 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54880 * sysdeps/x86_64/multiarch/varshift.h: New file.
54881 * sysdeps/x86_64/multiarch/varshift.S: New file.
54883 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54885 * configure.in: Move assembler checks to before sysdep dir checking.
54887 2010-08-20 Petr Baudis <pasky@suse.cz>
54889 * LICENSES: Sync the sunrpc license.
54891 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54893 * sunrpc/auth_des.c: Update copyright notice once again.
54894 * sunrpc/auth_none.c: Likewise.
54895 * sunrpc/auth_unix.c: Likewise.
54896 * sunrpc/authdes_prot.c: Likewise.
54897 * sunrpc/authuxprot.c: Likewise.
54898 * sunrpc/bindrsvprt.c: Likewise.
54899 * sunrpc/clnt_gen.c: Likewise.
54900 * sunrpc/clnt_perr.c: Likewise.
54901 * sunrpc/clnt_raw.c: Likewise.
54902 * sunrpc/clnt_simp.c: Likewise.
54903 * sunrpc/clnt_tcp.c: Likewise.
54904 * sunrpc/clnt_udp.c: Likewise.
54905 * sunrpc/clnt_unix.c: Likewise.
54906 * sunrpc/des_crypt.c: Likewise.
54907 * sunrpc/des_soft.c: Likewise.
54908 * sunrpc/get_myaddr.c: Likewise.
54909 * sunrpc/getrpcport.c: Likewise.
54910 * sunrpc/key_call.c: Likewise.
54911 * sunrpc/key_prot.c: Likewise.
54912 * sunrpc/openchild.c: Likewise.
54913 * sunrpc/pm_getmaps.c: Likewise.
54914 * sunrpc/pm_getport.c: Likewise.
54915 * sunrpc/pmap_clnt.c: Likewise.
54916 * sunrpc/pmap_prot.c: Likewise.
54917 * sunrpc/pmap_prot2.c: Likewise.
54918 * sunrpc/pmap_rmt.c: Likewise.
54919 * sunrpc/rpc/auth.h: Likewise.
54920 * sunrpc/rpc/auth_unix.h: Likewise.
54921 * sunrpc/rpc/clnt.h: Likewise.
54922 * sunrpc/rpc/des_crypt.h: Likewise.
54923 * sunrpc/rpc/key_prot.h: Likewise.
54924 * sunrpc/rpc/netdb.h: Likewise.
54925 * sunrpc/rpc/pmap_clnt.h: Likewise.
54926 * sunrpc/rpc/pmap_prot.h: Likewise.
54927 * sunrpc/rpc/pmap_rmt.h: Likewise.
54928 * sunrpc/rpc/rpc.h: Likewise.
54929 * sunrpc/rpc/rpc_des.h: Likewise.
54930 * sunrpc/rpc/rpc_msg.h: Likewise.
54931 * sunrpc/rpc/svc.h: Likewise.
54932 * sunrpc/rpc/svc_auth.h: Likewise.
54933 * sunrpc/rpc/types.h: Likewise.
54934 * sunrpc/rpc/xdr.h: Likewise.
54935 * sunrpc/rpc_clntout.c: Likewise.
54936 * sunrpc/rpc_cmsg.c: Likewise.
54937 * sunrpc/rpc_common.c: Likewise.
54938 * sunrpc/rpc_cout.c: Likewise.
54939 * sunrpc/rpc_dtable.c: Likewise.
54940 * sunrpc/rpc_hout.c: Likewise.
54941 * sunrpc/rpc_main.c: Likewise.
54942 * sunrpc/rpc_parse.c: Likewise.
54943 * sunrpc/rpc_parse.h: Likewise.
54944 * sunrpc/rpc_prot.c: Likewise.
54945 * sunrpc/rpc_sample.c: Likewise.
54946 * sunrpc/rpc_scan.c: Likewise.
54947 * sunrpc/rpc_scan.h: Likewise.
54948 * sunrpc/rpc_svcout.c: Likewise.
54949 * sunrpc/rpc_tblout.c: Likewise.
54950 * sunrpc/rpc_util.c: Likewise.
54951 * sunrpc/rpc_util.h: Likewise.
54952 * sunrpc/rpcinfo.c: Likewise.
54953 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54954 * sunrpc/rpcsvc/key_prot.x: Likewise.
54955 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54956 * sunrpc/rpcsvc/mount.x: Likewise.
54957 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54958 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54959 * sunrpc/rpcsvc/rex.x: Likewise.
54960 * sunrpc/rpcsvc/rstat.x: Likewise.
54961 * sunrpc/rpcsvc/rusers.x: Likewise.
54962 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54963 * sunrpc/rpcsvc/spray.x: Likewise.
54964 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54965 * sunrpc/rtime.c: Likewise.
54966 * sunrpc/svc.c: Likewise.
54967 * sunrpc/svc_auth.c: Likewise.
54968 * sunrpc/svc_authux.c: Likewise.
54969 * sunrpc/svc_raw.c: Likewise.
54970 * sunrpc/svc_run.c: Likewise.
54971 * sunrpc/svc_simple.c: Likewise.
54972 * sunrpc/svc_tcp.c: Likewise.
54973 * sunrpc/svc_udp.c: Likewise.
54974 * sunrpc/svc_unix.c: Likewise.
54975 * sunrpc/svcauth_des.c: Likewise.
54976 * sunrpc/xcrypt.c: Likewise.
54977 * sunrpc/xdr.c: Likewise.
54978 * sunrpc/xdr_array.c: Likewise.
54979 * sunrpc/xdr_float.c: Likewise.
54980 * sunrpc/xdr_mem.c: Likewise.
54981 * sunrpc/xdr_rec.c: Likewise.
54982 * sunrpc/xdr_ref.c: Likewise.
54983 * sunrpc/xdr_sizeof.c: Likewise.
54984 * sunrpc/xdr_stdio.c: Likewise.
54986 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54989 2010-08-19 Andreas Schwab <schwab@redhat.com>
54991 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54993 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54995 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54996 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54997 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54998 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54999 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55000 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55001 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55002 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55003 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55004 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55005 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55006 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55007 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55008 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55010 2010-07-26 Anton Blanchard <anton@samba.org>
55012 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55013 * malloc/arena.c (heap_trim): Likewise.
55015 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55017 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55019 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55020 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55022 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55024 * sysdeps/i386/elf/Makefile: New file.
55026 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55028 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55029 from fanotify_init.
55030 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55031 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55033 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55035 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55037 * sysdeps/multiarch/strcmp.S: Likewise.
55039 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55041 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55042 strncase_l-nonascii.
55043 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55044 Add strncase_l-ssse3.
55045 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55046 * sysdeps/x86_64/strcmp.S: Likewise.
55047 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55048 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55049 * sysdeps/x86_64/strncase.S: New file.
55050 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55051 * sysdeps/x86_64/strncase_l.S: New file.
55052 * string/Makefile (strop-tests): Add strncasecmp.
55053 * string/test-strncasecmp.c: New file.
55055 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55058 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55059 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55061 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55063 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55065 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55067 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55068 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55069 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55071 2010-05-01 Alan Modra <amodra@gmail.com>
55073 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55074 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55075 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55076 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55077 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55078 tidying. Don't tail-call __sigjmp_save for static lib.
55079 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55081 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55082 (CALL_MCOUNT): Add eh info, and nop after bl.
55083 (TAIL_CALL_SYSCALL_ERROR): New macro.
55084 (PSEUDO_RET): Use it.
55085 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55086 Correct save location of integer regs and cr.
55087 (_dl_profile_resolve): Correct cr save location. Delete nops
55088 after bl when SHARED. Reduce cfi size a little by better
55089 placement of cfi directives.
55090 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55091 make a stack frame. Instead use parm save area as a temp.
55092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55093 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55095 Don't make a stack frame for parent, use parm save area.
55096 Increase child stack frame to 112 bytes. Don't save unused reg,
55097 and adjust reg usage. Set up cfi on error recovery and
55098 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55100 (__makecontext): Add dummy nop after jump to exit.
55101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55102 Use correct parm save area and cr save, reduce stack frame.
55103 Correct cfi for possible PSEUDO_RET frame setup.
55104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55105 Branch to local label emitted by PSEUDO_RET rather than
55108 2010-08-12 Andreas Schwab <schwab@redhat.com>
55111 * locale/programs/locale.c (print_assignment): New function.
55112 (show_locale_vars): Use it.
55114 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55116 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55118 (struct statfs64): Likewise.
55119 (_STATFS_F_FLAGS): Define.
55120 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55121 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55122 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55123 (ST_VALID): Define locally.
55124 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55125 __statvfs_getflags, use the provided value.
55126 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55127 __ASSUME_STATFS_F_FLAGS.
55129 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55131 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55132 Add sys/fanotify.h.
55133 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55134 fanotify_mask for GLIBC_2.13.
55135 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55136 fanotify_init and fanotify_mark.
55137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55138 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55140 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55142 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55143 prlimit64 for GLIBC_2.13.
55144 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55146 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55149 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55150 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55151 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55152 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55154 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55157 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55158 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55160 * nss/Makefile: Add rules to build and run tst-nss-test1.
55161 * shlib-versions: Add entry for libnss_test1.
55162 * nss/nss_test1.c: New file.
55163 * nss/tst-nss-test1.c: New file.
55165 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55166 (__nss_configure_lookup): Set appropriate entry in
55167 __nss_configure_lookup to true.
55168 * nss/nsswitch.h: Define enum with indeces of databases in
55169 databases and __nss_database_custom arrays. Declare
55170 __nss_database_custom.
55171 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55172 to avoid using nscd when custom rules are installed.
55173 * nss/getXXbyYY_r.c: Likewise.
55174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55176 * nss/nss_files/files-parse.c: Whitespace fixes.
55178 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55181 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55182 * posix/fnmatch_loop.c: Likewise.
55184 2010-07-17 Andi Kleen <ak@linux.intel.com>
55186 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55187 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55188 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55189 * Versions.def [GLIBC_2.13]: Add.
55191 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55193 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55194 Also fail if tpwd after pwuid call is NULL.
55196 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55198 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55199 when converting to ms.
55201 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55203 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55204 EOPNOTSUPP errors with ENOTTY.
55205 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55206 EOPNOTSUPP errors with ENOTTY.
55208 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55210 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55211 Add strcasecmp_l-ssse3.
55212 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55214 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55215 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55216 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55218 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55220 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55222 * string/Makefile (strop-tests): Add strcasecmp.
55223 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55224 strcasecmp_l-nonascii.
55225 (gen-as-const-headers): Add locale-defines.sym.
55226 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55227 * sysdeps/x86_64/strcasecmp.S: New file.
55228 * sysdeps/x86_64/strcasecmp_l.S: New file.
55229 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55230 * sysdeps/x86_64/locale-defines.sym: New file.
55231 * string/test-strcasecmp.c: New file.
55233 * string/test-strcasestr.c: Test both ends of the range of characters.
55234 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55236 2010-07-29 Roland McGrath <roland@redhat.com>
55239 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55241 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55243 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55246 2010-07-27 Andreas Schwab <schwab@redhat.com>
55248 * manual/memory.texi (Malloc Tunable Parameters): Document
55251 2010-07-26 Roland McGrath <roland@redhat.com>
55254 * configure.in (-fgnu89-inline check): Set and substitute
55255 gnu89_inline, not libc_cv_gnu89_inline.
55256 * configure: Regenerated.
55257 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55259 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55261 * string/test-strnlen.c: New file.
55262 * string/Makefile (strop-tests): Add strnlen.
55263 * string/tester.c (test_strnlen): Add a few more test cases.
55264 * string/tst-strlen.c: Better error reporting.
55266 * sysdeps/x86_64/strnlen.S: New file.
55268 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55271 lower-latency instructions.
55273 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55275 * string/test-strcasestr.c: New file.
55276 * string/test-strstr.c: New file.
55277 * string/Makefile (strop-tests): Add strstr and strcasestr.
55278 * string/str-two-way.h: Don't undefine MAX.
55279 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55281 2010-07-21 Andreas Schwab <schwab@redhat.com>
55283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55284 strcasestr-nonascii.
55285 (CFLAGS-strcasestr-nonascii.c): Define.
55286 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55287 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55288 Remove unused attribute.
55290 2010-07-20 Roland McGrath <roland@redhat.com>
55292 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55293 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55294 ld.so.cache was broken. With it, there is no way to disable dsocaps
55295 like LD_HWCAP_MASK can disable hwcaps.
55297 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55299 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55301 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55303 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55304 call in strcasestr.
55305 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55306 __strcasestr_sse42_nonascii.
55307 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55308 strcasestr-nonascii.c.
55309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55311 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55313 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55314 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55315 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55316 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55318 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55320 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55323 2010-07-06 Andreas Schwab <schwab@redhat.com>
55326 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55329 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55331 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55332 _PC_PIPE_BUF using F_GETPIPE_SZ.
55334 2010-07-05 Roland McGrath <roland@redhat.com>
55336 * manual/arith.texi (Rounding Functions): Fix rint description
55337 implicit in round description.
55339 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55341 * elf/Makefile: Fix linking for a few tests to make recent linker
55344 2010-06-30 Andreas Schwab <schwab@redhat.com>
55346 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55347 $(common-objpfx)libc_nonshared.a.
55349 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55351 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55352 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55353 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55354 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55355 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55356 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55357 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55358 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55373 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55374 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55375 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55376 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55377 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55378 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55379 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55380 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55381 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55382 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55383 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55384 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55400 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55402 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55403 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55404 * string/memmove.c (memmove): Renamed to ...
55405 (MEMMOVE): ...this. Default to memmove.
55406 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55407 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55410 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55411 mempcpy-ssse3-back memmove-ssse3-back.
55412 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55413 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55414 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55415 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55416 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55417 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55418 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55419 * sysdeps/x86_64/multiarch/memmove.c: New file.
55420 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55421 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55422 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55423 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55424 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55425 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55427 (index_Fast_Copy_Backward): Define.
55428 (HAS_ARCH_FEATURE): Define.
55429 (HAS_FAST_REP_STRING): Define.
55430 (HAS_FAST_COPY_BACKWARD): Define.
55432 2010-06-21 Andreas Schwab <schwab@redhat.com>
55434 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55435 Restore proper fallback handling.
55437 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55440 * posix/group_member.c (__group_member): Correct checking loop.
55442 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55443 OOM in getpwuid_r correctly. Return error number when the caller
55444 should return, otherwise -1.
55445 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55446 call returning > 0 value.
55447 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55449 2010-06-07 Andreas Schwab <schwab@redhat.com>
55451 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55452 libc_nonshared.a from targets in modules-names.
55454 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55456 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55459 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55461 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55464 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55466 2010-06-02 Andreas Schwab <schwab@redhat.com>
55468 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55470 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55472 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55474 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55476 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55477 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55478 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55479 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55481 2010-06-14 Roland McGrath <roland@redhat.com>
55483 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55485 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55487 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55488 __REDIRECT followed by __THROW.
55489 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55490 * posix/getopt.h (getopt): Likewise.
55492 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55494 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55495 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55496 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55498 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55499 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55501 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55503 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55505 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55509 Properly check family and model.
55511 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55513 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55515 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55517 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55519 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55521 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55524 2010-05-19 Andreas Schwab <schwab@redhat.com>
55526 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55529 2010-05-21 Andreas Schwab <schwab@redhat.com>
55531 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55532 and internal_recvmmsg.
55533 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55534 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55535 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55536 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55538 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55539 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55540 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55542 2010-05-20 Andreas Schwab <schwab@redhat.com>
55544 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55546 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55548 POWER7 optimizations.
55549 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55550 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55552 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55554 * version.h: Update for 2.13 development version.
55556 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55558 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55559 exceptions. Return 0.
55561 2010-05-07 Roland McGrath <roland@redhat.com>
55563 * elf/ldconfig.c (main): Add a const.
55565 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55567 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55568 (args_options): Add no-idn option.
55569 (ahosts_keys_int): Add idn_flags to ai_flags.
55570 (parse_option): Handle 'i' option to clear idn_flags.
55572 * malloc/malloc.c (_int_free): Possible race in the most recently
55573 added check. Only act on the data if no current modification
55576 See ChangeLog.17 for earlier changes.