1 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5 twom64. Adjust value to 0x1p-64L.
6 (__scalblnl): Only return standard underflowing result for K <=
7 -64 not K <= -63; adjust exponent for underflowing result by 64
9 * math/libm-test.inc (scalbn_test_data): Add more tests.
10 (scalbln_test_data): Likewise.
13 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15 (__scalblnl): Get new exponent of adjusted subnormal value from ES
17 * math/libm-test.inc (scalbn_test_data): Add more tests.
18 (scalbln_test_data): Likewise.
20 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21 Stefani Seibold <stefani@seibold.net>
23 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24 (sysdep_routines): Add dl-vdso here, ...
25 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26 (sysdep_routines): ... not here.
27 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
28 fallback when vDSO is not presented.
29 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30 Define with libc_hidden_proto/libc_hidden_data_def definitions.
31 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
32 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
36 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
38 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
40 fallback configurable symbol when vDSO is not available.
41 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
42 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
43 be able to redefine fallback symbol when vDSO is not available.
44 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
45 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
47 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
50 (TLS_INIT_TP): Add tm_capable initialization.
51 (TLS_DEFINE_INIT_TP): Likewise.
52 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
54 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
55 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
57 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
58 transactoion is lock elision is built and TCB tm_capable is set.
59 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
60 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61 (INTERNAL_SYSCALL_NCS): Likewise.
62 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
63 (INTERNAL_SYSCALL_NCS): Likewise.
64 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
66 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
68 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
69 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
70 and remove it for 32 bits case.
71 [pthread_rwlock_t] (__rwelision): New field for lock elision.
72 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
74 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
75 Disable lock elision with rdlocks if elision is not available.
77 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
78 (sysdep_routines): Add lock elision objects.
79 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
80 [pthread_mutex_t] (__spins): Rework to add lock elision field.
81 [pthread_mutex_t] (__elision): Add field.
82 [__PTHREAD_SPINS]: Adjust to init lock elision field.
83 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
84 elision definitions for powerpc.
85 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
86 implementation of lock elision for powerpc.
87 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
88 implementation of timed lock elision for powerpc.
89 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
90 implementation of trylock with lock elision for powerpc.
91 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
92 implementaion of unlock for lock elision for powerpc.
93 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
94 automatic enable lock elision for mutexes.
95 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
96 transaction execution definitions for powerpc.
97 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
99 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
100 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
105 2015-01-09 Roland McGrath <roland@hack.frob.com>
107 * sysdeps/posix/shm-directory.c: Use <> rather than ""
108 for #include of <shm-directory.h>.
110 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
113 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
115 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
118 * NEWS: Mention bug fix.
119 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
120 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
121 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
123 2015-01-09 Torvald Riegel <triegel@redhat.com>
125 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
127 2015-01-09 Torvald Riegel <triegel@redhat.com>
129 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
131 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
133 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
134 pointer and cast to uintptr_t.
136 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
138 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
140 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
142 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
144 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
147 2015-01-08 Roland McGrath <roland@hack.frob.com>
149 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
150 <nptl/pthreadP.h> instead.
151 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
153 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
155 [__SIGRTMIN] (init): Function removed.
156 [__SIGRTMIN] (initialized): Variable removed.
157 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
158 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
159 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
160 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
161 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
162 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
163 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
164 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
165 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
166 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
167 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
168 * sysdeps/nptl/allocrtsig.c: New file.
169 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
170 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
171 * sysdeps/generic/testrtsig.h: File removed.
173 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
174 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
176 * nptl/nptl-init.c (pthread_functions): Conditionalize
177 .ptr__nptl_setxid initialization on [SIGSETXID].
179 * sysdeps/nptl/sys/procfs.h: New file.
180 * nptl_db/Makefile (headers): Add it.
181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
183 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
184 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
185 * nptl/pthread_attr_setaffinity.c: Include it.
186 * nptl/pthread_setattr_default_np.c: Likewise.
187 * nptl/check-cpuset.h: New file.
189 2015-01-08 Richard Henderson <rth@redhat.com>
191 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
192 (CFLAGS-tst-execstack-prog.c): Likewise.
193 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
195 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
196 Sandra Loosemore <sandra@codesourcery.com>
197 Andrew Jenner <andrew@codesourcery.com>
198 Joseph Myers <joseph@codesourcery.com>
199 Nathan Sidwell <nathan@codesourcery.com>
201 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
202 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
203 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
204 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
205 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
206 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
207 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
208 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
209 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
210 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
211 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
212 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
213 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
214 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
215 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
216 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
217 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
219 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
222 timespec struct member in syscall macro.
223 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
224 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
225 first timeval struct member in syscall macro.
226 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
228 2015-01-07 Joseph Myers <joseph@codesourcery.com>
231 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
232 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
233 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
234 __feupdateenv and define as weak alias of __feupdateenv. Use
236 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
238 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
239 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
240 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
241 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
243 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
244 __feupdateenv and define as weak alias of __feupdateenv. Use
246 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
248 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
249 __feupdateenv and define as weak alias of __feupdateenv. Use
251 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
253 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
254 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
255 (__feupdateenv): Likewise.
256 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
257 __feupdateenv and define as weak alias of __feupdateenv. Use
259 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
260 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
262 * sysdeps/tile/math_private.h (__feupdateenv): New inline
264 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
266 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
267 __feupdateenv instead of feupdateenv.
268 (default_libc_feupdateenv_test): Likewise.
269 (libc_feresetround_ctx): Likewise.
271 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
273 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
276 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
278 * posix/regcomp.c (parse_bracket_exp): Initialize type to
279 COLL_SYM in a couple of places to avoid uninitialized variable
280 wanings on tilegx gcc 4.8.2.
282 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
284 * sysdeps/aarch64/strcpy.S: New file.
285 * sysdeps/aarch64/stpcpy.S: New file.
288 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
290 * sysdeps/aarch64/strrchr.S: New file.
293 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
296 * stdlib/setenv.c: Fix memory leak when setting large,
299 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
302 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
303 and tabs from buffer before parsing fstab entry.
304 * misc/tst-mntent.c (main): Add test for mount entry with
305 trailing spaces and tabs.
307 2015-01-06 Joseph Myers <joseph@codesourcery.com>
310 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
311 * math/fesetround.c (fesetround): Rename to __fesetround and
312 define as weak alias of __fesetround. Use libm_hidden_weak.
313 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
314 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
315 * sysdeps/arm/fesetround.c (fesetround): Likewise.
316 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
317 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
318 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
319 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
320 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
321 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
323 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
324 __fesetround_inline instead of __fesetround.
325 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
326 __fesetround and define as weak alias of __fesetround. Use
327 libm_hidden_weak. Call __fesetround_inline instead of
329 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
330 __fesetround and define as weak alias of __fesetround. Use
332 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
334 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
335 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
336 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
337 * sysdeps/tile/math_private.h (__fesetround): New inline function.
338 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
339 __fesetround and define as weak alias of __fesetround. Use
341 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
342 __fesetround instead of fesetround.
343 (default_libc_feholdexcept_setround): Likewise.
344 (libc_feholdsetround_ctx): Likewise.
345 (libc_feholdsetround_noex_ctx): Likewise.
348 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
349 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
350 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
351 and define as weak alias of __fesetenv. Use libm_hidden_weak.
352 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
353 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
354 define as weak alias of __fesetenv. Use libm_hidden_weak.
355 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
356 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
357 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
358 define as weak alias of __fesetenv. Use libm_hidden_weak.
359 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
360 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
361 define as weak alias of __fesetenv. Use libm_hidden_weak.
362 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
364 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
365 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
367 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
368 define as weak alias of __fesetenv. Use libm_hidden_weak.
369 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
370 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
371 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
372 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
373 and define as weak alias of __fesetenv. Use libm_hidden_weak.
374 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
375 __fesetenv instead of fesetenv.
376 (libc_feresetround_noex_ctx): Likewise.
377 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
378 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
379 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
380 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
381 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
382 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
383 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
384 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
385 (__feupdateenv): Likewise.
386 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
387 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
388 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
389 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
391 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
394 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
395 addresses have been freed.
397 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
399 * resolv/res_init.c (__res_vinit): Improve comments about nserv
402 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
404 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
405 Clean up check_pf allocation pattern. addresses
407 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
410 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
411 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
412 * nptl/pthread_exit.c (__pthread_exit): Likewise.
413 * nptl/pthread_join.c (pthread_join): Likewise.
414 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
415 * sysdeps/posix/waitid.c (__waitid): Likewise.
416 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
417 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
418 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
419 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
420 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
423 (__libc_pread64): Likewise.
424 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
425 (__libc_pwrite): Likewise.
426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
427 (__libc_pwrite64): Likewsie.
428 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
429 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
430 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
431 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
432 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
433 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
434 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
438 (__libc_pread64): Likewise.
439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
442 (__libc_pwrite64): Likewise.
443 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
444 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
445 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
446 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
447 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
448 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
449 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
450 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
451 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
452 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
453 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
454 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
455 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
456 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
457 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
458 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
461 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
463 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
464 (CFLAGS-test-double.c): Likewise.
465 (CFLAGS-test-ldouble.c): Likewise.
466 (CPPFLAGS-test-ifloat.c): Likewise.
467 (CPPFLAGS-test-idouble.c): Likewise.
468 (CPPFLAGS-test-ildoubl.c): Likewise.
469 (CFLAGS-test-test-fenv.c): Remove variable.
470 (CFLAGS-test-misc.c): Likewise.
472 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
475 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
476 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
477 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
478 CLOCKS_PER_SEC == 1000000.
479 * time/clocktest.c (main): Replace %ld with %jd and cast to
482 2015-01-05 Roland McGrath <roland@hack.frob.com>
484 * sysdeps/generic/unwind-resume.h: New file.
485 * sysdeps/gnu/unwind-resume.c: Include it.
486 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
487 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
489 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
490 global rather than static.
491 (_Unwind_Resume): Update user.
492 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
493 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
494 rather than static. Add __attribute__ ((cold)).
495 (_Unwind_Resume, __gcc_personality_v0): Update callers.
496 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
497 * sysdeps/arm/arm-unwind-resume.S: New file.
498 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
499 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
500 * sysdeps/arm/Makefile [$(subdir) = csu]
501 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
502 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
503 Add rt-arm-unwind-resume.
505 (libpthread-sysdep_routines, libpthread-shared-only-routines):
506 Add pt-arm-unwind-resume.
507 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
508 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
510 2015-01-05 Joseph Myers <joseph@codesourcery.com>
513 * include/fenv.h (__feholdexcept): Declare. Use
515 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
516 define as weak alias of __feholdexcept. Use libm_hidden_weak.
517 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
518 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
519 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
520 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
521 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
522 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
523 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
524 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
525 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
526 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
527 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
528 (feholdexcept): Likewise.
529 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
530 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
531 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
532 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
533 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
534 __feholdexcept instead of feholdexcept.
535 (default_libc_feholdexcept_setround): Likewise.
537 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
539 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
540 to avoid using stl/str to align destination.
542 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
544 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
546 2015-01-05 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
550 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
551 Define as weak alias not strong alias.
553 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
555 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
559 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
561 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
562 for __vdso_* functions in declarations.
563 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
565 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
566 INTERNAL_VSYSCALL): Use struct return types to check for error.
568 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
569 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
570 function with cast from llround().
571 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
572 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
575 2015-01-05 Joseph Myers <joseph@codesourcery.com>
578 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
579 Define as weak alias not strong alias.
582 * ctype/ctype-c99.c: New file. isblank implementation moved from
584 * ctype/ctype-extn.c: ... here.
585 (__isblank_l): Move to ...
586 * ctype/ctype-c99_l.c: ... here. New file.
587 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
588 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
590 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
591 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
592 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
593 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
594 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
597 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
598 (posix_fadvise64): Define as weak alias not strong alias.
599 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
600 (posix_fallocate64): Likewise.
601 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
603 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
604 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
605 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
606 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
607 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
609 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
612 * NEWS: Mention bug fix.
613 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
614 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
615 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
616 (HOST_STACK_END_ADDR): Likewise.
618 2015-01-02 Joseph Myers <joseph@codesourcery.com>
621 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
622 * math/fegetround.c (fegetround): Rename to __fegetround and
623 define as weak alias of __fegetround. Use libm_hidden_weak.
624 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
625 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
626 * sysdeps/arm/fegetround.c (fegetround): Likewise.
627 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
628 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
629 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
630 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
631 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
632 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
633 Undefine after rather than before function definition; use
634 parentheses around function name in definition.
635 (__fegetround): Also undefine macro after function definition.
636 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
637 __fegetround and define as weak alias of __fegetround. Use
638 libm_hidden_weak. Do not undefine as macro.
639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
641 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
642 __fegetround and define as weak alias of __fegetround. Use
644 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
645 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
646 * sysdeps/tile/math_private.h (__fegetround): New inline function.
647 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
648 __fegetround and define as weak alias of __fegetround. Use
650 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
651 __fegetround instead of fegetround.
654 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
655 Condition macro definition on [__USE_MISC].
658 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
659 (struct sigaction): Change type of sa_flags field to int.
662 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
663 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
666 * nptl/version.c (banner): Use single year in copyright notice.
668 * NEWS: Update copyright dates.
669 * catgets/gencat.c (print_version): Likewise.
670 * csu/version.c (banner): Likewise.
671 * debug/catchsegv.sh: Likewise.
672 * debug/pcprofiledump.c (print_version): Likewise.
673 * debug/xtrace.sh (do_version): Likewise.
674 * elf/ldconfig.c (print_version): Likewise.
675 * elf/ldd.bash.in: Likewise.
676 * elf/pldd.c (print_version): Likewise.
677 * elf/sotruss.sh: Likewise.
678 * elf/sprof.c (print_version): Likewise.
679 * iconv/iconv_prog.c (print_version): Likewise.
680 * iconv/iconvconfig.c (print_version): Likewise.
681 * locale/programs/locale.c (print_version): Likewise.
682 * locale/programs/localedef.c (print_version): Likewise.
683 * login/programs/pt_chown.c (print_version): Likewise.
684 * malloc/memusage.sh (do_version): Likewise.
685 * malloc/memusagestat.c (print_version): Likewise.
686 * malloc/mtrace.pl: Likewise.
687 * manual/libc.texinfo: Likewise.
688 * nptl/version.c (banner): Likewise.
689 * nscd/nscd.c (print_version): Likewise.
690 * nss/getent.c (print_version): Likewise.
691 * nss/makedb.c (print_version): Likewise.
692 * posix/getconf.c (main): Likewise.
693 * scripts/test-installation.pl: Likewise.
694 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
696 2015-01-02 Will Newton <will.newton@linaro.org>
698 * sysdeps/arm/armv7/configure: Removed.
699 * sysdeps/arm/armv7/configure.ac: Likewise.
701 2015-01-02 Joseph Myers <joseph@codesourcery.com>
703 * All files with FSF copyright notices: Update copyright dates
704 using scripts/update-copyrights.
705 * intl/plural.c: Regenerated.
706 * locale/programs/charmap-kw.h: Likewise.
707 * locale/programs/locfile-kw.h: Likewise.
709 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
711 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
713 2014-12-31 Joseph Myers <joseph@codesourcery.com>
716 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
717 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
718 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
719 and define as weak alias of __fegetenv. Use libm_hidden_weak.
720 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
721 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
722 define as weak alias of __fegetenv. Use libm_hidden_weak.
723 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
724 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
725 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
726 define as weak alias of __fegetenv. Use libm_hidden_weak.
727 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
728 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
729 define as weak alias of __fegetenv. Use libm_hidden_weak.
730 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
732 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
733 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
735 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
736 define as weak alias of __fegetenv. Use libm_hidden_weak.
737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
738 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
739 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
740 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
741 and define as weak alias of __fegetenv. Use libm_hidden_weak.
742 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
743 __fegetenv instead of fegetenv.
744 (libc_feholdsetround_noex_ctx): Likewise.
746 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
748 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
749 (Elf_MIPS_ABIFlags_v0): New structure.
750 (EF_MIPS_FP64): Define.
751 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
752 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
753 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
754 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
755 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
756 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
757 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
758 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
759 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
760 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
761 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
762 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
763 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
764 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
765 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
766 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
767 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
768 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
769 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
770 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
771 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
772 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
774 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
776 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
777 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
778 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
779 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
780 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
781 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
782 * sysdeps/mips/tst-abi-interlink.c: Likewise.
783 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
784 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
785 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
786 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
787 record the current FP ABI extension.
788 (mips-mode-switch): Define to show if kernel headers support mode
790 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
791 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
792 supported SYSV ABI version to 3.
793 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
796 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
797 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
799 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
801 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
803 2014-12-31 Joseph Myers <joseph@codesourcery.com>
805 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
806 __fegetround and redefine to call __fegetround. Remove condition
807 on [!__NO_MATH_INLINES].
808 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
810 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
811 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
813 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
814 instead of <fenv_libc.h>.
815 (__llrintl): Call fegetround instead of __fegetround.
816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
817 instead of <fenv_libc.h>.
818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
819 (__lrintl): Call fegetround instead of __fegetround.
820 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
821 instead of <fenv_libc.h>.
822 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
823 (__rintl): Call fegetround instead of __fegetround.
825 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
827 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
830 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
833 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
834 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
835 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
837 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
839 * sysdeps/i386/tls-macros.h: Include <features.h>.
840 (TLS_LE): Use non-PIC version for GCC >= 5.0.
844 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
845 define for GCC >= 5.0.
847 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
849 * math/test-fenv.c (test_single_exception, set_single_exc,
850 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
851 feexcp_mask_test, feenable_test, fe_single_test): Add
852 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
853 case where they are not used.
854 * math/libm-test.inc: Likewise.
855 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
856 unused in the absence of FP rounding/exception support.
857 * stdio-common/tst-printf-round.c: Likewise.
858 * stdlib/tst-strtod-round.c: Likewise.
859 * stdlib/tst-strtod-underflow.c: Likewise.
861 2014-12-30 Joseph Myers <joseph@codesourcery.com>
864 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
865 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
866 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
867 __feraiseexcept and define as weak alias of __feraiseexcept. Use
869 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
870 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
871 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
873 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
874 __feraiseexcept and define as weak alias of __feraiseexcept. Use
876 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
878 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
879 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
880 __feraiseexcept and define as weak alias of __feraiseexcept. Use
882 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
884 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
885 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
886 (__feraiseexcept): Likewise.
887 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
888 __feraiseexcept and define as weak alias of __feraiseexcept. Use
890 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
891 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
893 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
894 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
896 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
898 (feraiseexcept): Define as weak not strong alias. Use
900 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
901 New inline function. Factored out of ...
902 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
903 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
904 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
906 * math/w_acos.c (__acos): Likewise.
907 * math/w_asin.c (__asin): Likewise.
908 * math/w_ilogb.c (__ilogb): Likewise.
909 * math/w_j0.c (y0): Likewise.
910 * math/w_j1.c (y1): Likewise.
911 * math/w_jn.c (yn): Likewise.
912 * math/w_log.c (__log): Likewise.
913 * math/w_log10.c (__log10): Likewise.
914 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
915 * sysdeps/aarch64/fpu/math_private.h
916 (libc_feupdateenv_test_aarch64): Likewise.
917 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
918 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
919 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
920 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
921 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
922 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
923 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
924 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
925 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
926 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
928 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
931 * io/test-utime.c (main): Replace %ld with %jd and cast to
933 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
934 * nptl/tst-mutex5.c: Include <stdint.h>.
935 (do_test): Replace %ld with %jd and cast to intmax_t.
936 * posix/tst-regex.c (run_test): Likewise.
937 (run_test_backwards): Likewise.
938 * rt/tst-clock.c: Include <stdint.h>.
939 (clock_test): Replace %ld with %jd and cast to intmax_t.
940 * rt/tst-cpuclock1.c: Include <stdint.h>.
941 (do_test): Replace %lu with %ju and cast to uintmax_t.
942 * rt/tst-cpuclock2.c: Include <stdint.h>.
943 (do_test): Replace %lu with %ju and cast to uintmax_t.
944 * rt/tst-mqueue1.c: Include <stdint.h>.
945 (check_attrs): Replace %ld with %jd and cast to intmax_t.
946 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
948 * rt/tst-mqueue4.c (do_test): Likewise.
949 * rt/tst-timer4.c: Include <stdint.h>.
950 (check_ts): Replace %ld with %jd and cast to intmax_t.
952 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
953 and cast to intmax_t.
954 * sysdeps/pthread/tst-timer.c (main): Likewise.
955 * time/clocktest.c (main): Likewise.
956 * time/tst-posixtz.c (do_test): Likewise.
957 * timezone/tst-timezone.c (main): Likewise.
959 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
960 H.J. Lu <hongjiu.lu@intel.com>
962 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
963 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
964 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
965 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
966 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
967 version if bit_Fast_Unaligned_Load is set.
968 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
969 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
970 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
971 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
972 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
973 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
975 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
976 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
977 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
979 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
980 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
981 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
982 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
984 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
986 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
987 instead of #if to avoid a Wundef warning.
988 * stdlib/tst-limits.c (do_test): Likewise.
990 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
991 parallel other exception macros.
992 (fegetenv): Convert from macro to extern inline so that it applies
993 retroactively to inline functions already seen by the compiler.
994 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
996 * posix/Makefile (before-compile): Use $(objpfx) for
997 posix-conf-vars-def.h.
999 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1001 * posix/getconf.c (main): Use size_t for type of I.
1002 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1005 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1006 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1007 * posix/posix-envs.def: Likewise.
1008 * sysdeps/posix/sysconf.c: Likewise.
1009 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1010 (specs): Remove array.
1011 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1014 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1015 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1016 (__sysconf): Use CONF_IS_* macros.
1018 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1019 ($(objpfx)posix-conf-vars-def.h): New target.
1020 * posix/posix-conf-vars.list: New file.
1021 * posix/posix-conf-vars.h: New file.
1022 * posix/confstr.c: Include posix-conf-vars.h.
1023 (confstr): Use CONF_IS_* macros.
1024 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1026 * scripts/gen-posix-conf-vars.awk: New file.
1028 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1030 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1031 fegetround): Add no-op macros to avoid linknamespace issues.
1033 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1034 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1036 * sysdeps/unix/sysv/linux/tile/sysdep.h
1037 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1038 assembly-specific section to avoid a redefinition warning.
1040 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1041 long before casting to pointer to avoid a cast warning.
1043 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1045 * sysdeps/tile/tilegx/Implies: New file.
1047 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1049 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1051 2014-12-23 Florian Weimer <fweimer@redhat.com>
1053 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1055 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1059 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1060 <kernel-features.h>.
1061 (__utimes) [__NR_utimes]: Make code unconditional.
1062 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1063 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1064 (__ASSUME_UTIMES): Do not undefine.
1065 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1066 (__ASSUME_UTIMES): Likewise.
1067 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1068 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1069 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1070 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1072 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1074 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1076 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1079 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1080 alias to weak alias for j0l, y0l.
1081 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1082 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1085 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1088 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1090 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1091 to zero if not already defined.
1093 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1096 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1097 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1098 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1099 (char *) casts added.
1100 * sysdeps/ieee754/k_standardf.c: New file.
1101 * sysdeps/ieee754/k_standardl.c: Likewise.
1102 * math/Makefile (libm-support): Remove k_standard.
1103 (libm-calls): Add k_standard.
1105 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1107 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1108 Optimize to avoid an unnecessary FPCR read.
1110 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1112 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1113 Optimize to reduce FPCR/FPSR accesses.
1115 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1117 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1118 Call libc_fetestexcept_aarch64.
1120 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1122 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1123 Call libc_fesetround_aarch64.
1125 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1128 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1129 (__bind): Do not define as weak alias.
1130 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1132 (__getsockname): Do not define as weak alias.
1134 2014-12-22 Will Newton <will.newton@linaro.org>
1136 * manual/install.texi: Document that we require bison 2.7
1138 * INSTALL: Regenerate.
1139 * configure.ac: Use AC_CHECK_PROG_VER instead of
1140 AC_PATH_PROG when checking for bison and check for
1141 version 2.7 or above.
1142 * configure: Regenerate.
1144 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1147 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1148 * sysdeps/tile/ffsll.c (ffsll): To here.
1150 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1152 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1154 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1156 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1158 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1159 hidden ___tls_get_addr.
1160 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1161 hidden __tls_get_addr.
1162 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1163 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1166 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1168 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1171 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1173 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1174 from "call _dl_init@PLT".
1175 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1177 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1179 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1182 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1184 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1186 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1189 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1192 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1194 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1196 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1197 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1198 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1199 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1200 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1202 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1204 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1205 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1206 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1207 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1208 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1210 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1212 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1214 * string/strncat.c (STRNCAT): Simplify implementation.
1216 2014-12-19 David S. Miller <davem@davemloft.net>
1218 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1219 access the quad as both a long double and as a series of 4 words.
1221 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1222 link_map->l_info array access.
1224 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1226 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1228 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1229 * math/atest-exp2.c (TIMEOUT): Likewise.
1230 * math/atest-sincos.c (TIMEOUT): Likewise.
1232 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1234 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1235 -Wno-error with -fno-builtin-lround.
1237 2014-12-19 Torvald Riegel <triegel@redhat.com>
1239 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1240 Contains futex constants and functions moved over from ...
1241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1242 <lowlevellock-futex.h>.
1243 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1244 (lll_timedwait_tid): Add comments and parentheses around macro
1247 2014-12-19 Torvald Riegel <triegel@redhat.com>
1249 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1250 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1251 (__lll_private_flag): Remove.
1252 (lll_futex_wait): Likewise.
1253 (lll_futex_timed_wait): Likewise.
1254 (lll_futex_wake): Likewise.
1255 (lll_futex_requeue): Likewise.
1256 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1257 (__lll_timedwait_tid): Spell out argument names.
1258 (lll_timedwait_tid): Add comments and parentheses around macro
1260 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1261 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1263 2014-12-19 Torvald Riegel <triegel@redhat.com>
1265 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1266 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1267 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1268 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1269 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1270 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1271 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1272 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1273 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1274 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1275 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1276 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1277 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1278 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1279 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1280 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1281 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1282 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1283 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1285 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1287 * sysdeps/x86_64/x32/Makefile: New file.
1289 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1291 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1292 1L with (mp_limb_t) 1.
1294 2014-12-17 Roland McGrath <roland@hack.frob.com>
1296 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1297 * nptl/libc_pthread_init.c: ... here.
1298 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1299 * nptl/register-atfork.c: ... here.
1301 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1302 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1303 Use assert_perror to check its return value.
1304 (__gai_create_helper_thread): Likewise.
1306 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1308 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1310 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1313 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1315 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1317 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1319 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1321 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1322 (profil_counter): Likewise.
1323 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1324 (profil_counter): Likewise.
1325 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1327 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1329 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1330 (profil_counter): Likewise.
1331 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1333 [!__profil_counter] (profil_counter): Define as weak alias of
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1336 (profil_counter): Rename to __profil_counter.
1337 [!__profil_counter] (profil_counter): Define as weak alias of
1339 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1340 (profil_counter): Rename to __profil_counter.
1341 [!__profil_counter] (profil_counter): Define as weak alias of
1343 * sysdeps/posix/profil.c: Update comment referring to
1345 (__profil): Use __profil_counter instead of profil_counter.
1346 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1347 __profil_counter. Use __profil_counter_ushort and
1348 __profil_counter_uint in definitions.
1349 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1350 instead of profil_counter_uint and profil_counter_ushort.
1353 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1354 define as weak alias of __inet_makeaddr.
1355 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1356 as weak alias of __inet_addr.
1357 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1358 as weak alias of __inet_pton. Use libc_hidden_weak.
1359 * include/arpa/inet.h (__inet_pton): Declare. Use
1361 (inet_makeaddr): Don't use libc_hidden_proto.
1362 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1363 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1364 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1365 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1367 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1368 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1370 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1372 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1374 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1376 * stdio-common/bug-vfprintf-nargs.c (do_test):
1377 Cast value to intptr_t to avoid format warning
1378 for usage with PRIdPTR printing macro.
1380 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1382 * libio/tst-widetext.c (do_test):
1383 Use format type %td instead of %Zd for ptrdiff_t
1384 in order to avoid format warning.
1386 2014-12-17 Andreas Schwab <schwab@suse.de>
1388 * nscd/mem.c (gc): Add size_t cast to match printf format.
1390 2014-12-16 Roland McGrath <roland@hack.frob.com>
1392 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1393 (init): Apply PTR_MANGLE to pointers before storing them.
1394 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1397 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1400 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1401 define as weak alias of __memrchr.
1402 (__memrchr): Do not define as strong alias of memrchr.
1403 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1405 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1406 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1407 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1410 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1411 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1412 (if_indextoname): Rename to __if_indextoname and define as weak
1413 alias of __if_indextoname. Use libc_hidden_weak.
1414 (if_freenameindex): Rename to __if_freenameindex and define as
1415 weak alias of __if_freenameindex.
1416 (if_nameindex): Rename to __if_nameindex and define as weak alias
1418 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1419 __if_nametoindex and define as weak alias of __if_nametoindex.
1420 Use libc_hidden_weak.
1421 (if_freenameindex): Rename to __if_freenameindex and define as
1422 weak alias of __if_freenameindex.
1423 (if_nameindex): Rename to __if_nameindex and define as weak alias
1425 (if_indextoname): Rename to __if_indextoname and define as weak
1426 alias of __if_indextoname. Use libc_hidden_weak.
1427 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1428 __if_nametoindex and define as weak alias of __if_nametoindex.
1429 Use libc_hidden_weak.
1430 (if_freenameindex): Rename to __if_freenameindex and define as
1431 weak alias of __if_freenameindex. Use libc_hidden_weak.
1432 (if_nameindex_netlink): Use __if_freenameindex instead of
1434 (if_nameindex): Rename to __if_nameindex and define as weak alias
1435 of __if_nameindex. Use libc_hidden_weak.
1436 (if_indextoname): Rename to __if_indextoname and define as weak
1437 alias of __if_indextoname. Use libc_hidden_weak.
1438 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1440 [!_ISOMAC] (__if_freenameindex): Likewise.
1441 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1443 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1445 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1446 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1447 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1448 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1449 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1450 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1451 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1453 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1455 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1456 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1458 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1460 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1461 subscript above bounds'
1463 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1466 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1468 * libio/tst-fopenloc.c: Use test-skeleton.c.
1470 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1471 (entry): Rename to ITEM.
1472 (do_test, comp): Adjust.
1474 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1476 2014-12-16 Torvald Riegel <triegel@redhat.com>
1478 * string/tester.c: Include <libc-internal.h>.
1479 (test_memset): Ignore -Wmemset-transposed-args.
1481 2014-12-16 Torvald Riegel <triegel@redhat.com>
1483 * misc/tst-mntent2.c (do_test): Fix warning.
1485 2014-12-16 Torvald Riegel <triegel@redhat.com>
1487 * elf/tst-unique4lib.cc(a): Mark as used.
1489 2014-12-16 Florian Weimer <fweimer@redhat.com>
1492 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1495 2014-12-16 Allan McRae <allan@archlinux.org>
1497 * stdio-common/Makefile (tests): Re-add bug26.
1499 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1502 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1505 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1507 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1508 (__lll_lock_wait): Likewise.
1509 (__lll_timedlock_wait): Likewise.
1510 (__lll_timedwait_tid): Likewise.
1511 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1512 (__lll_robust_timedlock_wait): Likewise.
1513 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1514 (lll_cond_trylock): Likewise.
1515 (__lll_lock): Likewise.
1516 (__lll_robust_lock): Likewise.
1517 (__lll_cond_lock): Likewise.
1518 (lll_robust_cond_lock): Likewise.
1519 (__lll_timedlock): Likewise.
1520 (__lll_robust_timedlock): Likewise.
1521 (__lll_unlock): Likewise.
1522 (__lll_robust_unlock): Likewise.
1523 (lll_wait_tid): Likewise.
1524 (lll_timedwait_tid): Likewise.
1526 2014-12-15 Torvald Riegel <triegel@redhat.com>
1528 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1530 2014-12-15 Torvald Riegel <triegel@redhat.com>
1532 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1534 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1536 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1537 * stdio-common/tst-sprintf.c: Likewise.
1539 2014-12-15 Torvald Riegel <triegel@redhat.com>
1541 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1543 2014-12-15 Jeff Law <law@redhat.com>
1546 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1547 on the heap. (CVE-2012-3406)
1548 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1549 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1550 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1552 2014-12-15 Will Newton <will.newton@linaro.org>
1554 * manual/install.texi: Bump required version of texinfo
1556 * INSTALL: Regenerated.
1557 * configure.ac: Check for makeinfo version 4.7 and above.
1558 * configure: Regenerated.
1560 2014-12-12 Roland McGrath <roland@hack.frob.com>
1562 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1563 PREFIX, string constant to insert between directory and name.
1564 * sysdeps/posix/shm_open.c: Update caller.
1565 * sysdeps/posix/shm_unlink.c: Likewise.
1566 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1567 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1568 (SEM_SHM_PREFIX): New macro.
1569 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1570 [$(have-thread-library) = no].
1571 * nptl/Makefile (libpthread-routines): Add shm-directory.
1572 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1573 * sysdeps/nptl/shm-directory.h: New file.
1574 * sysdeps/posix/shm-directory.c
1575 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1576 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1577 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1579 (__where_is_shmfs): Function removed.
1580 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1582 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1584 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1586 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1587 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1588 unconditional for use inside libpthread.
1589 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1591 2014-12-12 Roland McGrath <roland@hack.frob.com>
1593 * nptl/pthread_getaffinity.c: New file.
1594 * nptl/pthread_setaffinity.c: New file.
1595 * nptl/pthread_getname.c: New file.
1596 * nptl/pthread_setname.c: New file.
1598 * nptl/pthread_create.c (START_THREAD_DEFN)
1599 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1601 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1602 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1604 * resolv/res_send.c (send_vc): Disable warning resplen may
1605 be used uninitialized.
1607 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1610 (ATTR_NULL): New define checks ATTR against NULL.
1611 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1612 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1614 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1618 (mem2mem_check): Revert my previous change.
1619 (malloc_check_get_size): Revert my previous change.
1620 (mem2chunk_check): Revert my previous change.
1622 2014-12-11 Roland McGrath <roland@hack.frob.com>
1624 * sysdeps/posix/shm-directory.c: New file.
1625 * sysdeps/posix/shm-directory.h: New file.
1626 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1627 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1628 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1629 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1630 Transmute EPERM to EACCES.
1631 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1633 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1634 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1636 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1638 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1639 pointer and cast to uintptr_t.
1640 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1641 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1642 Add cast to avoid warning.
1643 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1645 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1647 * nptl/semaphore.h: Move to ...
1648 * sysdeps/pthread/semaphore.h: ... here.
1649 * Makefile (installed-headers): Change nptl/semaphore.h to
1650 sysdeps/pthread/semaphore.h.
1652 2014-12-11 Roland McGrath <roland@hack.frob.com>
1654 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1655 generated error format strings.
1657 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1658 -Wformat-extra-args warnings for scanf formats.
1659 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1660 test of zero-length format (duh).
1661 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1662 corner-case scanf format test.
1663 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1664 generated fprintf format string.
1665 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1666 corner-case sprintf format tests.
1667 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1668 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1669 -Wformat-extra-args warnings throughout.
1670 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1671 (CFLAGS-scanf4.c): Likewise.
1672 (CFLAGS-scanf7.c): Likewise.
1673 (CFLAGS-tst-sprintf.c): Likewise.
1674 (CFLAGS-tst-printf.c): Likewise.
1675 (CFLAGS-tst-printfsz.c): Likewise.
1677 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1679 * include/cpio.h: New file.
1680 * include/fmtmsg.h: Likewise.
1682 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1683 corresponding format argument to size_t.
1684 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1686 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1687 corresponding format argument to size_t.
1688 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1690 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1691 corresponding format argument to size_t.
1692 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1693 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1694 (CFLAGS-tst-mbswcs2.c): Likewise.
1695 (CFLAGS-tst-mbswcs3.c): Likewise.
1696 (CFLAGS-tst-mbswcs4.c): Likewise.
1697 (CFLAGS-tst-mbswcs5.c): Likewise.
1698 (CFLAGS-tst-trans.c): Likewise
1700 2014-12-11 Roland McGrath <roland@hack.frob.com>
1702 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1703 rather than assuming they won't contain any '%'s.
1705 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1707 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1708 inhibit_loop_to_libcall to avoid recursive calls.
1709 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1710 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1712 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1714 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1717 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1719 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1720 integer value instead of boolean.
1722 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1724 * malloc/malloc.c: Fix powerof2 check.
1726 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1728 * locale/programs/locfile.h (maybe_swap_uint32):
1729 Remove inline and add unused attribute.
1731 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1734 Truncating assembler expression to a .long expression.
1736 2014-12-11 Andreas Schwab <schwab@suse.de>
1738 * elf/rtld.c (struct map_args): Constify str member.
1739 (do_preload): Constify fname argument.
1741 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1744 constants definition.
1746 2014-12-11 Andreas Schwab <schwab@suse.de>
1749 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1750 FORCE_ELISION instead of DO_ELISION.
1751 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1753 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1756 * iconvdata/gconv-modules: Remove duplicate entry.
1758 2014-12-11 Will Newton <will.newton@linaro.org>
1760 Merge gettext 0.19.3 into intl/.
1762 This involves a number of cosmetic changes to comments
1763 and ANSI function definitions and prototypes throughout
1764 all the files. The gettext copyright header is used but
1765 with the date ranges taken from the glibc copy.
1767 * NEWS: Add gettext merge to 2.21.
1768 * intl/bindtextdom.c: Switch to gettext copyright.
1769 Use ANSI definitions and prototypes.
1770 Use gl_* locking primitives rather than __libc_* ones.
1771 Use __builtin_expect rather than __glibc_likely/unlikely.
1772 * intl/dcgettext.c: Switch to gettext copyright.
1773 Use ANSI definitions and prototypes.
1774 * intl/dcigettext.c: Switch to gettext copyright.
1775 Use ANSI definitions and prototypes.
1776 (INTDIV0_RAISES_SIGFPE): New define.
1777 Use gl_* locking primitives rather than __libc_* ones.
1778 Include eval-plural.h instead of plural-eval.c.
1779 Use __builtin_expect rather than __glibc_likely/unlikely.
1780 * intl/dcngettext.c: Switch to gettext copyright.
1781 Use ANSI definitions and prototypes.
1782 * intl/dgettext.c: Likewise.
1783 * intl/dngettext.c: Likewise.
1784 * intl/plural-eval.c: Renamed to...
1785 * intl/eval-plural.h: ...this.
1786 * intl/explodename.c: Switch to gettext copyright.
1787 Use ANSI definitions and prototypes.
1788 (_nl_explode_name): Use strchr instead of __rawmemchr.
1789 * intl/finddomain.c: Switch to gettext copyright.
1790 Use ANSI definitions and prototypes.
1791 Use gl_* locking primitives rather than __libc_* ones.
1792 (_nl_find_domain): Use malloc rather than alloca for
1793 allocation of temporary locale name.
1794 * intl/gettext.c: Switch to gettext copyright.
1795 Use ANSI definitions and prototypes.
1796 * intl/gettextP.h: Switch to gettext copyright.
1797 Use ANSI definitions and prototypes.
1798 Use gl_* locking primitives rather than __libc_* ones.
1799 * intl/gmo.h: Switch to gettext copyright.
1800 (struct sysdep_string): Move struct segment_pair outside of
1802 * intl/hash-string.c: Use ANSI definitions and prototypes.
1803 * intl/hash-string.h: Switch to gettext copyright.
1804 Use ANSI definitions and prototypes.
1805 * intl/l10nflist.c: Switch to gettext copyright.
1806 Use ANSI definitions and prototypes.
1807 (_nl_normalize_codeset): Avoid integer overflow.
1808 * intl/loadinfo.h: Switch to gettext copyright.
1809 Use ANSI definitions and prototypes.
1810 (LIBINTL_DLL_EXPORTED): New define.
1811 (PATH_SEPARATOR): New define.
1812 * intl/loadmsgcat.c: Switch to gettext copyright.
1813 * intl/localealias.c: Switch to gettext copyright.
1814 Use ANSI definitions and prototypes.
1815 (_nl_expand_alias): Use PATH_SEPARATOR.
1816 * intl/ngettext.c: Switch to gettext copyright.
1817 Use ANSI definitions and prototypes.
1818 * intl/plural-exp.c: Likewise.
1819 * intl/plural-exp.h: Switch to gettext copyright.
1820 Use ANSI definitions and prototypes.
1821 (struct expression): Move definition of enum operator outside
1822 of struct definition.
1823 * intl/plural.c: Regenerate.
1824 * intl/plural.y: Switch to gettext copyright.
1825 Use ANSI definitions and prototypes.
1827 * intl/textdomain.c: Switch to gettext copyright.
1828 Use ANSI definitions and prototypes.
1829 Use gl_* locking primitives rather than __libc_* ones.
1831 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1833 * debug/warning-nop.c: Add used atrribute.
1835 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1837 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1839 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1840 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1841 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1843 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1844 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1847 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1848 Undefine after defining function. Define as weak alias of
1849 __wcschr. Use libc_hidden_weak.
1850 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1851 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1852 (libc_hidden_def): Also define __GI___wcschr alias.
1853 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1854 __wcschr and define as weak alias of __wcschr.
1855 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1857 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1858 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1859 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1860 libc_hidden_weak. Do not use libc_hidden_def.
1861 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1862 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1863 __GI___wcschr alias.
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1865 [IS_IN (libc)] (wcschr): Define as macro expanding to
1867 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1868 [IS_IN (libc)] (__wcschr_power6): Likewise.
1869 [IS_IN (libc)] (__wcschr_power7): Likewise.
1870 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1872 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1874 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1875 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1876 __wcschr and define as weak alias of __wcschr. Use
1877 libc_hidden_builtin_def.
1878 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1879 as weak alias of __wcschr. Use libc_hidden_weak.
1880 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1882 * time/era.c (_nl_init_era_entries): Likewise.
1883 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1885 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1886 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1888 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1890 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1891 format for long int variable.
1893 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1896 * manual/search.texi: (Array Sort Function): Remove claim how to make
1899 2014-12-10 Andreas Schwab <schwab@suse.de>
1902 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1903 user-controlled locks.
1905 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1907 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1910 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1912 * configure.ac (--disable-werror): New configure option.
1913 (enable_werror): New AC_SUBST.
1914 * configure: Regenerated.
1915 * config.make.in (enable-werror): New variable.
1916 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1918 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1919 * manual/install.texi (Configuring and compiling): Document
1921 * INSTALL: Regenerated.
1922 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1923 (CFLAGS-tst-chk2.c): Likewise.
1924 (CFLAGS-tst-chk3.c): Likewise.
1925 (CFLAGS-tst-chk4.cc): Likewise.
1926 (CFLAGS-tst-chk5.cc): Likewise.
1927 (CFLAGS-tst-chk6.cc): Likewise.
1928 (CFLAGS-tst-lfschk1.c): Likewise.
1929 (CFLAGS-tst-lfschk2.c): Likewise.
1930 (CFLAGS-tst-lfschk3.c): Likewise.
1931 (CFLAGS-tst-lfschk4.cc): Likewise.
1932 (CFLAGS-tst-lfschk5.cc): Likewise.
1933 (CFLAGS-tst-lfschk6.cc): Likewise.
1935 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1936 (main): Disable -Wdeprecated-declarations around calls to
1937 register_printf_function.
1939 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1940 (do_test): Disable -Wdiv-by-zero around some calls to
1941 fwrite_unlocked and fread_unlocked.
1943 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1944 (DIAG_POP_NEEDS_COMMENT): Likewise.
1945 (_DIAG_STR1): Likewise.
1946 (_DIAG_STR): Likewise.
1947 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1948 * stdio-common/bug21.c: Include <libc-internal.h>.
1949 (do_test): Disable -Wformat around call to sscanf.
1950 * stdio-common/scanf14.c: Include <libc-internal.h>.
1951 (main): Disable -Wformat around some calls to scanf functions.
1953 2014-12-09 Torvald Riegel <triegel@redhat.com>
1955 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1957 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1960 stack variable alignment.
1962 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1965 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1966 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1967 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1968 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1969 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1970 __getrlimit instead of getrlimit.
1971 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1972 __gettimeofday instead of gettimeofday.
1973 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1975 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1977 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1978 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1980 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1981 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1983 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1985 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1986 for wide-character tests.
1988 2014-12-04 Roland McGrath <roland@hack.frob.com>
1990 * io/openat64.c: #include <libc-internal.h>
1991 (__openat64): Prototypify. Use ignore_value on MODE.
1992 * io/openat.c: Likewise.
1993 * misc/reboot.c: #include <libc-internal.h>
1994 (reboot): Prototypify. Use ignore_value on HOWTO.
1995 * misc/ptrace.c: #include <libc-internal.h>
1996 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1998 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2000 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2001 XPG4, UNIX98 and XOPEN2K.
2002 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2004 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2006 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2008 * libio/fileops.c: Use ISO C style for function definitions.
2009 * libio/iofopen.c: Likewise.
2010 * libio/wfileops.c: Likewise.
2013 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2015 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2016 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2017 (fgets_func): Function pointer to fgets and fgetws.
2018 (do_ftell_test): Add test to verify ftell value after read
2020 (do_test): Set fgets_func.
2022 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2023 O_TRUNC flag for w and w+ modes.
2024 (do_rewind_test): Likewise.
2025 (do_ftell_test): Likewise.
2026 (do_write_test): Likewise.
2029 * libio/fileops.c (do_ftell): Seek only when there are
2031 * libio/wfileops.c (do_ftell_wide): Likewise.
2032 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2034 (do_one_test): Call it.
2036 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2038 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2039 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2040 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2042 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2043 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2044 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2046 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2048 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2050 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2053 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2054 as weak alias of __getifaddrs. Use libc_hidden_weak.
2055 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2056 __freeifaddrs. Use libc_hidden_weak.
2057 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2058 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2059 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2060 __freeifaddrs. Use libc_hidden_weak.
2061 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2062 __getifaddrs and define as weak alias of __getifaddrs. Use
2064 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2065 __freeifaddrs. Use libc_hidden_weak.
2066 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2068 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2069 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2071 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2074 * sysdeps/mips/start.S (__start): Use indirect jump to call
2077 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2079 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2081 * nptl/tst-mutex1.c: Include <stdbool.h>.
2082 [!ATTR] (ATTR_NULL): New macro.
2083 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2084 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2085 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2087 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2091 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2092 Change conditional to [__USE_MISC].
2095 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2097 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2099 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2101 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2103 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2104 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2105 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2106 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2107 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2108 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2109 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2110 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2111 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2113 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2115 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2117 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2118 Remove strpbrk objects.
2119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2120 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2121 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2122 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2123 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2124 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2126 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2127 Remove strcspn objects.
2128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2129 (__libc_ifunc_impl_list): Remove strcspn implementation.
2130 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2131 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2132 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2133 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2135 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2136 Remove strspn objetcs.
2137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2138 (__libc_ifunc_impl_list): Remove strspn implementation.
2139 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2140 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2141 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2142 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2144 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2148 (mem2mem_check): Add a terminator to the chain of checking blocks.
2149 (malloc_check_get_size): Use it here.
2150 (mem2chunk_check): Ditto.
2152 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2154 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2155 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2157 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2159 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2161 * nptl/nptl-init.c: Include libc-internal.h.
2162 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2164 * elf/ldconfig.c (search_dir): Expand comment.
2166 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2168 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2170 (linknamespace-symlist-stdlibs-tests): Likewise.
2171 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2172 instead of $(objpfx)symlist-stdlibs.
2173 (linknamespace-libs-isoc): New variable.
2174 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2175 (linknamespace-libs-ISO): New variable.
2176 (linknamespace-libs-ISO99): Likewise.
2177 (linknamespace-libs-ISO11): Likewise.
2178 (linknamespace-libs-XPG3): Likewise.
2179 (linknamespace-libs-XPG4): Likewise.
2180 (linknamespace-libs-POSIX): Likewise.
2181 (linknamespace-libs-UNIX98): Likewise.
2182 (linknamespace-libs-XOPEN2K): Likewise.
2183 (linknamespace-libs-POSIX2008): Likewise.
2184 (linknamespace-libs-XOPEN2K8): Likewise.
2185 ($(objpfx)symlist-stdlibs): Replace by
2186 $(linknamespace-symlist-stdlibs-tests). Use
2187 $(linknamespace-libs-$*) as set of libraries.
2188 ($(linknamespace-header-tests)): Update dependencies. Use
2189 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2190 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2191 * conform/linknamespace.pl: Remove comment about considering
2192 definitions of symbols from irrelevant libraries.
2194 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2197 * elf/dl-tls.c: Include <atomic.h>.
2198 (oom): Remove #ifdef SHARED/#endif.
2199 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2200 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2201 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2203 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2204 * nptl/Makefile (tests): Add tst-stack4.
2205 (modules-names): Add tst-stack4mod.
2206 ($(objpfx)tst-stack4): New.
2207 (tst-stack4mod.sos): Likewise.
2208 ($(objpfx)tst-stack4.out): Likewise.
2209 ($(tst-stack4mod.sos)): Likewise.
2211 * nptl/tst-stack4.c: New file.
2212 * nptl/tst-stack4mod.c: Likewise.
2214 2014-11-27 J. Brown <jb999@gmx.de>
2216 * sysdeps/x86/bits/string.h: Add recent CPUs.
2218 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2220 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2223 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2226 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2229 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2231 * nscd/connections.c: Include libc-internal.h because of macro
2234 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2236 * string/bits/string3.h (__warn_memset_zero_len): Don't
2237 declare for gcc newer than 5.0.
2238 (memset): Don't test for zero-length __LEN for gcc newer than
2241 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2243 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2244 size_t for %zu format.
2246 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2247 difference, not %ju.
2249 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2251 * include/libc-internal.h (ignore_value): New macro.
2252 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2255 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2258 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2259 pthread_cleanup_push to void *.
2261 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2266 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2267 instead of 1L << 52.
2269 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2270 * libio/bug-rewind2.c (do_test): Likewise.
2272 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2273 * debug/test-strcpy_chk-ifunc.c: Likewise.
2274 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2275 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2276 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2277 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2278 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2279 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2280 * Rules [$(multi-arch) = no] (tests): Do not filter out
2282 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2283 * debug/Makefile (tests-ifunc): Remove variable.
2284 (tests): Do not add $(tests-ifunc).
2285 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2286 (tests): Do not add $(tests-ifunc).
2287 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2288 [TEST_IFUNC]: Remove conditionals.
2289 * string/test-string.h (TEST_IFUNC): Remove macro.
2290 [TEST_IFUNC]: Remove conditionals.
2292 * string/test-strchr.c [!WIDE] (L): New macro.
2293 [WIDE] (L): Likewise.
2294 (check1): Use CHAR instead of char. Use L on string and character
2297 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2299 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2301 * sysdeps/powerpc/bits/atomic.h
2302 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2303 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2304 (atomic_exchange_and_add_acq): Likewise.
2305 (atomic_exchange_and_add_rel): Likewise.
2306 * sysdeps/powerpc/powerpc32/bits/atomic.h
2307 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2308 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2309 * sysdeps/powerpc/powerpc64/bits/atomic.h
2310 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2311 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2313 2014-11-26 Torvald Riegel <triegel@redhat.com>
2315 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2316 Change synchronization of __sched_fifo_min_prio and
2317 __sched_fifo_max_prio.
2318 * nptl/pthread_mutexattr_getprioceiling.c
2319 (pthread_mutexattr_getprioceiling): Likewise.
2320 * nptl/pthread_mutexattr_setprioceiling.c
2321 (pthread_mutexattr_setprioceiling): Likewise.
2322 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2323 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2326 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2328 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2331 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2333 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2334 third argument const.
2336 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2338 fnmatch: work around GCC compiler warning bug with uninit var
2339 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2340 This works around a bug with x86-64 GCC 4.9.2 and earlier
2341 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2342 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2343 used uninitialized in this function [-Wmaybe-uninitialized]".
2345 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2347 * posix/bug-regex31.c (main): Return RES not 0.
2349 2014-11-25 Anton Blanchard <anton@samba.org>
2351 * sysdeps/powerpc/bits/atomic.h
2352 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2354 2014-11-24 Sterling Augustine <saugustine@google.com>
2356 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2358 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2361 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2363 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2366 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2367 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2369 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2370 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2372 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2374 * string/strncpy.c (strncpy): Improve performance by using memset.
2376 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2378 * string/strcpy.c (strcpy):
2379 Improve performance by using strlen and memcpy.
2381 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2383 * string/strcoll_l.c (get_next_seq): __always_inline.
2384 * string/strcoll_l.c (do_compare): __always_inline.
2386 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2388 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2390 * include/mqueue.h: Likewise.
2391 * include/stdlib.h: Likewise.
2393 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2394 (get_null_defines): Adjust.
2395 * sunrpc/Makefile: Adjust comment.
2396 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2397 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2398 (CFLAGS-interp.c): Likewise.
2399 (CFLAGS-ldconfig.c): Likewise.
2400 (CPPFLAGS-.os): Likewise.
2401 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2402 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2403 * extra-modules.mk (extra-modules.mk): Likewise.
2404 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2405 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2406 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2407 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2408 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2409 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2410 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2411 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2412 * iconvdata/Makefile (CPPFLAGS): Likewise.
2413 (cpp-srcs-left): Add libof for all iconvdata routines.
2414 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2415 * include/assert.h: Likewise.
2416 * include/ctype.h: Likewise.
2417 * include/errno.h: Likewise.
2418 * include/libc-symbols.h: Likewise.
2419 * include/math.h: Likewise.
2420 * include/netdb.h: Likewise.
2421 * include/resolv.h: Likewise.
2422 * include/stdio.h: Likewise.
2423 * include/stdlib.h: Likewise.
2424 * include/string.h: Likewise.
2425 * include/sys/stat.h: Likewise.
2426 * include/wctype.h: Likewise.
2427 * intl/l10nflist.c: Likewise.
2428 * libidn/idn-stub.c: Likewise.
2429 * libio/libioP.h: Likewise.
2430 * nptl/libc_multiple_threads.c: Likewise.
2431 * nptl/pthreadP.h: Likewise.
2432 * posix/regex_internal.h: Likewise.
2433 * resolv/res_hconf.c: Likewise.
2434 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2435 * sysdeps/arm/memmove.S: Likewise.
2436 * sysdeps/arm/sysdep.h: Likewise.
2437 * sysdeps/generic/_itoa.h: Likewise.
2438 * sysdeps/generic/symbol-hacks.h: Likewise.
2439 * sysdeps/gnu/errlist.awk: Likewise.
2440 * sysdeps/gnu/errlist.c: Likewise.
2441 * sysdeps/i386/i586/memcpy.S: Likewise.
2442 * sysdeps/i386/i586/memset.S: Likewise.
2443 * sysdeps/i386/i686/memcpy.S: Likewise.
2444 * sysdeps/i386/i686/memmove.S: Likewise.
2445 * sysdeps/i386/i686/mempcpy.S: Likewise.
2446 * sysdeps/i386/i686/memset.S: Likewise.
2447 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2448 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2449 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2450 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2451 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2453 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2454 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2455 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2457 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2458 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2459 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2460 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2461 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2462 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2463 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2464 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2465 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2466 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2467 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2468 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2469 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2470 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2471 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2472 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2473 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2474 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2476 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2477 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2480 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2481 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2487 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2488 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2490 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2491 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2492 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2493 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2494 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2495 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2496 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2497 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2498 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2500 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2501 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2503 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2504 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2505 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2506 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2508 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2509 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2510 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2511 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2512 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2513 * sysdeps/posix/closedir.c: Likewise.
2514 * sysdeps/posix/opendir.c: Likewise.
2515 * sysdeps/posix/readdir.c: Likewise.
2516 * sysdeps/posix/rewinddir.c: Likewise.
2517 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2518 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2519 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2528 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2529 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2531 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2534 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2535 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2536 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2537 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2538 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2539 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2540 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2541 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2542 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2543 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2544 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2545 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2547 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2548 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2549 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2550 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2551 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2552 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2553 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2555 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2556 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2557 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2558 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2559 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2561 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2562 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2563 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2564 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2565 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2566 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2567 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2569 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2570 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2574 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2575 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2576 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2577 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2578 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2579 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2580 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2582 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2583 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2584 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2585 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2586 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2587 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2588 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2589 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2591 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2592 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2593 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2594 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2595 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2596 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2597 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2598 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2600 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2601 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2602 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2603 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2604 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2605 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2606 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2607 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2608 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2609 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2610 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2611 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2613 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2615 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2616 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2617 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2618 * sysdeps/unix/alpha/sysdep.S: Likewise.
2619 * sysdeps/unix/alpha/sysdep.h: Likewise.
2620 * sysdeps/unix/make-syscalls.sh: Likewise.
2621 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2623 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2624 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2625 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2626 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2627 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2628 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2629 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2630 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2631 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2633 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2634 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2635 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2636 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2637 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2638 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2639 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2640 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2641 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2642 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2643 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2644 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2645 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2646 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2647 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2651 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2652 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2654 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2656 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2658 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2659 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2660 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2661 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2662 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2663 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2664 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2665 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2668 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2669 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2671 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2672 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2673 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2674 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2675 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2676 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2679 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2680 * sysdeps/x86_64/memcpy.S: Likewise.
2681 * sysdeps/x86_64/memmove.c: Likewise.
2682 * sysdeps/x86_64/memset.S: Likewise.
2683 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2685 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2686 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2687 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2688 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2689 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2690 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2691 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2692 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2693 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2694 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2695 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2696 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2697 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2698 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2700 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2701 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2702 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2703 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2704 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2707 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2708 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2709 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2710 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2711 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2712 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2713 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2714 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2715 * sysdeps/x86_64/strcmp.S: Likewise.
2717 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2719 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2720 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2721 * elf/rtld-Rules: Likewise.
2722 * elf/setup-vdso.h: Likewise.
2723 * include/assert.h: Likewise.
2724 * include/bits/stdlib-float.h: Likewise.
2725 * include/errno.h: Likewise.
2726 * include/sys/stat.h: Likewise.
2727 * include/unistd.h: Likewise.
2728 * sysdeps/aarch64/setjmp.S: Likewise.
2729 * sysdeps/alpha/setjmp.S: Likewise.
2730 * sysdeps/arm/__longjmp.S: Likewise.
2731 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2732 * sysdeps/arm/setjmp.S: Likewise.
2733 * sysdeps/arm/sysdep.h: Likewise.
2734 * sysdeps/generic/_itoa.h: Likewise.
2735 * sysdeps/generic/dl-sysdep.h: Likewise.
2736 * sysdeps/generic/ldsodefs.h: Likewise.
2737 * sysdeps/i386/dl-tls.h: Likewise.
2738 * sysdeps/i386/setjmp.S: Likewise.
2739 * sysdeps/m68k/setjmp.c: Likewise.
2740 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2741 * sysdeps/mach/hurd/opendir.c: Likewise.
2742 * sysdeps/posix/getcwd.c: Likewise.
2743 * sysdeps/posix/opendir.c: Likewise.
2744 * sysdeps/posix/profil.c: Likewise.
2745 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2746 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2747 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2748 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2749 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2752 * sysdeps/s390/dl-tls.h: Likewise.
2753 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2754 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2755 * sysdeps/sh/sh3/setjmp.S: Likewise.
2756 * sysdeps/sh/sh4/setjmp.S: Likewise.
2757 * sysdeps/unix/alpha/sysdep.h: Likewise.
2758 * sysdeps/unix/arm/sysdep.S: Likewise.
2759 * sysdeps/unix/i386/sysdep.S: Likewise.
2760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2761 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2762 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2763 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2765 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2766 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2767 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2768 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2769 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2770 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2771 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2772 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2775 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2776 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2777 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2778 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2779 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2780 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2783 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2784 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2785 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2787 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2788 * sysdeps/x86_64/setjmp.S: Likewise.
2790 * include/math.h: Use IS_IN instead of IS_IN_libm.
2791 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2795 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2802 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2803 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2806 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2807 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2811 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2812 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2813 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2814 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2815 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2816 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2818 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2819 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2820 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2821 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2822 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2823 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2834 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2835 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2836 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2837 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2838 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2839 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2845 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2846 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2847 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2848 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2849 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2850 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2851 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2852 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2853 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2854 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2855 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2857 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2858 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2860 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2862 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2863 * nptl/pthreadP.h: Likewise.
2864 * nptl_db/structs.def: Likewise.
2865 * sysdeps/arm/sysdep.h: Likewise.
2866 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2867 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2868 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2869 * sysdeps/unix/alpha/sysdep.h: Likewise.
2870 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2871 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2872 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2874 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2875 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2876 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2877 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2878 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2879 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2880 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2881 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2882 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2883 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2886 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2888 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2891 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2892 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2893 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2894 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2895 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2897 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2898 * nptl/pthreadP.h: Likewise.
2899 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2900 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2901 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2902 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2903 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2905 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2906 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2907 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2908 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2909 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2910 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2915 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2918 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2920 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2921 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2922 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2924 * dlfcn/dladdr.c: Use IS_IN.
2925 * dlfcn/dladdr1.c: Likewise.
2926 * dlfcn/dlclose.c: Likewise.
2927 * dlfcn/dlerror.c: Likewise.
2928 * dlfcn/dlinfo.c: Likewise.
2929 * dlfcn/dlmopen.c: Likewise.
2930 * dlfcn/dlopen.c: Likewise.
2931 * dlfcn/dlsym.c: Likewise.
2932 * dlfcn/dlvsym.c: Likewise.
2934 * include/ifaddrs.h: Use IS_IN.
2935 * inet/check_pf.c: Likewise.
2936 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2937 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2939 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2941 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2942 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2944 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2945 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2948 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2950 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2952 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2953 * include/libc-symbols.h (IS_IN_LIB): New macro.
2954 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2955 * include/netdb.h: Likewise.
2956 * include/stap-probe.h: Remove all uses of IN_LIB.
2958 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2959 instead of IN_MODULE.
2960 * include/libc-symbols.h (IN_MODULE): Define using
2962 (PASTE_NAME, PASTE_NAME1): New macros.
2963 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2965 (STAP_PROBE_ASM): Likewise.
2967 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2969 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2970 __mach_init in dlopened libc.
2972 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2974 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2975 * sysdeps/arm/preconfigure: Regenerate.
2977 2014-11-21 Roland McGrath <roland@hack.frob.com>
2979 * nptl/pthread_create.c (__pthread_create_2_1): Set
2980 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2981 when copying values from IATTR into PD.
2983 2014-11-21 Will Newton <will.newton@linaro.org>
2984 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2986 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2987 Refactor inline-asm. Also add comment.
2989 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2990 ElfW macro instead of hardcoded Elf64 types.
2991 (la_aarch64_gnu_pltenter): Likewise.
2992 * sysdeps/aarch64/dl-machine.h
2993 (elf_machine_runtime_setup): Use ElfW(Addr).
2995 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2996 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2997 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2998 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2999 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3000 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3001 (R_AARCH64_TLS_DTPMOD): This.
3002 (R_AARCH64_TLS_DTPREL64): Rename to ...
3003 (R_AARCH64_TLS_DTPREL): This.
3004 (R_AARCH64_TLS_TPREL64): Rename to ...
3005 (R_AARCH64_TLS_TPREL): This.
3006 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3007 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3008 R_AARCH64_TLS_TPREL64.
3009 (elf_machine_rela): Likewise.
3011 2014-11-21 Torvald Riegel <triegel@redhat.com>
3013 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3014 by setting it to 0. 64b atomics are not supported currently.
3016 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3019 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3020 search domain names.
3022 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3026 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3028 * posix/tst-getaddrinfo5.c: New.
3029 * posix/Makefile (tests): Add it.
3031 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3035 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3036 after parsing line but before break_if_match.
3037 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3038 if there is a protocol mismatch.
3040 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3042 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3043 because the potential race is on the user-supplied stream.
3045 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3047 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3048 string literal if not passed a buffer.
3049 * manual/job.texi (ctermid): Update reasoning, note deviation
3050 from posix, suggest mtasurace when not passed a buffer, for
3051 future non-preliminary safety notes.
3053 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3055 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3056 of not passing it a buffer.
3057 Reported by Peng Haitao.
3059 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3061 * manual/Makefile ($(objpfx)stamp-summary): Require
3062 check-safety.sh to pass.
3063 * manual/check-safety.sh: Wish for verification that every
3064 @deftypefn and @deftypefun is followed by a @safety remark.
3066 2014-11-20 Roland McGrath <roland@hack.frob.com>
3068 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3070 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3071 PTHREAD_CANCEL_ASYNCHRONOUS.
3072 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3075 * nptl/default-sched.h: New file.
3076 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3077 * nptl/pthread_create.c: Include it.
3078 (__pthread_create_2_1): Use collect_default_sched instead of making
3079 Linux syscalls here directly.
3081 2014-11-20 Torvald Riegel <triegel@redhat.com>
3083 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3084 __pthread_once): Use C11 atomics.
3086 2014-11-20 Torvald Riegel <triegel@redhat.com>
3088 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3090 2014-11-20 Torvald Riegel <triegel@redhat.com>
3092 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3093 atomic_thread_fence_acquire, atomic_thread_fence_release,
3094 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3095 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3096 atomic_compare_exchange_weak_relaxed,
3097 atomic_compare_exchange_weak_acquire,
3098 atomic_compare_exchange_weak_release,
3099 atomic_exchange_acquire, atomic_exchange_release,
3100 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3101 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3102 atomic_fetch_and_acquire,
3103 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3105 2014-11-20 Torvald Riegel <triegel@redhat.com>
3107 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3108 USE_ATOMIC_COMPILER_BUILTINS): Define.
3109 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3111 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3113 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3115 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3117 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3119 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3121 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3123 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3125 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3127 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3129 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3131 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3133 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3134 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3135 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3137 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3139 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3140 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3141 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3142 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3143 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3144 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3145 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3146 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3147 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3148 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3150 2014-11-19 Roland McGrath <roland@hack.frob.com>
3152 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3153 the sched_priority value here. It was already checked when the user
3154 called pthread_attr_setschedparam.
3156 * nptl/tst-bad-schedattr.c: New file.
3157 * nptl/Makefile (tests): Add it.
3159 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3160 Florian Weimer <fweimer@redhat.com>
3161 Joseph Myers <joseph@codesourcery.com>
3162 Adam Conrad <adconrad@0c3.net>
3163 Andreas Schwab <schwab@suse.de>
3164 Brooks <bmoses@google.com>
3167 * wordexp-test.c (__dso_handle): Add prototype.
3168 (__register_atfork): Likewise.
3169 (__app_register_atfork): New function.
3170 (registered_forks): New global.
3171 (register_fork): New function.
3172 (test_case): Add 3 new tests for WRDE_CMDSUB.
3173 (main): Call __app_register_atfork.
3174 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3175 fork count is non-zero fail the test.
3176 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3178 (parse_dollars): Remove check for WRDE_NOCMD.
3179 (parse_dquote): Likewise.
3181 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3183 * Makeconfig (built-modules): List non-library modules to be
3185 (module-cppflags): Include libc-modules.h for
3186 everything except shlib-versions.v.i.
3188 (before-compile): Add libc-modules.h.
3189 ($(common-objpfx)libc-modules.h,
3190 $(common-objpfx)libc-modules.stmp): New targets.
3191 (common-generated): Add libc-modules.h and libc-modules.stmp.
3192 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3193 * include/libc-symbols.h: Don't include libc-modules.h.
3194 * include/libc-modules.h: Remove file.
3195 * scripts/gen-libc-modules.awk: New script to generate
3197 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3198 Depend on libc-modules.stmp.
3200 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3202 * Makeconfig (in-module): Get value of libof set for the
3204 (CPPFLAGS): Use $(in-module).
3205 * Makerules: Don't suffix routine names for nonlib.
3206 * include/libc-modules.h: New file.
3207 * include/libc-symbols.h: Include libc-modules.h
3208 (IS_IN): New macro to replace IS_IN_* macros.
3209 * elf/Makefile: Set libof-* for each routine.
3210 * elf/rtld-Rules: Likewise.
3211 * extra-modules.mk: Likewise.
3212 * iconv/Makefile: Likewise.
3213 * iconvdata/Makefile: Likewise.
3214 * locale/Makefile: Likewise.
3215 * malloc/Makefile: Likewise.
3216 * nss/Makefile: Likewise.
3217 * sysdeps/gnu/Makefile: Likewise.
3218 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3219 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3220 * sysdeps/s390/s390-64/Makefile: Likewise.
3221 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3222 CPPFLAGS for nscd instead of nonlib.
3224 2014-11-18 Roland McGrath <roland@hack.frob.com>
3226 * nptl/createthread.c: New file.
3228 * nptl/createthread.c: Moved ...
3229 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3231 * nptl/createthread.c: Add proper top-line comment.
3232 (do_clone): Folded into ...
3233 (create_thread): ... here. Take new arguments STOPPED_START and
3234 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3235 increment __nptl_threads, do event-reporting logic, do
3236 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3237 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3238 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3239 just send SIGCANCEL.
3240 * nptl/pthread_create.c: Forward-declare create_thread before
3241 including createthread.c.
3242 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3243 declaration, and new macro START_THREAD_SELF to replace argument.
3244 Remove return statement.
3245 (report_thread_creation): New function.
3246 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3247 synchronization logic, and __nptl_nthreads increment here, around
3248 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3249 PD->parent_cancelhandling here, before create_thread. When
3250 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3251 __deallocate_stack, and ENOMEM translation here.
3253 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3256 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3257 (mptwo): Rename to __mptwo.
3258 (__inv): Use __mptwo instead of mptwo.
3259 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3260 (mptwo): Rename to __mptwo.
3261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3262 of mpone and __mptwo instead of mptwo.
3263 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3265 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3266 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3267 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3268 of mpone and __mptwo instead of mptwo.
3269 (__mpranred): Use __mpone instead of mpone.
3270 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3272 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3273 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3274 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3275 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3276 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3277 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3278 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3279 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3280 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3281 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3282 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3283 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3284 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3285 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3286 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3287 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3288 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3289 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3290 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3292 2014-11-18 Tom de Vries <tom@codesoucery.com>
3294 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3295 replace BSD Handler xref with BSD Signal Handling.
3297 2014-11-17 Richard Henderson <rth@redhat.com>
3299 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3300 (_FP_PACK_RAW_2): Remove.
3301 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3302 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3303 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3304 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3305 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3306 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3307 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3308 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3309 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3310 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3311 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3312 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3313 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3314 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3315 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3316 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3318 2014-11-14 Roland McGrath <roland@hack.frob.com>
3320 * signal/signal.h [__USE_MISC]
3321 (struct sigvec): Remove type.
3322 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3323 (sigvec): Remove declaration.
3324 * sysdeps/posix/sigvec.c: Moved ...
3325 * signal/sigvec.c: ... here, replacing old file.
3326 (struct sigvec): New type, copied from old signal.h definition.
3327 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3328 (__sigvec): Convert definition to prototype.
3329 (sigvec): Replace weak_alias with compat_symbol.
3330 * signal/Versions (libc: GLIBC_2.21): New version set.
3331 * include/signal.h: Remove __sigvec declaration.
3332 * sysdeps/unix/bsd/sigvec.c: Remove file.
3333 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3334 * manual/signal.texi (BSD Handler): Remove subsection.
3335 Move siginterrupt up to ...
3336 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3337 (Blocking in BSD): Fold subsection into its parent.
3338 * NEWS: Mention sigvec removal.
3340 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3342 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3343 (DLA_FMS): Make definition conditional only on [__FMA4__].
3344 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3347 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3348 Make definition conditional only on [PROF].
3349 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3351 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3352 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3354 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3356 * include/signal.h (__sigpause): Move declaration above call to
3358 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3360 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3361 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3363 2014-11-14 David S. Miller <davem@davemloft.net>
3365 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3366 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3368 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3370 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3371 * configure: Regenerated.
3372 * manual/install.texi (Tools for Compilation): Document a
3373 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3374 compiler verified to work.
3375 * INSTALL: Regenerated.
3377 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3378 redeclare with asm name.
3379 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3380 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3381 including <string.h>.
3382 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3383 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3384 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3385 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3386 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3387 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3388 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3390 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3392 * stdlib/strtol.c (__strtol): Use prototype definition.
3395 * stdlib/strtol.c (SYM__): New macro.
3397 (__strtol): Likewise.
3398 (strtol): Rename to __strtol and define as weak alias of
3399 __strtol. Use libc_hidden_weak.
3401 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3403 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3404 Use numbered labels in inline assembly.
3406 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3408 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3409 Add setjmp LIBC_PROBE.
3410 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3412 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3413 Add longjmp, longjmp_target LIBC_PROBE.
3414 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3417 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3420 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3421 to get rid of unused variable warning.
3423 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3425 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3426 Check for unwind_backtrace == NULL only in SHARED case.
3427 (__backchain_backtrace): Compile only in SHARED case.
3428 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3430 (__backchain_backtrace): Declare as static.
3432 2014-11-12 Roland McGrath <roland@hack.frob.com>
3434 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3435 (__libc_multiple_threads_ptr): Variable moved ...
3436 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3438 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3440 * conform/GlibcConform.pm: New file.
3441 * conform/conformtest.pl: Use GlibcConform module.
3442 * conform/linknamespace.pl: New file.
3443 * conform/list-header-symbols.pl: Likewise.
3444 * conform/Makefile (linknamespace-symlists-base): New variable.
3445 (linknamespace-symlists-tests): Likewise.
3446 (linknamespace-header-base): Likewise.
3447 (linknamespace-header-tests): Likewise.
3448 (tests-special): Add new tests.
3449 ($(linknamespace-symlists-tests)): New rule.
3450 (linknamespace-libs): New variable.
3451 ($(objpfx)symlist-stdlibs): New rule.
3452 ($(linknamespace-header-tests)): Likewise.
3453 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3454 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3455 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3456 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3457 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3458 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3459 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3460 (test-xfail-ISO/math.h/linknamespace): Likewise.
3461 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3462 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3463 (test-xfail-ISO/time.h/linknamespace): Likewise.
3464 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3465 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3466 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3467 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3468 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3469 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3470 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3471 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3472 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3473 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3474 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3475 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3476 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3477 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3478 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3479 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3480 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3481 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3482 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3483 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3484 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3485 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3486 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3487 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3488 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3489 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3490 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3491 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3492 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3493 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3494 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3495 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3496 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3497 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3498 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3499 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3500 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3501 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3502 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3503 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3504 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3505 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3506 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3507 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3508 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3509 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3510 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3511 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3512 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3513 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3514 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3515 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3516 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3517 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3518 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3519 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3520 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3521 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3522 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3523 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3524 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3525 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3526 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3527 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3528 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3529 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3530 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3531 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3532 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3533 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3534 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3535 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3536 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3537 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3538 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3539 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3540 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3541 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3542 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3543 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3544 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3545 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3548 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3549 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3550 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3551 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3552 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3553 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3554 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3555 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3556 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3557 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3558 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3559 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3560 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3561 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3562 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3563 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3564 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3565 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3566 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3567 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3568 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3569 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3570 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3571 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3572 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3573 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3574 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3575 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3576 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3577 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3578 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3579 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3580 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3581 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3582 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3583 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3584 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3585 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3586 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3587 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3588 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3589 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3590 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3591 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3592 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3593 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3594 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3595 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3596 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3597 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3598 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3599 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3600 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3601 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3602 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3603 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3604 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3605 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3606 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3607 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3608 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3609 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3610 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3611 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3612 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3613 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3616 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3620 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3621 (memmem): Rename to __memmem and define as weak alias of
3622 __memmem. Use libc_hidden_weak.
3623 (__memmem): Use libc_hidden_def.
3624 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3625 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3629 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3630 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3631 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3632 and define as weak alias of __fgets_unlocked. Use
3634 (__fgets_unlocked): Use libc_hidden_def.
3635 * include/stdio.h (__fgets_unlocked): Declare. Use
3637 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3638 __fgets_unlocked instead of fgets_unlocked.
3639 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3640 (GET_NPROCS_CONF_PARSER): Likewise.
3641 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3642 (GET_NPROCS_CONF_PARSER): Likewise.
3645 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3646 weak alias of __wmemset. Use libc_hidden_weak.
3647 (__wmemset): Use libc_hidden_def.
3648 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3649 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3653 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3654 with asm name __mempcpy.
3655 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3658 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3659 and define as weak alias of __rawmemchr.
3660 (__rawmemchr): Do not define as strong alias of rawmemchr.
3663 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3665 (qsort): Call __qsort_r instead of qsort_r.
3666 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3667 (__qsort_r): Declare. Call libc_hidden_proto.
3668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3670 * nscd/gai.c (__qsort_r): Define to qsort_r.
3671 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3672 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3673 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3676 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3677 define as weak alias of __malloc_info.
3680 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3681 as weak alias of __rewinddir. Don't use libc_hidden_def.
3682 (__rewinddir): Use libc_hidden_def.
3683 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3684 as weak alias of __rewinddir. Don't use libc_hidden_def.
3685 (__rewinddir): Use libc_hidden_def.
3686 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3687 weak alias of __rewinddir. Don't use libc_hidden_def.
3688 (__rewinddir): Use libc_hidden_def.
3689 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3690 (__rewinddir): Use libc_hidden_proto.
3691 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3693 (__getcwd): Use __rewinddir instead of rewinddir.
3696 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3697 alias of __fileno. Use libc_hidden_weak.
3698 (__fileno): Use libc_hidden_def.
3699 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3700 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3702 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3704 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3705 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3707 (fread_unlocked): Don't use libc_hidden_ver.
3708 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3709 and define as weak alias of __fread_unlocked. Don't use
3711 (__fread_unlocked): Use libc_hidden_def.
3712 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3713 (ftello): Don't use libc_hidden_proto.
3714 (__ftello): Declare. Use libc_hidden_proto.
3715 (fread_unlocked): Don't use libc_hidden_proto.
3716 (__fread_unlocked): Declare. Use libc_hidden_proto.
3717 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3718 and __ftello instead of fileno, fread_unlocked and ftello.
3720 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3722 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3724 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3726 (_dl_start_user): Likewise.
3727 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3729 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3730 Siddhesh Poyarekar <siddhesh@redhat.com>
3732 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3733 Move argv and envp down instead of moving argc up.
3734 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3736 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3739 * test-skeleton.c (main): Return successful if one of
3740 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3741 * string/tst-strcoll-overflow.c: Define expected status.
3743 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3746 * locale/iso-639.def: Define Bhili and Tulu language codes.
3748 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3750 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3752 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3755 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3757 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3759 * configure.ac: Updated check of minimal required version to
3761 * manual/install.texi (Tools for Compilation): Updated version
3763 * configure: Regenerated.
3764 * INSTALL: Likewise.
3766 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3768 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3771 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3773 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3774 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3775 (__waitpid): Don't define as alias. Use libc_hidden_def not
3777 (waitpid): Define as alias of __waitpid.
3778 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3780 (__waitpid): Don't define as alias. Use libc_hidden_def not
3782 (waitpid): Define as alias of __waitpid.
3783 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3784 __libc_waitpid alias.
3785 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3786 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3788 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3789 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3790 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3792 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3794 (__waitpid): Don't define as alias. Use libc_hidden_def not
3796 (waitpid): Define as alias of __waitpid.
3798 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3800 * manual/llio.texi: Add comment that write safety has been
3803 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3804 (localplt-build-dso): Add elf/ld.so.
3805 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3806 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3809 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3814 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3815 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3816 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3817 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3818 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3819 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3820 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3821 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3822 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3824 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3826 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3829 * include/libc-symbols.h (INTUSE): Remove macro.
3831 (INTVARDEF): Likewise.
3832 (_INTVARDEF): Likewise.
3833 (INTDEF2): Likewise.
3834 (INTVARDEF2): Likewise.
3835 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3836 rtld_hidden_def instead of INTVARDEF.
3837 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3838 (_dl_starting_up_internal): Remove declaration.
3839 (_dl_starting_up): Use rtld_hidden_proto.
3840 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3842 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3843 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3845 * elf/dl-writev.h (_dl_writev): Likewise.
3846 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3847 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3848 _dl_starting_up_internal.
3850 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3852 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3855 2014-11-05 Will Newton <will.newton@linaro.org>
3857 * benchtests/Makefile: (bench-malloc): Add malloc thread
3858 scalability benchmark.
3859 * benchtests/bench-malloc-threads.c: New file.
3861 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3863 * sysdeps/aarch64/strchrnul.S: New file.
3865 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3869 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3871 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3873 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3875 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3877 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3880 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3882 * catgets/test-gencat.c: Use test-skeleton.c.
3883 * catgets/tst-catgets.c: Likewise.
3884 * csu/tst-empty.c: Likewise.
3885 * elf/tst-audit2.c: Likewise.
3886 * elf/tst-global1.c: Likewise.
3887 * elf/tst-pathopt.c: Likewise.
3888 * elf/tst-piemod1.c: Likewise.
3889 * elf/tst-tls10.c: Likewise.
3890 * elf/tst-tls11.c: Likewise.
3891 * elf/tst-tls12.c: Likewise.
3892 * gnulib/tst-gcc.c: Likewise.
3893 * iconvdata/tst-e2big.c: Likewise.
3894 * iconvdata/tst-loading.c: Likewise.
3895 * iconv/tst-iconv1.c: Likewise.
3896 * iconv/tst-iconv2.c: Likewise.
3897 * inet/test-inet6_opt.c: Likewise.
3898 * inet/tst-gethnm.c: Likewise.
3899 * inet/tst-network.c: Likewise.
3900 * inet/tst-ntoa.c: Likewise.
3901 * intl/tst-codeset.c: Likewise.
3902 * intl/tst-gettext2.c: Likewise.
3903 * intl/tst-gettext3.c: Likewise.
3904 * intl/tst-ngettext.c: Likewise.
3905 * intl/tst-translit.c: Likewise.
3906 * io/test-stat.c: Likewise.
3907 * libio/test-fmemopen.c: Likewise.
3908 * libio/tst-freopen.c: Likewise.
3909 * libio/tst-sscanf.c: Likewise.
3910 * libio/tst-ungetwc1.c: Likewise.
3911 * libio/tst-ungetwc2.c: Likewise.
3912 * libio/tst-widetext.c: Likewise.
3913 * localedata/tst-ctype.c: Likewise.
3914 * localedata/tst-digits.c: Likewise.
3915 * localedata/tst-leaks.c: Likewise.
3916 * localedata/tst-mbswcs1.c: Likewise.
3917 * localedata/tst-mbswcs2.c: Likewise.
3918 * localedata/tst-mbswcs3.c: Likewise.
3919 * localedata/tst-mbswcs4.c: Likewise.
3920 * localedata/tst-mbswcs5.c: Likewise.
3921 * localedata/tst-setlocale.c: Likewise.
3922 * localedata/tst-trans.c: Likewise.
3923 * localedata/tst-wctype.c: Likewise.
3924 * localedata/tst-xlocale1.c: Likewise.
3925 * login/tst-grantpt.c: Likewise.
3926 * malloc/tst-calloc.c: Likewise.
3927 * malloc/tst-malloc.c: Likewise.
3928 * malloc/tst-mallocstate.c: Likewise.
3929 * malloc/tst-mcheck.c: Likewise.
3930 * malloc/tst-mtrace.c: Likewise.
3931 * malloc/tst-obstack.c: Likewise.
3932 * math/atest-exp2.c: Likewise.
3933 * math/atest-exp.c: Likewise.
3934 * math/atest-sincos.c: Likewise.
3935 * math/test-matherr.c: Likewise.
3936 * math/test-misc.c: Likewise.
3937 * math/test-powl.c: Likewise.
3938 * math/tst-definitions.c: Likewise.
3939 * misc/tst-dirname.c: Likewise.
3940 * misc/tst-efgcvt.c: Likewise.
3941 * misc/tst-fdset.c: Likewise.
3942 * misc/tst-hsearch.c: Likewise.
3943 * misc/tst-mntent2.c: Likewise.
3944 * nptl/tst-sem7.c: Likewise.
3945 * nptl/tst-sem8.c: Likewise.
3946 * nptl/tst-sem9.c: Likewise.
3947 * nss/test-netdb.c: Likewise.
3948 * posix/tst-fnmatch.c: Likewise.
3949 * posix/tst-getlogin.c: Likewise.
3950 * posix/tst-gnuglob.c: Likewise.
3951 * posix/tst-mmap.c: Likewise.
3952 * pwd/tst-getpw.c: Likewise.
3953 * resolv/tst-inet_ntop.c: Likewise.
3954 * rt/tst-timer.c: Likewise.
3955 * stdio-common/test-fseek.c: Likewise.
3956 * stdio-common/test-popen.c: Likewise.
3957 * stdio-common/test-vfprintf.c: Likewise.
3958 * stdio-common/tst-cookie.c: Likewise.
3959 * stdio-common/tst-fileno.c: Likewise.
3960 * stdio-common/tst-gets.c: Likewise.
3961 * stdio-common/tst-obprintf.c: Likewise.
3962 * stdio-common/tst-perror.c: Likewise.
3963 * stdio-common/tst-sprintf2.c: Likewise.
3964 * stdio-common/tst-sprintf3.c: Likewise.
3965 * stdio-common/tst-sprintf.c: Likewise.
3966 * stdio-common/tst-swprintf.c: Likewise.
3967 * stdio-common/tst-tmpnam.c: Likewise.
3968 * stdio-common/tst-unbputc.c: Likewise.
3969 * stdio-common/tst-wc-printf.c: Likewise.
3970 * stdlib/tst-environ.c: Likewise.
3971 * stdlib/tst-fmtmsg.c: Likewise.
3972 * stdlib/tst-limits.c: Likewise.
3973 * stdlib/tst-rand48-2.c: Likewise.
3974 * stdlib/tst-rand48.c: Likewise.
3975 * stdlib/tst-random2.c: Likewise.
3976 * stdlib/tst-random.c: Likewise.
3977 * stdlib/tst-strtol.c: Likewise.
3978 * stdlib/tst-strtoll.c: Likewise.
3979 * stdlib/tst-tls-atexit.c: Likewise.
3980 * stdlib/tst-xpg-basename.c: Likewise.
3981 * string/test-ffs.c: Likewise.
3982 * string/tst-bswap.c: Likewise.
3983 * string/tst-inlcall.c: Likewise.
3984 * string/tst-strtok.c: Likewise.
3985 * string/tst-strxfrm.c: Likewise.
3986 * sysdeps/x86_64/tst-audit10.c: Likewise.
3987 * sysdeps/x86_64/tst-audit3.c: Likewise.
3988 * sysdeps/x86_64/tst-audit4.c: Likewise.
3989 * sysdeps/x86_64/tst-audit5.c: Likewise.
3990 * time/tst-ftime_l.c: Likewise.
3991 * time/tst-getdate.c: Likewise.
3992 * time/tst-mktime3.c: Likewise.
3993 * time/tst-mktime.c: Likewise.
3994 * time/tst-posixtz.c: Likewise.
3995 * time/tst-strptime2.c: Likewise.
3996 * time/tst-strptime3.c: Likewise.
3997 * wcsmbs/tst-btowc.c: Likewise.
3998 * wcsmbs/tst-mbrtowc.c: Likewise.
3999 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4000 * wcsmbs/tst-wchar-h.c: Likewise.
4001 * wcsmbs/tst-wcpncpy.c: Likewise.
4002 * wcsmbs/tst-wcrtomb.c: Likewise.
4003 * wcsmbs/tst-wcsnlen.c: Likewise.
4004 * wcsmbs/tst-wcstof.c: Likewise.
4006 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4009 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4011 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4013 (_dl_mcount): Use rtld_hidden_proto.
4014 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4016 * elf/rtld.c (_rtld_global_ro): Likewise.
4019 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4020 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4021 of _dl_init_internal.
4022 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4023 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4024 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4025 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4026 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4027 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4028 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4029 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4030 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4031 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4032 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4033 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4034 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4035 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4036 * sysdeps/tile/dl-start.S (_start): Likewise.
4037 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4038 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4041 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4042 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4043 (rtld_progname): Make macro definition unconditional.
4044 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4046 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4047 (dl_main): Likewise.
4048 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4049 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4050 instead of _dl_argv_internal.
4051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4052 __GI__dl_argv instead of INTUSE(_dl_argv).
4053 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4054 __GI__dl_argv instead of _dl_argv_internal.
4056 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4057 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4059 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4060 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4062 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4063 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4065 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4066 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4068 2014-11-04 Andreas Schwab <schwab@suse.de>
4070 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4072 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4074 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4075 mtvsrd instruction in binary form.
4077 2014-11-03 Andreas Schwab <schwab@suse.de>
4080 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4081 for less than MB_LEN_MAX use a local buffer of that size.
4082 * libio/tst-fputws.c: New file.
4083 * libio/Makefile (tests): Add tst-fputws.
4085 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4087 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4088 the size of the fpu_fr.fpu_dregs[] array.
4090 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4092 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4093 (__nanosleep): Do not define as alias.
4094 (nanosleep): Define as alias of __nanosleep.
4095 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4096 __libc_nanosleep name.
4098 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4100 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4101 install.texi in comment.
4103 2014-10-31 Torvald Riegel <triegel@redhat.com>
4105 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4106 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4107 ... add here and use lwsync or sync ...
4108 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4109 ... and add here using lwsync.
4111 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4113 * elf/dl-machine-reject-phdr.h: New file.
4114 * elf/dl-load.c: #include that.
4115 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4116 if that returned true.
4118 2014-10-31 Roland McGrath <roland@hack.frob.com>
4121 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4122 gen-as-const-headers chunk. Add a big scare comment after the last
4123 safe place to touch before-compile.
4125 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4127 * manual/install.texi (Tools for Compilation): Update autoconf
4128 version requirements.
4129 * INSTALL: Regenerated.
4131 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4132 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4133 (__libc_pselect): Likewise.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4141 2014-10-31 Torvald Riegel <triegel@redhat.com>
4143 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4144 correct barrier instruction.
4145 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4147 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4150 2014-10-30 Roland McGrath <roland@hack.frob.com>
4152 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4153 after defining inlines. Instead, just use parens to defeat macro
4154 expansion of __isctype in its declaration.
4156 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4158 * include/sys/uio.h (__libc_readv): Remove declaration.
4159 (__libc_writev): Likewise.
4160 * misc/readv.c (__libc_readv): Rename to __readv.
4161 (__readv): Do not define as alias.
4162 (readv): Define as alias of __readv.
4163 * misc/writev.c (__libc_writev): Rename to __writev.
4164 (__writev): Do not define as alias.
4165 (writev): Define as alias of __writev.
4166 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4167 (__readv): Do not define as alias.
4168 (readv): Define unconditionally as alias of __readv.
4169 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4170 (__writev): Do not define as alias.
4171 (writev): Define unconditionally as alias of __writev.
4172 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4174 (writev): Do not define __libc_writev name.
4176 2014-10-30 Roland McGrath <roland@hack.frob.com>
4178 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4179 (convert_charseq): New function, broken out of ...
4180 (use_from_charmap): ... here. Call it.
4181 (use_to_charmap): Use convert_charseq and free instead of duplicating
4182 its code with a variable-length stack struct.
4184 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4186 * include/fcntl.h (__libc_creat): Remove declaration.
4187 * io/creat.c (__libc_creat): Rename to creat.
4188 (creat): Do not define as alias.
4189 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4190 of creat instead of __libc_creat.
4191 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4193 (creat): Do not define as alias.
4194 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4196 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4198 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4201 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4203 * manual/llio.texi: Add comments discussing why write() may be
4204 considered MT-unsafe on Linux.
4206 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4208 * dl-load.c (local_strdup): Remove.
4209 (expand_dynamic_string_token): Use __strdup.
4210 (decompose_rpath): Likewise.
4211 (_dl_map_object): Likewise.
4213 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4216 * sysdeps/generic/unwind-dw2-fde.c
4217 (__register_frame_info_bases_internal): Do not declare.
4218 (__register_frame_info_table_bases_internal): Likewise.
4219 (__deregister_frame_info_bases_internal): Likewise.
4220 (__register_frame_info_bases): Declare and use hidden_proto before
4221 definition. Use hidden_def instead of INTDEF.
4222 (__register_frame_info_table_bases): Likewise.
4223 (__deregister_frame_info_bases): Likewise.
4224 (__register_frame_info): Do not use INTUSE.
4225 (__register_frame): Likewise.
4226 (__register_frame_info_table): Likewise.
4227 (__register_frame_table): Likewise.
4228 (__deregister_frame_info): Likewise.
4229 (__deregister_frame): Likewise.
4231 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4233 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4234 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4236 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4238 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4241 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4244 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4245 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4246 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4247 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4248 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4249 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4252 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4253 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4254 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4255 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4256 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4258 (setfsuid): Likewise.
4259 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4260 (setfsuid): Likewise.
4261 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4262 (setfsuid): Likewise.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4265 (setfsuid): Likewise.
4266 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4267 (setfsuid): Likewise.
4268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4270 (setfsuid): Likewise.
4272 2014-10-27 Andreas Schwab <schwab@suse.de>
4275 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4276 check for Slow_SSE4_2 feature bit.
4277 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4278 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4279 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4280 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4282 2014-10-24 Roland McGrath <roland@hack.frob.com>
4284 * configure.ac: Validate compiler version with a empirical test of
4285 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4287 * configure: Regenerated.
4289 * inet/htons.c (htons): Prototypify.
4290 * inet/htonl.c (htonl): Likewise.
4292 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4294 * string/strncat.c (strncat): Improve performance by using strlen.
4296 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4298 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4300 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4302 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4303 Call libc_fetestexcept_aarch64.
4305 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4307 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4308 Call libc_feholdexcept_aarch64.
4310 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4312 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4313 Call get_rounding_mode.
4315 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4317 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4320 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4322 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4325 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4328 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4329 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4330 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4331 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4332 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4333 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4334 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4335 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4336 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4337 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4338 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4339 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4340 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4341 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4342 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4343 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4344 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4345 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4346 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4347 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4348 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4349 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4350 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4351 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4352 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4353 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4354 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4355 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4356 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4357 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4358 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4359 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4360 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4361 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4362 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4363 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4364 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4366 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4367 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4368 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4370 (geteuid): Likewise.
4373 (getresgid): Likewise.
4374 (getresuid): Likewise.
4375 (getgroups): Likewise.
4376 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4377 (geteuid): Likewise.
4380 (getresgid): Likewise.
4381 (getresuid): Likewise.
4382 (getgroups): Likewise.
4383 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4384 (geteuid): Likewise.
4387 (getresgid): Likewise.
4388 (getresuid): Likewise.
4389 (getgroups): Likewise.
4390 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4392 (geteuid): Likewise.
4395 (getresgid): Likewise.
4396 (getresuid): Likewise.
4397 (getgroups): Likewise.
4398 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4399 (geteuid): Likewise.
4402 (getresgid): Likewise.
4403 (getresuid): Likewise.
4404 (getgroups): Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4407 (geteuid): Likewise.
4410 (getgroups): Likewise.
4413 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4414 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4415 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4418 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4419 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4420 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4421 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4424 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4427 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4430 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4434 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4442 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4444 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4447 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4449 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4452 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4454 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4455 Remove unused include.
4457 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4459 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4460 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4461 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4462 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4464 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4465 Helge Deller <deller@gmx.de>
4468 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4469 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4470 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4472 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4475 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4476 Remove macro definition.
4477 (__ashrdi3_v_glibc20): Likewise.
4478 (__lshrdi3_v_glibc20): Likewise.
4479 (__cmpdi2_v_glibc20): Likewise.
4480 (__ucmpdi2_v_glibc20): Likewise.
4481 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4482 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4483 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4484 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4485 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4486 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4488 2014-10-22 Roland McGrath <roland@hack.frob.com>
4490 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4491 old GNU extension [0] syntax.
4492 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4493 alloca rather than an array member with variable length.
4494 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4495 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4496 (parse_opt): ... here. Likewise use alloca there.
4497 Validate the -i argument before checking for rootness.
4498 (send_shutdown): New function, broken out of ...
4499 (parse_opt): ... here.
4501 2014-10-22 Roland McGrath <roland@hack.frob.com>
4503 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4504 macro to get at the _rt_local_ro field.
4505 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4506 ([PIC] case) or _dl_hwcap ([!PIC] case).
4507 * sysdeps/arm/setjmp.S: Likewise.
4509 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4510 * sysdeps/arm/configure.ac: New check to define it.
4511 * sysdeps/arm/configure: Regenerated.
4512 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4513 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4514 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4515 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4516 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4517 Use move/movt pair instead of a load.
4518 (LDST_GLOBAL): Macro removed.
4519 (LDR_GLOBAL): New macro replaces it.
4520 (LDR_HIDDEN): New macro.
4521 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4522 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4524 * setjmp/tst-setjmp-static.c: New file.
4525 * setjmp/Makefile (tests): Add it.
4526 (tests-static): New variable.
4528 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4531 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4533 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4536 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4538 2014-10-21 Roland McGrath <roland@hack.frob.com>
4540 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4542 2014-10-20 Roland McGrath <roland@hack.frob.com>
4544 * io/fts.c (dirent_not_directory): New function.
4545 (fts_build): Call it.
4547 2014-10-20 Roland McGrath <roland@hack.frob.com>
4549 * nptl/version.c (__nptl_main): Use normal __write rather than
4551 (banner): Update copyright years.
4553 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4555 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4556 * nptl/pthread_cond_timedwait.c: Likewise.
4557 * nptl/pthread_mutex_timedlock.c: Likewise.
4558 * nptl/sem_timedwait.c: Likewise.
4560 * sysdeps/nptl/bits/libc-lock.h
4561 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4562 (__libc_lock_init_recursive): Return void, not 0.
4563 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4564 (__libc_rwlock_init): Likewise.
4565 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4567 2014-10-20 Torvald Riegel <triegel@redhat.com>
4570 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4571 (__pthread_once_slow): ... here.
4572 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4573 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4575 2014-10-20 Torvald Riegel <triegel@redhat.com>
4578 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4579 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4580 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4581 * nptl/pthread_once.c (__pthread_once): Likewise.
4584 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4587 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4589 (writev): Use __libc_writev as strong name.
4590 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4591 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4593 2014-10-17 Roland McGrath <roland@hack.frob.com>
4595 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4597 * sysdeps/i386/nptl/tls.h
4598 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4599 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4601 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4602 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4603 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4604 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4605 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4606 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4608 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4609 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4611 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4613 (__pthread_mutex_init): ... here. Call it.
4614 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4615 Conditionalize PI cases on [__NR_futex].
4616 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4617 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4618 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4620 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4621 conditional on [SIGSETXID].
4622 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4623 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4624 is defined. Likewise for SIGSETXID.
4625 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4626 Conditionalize definitions on [SIGSETXID].
4627 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4628 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4629 unblocking on [SIGCANCEL].
4631 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4632 [__NR_set_robust_list].
4634 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4636 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4637 (do_compare): Likewise.
4639 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4642 * string/strcoll_l.c: Don't include stdio.h.
4643 (coll_seq): Remove members idxarr and rulearr.
4644 (get_next_seq_cached): Remove function.
4645 (get_next_seq): Likewise.
4646 (get_next_seq_nocache): Rename to get_next_seq.
4647 (do_compare): Remove function.
4648 (do_compare_nocache): Rename to do_compare.
4649 (STRCOLL): Remove weight and rules cache.
4651 2014-10-16 Roland McGrath <roland@hack.frob.com>
4653 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4654 * sysdeps/arm/sfp-machine.h: ... to here.
4655 * sysdeps/arm/Implies: Remove arm/soft-fp.
4657 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4659 * conform/data/sys/utsname.h-data (*_t): Allow.
4660 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4661 [POSIX] (WEXITED): Do not expect constant.
4662 [POSIX] (WSTOPPED): Likewise.
4663 [POSIX] (WNOHANG): Likewise.
4664 [POSIX] (WNOWAIT): Likewise.
4665 [POSIX] (siginfo_t): Do not expect type or elements.
4666 [POSIX] (pid_t): Do not expect type.
4667 [POSIX] (signal.h): Do not allow header.
4668 [POSIX] (sys/resource.h): Likewise.
4669 [POSIX] (si_*): Do not allow pattern.
4670 [POSIX] (W*): Likewise.
4671 [POSIX] (P_*): Likewise.
4672 [POSIX] (BUS_*): Likewise.
4673 [POSIX] (CLD_*): Likewise.
4674 [POSIX] (FPE_*): Likewise.
4675 [POSIX] (ILL_*): Likewise.
4676 [POSIX] (POLL_*): Likewise.
4677 [POSIX] (SEGV_*): Likewise.
4678 [POSIX] (SI_*): Likewise.
4679 [POSIX] (TRAP_*): Likewise.
4680 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4683 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4686 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4687 infinite loop when __recvmsg returns 0.
4689 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4691 * CANCEL-FCT-WAIVE: Remove file.
4692 * CANCEL-FILE-WAIVE: Likewise.
4695 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4696 instead of INTVARDEF.
4697 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4698 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4699 rtld_hidden_data_def instead of INTVARDEF.
4700 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4701 * elf/dl-deps.c (expand_dst): Likewise.
4702 * elf/dl-load.c (_dl_dst_count): Likewise.
4703 (_dl_dst_substitute): Likewise.
4704 (decompose_rpath): Likewise.
4705 (_dl_init_paths): Likewise.
4706 (open_path): Likewise.
4707 (_dl_map_object): Likewise.
4708 * elf/rtld.c (dl_main): Likewise.
4709 (process_dl_audit): Likewise.
4710 (process_envvars): Likewise.
4711 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4713 (__libc_enable_secure): Use rtld_hidden_proto.
4715 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4718 (add_path): New function broken out of _dl_rtld_di_serinfo.
4719 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4721 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4723 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4724 parentheses around macro arguments.
4725 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4726 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4727 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4728 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4729 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4730 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4731 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4732 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4733 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4734 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4735 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4736 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4737 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4738 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4739 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4740 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4741 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4742 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4743 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4744 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4745 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4746 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4748 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4749 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4750 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4751 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4752 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4753 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4754 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4755 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4756 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4757 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4758 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4759 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4760 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4764 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4768 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4769 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4771 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4772 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4773 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4774 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4776 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4777 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4779 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4780 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4781 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4783 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4784 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4785 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4786 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4787 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4788 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4789 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4790 (_FP_FRAC_SRS_1): Likewise.
4791 (_FP_FRAC_CLZ_1): Likewise.
4792 (_FP_MUL_MEAT_1_imm): Likewise.
4793 (_FP_MUL_MEAT_1_wide): Likewise.
4794 (_FP_MUL_MEAT_1_hard): Likewise.
4795 (_FP_SQRT_MEAT_1): Likewise.
4796 (_FP_FRAC_ASSEMBLE_1): Likewise.
4797 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4798 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4799 (__FP_CLZ_2): Likewise.
4800 (_FP_MUL_MEAT_2_wide): Likewise.
4801 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4802 (_FP_MUL_MEAT_2_gmp): Likewise.
4803 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4804 (_FP_SQRT_MEAT_2): Likewise.
4805 (_FP_FRAC_ASSEMBLE_2): Likewise.
4806 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4807 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4808 (_FP_FRAC_CLZ_4): Likewise.
4809 (_FP_MUL_MEAT_4_wide): Likewise.
4810 (_FP_MUL_MEAT_4_gmp): Likewise.
4811 (_FP_SQRT_MEAT_4): Likewise.
4812 (_FP_FRAC_ASSEMBLE_4): Likewise.
4813 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4814 * soft-fp/op-common.h (_FP_CMP): Likewise.
4815 (_FP_CMP_EQ): Likewise.
4816 (_FP_CMP_UNORD): Likewise.
4817 (_FP_TO_INT): Likewise.
4818 (_FP_FROM_INT): Likewise.
4819 [!__FP_CLZ] (__FP_CLZ): Likewise.
4820 (_FP_DIV_HELP_imm): Likewise.
4821 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4823 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4824 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4825 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4826 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4827 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4828 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4829 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4830 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4831 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4834 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4835 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4836 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4837 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4838 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4839 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4840 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4841 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4842 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4843 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4852 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4855 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4856 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4857 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4858 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4859 (FP_UNPACK_RAW_SP): Likewise.
4860 (FP_PACK_RAW_S): Likewise.
4861 (FP_PACK_RAW_SP): Likewise.
4862 (FP_UNPACK_S): Likewise.
4863 (FP_UNPACK_SP): Likewise.
4864 (FP_UNPACK_SEMIRAW_S): Likewise.
4865 (FP_UNPACK_SEMIRAW_SP): Likewise.
4866 (FP_PACK_S): Likewise.
4867 (FP_PACK_SP): Likewise.
4868 (FP_PACK_SEMIRAW_S): Likewise.
4869 (FP_PACK_SEMIRAW_SP): Likewise.
4870 (_FP_SQRT_MEAT_S): Likewise.
4871 (FP_CMP_S): Likewise.
4872 (FP_CMP_EQ_S): Likewise.
4873 (FP_CMP_UNORD_S): Likewise.
4874 (FP_TO_INT_S): Likewise.
4875 (FP_FROM_INT_S): Likewise.
4877 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4879 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4880 (FP_EX_INVALID_IMZ): Likewise.
4881 (FP_EX_INVALID_IMZ_FMA): Likewise.
4882 (FP_EX_INVALID_ISI): Likewise.
4883 (FP_EX_INVALID_ZDZ): Likewise.
4884 (FP_EX_INVALID_IDI): Likewise.
4885 (FP_EX_INVALID_SQRT): Likewise.
4886 (FP_EX_INVALID_CVI): Likewise.
4887 (FP_EX_INVALID_VC): Likewise.
4888 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4889 "invalid" exceptions.
4890 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4891 (_FP_ADD_INTERNAL): Likewise.
4892 (_FP_MUL): Likewise.
4893 (_FP_FMA): Likewise.
4894 (_FP_DIV): Likewise.
4895 (_FP_CMP_CHECK_NAN): Likewise.
4896 (_FP_SQRT): Likewise.
4897 (_FP_TO_INT): Likewise.
4898 (FP_EXTEND): Likewise.
4900 2014-10-09 Allan McRae <allan@archlinux.org>
4902 * po/fr.po: Update French translation from translation project.
4904 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4907 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4909 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4910 (__cxa_atexit): Use libc_hidden_proto.
4911 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4914 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4916 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4917 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4918 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4919 [!_ISOMAC] (__iswctype_internal): Likewise.
4920 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4921 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4923 (fcntl): Remove __fcntl_internal alias.
4924 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4925 __connect_internal alias.
4926 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4929 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4930 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4932 (_FP_CHECK_FLUSH_ZERO): New macro.
4933 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4934 (_FP_CMP): Likewise.
4935 (_FP_CMP_EQ): Likewise.
4936 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4938 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4939 (FP_TRUNC): Likewise.
4941 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4942 treated as invalid conversion, not as normal exponent.
4944 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4945 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4946 (_FP_CMP_EQ): Likewise.
4947 (_FP_CMP_UNORD): Likewise.
4948 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4949 (FP_CMP_EQ_D): Likewise.
4950 (FP_CMP_UNORD_D): Likewise.
4951 * soft-fp/extended.h (FP_CMP_E): Likewise.
4952 (FP_CMP_EQ_E): Likewise.
4953 (FP_CMP_UNORD_E): Likewise.
4954 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4955 (FP_CMP_EQ_Q): Likewise.
4956 (FP_CMP_UNORD_Q): Likewise.
4957 * soft-fp/single.h (FP_CMP_S): Likewise.
4958 (FP_CMP_EQ_S): Likewise.
4959 (FP_CMP_UNORD_S): Likewise.
4960 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4961 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4962 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4963 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4964 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4965 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4966 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4967 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4968 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4969 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4970 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4971 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4972 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4974 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4976 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4977 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4979 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4981 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4982 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4983 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4984 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4986 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4988 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4989 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4991 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4993 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4994 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4995 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4996 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4999 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5000 a subnormal result, set the underflow exception if trapping on
5001 underflow is enabled.
5002 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5003 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5004 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5006 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5007 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5008 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5009 * soft-fp/extendxftf2.c (__extendxftf2): Use
5010 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5012 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5013 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5014 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5015 FP_HANDLE_EXCEPTIONS.
5016 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5017 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5018 FP_HANDLE_EXCEPTIONS.
5019 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5020 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5021 FP_HANDLE_EXCEPTIONS.
5022 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5023 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5024 FP_HANDLE_EXCEPTIONS.
5026 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5029 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5030 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5032 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5033 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5035 (__adjtimex): Define using libc_hidden_ver.
5036 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5038 (ntp_gettime): Call __adjtimex directly.
5039 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5041 (ntp_gettimex): Call __adjtimex directly.
5042 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5043 __adjtimex_internal alias.
5045 2014-10-08 Roland McGrath <roland@hack.frob.com>
5048 * nscd/nscd.c (more_help): Rewrite list of tables collection
5049 using xstrdup and asprintf.
5051 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5053 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5054 Roland McGrath <roland@hack.frob.com>
5056 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5057 (do_lookup_unique): ... local function 'enter' here; update callers.
5059 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5061 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5062 compat_symbol calls on [SHARED].
5063 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5064 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5066 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5067 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5068 (oldsetrlimit): Remove.
5069 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5071 (lchown): New syscall entry.
5072 (oldsetrlimit): Remove.
5073 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5075 (oldsetrlimit): Remove.
5076 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5079 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5080 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5081 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5082 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5083 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5084 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5086 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5091 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5094 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5095 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5096 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5097 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5099 (__old_sem_post): Likewise.
5101 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5103 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5104 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5105 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5106 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5107 Use INLINE_VSYSCALL macro.
5108 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5109 __vdso_clock_gettime.
5110 * sysdeps/unix/sysv/linux/tile/init-first.c
5111 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5112 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5113 __vdso_clock_gettime.
5115 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5116 to set up frame more cleanly.
5118 * sysdeps/tile/memcmp.c: New file.
5120 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5122 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5123 * sysdeps/tile/tilegx/strcasestr.c: New file.
5124 * sysdeps/tile/tilegx/strnlen.c: New file.
5125 * sysdeps/tile/tilegx/strstr.c: New file.
5127 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5129 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5131 * nptl/tst-setuid3.c: Write errors to stdout.
5133 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5136 (preload): New functions broken out of _dl_map_object_deps.
5137 (_dl_map_object_deps): Remove a nested function. Update call sites.
5139 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5142 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5143 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5145 2014-10-01 Steve Ellcey <sellcey@mips.com>
5147 * sysdeps/mips/strcmp.S: New.
5149 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5152 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5154 (mkdirat): Likewise.
5155 (readlinkat): Likewise.
5156 (renameat): Likewise.
5157 (symlinkat): Likewise.
5158 (unlinkat): Likewise.
5159 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5160 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5161 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5162 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5163 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5164 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5165 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5167 2014-09-30 Will Newton <will.newton@linaro.org>
5169 * math/math.h: Define long double math functions if
5170 _LIBC_TEST is defined.
5171 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5173 * localedata/Makefile: Move assignment to tests-special
5174 into an ifdef testing run-built-tests.
5175 * timezone/Makefile: Likewise.
5177 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5180 with $(BASH) not $(SHELL).
5182 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5183 Matthew LeGendre <legendre1@llnl.gov>
5186 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5189 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5191 * stdio-common/printf_fp.c
5192 (hack_digit): New function, broken out of ...
5193 (__printf_fp): ... local function here. Update call sites.
5194 hack_digit now takes an additional parameter that is a pointer
5195 to a struct of the referenced locals. Those locals moved inside
5196 the struct and references updated.
5198 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5200 * aclocal.m4: Require autoconf 2.69.
5201 * configure: Regenerated.
5202 * sysdeps/aarch64/configure: Likewise.
5203 * sysdeps/alpha/configure: Likewise.
5204 * sysdeps/arm/armv7/configure: Likewise.
5205 * sysdeps/arm/configure: Likewise.
5206 * sysdeps/ia64/configure: Likewise.
5207 * sysdeps/mach/configure: Likewise.
5208 * sysdeps/mips/configure: Likewise.
5209 * sysdeps/s390/configure: Likewise.
5210 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5213 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5215 * sysdeps/ia64/configure.ac: Likewise.
5217 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5220 specify symbol version for ld.so. Do not include entry for
5222 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5223 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5224 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5227 * Makeconfig [$(build-shared) = yes]
5228 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5230 [$(build-shared) = yes && $(soversions.mk-done) = t]
5231 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5232 [$(build-shared) = yes && $(soversions.mk-done) = t]
5233 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5235 [$(build-shared) = yes && $(soversions.mk-done) = t]
5236 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5238 [$(build-shared) = yes && $(soversions.mk-done) = t]
5239 (common-generated): Don't append gnu/lib-names.h and
5240 gnu/lib-names.stmp here.
5241 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5242 (lib-names-h-abi): New variable.
5243 [$(build-shared) = yes && $(soversions.mk-done) = t]
5244 (lib-names-stmp-abi): Likewise.
5245 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5246 abi-variants] (before-compile): Append
5247 $(common-objpfx)$(lib-names-h-abi).
5248 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5249 abi-variants] (common-generated): Append gnu/lib-names.h.
5250 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5251 abi-variants] (install-others-nosubdir): Depend on
5252 $(inst_includedir)/$(lib-names-h-abi).
5253 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5254 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5255 [$(build-shared) = yes && $(soversions.mk-done) = t]
5256 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5257 [$(build-shared) = yes && $(soversions.mk-done) = t]
5258 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5259 [$(build-shared) = yes && $(soversions.mk-done) = t]
5260 (common-generated): Append $(lib-names-h-abi) and
5261 $(lib-names-stmp-abi).
5262 * scripts/lib-names.awk: Do not handle multi being set.
5263 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5265 (abi-lp64_be-ld-soname): Likewise.
5266 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5268 (abi-hard-ld-soname): Likewise.
5269 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5270 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5272 (abi-o32_hard-ld-soname): Likewise.
5273 (abi-o32_soft_2008-ld-soname): Likewise.
5274 (abi-o32_hard_2008-ld-soname): Likewise.
5275 (abi-n32_soft-ld-soname): Likewise.
5276 (abi-n32_hard-ld-soname): Likewise.
5277 (abi-n32_soft_2008-ld-soname): Likewise.
5278 (abi-n32_hard_2008-ld-soname): Likewise.
5279 (abi-n64_soft-ld-soname): Likewise.
5280 (abi-n64_hard-ld-soname): Likewise.
5281 (abi-n64_soft_2008-ld-soname): Likewise.
5282 (abi-n64_hard_2008-ld-soname): Likewise.
5283 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5285 (abi-64-v2-ld-soname): Likewise.
5286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5288 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5292 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5294 (abi-64-ld-soname): Likewise.
5295 (abi-x32-ld-soname): Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5298 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5300 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5303 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5304 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5305 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5306 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5307 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5308 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5309 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5310 syscall entry for GLIBC_2.2 symbol version.
5311 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5314 (setrlimit): Likewise.
5315 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5318 2014-09-23 Will Newton <will.newton@linaro.org>
5320 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5321 _LINUX_ARM_SYSDEP_H include guard too.
5322 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5325 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5327 * sysdeps/unix/sysv/linux/eventfd.c:
5328 Make first argument unsigned.
5329 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5332 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5334 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5335 * socket/sys/socket.h: Likewise
5336 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5338 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5340 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5342 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5344 * time/tst-ftime.c: New test.
5345 * time/Makefile (tests): Add tst-ftime.
5347 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5349 * soft-fp/extended.h: Fix comment formatting.
5350 * soft-fp/op-1.h: Likewise.
5351 * soft-fp/op-2.h: Likewise.
5352 * soft-fp/op-4.h: Likewise.
5353 * soft-fp/op-8.h: Likewise.
5354 * soft-fp/op-common.h: Likewise.
5355 * soft-fp/soft-fp.h: Likewise.
5357 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5359 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5362 * Makeconfig (soversions-default-setname): Remove variable.
5363 ($(common-objpfx)soversions.i): Don't pass default_setname to
5365 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5366 oldest_abi to abi-versions.awk.
5367 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5368 * config.make.in (oldest-abi): Remove variable.
5369 * configure.ac (--enable-oldest-abi): Remove configure option.
5370 * configure: Regenerated.
5371 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5373 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5374 * scripts/soversions.awk: Do not handle default_setname variable.
5375 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5377 * sysdeps/mach/hurd/configure: Regenerated.
5378 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5380 * sysdeps/unix/sysv/linux/configure: Regenerated.
5382 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5384 * elf/Makefile (CFLAGS-interp.c): Remove.
5385 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5387 * elf/interp.c: Include generated runtime-linker.h
5389 * Makerules (lib%.so): Don't include $(+interp) in
5391 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5392 * dlfcn/eval.c: Remove file.
5394 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5398 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5402 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5404 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5405 Jakub Jelinek <jakub@redhat.com>
5408 * libio/stdio.h: Check definition of __fortify_function
5409 instead of __extern_always_inline to include bits/stdio2.h.
5410 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5411 check if __extern_always_inline is defined.
5412 [__USE_MISC || __USE_XOPEN]: Likewise.
5413 [__USE_ISOC99] Likewise.
5414 * misc/sys/cdefs.h (__fortify_function): Define only if
5415 __extern_always_inline is defined.
5416 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5417 __extern_always_inline and __extern_inline only for g++-4.3
5418 and newer or a compatible gcc.
5420 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5423 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5424 last change to handle zero prefix length.
5426 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5428 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5431 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5434 2014-09-13 Allan McRae <allan@archlinux.org>
5436 * po/ru.po: Update Russian translation from translation project.
5438 2014-09-12 Roland McGrath <roland@hack.frob.com>
5440 * locale/programs/locale.c (show_locale_vars): Inline local function
5441 into its sole call site. Clean up some style nits.
5442 (print_item): New function, broken out of ...
5443 (show_info): ... local function here. Clean up style nits.
5445 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5447 (set_class_defaults): ... local function set_default here.
5448 Define set_default as a macro locally to pass constant parameters.
5449 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5450 rather than a shared local.
5452 * stdlib/rpmatch.c (try): New function, broken out of ...
5453 (rpmatch): ... local function here. Also, prototypify definition.
5455 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5457 * scripts/soversions.awk: Do not handle configuration names.
5458 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5459 vendor and os variables to soversions.awk.
5460 * configure.ac: Do not modify gnu-* host_os.
5461 * configure: Regenerated
5462 * shlib-versions: Remove first column with configuration names.
5463 * nptl/shlib-versions: Likewise.
5464 * nptl_db/shlib-versions: Likewise.
5465 * sysdeps/hppa/shlib-versions: Likewise.
5466 * sysdeps/m68k/shlib-versions: Likewise.
5467 * sysdeps/mach/hurd/shlib-versions: Likewise.
5468 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5469 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5470 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5471 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5472 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5473 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5474 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5475 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5478 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5479 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5480 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5481 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5482 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5483 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5484 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5485 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5488 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5491 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5493 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5495 * shlib-versions: Remove OS-specific entries. Moved to files in
5497 * sysdeps/mach/hurd/shlib-versions: New file.
5498 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5500 * nptl/shlib-versions: Remove architecture-specific entries.
5501 Moved to files in sysdeps.
5502 * shlib-versions: Likewise.
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5505 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5506 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5507 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5508 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5510 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5511 (UDP_NO_CHECK6_RX): Likewise.
5513 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5515 * sysdeps/posix/sysconf.c (__sysconf): Spell
5516 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5518 2014-08-12 Florian Weimer <fweimer@redhat.com>
5520 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5522 * iconv/Versions (__gconv_transliterate): Export for use from
5524 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5525 (struct __gconv_trans_data, __gconv_trans_fct,
5526 __gconv_trans_context_fct, __gconv_trans_query_fct,
5527 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5529 (struct __gconv_step_data): Remove __trans member.
5530 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5531 longer hidden. Remove unused trans_data argument.
5532 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5533 (__gconv_translit_find): Remove declaration.
5534 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5536 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5537 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5538 trans_data argument. Add hidden definition.
5539 (__gconv_translit_find): Remove.
5540 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5541 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5542 * iconv/skeleton.c: Remove transliteration initialization.
5543 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5544 __gconv_step_data initialization.
5545 * libio/iofwide.c (__libio_translit_): Remove.
5546 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5547 * wcsmbs/btowc.c (__btowc): Likewise.
5548 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5549 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5550 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5551 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5552 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5553 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5554 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5555 * wcsmbs/wctob.c (wctob): Likewise.
5557 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5560 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5561 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5563 * sysdeps/x86/Makefile: Adjust.
5565 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5566 Roland McGrath <roland@hack.frob.com>
5568 * locale/weight.h: Add include guard.
5569 (findidx): Make static rather than auto; take new parameters
5570 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5571 * locale/weightwc.h: Likewise.
5572 * posix/fnmatch_loop.c
5573 (FCT): Change type of EXTRA from int32_t to wint_t.
5574 Don't include either header inside the function.
5575 Call FINDIDX rather than findidx, and pass new arguments.
5576 #undef FINDIDX at the end of the file.
5577 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5578 FINDIDX before including fnmatch_loop.c for the non-wide version.
5579 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5580 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5581 for the wide version.
5582 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5583 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5584 Pass new arguments to findidx.
5585 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5586 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5587 Don't #include it inside the function. Pass new arguments to findidx.
5588 * posix/regex_internal.h
5589 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5590 (re_string_elem_size_at): Don't #include it inside the function.
5591 Pass new arguments to findidx.
5592 * string/strcoll_l.c: #include WEIGHT_H at top level.
5593 (get_next_seq): Don't #include it inside the function.
5594 Pass new arguments to findidx.
5595 (get_next_seq_nocache): Likewise.
5596 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5597 (STRXFRM): Don't #include it inside the function.
5598 Pass new arguments to findidx.
5600 2014-09-11 Florian Weimer <fweimer@redhat.com>
5603 * malloc/malloc.c (unlink): Turn asserts into a call to
5606 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5609 * libio/wfileops (do_ftell_wide): Free OUT.
5611 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5613 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5615 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5618 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5619 group if the current group is empty.
5621 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5623 * benchtests/bench-memset.c (test_main): Add more test from size
5624 from 32 to 512 bytes.
5625 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5626 Add POWER8 memset object.
5627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5628 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5629 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5631 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5633 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5634 multiarch POWER8 memset optimization.
5635 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5636 POWER8 memset optimization.
5638 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5639 Remove bzero multiarch objects.
5640 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5641 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5642 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5643 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5645 [__bzero]: Redefine to specific name.
5646 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5647 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5648 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5650 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5651 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5653 2014-09-10 Florian Weimer <fweimer@redhat.com>
5655 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5656 warnings into errors.
5658 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5659 __cxa_thread_atexit_impl prototype.
5661 2014-09-09 Steve Ellcey <sellcey@mips.com>
5663 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5664 Fix capitalization of error message.
5666 2014-09-09 Steve Ellcey <sellcey@mips.com>
5668 * sysdeps/mips/preconfigure: Modify ABI tests.
5670 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5672 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5674 2014-09-07 Roland McGrath <roland@hack.frob.com>
5675 Carlos O'Donell <carlos@systemhalted.org>
5677 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5678 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5679 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5680 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5681 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5682 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5683 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5684 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5685 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5686 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5687 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5688 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5689 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5690 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5691 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5692 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5693 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5694 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5695 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5696 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5697 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5698 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5699 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5700 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5701 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5702 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5703 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5704 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5705 Deconditionalize the code that was previously under [RESET_PID].
5706 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5707 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5708 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5709 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5712 2014-09-08 Allan McRae <allan@archlinux.org>
5714 * version.h (RELEASE): Set to "development".
5715 (VERSION): Set to "2.20.90"
5717 2014-09-07 Allan McRae <allan@archlinux.org
5719 * version.h (RELEASE): Set to "stable".
5720 (VERSION): Set to "2.20"
5721 * include/features.h (__GLIBC_MINOR__): Set to 20.
5723 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5726 * po/ko.po: Update Korean translation from translation project.
5728 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5731 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5732 macro for handling signed relocations.
5734 2014-09-03 Florian Weimer <fweimer@redhat.com>
5737 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5738 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5740 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5741 * iconvdata/ibm935.c (BODY): Likewise.
5742 * iconvdata/ibm937.c (BODY): Likewise.
5743 * iconvdata/ibm939.c (BODY): Likewise.
5744 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5746 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5748 * iconvdata/run-iconv-test.sh: New test loop for checking for
5751 2014-09-02 Khem Raj <raj.khem@gmail.com>
5753 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5756 2014-09-01 Allan McRae <allan@archlinux.org>
5758 * po/eo.po: Update Esperanto translation from translation project.
5760 * po/ca.po: Update Catalan translation from translation project.
5762 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5764 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5767 2014-08-27 Mark Wielaard <mjw@redhat.com>
5770 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5771 to call set_thread_area instead of hand written asm.
5772 (__NR_set_thread_area): Removed define.
5773 (TLS_FLAG_WRITABLE): Likewise.
5774 (__ASSUME_SET_THREAD_AREA): Remove check.
5775 (TLS_EBX_ARG): Remove define.
5776 (TLS_LOAD_EBX): Likewise.
5778 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5780 Simplify atomicity of socket creation in bind.
5782 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5783 looking up the name after linking the file.
5785 2014-08-27 Allan McRae <allan@archlinux.org>
5787 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5789 2014-08-26 Florian Weimer <fweimer@redhat.com>
5792 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5793 trans_compare, open_translit, __gconv_translit_find):
5794 Remove module loading code.
5796 2014-08-26 Allan McRae <allan@archlinux.org>
5798 * po/vi.po: Update Vietnamese translation from translation project.
5800 * po/uk.po: Update Ukrainian translation from translation project.
5802 * po/fr.po: Update French translation from translation project.
5804 * po/ru.po: Update Russian translation from translation project.
5806 * po/pl.po: Update Polish translation from translation project.
5808 * po/cs.po: Update Czech translation from translation project.
5810 * po/de.po: Update German translation from translation project.
5812 * po/bg.po: Update Bulgarian translation from translation project.
5814 * po/sv.po: Update Sweedish translation from translation project.
5816 * po/nl.po: Update Dutch translation from translation project.
5818 * po/es.po: Update Spanish translation from translation project.
5820 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5822 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5824 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5825 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5826 (CPPFLAGS-iconvconfig): Likewise.
5827 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5829 * include/libc-symbols.h: Remove unnecessary check for
5831 * nptl/pthreadP.h: Likewise.
5832 * sysdeps/aarch64/setjmp.S: Likewise.
5833 * sysdeps/alpha/setjmp.S: Likewise.
5834 * sysdeps/arm/sysdep.h: Likewise.
5835 * sysdeps/i386/setjmp.S: Likewise.
5836 * sysdeps/m68k/setjmp.c: Likewise.
5837 * sysdeps/posix/getcwd.c: Likewise.
5838 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5839 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5840 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5841 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5842 * sysdeps/sh/sh3/setjmp.S: Likewise.
5843 * sysdeps/sh/sh4/setjmp.S: Likewise.
5844 * sysdeps/unix/alpha/sysdep.h: Likewise.
5845 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5846 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5847 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5848 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5851 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5852 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5853 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5854 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5856 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5858 * sysdeps/x86_64/setjmp.S: Likewise.
5860 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5863 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5865 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5866 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5868 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5870 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5873 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5874 and __x86_64__ when disabling x87 inline functions.
5876 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5879 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5880 asm statement with __cpuid_count.
5882 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5884 * configure.ac: Change __ehdr_start code to dereference the struct.
5885 Run readelf on the output to look for relocations.
5886 * configure: Regenerated.
5888 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5891 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5893 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5895 2014-08-12 Roland McGrath <roland@hack.frob.com>
5897 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5899 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5902 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5903 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5905 2014-08-12 Sean Anderson <seanga2@gmail.com>
5907 * malloc/malloc.c: Fix typo in comment.
5909 2014-08-09 Allan McRae <allan@archlinux.org>
5911 * Regenerate libc.po.
5913 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5915 * intl/tst-gettext2.sh: Check every lang file for creation.
5917 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5919 * sysdeps/aarch64/fpu/math_private.h
5920 (libc_feholdsetround_noex_aarch64_ctx): New function.
5922 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5924 * sysdeps/arm/armv6/strcpy.S (strcpy):
5925 Fix performance issue in misaligned cases.
5927 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5930 Move definition from termios.h.
5931 (struct termio): Likewise.
5932 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5933 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5934 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5935 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5937 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5938 Move definition to ioctl-types.h
5939 (struct termio): Likewise.
5940 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5941 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5942 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5943 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5946 2014-08-05 Richard Henderson <rth@redhat.com>
5948 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5950 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5952 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5953 Use __feraiseexcept.
5954 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5955 Protect libm symbols with IS_IN_libm.
5957 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5959 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5961 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5963 2014-08-04 Will Newton <will.newton@linaro.org>
5965 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5968 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5970 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5971 variants for each function.
5973 2014-08-04 Roland McGrath <roland@hack.frob.com>
5975 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5977 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5978 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5980 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5981 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5982 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5983 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5984 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5985 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5986 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5987 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5988 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5989 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5990 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5991 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5992 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5993 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5994 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5995 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5996 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5997 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5998 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5999 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6000 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6001 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6003 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6004 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6005 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6006 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6007 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6008 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6009 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6010 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6011 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6012 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6013 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6014 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6015 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6016 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6017 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6019 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6020 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6021 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6022 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6024 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6025 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6026 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6027 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6028 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6029 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6030 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6031 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6032 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6034 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6035 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6037 2014-08-04 Roland McGrath <roland@hack.frob.com>
6039 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6040 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6041 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6042 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6043 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6044 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6046 2014-08-04 Roland McGrath <roland@hack.frob.com>
6048 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6049 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6050 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6051 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6053 2014-08-04 Roland McGrath <roland@hack.frob.com>
6055 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6056 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6057 (__libc_vfork): Define function under this name.
6058 (__vfork): Define as an alias.
6059 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6060 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6062 2014-08-04 Roland McGrath <roland@hack.frob.com>
6064 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6065 that was previously under [RESET_PID].
6066 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6068 2014-08-04 Andreas Schwab <schwab@suse.de>
6070 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6072 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6074 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6077 2014-08-01 Roland McGrath <roland@hack.frob.com>
6079 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6081 2014-08-01 Richard Henderon <rth@redhat.com>
6083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6084 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6085 typo in exact zero test.
6086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6090 2014-08-01 Roland McGrath <roland@hack.frob.com>
6092 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6093 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6094 * sysdeps/arm/sysdep.h: ... here.
6095 [!__ASSEMBLER__]: Include <stdint.h>.
6097 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6099 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6100 (HAVE_WCTYPE_H): Likewise.
6101 (HAVE_ISWCTYPE): Likewise.
6102 (ENABLE_NLS): Likewise.
6103 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6104 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6106 * posix/regex_internal.c: Check if DEBUG is defined and is
6109 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6110 (HAVE_MBSRTOWCS): Likewise.
6111 * posix/fnmatch.c: Include string.h unconditionally.
6113 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6115 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6118 2014-07-31 Roland McGrath <roland@hack.frob.com>
6120 * sysdeps/generic/safe-fatal.h: New file.
6121 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6122 * nptl/forward.c: Include it.
6123 (__pthread_unwind): Use __safe_fatal as default action, rather
6124 than a bogus use of INTERNAL_SYSCALL that could never work.
6126 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6127 * configure.ac (libc_cv_builtin_trap): New test.
6128 * configure: Regenerated.
6129 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6130 (ABORT_INSTRUCTION): Define using __builtin_trap.
6132 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6133 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6134 * sysdeps/nptl/nptl-signals.h: New file.
6135 * nptl/pthreadP.h: Include <nptl-signals.h>.
6137 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6139 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6140 (ONE_DIRECTION): Define.
6141 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6142 (ONE_DIRECTION): Define.
6143 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6144 (ONE_DIRECTION): Define.
6146 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6148 * sysdeps/s390/Makefile: Delete file.
6149 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6150 * sysdeps/s390/__longjmp.c: Delete file.
6151 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6152 Remove fields __flags and __reserved.
6153 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6155 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6156 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6157 * sysdeps/s390/rtld-setjmp.S: Likewise.
6158 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6159 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6160 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6161 * sysdeps/s390/s390-32/setjmp.S: ... here.
6163 (__sigsetjmp): Remove setting __flags field.
6164 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6165 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6166 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6167 * sysdeps/s390/s390-64/setjmp.S: ... here.
6169 (__sigsetjmp): Remove setting __flags field.
6170 * sysdeps/s390/setjmp.S: Delete file.
6171 * sysdeps/s390/sigjmp.c: Likewise.
6172 * sysdeps/s390/v1-longjmp.c: Likewise.
6173 * sysdeps/s390/v1-setjmp.h: Likewise.
6174 * sysdeps/s390/v1-sigjmp.c: Likewise.
6175 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6176 Remove v1-longjmp_chk.
6177 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6178 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6179 Include debug/longjmp_chk.c and add versioning.
6180 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6181 Include nptl/pt-longjmp.c and add versioning.
6182 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6183 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6184 Include __longjmp.c.
6185 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6187 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6188 (__getcontext): Remove setting __flags field.
6190 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6191 Don't restore upper high grps.
6192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6194 (__swapcontext): Remove setting uc_flags field.
6195 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6197 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6198 Include __longjmp.c.
6199 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6201 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6202 (__getcontext): Remove setting __flags field.
6204 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6205 (__swapcontext): Remove setting uc_flags field.
6206 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6207 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6208 Remove fields uc_high_gprs and __reserved.
6209 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6210 New file with reverted content.
6211 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6212 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6214 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6217 2014-07-31 Andreas Schwab <schwab@suse.de>
6219 * config.h.in (HAVE_IFUNC): Define to 0.
6220 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6223 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6226 memmove-avx-unaligned, memcpy-avx-unaligned and
6227 mempcpy-avx-unaligned.
6228 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6229 Add tests for AVX memcpy functions.
6230 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6231 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6233 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6234 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6236 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6239 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6240 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6241 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6243 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6249 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6252 * manual/llio.texi: Add section about open file description locks.
6253 * manual/examples/ofdlocks.c: Example of open file description
6255 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6256 F_OFD_SETLK, and F_OFD_SETLKW.
6258 2014-07-23 Allan McRae <allan@archlinux.org>
6260 * po/es.po: Update Spanish translation from translation project.
6262 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6264 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6266 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6269 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6270 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6271 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6273 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6276 * math/fesetenv.c (__fesetenv)
6277 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6278 * math/feupdateenv.c (__feupdateenv)
6279 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6281 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6282 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6283 (__ASSUME_SOCKETCALL): Do not define.
6285 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6286 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6287 (__ASSUME_SOCKETCALL): Do not define.
6288 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6289 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6290 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6291 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6292 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6293 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6294 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6295 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6297 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6298 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6299 (__ASSUME_SOCKETCALL): Do not define.
6300 (__ASSUME_IPC64): Define unconditionally.
6301 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6302 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6303 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6304 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6305 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6306 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6307 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6310 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6311 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6312 (__ASSUME_SOCKETCALL): Do not define.
6313 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6314 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6315 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6316 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6317 (__ASSUME_REQUEUE_PI): Define unconditionally.
6318 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6319 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6320 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6321 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6323 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6325 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6326 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6327 (__ASSUME_SOCKETCALL): Do not define.
6328 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6329 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6330 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6331 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6332 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6333 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6335 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6336 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6337 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6338 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6339 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6340 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6341 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6342 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6343 (__ASSUME_GETCPU_SYSCALL): Likewise.
6345 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6346 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6347 cases for individual architectures.
6348 * sysdeps/gnu/configure: Regenerated.
6349 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6350 LIBC_SLIBDIR_RTLDDIR.
6351 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6352 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6353 LIBC_SLIBDIR_RTLDDIR.
6354 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6356 LIBC_SLIBDIR_RTLDDIR.
6357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6359 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6360 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6362 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6363 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6365 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6366 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6367 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6368 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6370 * sysdeps/aarch64/shlib-versions: Move to ...
6371 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6372 * sysdeps/alpha/shlib-versions: Move to ...
6373 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6374 * sysdeps/arm/shlib-versions: Move to ...
6375 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6376 * sysdeps/hppa/shlib-versions: Move all contents except for
6377 libgcc_s entry to ...
6378 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6380 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6381 * sysdeps/ia64/shlib-versions: Move to ...
6382 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6384 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6385 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6386 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6387 * sysdeps/microblaze/shlib-versions: Move to ...
6388 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6389 * sysdeps/mips/shlib-versions: Move to ...
6390 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6392 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6393 * sysdeps/tile/shlib-versions: Move to ...
6394 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6395 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6397 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6398 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6400 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6402 2014-07-17 Will Newton <will.newton@linaro.org>
6404 * sysdeps/arm/bits/atomic.h
6405 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6406 (__arch_compare_and_exchange_bool_16_int): Likewise.
6407 (__arch_compare_and_exchange_bool_64_int): Likewise.
6409 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6410 into an #else block.
6412 2014-07-16 Roland McGrath <roland@hack.frob.com>
6414 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6415 just Linux configurations. Test empirically that the compiler sets
6416 __ARM_EABI__, rather than using the tuple to decide.
6417 * sysdeps/arm/preconfigure: Regenerated.
6418 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6419 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6420 contents appended ...
6421 * sysdeps/arm/configure.ac: ... here.
6422 * sysdeps/arm/configure: Regenerated.
6424 2014-07-15 Roland McGrath <roland@hack.frob.com>
6426 * nptl/pthread_kill.c: New file.
6427 * nptl/pthread_sigmask.c: New file.
6428 * nptl/pthread_sigqueue.c: New file.
6430 * sysdeps/nptl/lowlevellock.h: New file.
6431 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6432 * sysdeps/nptl/lowlevellock-futex.h: New file.
6434 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6435 Remove dead declarations.
6437 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6439 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6440 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6442 * sysdeps/x86_64/configure.ac: Likewise.
6443 * sysdeps/i386/configure: Regenerated.
6444 * sysdeps/x86_64/configure: Likewise.
6445 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6446 memset-avx2 only if config-cflags-avx2 is yes.
6447 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6448 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6450 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6451 only if HAVE_AVX2_SUPPORT is defined.
6452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6454 2014-07-14 Alan Modra <amodra@gmail.com>
6457 * elf/elf.h (DT_PPC64_NUM): Correct value.
6458 * NEWS: Add to fixed bug list.
6460 2014-07-13 Jim Meyering <meyering@fb.com>
6463 regex: don't deref NULL upon heap allocation failure
6464 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6465 failure in one more place.
6466 To trigger the segfault, configure grep -with-included-regex,
6467 build it, and run these commands:
6468 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6470 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6472 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6474 2014-07-11 Richard Henderson <rth@redhat.com>
6476 * sysdeps/aarch64/libm-test-ulps: Update.
6478 2014-07-10 Florian Weimer <fweimer@redhat.com>
6481 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6482 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6483 (__nptl_setxid): Initialize error member. Call
6484 __nptl_setxid_error.
6485 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6486 * nptl/descr.h (struct xid_command): Add error member.
6487 * nptl/tst-setuid3.c: New file.
6488 * nptl/Makefile (tests): Add it.
6490 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6492 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6494 (__lll_trylock): Use __lll_base_trylock.
6495 (__lll_cond_trylock): Likewise.
6497 2014-07-10 Roland McGrath <roland@hack.frob.com>
6499 * nptl/pthread_create.c (start_thread): Use atomic_or and
6500 lll_futex_wake directly rather than lll_robust_dead.
6501 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6502 (lll_robust_dead): Macro removed.
6503 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6504 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6505 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6506 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6507 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6508 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6509 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6510 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6511 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6513 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6514 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6515 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6516 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6517 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6519 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6520 Use atomic_compare_and_exchange_val_acq directly rather than
6522 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6523 (__lll_robust_trylock, lll_robust_trylock): Removed.
6524 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6525 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6526 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6527 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6528 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6529 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6530 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6531 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6532 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6533 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6534 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6535 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6536 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6537 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6539 2014-07-02 Florian Weimer <fweimer@redhat.com>
6541 * manual/locale.texi (Locale Names): New section documenting
6542 locale name syntax. Adjust menu and node chaining accordingly.
6543 (Choosing Locale): Reference Locale Names, Locale Categories.
6544 Mention setting LC_ALL=C. Reflect that name syntax is now
6546 (Locale Categories): New section title. Reference Locale Names.
6547 LC_ALL is an environment variable, but not a category.
6548 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6549 description, now in Locale Name. Reference that section. Locale
6550 name syntax is now documented.
6552 2014-07-02 Florian Weimer <fweimer@redhat.com>
6555 * locale/findlocale.c (name_present, valid_locale_name): New
6557 (_nl_find_locale): Use the loc_name variable to store name
6558 candidates. Call name_present and valid_locale_name to check and
6559 validate locale names. Return an error if the locale is invalid.
6561 2014-07-02 Florian Weimer <fweimer@redhat.com>
6563 * locale/setlocale.c (setlocale): Use strdup for allocating
6564 composite name copy.
6566 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6568 Sync up with gnulib.
6569 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6570 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6571 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6572 and _GL_ARG_NONNULL.
6573 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6574 [!_LIBC]: Include code for Windows and Cygwin.
6575 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6576 Include prototype for int strerror_r.
6577 [!_LIBC] (is_open): New function.
6578 (flush_stdout): New function.
6579 (print_errno_message): Use it.
6581 (error_at_line): Likewise.
6582 (error_tail) Add function attribute macros. Use
6585 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6587 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6589 * io/ftw.c: Include sys/param.h unconditionally.
6591 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6596 (freecache): New function to free CACHE on exit.
6598 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6601 2014-07-09 David S. Miller <davem@davemloft.net>
6603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6605 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6606 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6607 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6608 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6609 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6610 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6611 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6612 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6613 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6614 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6615 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6616 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6617 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6619 2014-07-09 Andreas Schwab <schwab@suse.de>
6621 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6623 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6624 (do_test): Likewise.
6626 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6628 2014-07-09 Will Newton <will.newton@linaro.org>
6630 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6631 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6632 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6633 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6634 * sysdeps/hppa/start.S (_start): Likewise.
6636 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6638 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6640 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6643 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6645 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6646 after checking that it is non-NULL.
6648 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6650 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6652 * sysdeps/powerpc/memmove.c: Remove file.
6653 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6654 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6655 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6656 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6657 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6658 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6659 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6660 string memmove instead of removed powerpc one.
6662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6663 [weak_alias]: Fix compiler warning due trailing data.
6664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6665 [weak_alias]: Likewise.
6666 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6667 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6670 (__libc_ifunc_impl_list): Add memmove functions.
6672 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6674 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6676 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6678 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6680 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6682 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6684 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6686 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6688 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6690 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6692 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6694 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6696 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6698 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6700 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6702 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6704 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6706 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6709 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6712 to avoid alignment traps in non-cacheable memory.
6713 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6718 file: multiarch power7 memmove.
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6720 multiarch default memmove.
6721 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6722 multiarch memove for powerpc32/power4.
6724 * string/bcopy.c: Use full path to include memmove.c.
6725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6727 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6728 bcopy for powerpc64.
6729 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6730 bcopy for powerpc64.
6731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6732 and memmove implementations.
6733 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6734 optimized multiarch memmove for POWER7/powerpc64.
6735 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6736 default multiarch memmove for powerpc64.
6737 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6738 multiarch for powerpc64.
6739 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6740 for POWER7/powerpc64.
6741 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6742 memmove for POWER7/powerpc64.
6744 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6747 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6748 __ELF_NATIVE_CLASS equal to 64.
6750 2014-07-07 Roland McGrath <roland@hack.frob.com>
6752 * sysdeps/nptl/lowlevellock.h: File removed.
6754 * NEWS: NPTL is no longer an add-on!
6755 * nptl/internaltypes.h: Moved ...
6756 * sysdeps/nptl/internaltypes.h: ... here.
6757 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6758 * sysdeps/nptl/fork.c: Likewise.
6759 * sysdeps/nptl/gai_misc.h: Likewise.
6760 * sysdeps/nptl/librt-cancellation.c: Likewise.
6761 * sysdeps/nptl/jmp-unwind.c: Likewise.
6762 * sysdeps/nptl/setxid.h: Likewise.
6763 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6764 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6765 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6766 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6767 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6768 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6769 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6770 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6771 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6772 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6773 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6774 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6775 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6776 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6777 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6778 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6779 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6780 * nptl/Makeconfig: Moved ...
6781 * sysdeps/nptl/Makeconfig: ... here.
6782 * nptl/configure: File removed.
6783 * nptl/ANNOUNCE: File removed.
6784 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6785 * sysdeps/unix/sysv/linux/configure: Regenerated.
6787 * nptl/Makefile (routines): Add libc_pthread_init,
6788 libc_multiple_threads, register-atfork and unregister-atfork.
6789 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6790 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6791 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6792 pthread-pi-defines.sym, structsem.sym.
6793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6794 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6795 [$(subdir) = nptl] (tests): Add tst-setgetname.
6796 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6797 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6798 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6799 [!LIBC_SIGACTION]: Remove aliases.
6800 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6801 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6802 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6803 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6804 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6805 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6807 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6808 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6809 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6810 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6811 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6812 __libc_allocate_rtsig_private.
6813 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6814 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6815 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6816 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6817 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6818 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6819 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6820 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6821 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6822 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6823 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6824 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6825 * nptl/internaltypes.h: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6827 * sysdeps/nptl/jmp-unwind.c: ... here.
6828 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6829 * nptl/libc-lowlevellock.c: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6831 * nptl/libc_multiple_threads.c: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6833 * nptl/libc_pthread_init.c: ... here.
6834 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6835 * nptl/lowlevelbarrier.sym: ... here.
6836 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6837 * nptl/lowlevelcond.sym: ... here.
6838 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6839 * nptl/lowlevellock.c: ... here.
6840 * nptl/lowlevellock.h: Moved ...
6841 * sysdeps/nptl/lowlevellock.h: ... here.
6842 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6843 * nptl/lowlevelrobustlock.c: ... here.
6844 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6845 * nptl/lowlevelrobustlock.sym: ... here.
6846 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6847 * nptl/lowlevelrwlock.sym: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6849 * nptl/pt-fork.c: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6851 * nptl/pthread-pi-defines.sym: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6853 * nptl/pthread_attr_getaffinity.c: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6855 * nptl/pthread_attr_setaffinity.c: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6857 * nptl/pthread_mutex_cond_lock.c: ... here.
6858 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6860 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6861 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6862 * nptl/pthread_once.c: ... here, replacing old file.
6863 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6864 * nptl/pthread_yield.c: ... here.
6865 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6866 * nptl/register-atfork.c: ... here.
6867 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6868 * nptl/sem_post.c: ... here.
6869 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6870 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6871 * nptl/sem_timedwait.c: ... here.
6872 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6873 * nptl/sem_trywait.c: ... here.
6874 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6875 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6876 * nptl/sem_wait.c: ... here.
6877 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6878 * nptl/structsem.sym: ... here.
6879 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6880 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6881 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6882 * nptl/unregister-atfork.c: ... here.
6883 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6884 * nptl/unwindbuf.sym: ... here.
6885 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6886 * sysdeps/nptl/fork.c: ... here.
6887 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6888 * sysdeps/nptl/fork.h: ... here.
6889 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6890 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6891 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6892 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6893 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6894 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6895 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6896 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6897 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6898 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6899 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6900 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6901 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6902 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6903 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6904 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6905 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6906 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6907 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6908 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6909 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6910 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6911 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6912 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6913 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6914 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6915 * sysdeps/unix/sysv/linux/raise.c: ... here.
6916 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6917 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6918 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6919 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6920 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6921 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6922 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6923 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6924 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6925 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6926 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6927 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6928 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6929 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6930 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6932 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 * sysdeps/generic/memcopy.h: Add comment for
6935 MEMCPY_OK_FOR_FWD_MEMMOVE.
6937 2014-07-04 Will Newton <will.newton@linaro.org>
6939 * string/memchr.c: Merge from gnulib.
6940 [_LIBC]: Remove conditionals.
6941 (__ptr_t): Remove define.
6942 (LONG_MAX_32_BITS): Likewise.
6943 (LONG_MAX): Likewise.
6944 (MEMCHR): Use ANSI prototype and optimize algorithm.
6946 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6948 2014-07-03 Roland McGrath <roland@hack.frob.com>
6950 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6951 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6953 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6954 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6955 in a bare environment with no <stdlib.h> installed.
6956 * sysdeps/nptl/configure: Regenerated.
6958 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6960 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6961 AC_EGREP_CPP for kernel header checks, so they only succeed if
6962 including <linux/version.h> actually works right.
6963 * sysdeps/unix/sysv/linux/configure: Regenerated.
6965 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6966 value so it's not diagnosed as unused.
6968 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6969 thing) with "ifeq ($(subdir),rt)".
6971 2014-07-03 Richard Henderson <rth@redhat.com>
6973 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6974 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6975 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6977 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6978 (math_force_eval): New.
6980 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6981 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6983 * sysdeps/alpha/fpu/s_round.c: Remove file.
6984 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6986 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6987 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6988 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6989 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6990 (_dl_start, print_statistics): Likewise.
6991 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6992 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6994 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6995 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6996 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6997 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6998 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6999 (HP_SMALL_TIMING_AVAIL): Define.
7000 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7002 (HP_SMALL_TIMING_AVAIL): Define.
7003 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7004 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7006 * sysdeps/aarch64/hp-timing.h: New file.
7008 * sysdeps/generic/hp-timing.h: Remove dead comment.
7009 * sysdeps/generic/hp-timing-common.h: New file.
7010 * sysdeps/alpha/hp-timing.h: Include it.
7011 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7012 * sysdeps/i386/i686/hp-timing.h: Likewise.
7013 * sysdeps/ia64/hp-timing.h: Likewise.
7014 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7015 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7017 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7018 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7019 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7022 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7023 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7024 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7025 * elf/rtld.c (_dl_start_final): Likewise.
7026 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7027 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7028 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7029 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7030 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7031 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7032 (HP_TIMING_DIFF_INIT): Remove.
7033 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7034 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7035 (HP_TIMING_DIFF_INIT): Remove.
7036 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7037 * sysdeps/i386/i686/hp-timing.c: Remove file.
7038 * sysdeps/x86_64/hp-timing.c: Remove file.
7039 * sysdeps/ia64/hp-timing.c: Remove file.
7040 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7041 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7043 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7045 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7046 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7047 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7048 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7050 (HP_TIMING_ACCUM): Remove.
7051 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7052 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7053 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7055 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7056 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7057 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7058 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7060 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7062 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7064 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7066 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7068 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7070 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7072 Sync up with gettext.
7073 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7074 [_MSC_VER]: Include malloc.h
7075 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7076 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7077 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7078 TEMP_FAILURE_RETRY. Cast return of alloca.
7079 [!_LIBC] Call gl_rwlock_init.
7080 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7082 2014-07-02 Roland McGrath <roland@hack.frob.com>
7084 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7085 before checking its value.
7087 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7089 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7091 * debug/memcpy_chk.c: Don't include pagecopy.h.
7092 * debug/mempcpy_chk.c: Likewise.
7093 * string/memcpy.c: Likewise.
7094 * string/memmove.c: Likewise.
7095 * sysdeps/powerpc/memmove.c: Likewise.
7096 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7097 definition of PAGE_COPY_FWD_MAYBE here...
7098 * sysdeps/generic/pagecopy.h: ... from here.
7099 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7101 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7102 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7104 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7108 (__libc_ifunc_impl_list): Likewise.
7109 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7110 multiarch strcat for PPC64.
7111 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7112 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7114 2014-07-02 Roland McGrath <roland@hack.frob.com>
7116 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7118 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7120 * intl/loadmsgcat.c: Remove declaration of
7121 get_sysdep_segment_value.
7122 (get_sysdep_segment_value): Use ISO C style.
7123 (_nl_load_domain): Use ISO C style. Get rid of redundant
7124 semicolon. Fix typo and formatting in comment.
7125 (_nl_unload_domain): Use ISO C style.
7127 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7129 2014-07-02 Will Newton <will.newton@linaro.org>
7131 * malloc/obstack.c: Merge from gnulib master.
7132 [HAVE_CONFIG_H]: Remove conditional code.
7133 [!_LIBC]: Include config.h.
7134 [!ELIDE_CODE]: Don't include inttypes.h, include
7135 stdint.h unconditionally.
7136 (print_and_abort): Mark as _Noreturn.
7137 (_obstack_allocated_p): Mark as __attribute_pure__.
7138 (obstack_free): Rename to __obstack_free.
7139 [!__attribute__]: Remove conditional code.
7140 * malloc/obstack.h: Merge from gnulib master.
7141 [__cplusplus]: Move conditional down.
7142 [!__attribute_pure__]: Define __attribute_pure__ here
7143 if it is not already defined.
7144 (_obstack_memory_used): Mark as __attribute_pure__.
7145 [!__obstack_free]: Define as obstack_free.
7146 [__GNUC__]: Remove check for ancient NeXT gcc.
7148 2014-07-02 Will Newton <will.newton@linaro.org>
7149 Paul Eggert <eggert@cs.ucla.edu>
7151 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7153 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7155 * resolv/gethnamaddr.c: Add comment warning that the file is
7158 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7160 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7163 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7164 entry for aio_cancel and aio_cancel64.
7165 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7166 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7167 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7168 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7169 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7170 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7171 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7172 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7173 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7174 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7175 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7176 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7177 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7179 2014-07-01 Roland McGrath <roland@hack.frob.com>
7181 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7182 * nptl/pthread_mutex_lock.c: Likewise.
7183 * nptl/pthread_mutex_timedlock.c: Likewise.
7184 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7186 2014-07-01 Richard henderson <rth@redhat.com>
7188 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7189 (__isnan, __isnanl): Remove.
7190 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7192 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7194 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7198 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7200 * resolv/nss_dns/dns-host.c (getanswer_r)
7201 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7203 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7206 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7208 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7209 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7211 2014-07-01 Roland McGrath <roland@hack.frob.com>
7213 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7214 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7216 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7217 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7219 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7220 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7222 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7223 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7225 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7226 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7227 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7228 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7230 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7231 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7232 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7236 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7238 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7239 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7240 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7241 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7243 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7244 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7245 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7246 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7247 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7248 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7249 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7250 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7251 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7253 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7254 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7255 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7257 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7259 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7260 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7261 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7262 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7263 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7264 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7265 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7266 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7268 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7270 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7271 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7272 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7275 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7279 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7281 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7282 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7284 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7286 * sysdeps/arm/libm-test-ulps: Regenerated.
7288 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7289 Roland McGrath <roland@hack.frob.com>
7291 * test-skeleton.c (signal_handler): Kill the whole process group
7292 before killing the child individually.
7293 (main): Report any failure on `setpgid'.
7295 2014-06-30 Roland McGrath <roland@hack.frob.com>
7297 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7298 from _TLS_H to _ARM_NPTL_TLS_H.
7299 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7300 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7302 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7305 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7306 (__expm1l): Return argument unchanged when small but not
7309 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7311 (_FP_UNPACK_RAW_1_P): Likewise.
7312 (_FP_PACK_RAW_1): Likewise.
7313 (_FP_PACK_RAW_1_P): Likewise.
7314 (_FP_MUL_MEAT_1_wide): Likewise.
7315 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7316 (_FP_MUL_MEAT_1_hard): Likewise.
7317 (_FP_DIV_MEAT_1_imm): Likewise.
7318 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7319 (_FP_DIV_MEAT_1_udiv): Likewise.
7320 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7321 (_FP_UNPACK_RAW_2): Likewise.
7322 (_FP_UNPACK_RAW_2_P): Likewise.
7323 (_FP_PACK_RAW_2): Likewise.
7324 (_FP_PACK_RAW_2_P): Likewise.
7325 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7326 (_FP_MUL_MEAT_2_wide): Likewise.
7327 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7328 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7329 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7330 (_FP_MUL_MEAT_2_gmp): Likewise.
7331 (_FP_DIV_MEAT_2_udiv): Likewise.
7332 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7333 (_FP_FRAC_SRL_4): Likewise.
7334 (_FP_FRAC_SRST_4): Likewise.
7335 (_FP_FRAC_SRS_4): Likewise.
7336 (_FP_UNPACK_RAW_4): Likewise.
7337 (_FP_UNPACK_RAW_4_P): Likewise.
7338 (_FP_PACK_RAW_4): Likewise.
7339 (_FP_PACK_RAW_4_P): Likewise.
7340 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7341 (_FP_MUL_MEAT_4_wide): Likewise.
7342 (_FP_MUL_MEAT_4_gmp): Likewise.
7343 (umul_ppppmnnn): Likewise.
7344 (_FP_DIV_MEAT_4_udiv): Likewise.
7345 (__FP_FRAC_ADD_4): Likewise.
7346 (__FP_FRAC_SUB_3): Likewise.
7347 (__FP_FRAC_SUB_4): Likewise.
7348 (__FP_FRAC_DEC_3): Likewise.
7349 (__FP_FRAC_DEC_4): Likewise.
7350 (__FP_FRAC_ADDI_4): Likewise.
7351 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7352 (_FP_FRAC_SRL_8): Likewise.
7353 (_FP_FRAC_SRS_8): Likewise.
7355 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7357 (FP_UNPACK_RAW_EP): Likewise.
7358 (FP_PACK_RAW_E): Likewise.
7359 (FP_PACK_RAW_EP): Likewise.
7360 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7361 (_FP_ISSIGNAN): Likewise.
7362 (_FP_ADD_INTERNAL): Likewise.
7363 (_FP_FMA): Likewise.
7364 (_FP_CMP): Likewise.
7365 (_FP_SQRT): Likewise.
7366 (_FP_TO_INT): Likewise.
7367 (_FP_FROM_INT): Likewise.
7368 (FP_EXTEND): Likewise.
7369 (_FP_DIV_MEAT_N_loop): Likewise.
7371 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7373 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7376 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7380 result with correct sign in case of exponents that produce
7381 overflow except for X very close to 1.
7383 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7385 mktime: merge #if/#ifdef usage from glibc
7386 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7387 as that works with both Glibc's and Gnulib's style.
7388 See thread starting at Siddhesh Poyarekar's bug report at:
7389 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7391 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7393 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7394 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7395 * sysdeps/tile/tilegx/memmove.c: Remove file.
7397 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7399 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7400 abi-name definition.
7401 * scripts/soversions.awk: Do not handle or generate ABI lines.
7402 * shlib-versions: Remove ABI entries.
7403 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7404 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7406 2014-06-27 Roland McGrath <roland@hack.frob.com>
7408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7409 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7410 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7411 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7413 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7416 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7419 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7439 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7442 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7447 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7448 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7449 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7451 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7453 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7456 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7458 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7461 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7462 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7464 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7466 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7469 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7471 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7472 Identical file removed.
7473 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7475 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7477 Identical file removed.
7478 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7482 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7484 Identical file removed.
7485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7488 Identical file removed.
7489 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7492 Identical file removed.
7493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7496 Identical file removed.
7497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7499 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7500 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7501 Identical file removed.
7502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7504 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7506 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7508 Identical file removed.
7509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7511 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7514 Identical file removed.
7515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7517 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7519 Identical file removed.
7520 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7522 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7523 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7524 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7526 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7529 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7530 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7531 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7533 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7534 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7535 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7536 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7537 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7539 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7542 * nscd/nscd.c (monitor_child): Return exit status of child
7543 instead of return value from wait syscall.
7545 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7547 * configure.ac (libc_commonpagesize): Remove variable.
7548 (libc_relro_required): Likewise.
7549 (libc_cv_z_relro): Remove configure test.
7550 * configure: Regenerated.
7551 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7553 (libc_relro_required): Likewise.
7554 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7555 (libc_relro_required): Likewise.
7556 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7557 (libc_relro_required): Likewise.
7558 * sysdeps/arm/preconfigure: Regenerated.
7559 * sysdeps/ia64/preconfigure: Remove file.
7560 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7562 (libc_relro_required): Likewise.
7566 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7567 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7568 recompute overflowing results in original rounding mode.
7569 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7570 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7571 recompute overflowing results in original rounding mode.
7572 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7573 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7574 recompute overflowing results in original rounding mode.
7575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7576 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7577 recompute overflowing results in original rounding mode.
7578 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7579 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7580 recompute overflowing results in original rounding mode.
7581 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7582 (libc_feholdsetround_ctx): New macro.
7583 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7584 * sysdeps/i386/fpu/libm-test-ulps: Update.
7585 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7587 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7589 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7590 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7591 corresponding .cpsetup call.
7593 2014-06-26 Roland McGrath <roland@hack.frob.com>
7595 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7596 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7597 * sysdeps/arm/Makefile [$(subdir) = csu]
7598 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7599 (static-only-routines): Add aeabi_read_tp here.
7600 (shared-only-routines): Add libc-aeabi_read_tp here.
7601 (CFLAGS-libc-start.c): Add -fexceptions here.
7602 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7603 (sysdep_routines, static-only-routines, shared-only-routines):
7604 Don't add to these here.
7605 (CFLAGS-libc-start.c): Likewise.
7607 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7608 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7609 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7610 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7611 * sysdeps/arm/Makefile [$(subdir) = rt]
7612 (librt-sysdep_routines, librt-shared-only-routines):
7613 Append rt-aeabi_unwind_cpp_pr1 here.
7614 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7615 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7616 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7617 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7618 Append nptl-aeabi_unwind_cpp_pr1 here.
7619 (tests): Filter out tst-cleanupx4 here.
7620 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7621 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7622 Don't do those here.
7624 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7626 * scripts/list-sources.sh: Do not handle ports specially.
7628 2014-06-26 Roland McGrath <roland@hack.frob.com>
7630 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7631 * sysdeps/arm/feupdateenv.c: Likewise.
7633 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7635 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7637 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7638 trailing whitespace removed.
7639 * scripts/config.guess: Update to version 2014-03-23.
7640 * scripts/config.sub: Update to version 2014-05-01
7641 * scripts/install-sh: Update to version 2013-12-25.23.
7642 * scripts/move-if-change: Update from gnulib.
7644 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7646 * debug/memmove_chk.c: Remove pagecopy.h include.
7648 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7650 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7651 identical to gnulib mktime.
7653 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7655 * configure.ac: Do not test for machine being rs6000. Do not test
7657 * configure: Regenerated.
7659 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7661 * configure: Regenerated.
7662 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7663 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7664 Remove configure test.
7665 * sysdeps/arm/configure: Regenerated.
7666 * sysdeps/nptl/configure.ac: Do not check
7667 libc_cv_asm_cfi_directives.
7668 * sysdeps/nptl/configure: Regenerated.
7669 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7670 * sysdeps/x86_64/nptl/configure: Remove generated file.
7671 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7673 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7675 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7677 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7678 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7679 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7682 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7683 instead of whether it is defined.
7684 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7685 * sysdeps/hppa/dl-machine.h: Likewise.
7686 * sysdeps/ia64/dl-machine.h: Likewise.
7687 * sysdeps/m68k/dl-machine.h: Likewise.
7688 * sysdeps/microblaze/dl-machine.h: Likewise.
7689 * sysdeps/mips/dl-machine.: Likewise.
7690 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7691 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7692 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7693 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7694 * sysdeps/sh/dl-machine.h: Likewise.
7695 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7696 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7697 * sysdeps/tile/dl-machine.h: Likewise.
7698 * sysdeps/x86_64/dl-machine.h: Likewise.
7700 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7702 (verify_persistent_db): Likewise.
7704 2014-06-26 Roland McGrath <roland@hack.frob.com>
7706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7707 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7709 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7712 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7715 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7717 Identical file removed.
7718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7719 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7721 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7723 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7725 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7727 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7730 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7732 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7734 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7737 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7741 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7743 Identical file removed.
7744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7745 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7750 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7755 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7757 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7759 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7761 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7764 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7767 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7769 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7772 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7774 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7776 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7778 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7779 * sysdeps/unix/sysv/linux/s390/Versions
7780 (libpthread: GLIBC_2.19): New version set.
7781 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7782 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7783 (librt: GLIBC_2.3.3): New version set.
7784 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7785 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7786 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7787 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7788 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7789 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7790 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7791 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7792 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7793 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7794 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7795 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7796 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7797 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7798 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7799 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7800 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7801 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7802 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7803 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7804 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7805 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7806 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7807 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7808 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7809 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7810 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7811 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7812 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7813 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7814 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7815 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7819 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7820 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7822 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7824 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7826 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7828 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7830 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7831 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7832 (__libc_vfork): Define the function under this name.
7833 [!NOT_IN_libc] (__vfork): Make this an alias.
7834 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7836 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7837 (__libc_vfork): Define the function under this name.
7838 [!NOT_IN_libc] (__vfork): Make this an alias.
7839 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7840 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7841 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7843 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7844 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7846 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7847 code that was previously under [RESET_PID].
7848 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7849 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7850 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7852 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7853 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7854 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7855 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7856 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7857 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7858 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7859 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7860 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7861 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7864 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7865 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7866 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7867 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7868 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7869 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7870 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7872 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7876 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7877 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7878 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7879 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7880 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7881 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7882 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7886 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7887 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7888 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7889 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7890 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7891 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7892 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7894 2014-06-25 Roland McGrath <roland@hack.frob.com>
7896 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7897 that was previously under [RESET_PID].
7898 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7900 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7902 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7903 not undefine and redefine.
7904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7905 [O_CLOEXEC]: Make code unconditional.
7906 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7907 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7908 <kernel-features.h>.
7909 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7910 conditional variable definition.
7911 (shm_open) [O_CLOEXEC]: Make code unconditional.
7912 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7915 * configure.ac (USE_REGPARMS): Don't define here.
7916 * configure: Regenerated.
7917 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7918 * sysdeps/i386/configure: Regenerated.
7920 * nptl/createthread.c: Don't include kernel-features.h.
7921 * nptl/pthread_cancel.c: Likewise.
7922 * nptl/pthread_condattr_setclock.c: Likewise.
7923 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7924 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7925 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7926 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7927 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7928 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7929 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7930 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7932 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7933 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7934 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7935 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7936 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7937 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7938 * nscd/gai.c: Likewise.
7939 * nss/nss_db/db-open.c: Likewise.
7940 * sysdeps/generic/ldsodefs.h: Likewise.
7941 * sysdeps/sh/nptl/tls.h: Likewise.
7942 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7943 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7944 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7945 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7946 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7947 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7948 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7949 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7951 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7952 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7953 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7954 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7955 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7956 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7957 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7958 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7959 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7960 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7961 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7962 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7964 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7965 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7966 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7967 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7968 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7969 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7970 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7971 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7972 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7973 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7974 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7975 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7976 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7977 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7978 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7979 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7980 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7981 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7982 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7983 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7984 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7985 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7986 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7987 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7988 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7989 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7990 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7991 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7992 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7993 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7994 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7995 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7996 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7997 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7998 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7999 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8022 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8023 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8024 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8025 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8026 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8027 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8028 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8029 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8030 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8031 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8032 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8033 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8034 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8035 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8036 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8037 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8039 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8040 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8041 * sysdeps/unix/sysv/linux/system.c: Likewise.
8042 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8043 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8044 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8045 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8046 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8047 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8048 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8050 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8051 * configure: Regenerated.
8052 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8054 * configure.ac (base_machine): Do not set specially for particular
8056 * configure: Regenerated.
8057 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8058 settings from configure.ac.
8059 * sysdeps/i386/preconfigure: New file.
8060 * sysdeps/s390/preconfigure: Likewise.
8061 * sysdeps/sh/preconfigure: Likewise.
8062 * sysdeps/sparc/preconfigure: Likewise.
8064 2014-06-25 Roland McGrath <roland@hack.frob.com>
8066 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8067 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8068 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8069 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8070 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8071 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8072 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8073 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8074 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8075 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8076 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8077 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8078 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8079 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8080 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8081 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8083 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8084 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8086 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8087 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8088 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8089 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8090 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8091 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8092 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8093 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8094 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8095 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8096 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8097 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8098 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8099 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8100 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8101 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8102 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8103 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8104 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8105 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8107 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8108 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8109 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8110 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8111 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8112 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8113 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8114 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8115 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8116 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8117 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8118 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8119 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8120 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8121 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8122 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8123 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8126 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8128 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8131 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8136 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8139 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8148 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8156 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8160 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8162 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8164 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8167 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8170 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8172 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8175 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8179 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8181 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8184 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8189 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8192 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8196 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8198 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8200 * timezone/checktab.awk: Update from tzcode 2014e.
8201 * timezone/private.h: Likewise.
8202 * timezone/tzfile.h: Likewise.
8203 * timezone/zdump.c: Likewise.
8204 * timezone/zic.c: Likewise.
8206 * sysdeps/unix/sysv/linux/kernel-features.h
8207 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8209 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8210 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8211 Remove conditional code.
8213 2014-06-25 Will Newton <will.newton@linaro.org>
8215 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8216 (_dl_arm_cap_flags): Add HWCAP2 values.
8217 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8218 (_DL_HWCAP_COUNT): Increase to 37.
8219 (_DL_HWCAP_LAST): New define.
8220 (_DL_HWCAP2_LAST): New define.
8221 (_dl_procinfo): Add support for printing
8223 (_dl_string_hwcap): Use _dl_hwcap_string.
8225 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8229 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8231 * README: Do not mention ports directory.
8233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8235 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8236 <kernel-features.h>.
8237 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8238 conditional variable definition.
8239 (__futimes): Update comment.
8240 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8241 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8244 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8245 arguments close to 0.
8246 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8248 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8250 * math/auto-libm-test-in: Add more tests of exp10.
8251 * math/auto-libm-test-out: Regenerated.
8252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8254 * sysdeps/unix/sysv/linux/kernel-features.h
8255 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8256 * sysdeps/unix/sysv/linux/readv.c: Do not include
8257 <kernel-features.h>.
8258 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8259 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8260 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8262 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8264 * sysdeps/unix/sysv/linux/writev.c: Do not include
8265 <kernel-features.h>.
8266 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8267 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8268 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8270 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8273 2014-06-25 Will Newton <will.newton@linaro.org>
8275 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8276 comment changes throughout the file. Remove checks
8277 for HAVE_*_H definitions that are not required.
8278 (__gen_tempname): Call abort if an unknown kind value is
8281 2014-06-25 Andreas Schwab <schwab@suse.de>
8284 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8285 scalbln, scalblnf, scalblnl in libc.
8287 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8290 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8291 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8292 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8294 2014-06-24 Roland McGrath <roland@hack.frob.com>
8296 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8297 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8298 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8299 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8301 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8302 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8304 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8305 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8306 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8307 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8308 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8309 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8310 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8311 * sysdeps/x86/bits/semaphore.h: ... here.
8312 * sysdeps/x86/nptl/elide.h: Moved ...
8313 * sysdeps/x86/elide.h: ... here.
8314 * sysdeps/x86_64/nptl/Implies: File removed.
8315 * sysdeps/i386/nptl/Implies: File removed.
8317 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8320 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8321 return the argument for normal arguments with exponent below -64.
8322 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8324 * math/auto-libm-test-in: Add another test of expm1.
8325 * math/auto-libm-test-out: Regenerated.
8328 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8329 calling __erfcl for arguments at least 16.
8330 * math/auto-libm-test-in: Add more tests of erf.
8331 * math/auto-libm-test-out: Regenerated.
8333 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8334 individual architectures.
8335 * sysdeps/unix/sysv/linux/configure: Regenerated.
8336 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8337 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8338 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8339 (ldd_rewrite_script): Define variable.
8340 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8345 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8346 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8347 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8348 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8349 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8350 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8351 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8352 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8354 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8357 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8358 Rename member __data.d to __data.__elision_data.
8360 2014-06-24 Wilco <wdijkstr@arm.com>
8362 * NEWS: Add 16918 to fixed bug list.
8364 2014-06-24 Wilco <wdijkstr@arm.com>
8366 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8368 2014-06-24 Wilco <wdijkstr@arm.com>
8370 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8371 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8372 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8373 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8374 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8375 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8376 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8379 2014-06-24 Wilco <wdijkstr@arm.com>
8381 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8383 2014-06-24 Wilco <wdijkstr@arm.com>
8385 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8386 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8387 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8388 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8390 2014-06-24 Wilco <wdijkstr@arm.com>
8393 * sysdeps/arm/feupdateenv.c (feupdateenv):
8394 Rewrite to reduce FPSCR accesses and fix return value.
8396 2014-06-24 Wilco <wdijkstr@arm.com>
8398 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8399 Optimize to avoid unnecessary FPSCR writes.
8400 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8401 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8402 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8403 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8405 2014-06-24 Wilco <wdijkstr@arm.com>
8407 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8408 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8409 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8410 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8411 Call libc_fetestexcept_vfp.
8412 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8413 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8414 __SOFTFP__ ifdef so that they can be built for softfp.
8416 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8418 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8419 argument type signed char.
8421 * Makerules (check-abi): Dump diff of symlist if the test
8424 2014-06-23 Roland McGrath <roland@hack.frob.com>
8426 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8429 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8430 Remove unused variable ST.
8432 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8436 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8437 small arguments before calling __expm1.
8438 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8439 small arguments before calling __expm1f.
8440 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8441 small arguments before calling __expm1l.
8442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8444 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8445 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8446 spurious underflow for some cosh tests.
8447 * math/auto-libm-test-out: Regenerated.
8448 * sysdeps/i386/fpu/libm-test-ulps: Update.
8451 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8452 (__ieee754_y1): Set errno if return value overflows.
8453 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8454 (__ieee754_y1f): Set errno if return value overflows.
8455 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8456 (__ieee754_y1l): Set errno if return value overflows.
8457 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8458 (__ieee754_y1l): Set errno if return value overflows.
8459 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8460 * math/auto-libm-test-out: Regenerated.
8462 * math/gen-auto-libm-tests.c: Document use of
8463 ignore-zero-inf-sign.
8464 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8465 (input_flags): Add ignore-zero-inf-sign.
8466 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8467 * math/gen-libm-test.pl (generate_testfile): Handle
8468 ignore-zero-inf-sign.
8469 * math/auto-libm-test-in: Mark some cpow tests with
8470 ignore-zero-inf-sign and some with xfail-rounding.
8471 * math/auto-libm-test-out: Regenerated.
8472 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8477 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8478 overflowing or underflowing operations take place with sign of
8480 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8481 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8482 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8483 (__ieee754_pow): Recompute overflowing and underflowing results in
8484 original rounding mode.
8485 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8486 (__powl_helper): Allow negative argument X and scale negated value
8487 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8488 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8489 overflowing or underflowing operations take place with sign of
8491 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8493 * math/auto-libm-test-in: Add more tests of pow.
8494 * math/auto-libm-test-out: Regenerated.
8495 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8496 (pow_tonearest_test_data): Remove.
8497 (pow_test_tonearest): Likewise.
8498 (pow_towardzero_test_data): Likewise.
8499 (pow_test_towardzero): Likewise.
8500 (pow_downward_test_data): Likewise.
8501 (pow_test_downward): Likewise.
8502 (pow_upward_test_data): Likewise.
8503 (pow_test_upward): Likewise.
8504 (main): Don't call removed functions.
8505 * sysdeps/i386/fpu/libm-test-ulps: Update.
8506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8508 2014-06-23 Roland McGrath <roland@hack.frob.com>
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8684 2014-06-23 Will Newton <will.newton@linaro.org>
8685 Wilco <wdijkstr@arm.com>
8687 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8688 implementation. Include get-rounding-mode.h.
8689 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8690 [!libc_feholdsetround_noex_ctx]: Define
8691 libc_feholdsetround_noex_ctx.
8692 [!libc_feholdsetround_noexf_ctx]: Define
8693 libc_feholdsetround_noexf_ctx.
8694 [!libc_feholdsetround_noexl_ctx]: Define
8695 libc_feholdsetround_noexl_ctx.
8696 (libc_feholdsetround_ctx): New function.
8697 (libc_feresetround_ctx): New function.
8698 (libc_feholdsetround_noex_ctx): New function.
8699 (libc_feresetround_noex_ctx): New function.
8701 2014-06-23 Roland McGrath <roland@hack.frob.com>
8703 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8704 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8705 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8706 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8707 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8708 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8710 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8711 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8712 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8713 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8714 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8715 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8717 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8722 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8730 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8731 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8732 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8733 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8734 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8735 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8736 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8739 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8742 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8747 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8748 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8749 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8750 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8751 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8752 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8753 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8754 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8755 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8758 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8761 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8762 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8763 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8764 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8765 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8767 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8769 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8770 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8771 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8772 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8774 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8775 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8776 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8777 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8778 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8779 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8781 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8785 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8787 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8788 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8789 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8790 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8791 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8792 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8793 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8794 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8795 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8796 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8797 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8798 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8800 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8806 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8807 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8808 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8809 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8810 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8811 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8812 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8813 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8814 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8816 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8819 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8820 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8821 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8822 (IPV6_PMTUDISC_INTERFACE): Likewise.
8823 (IPV6_PMTUDISC_OMIT): Likewise.
8825 2014-06-23 Andreas Schwab <schwab@suse.de>
8827 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8828 Remove unused errout label.
8830 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8832 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8833 macro: hardware supports Vector Crypto instructions.
8835 2014-06-23 Will Newton <will.newton@linaro.org>
8837 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8838 rather than __builtin_expect.
8840 * elf/dl-lookup.c (undefined_msg): Remove variable.
8841 (_dl_lookup_symbol_x): Replace undefined_msg with string
8844 * elf/dl-lookup.c (do_lookup_unique): New function.
8845 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8846 to a separate function.
8848 2014-06-23 Andreas Schwab <schwab@suse.de>
8851 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8852 before reading the next line.
8854 2014-06-23 Will Newton <will.newton@linaro.org>
8856 * test-skeleton.c (signal_handler): Use printf and %m
8857 rather than perror. Use printf rather than fprintf to
8858 stderr. Use puts rather than fputs to stderr.
8861 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8863 * nscd/nscd.c (thread_info_t): Remove typedef.
8864 (thread_info): Remove variable.
8866 2014-06-21 Allan McRae <allan@archlinux.org>
8868 * NEWS: Mention CVE-2014-4043.
8870 2014-06-20 Roland McGrath <roland@hack.frob.com>
8872 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8873 * nptl/smp.h: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8877 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8878 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8879 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8880 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8882 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8883 * nptl/stack-aliasing.h: New file.
8884 * sysdeps/i386/i686/stack-aliasing.h: New file.
8885 * sysdeps/i386/i686/nptl/Makefile: File removed.
8886 * sysdeps/x86_64/stack-aliasing.h: New file.
8887 * sysdeps/x86_64/nptl/Makefile
8888 (CFLAGS-pthread_create.c): Variable removed.
8890 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8891 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8893 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8894 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8897 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8900 (__ASSUME_SIGFRAME_V2): Remove macro.
8901 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8902 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8903 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8904 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8905 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8906 Declare as function. Remove conditional macro definitions.
8907 (__default_rt_sa_restorer): Likewise.
8908 (__default_sa_restorer_v1): Remove declaration.
8909 (__default_sa_restorer_v2): Likewise.
8910 (__default_rt_sa_restorer_v1): Likewise.
8911 (__default_rt_sa_restorer_v2): Likewise.
8912 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8913 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8914 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8916 2014-06-20 Roland McGrath <roland@hack.frob.com>
8918 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8919 (libpthread-routines): Add sysdep.
8920 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8921 * sysdeps/unix/sysv/linux/sparc/Versions
8922 (libpthread: GLIBC_2.3.3): New version set.
8923 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8924 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8925 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8927 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8928 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8930 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8931 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8932 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8933 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8934 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8935 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8936 * sysdeps/sparc/nptl/sem_init.c: ... here.
8937 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8938 * sysdeps/sparc/nptl/sem_post.c: ... here.
8939 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8940 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8941 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8942 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8943 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8944 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8945 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8946 (libpthread-routines): Add cpu_relax.
8947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8949 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8950 (librt: GLIBC_2.3.3): New version set.
8951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8952 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8953 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8954 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8957 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8960 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8961 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8962 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8964 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8966 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8968 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8971 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8975 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8979 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8983 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8987 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8991 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8994 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8999 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9000 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9002 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9005 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9007 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9009 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9011 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9013 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9014 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9015 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9016 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9017 * nscd/nscd.c: Likewise.
9018 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9019 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9020 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9021 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9023 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9024 <kernel-features.h>.
9025 (init_mq_netlink): Remove conditional have_sock_cloexec
9026 definitions. Remove code conditional on have_sock_cloexec < 0.
9027 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9028 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9029 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9030 <kernel-features.h>.
9031 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9032 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9034 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9037 Add tests for memset_chk and memset.
9039 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9042 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9045 * elf/tst-dl-iter-static.c: New file.
9046 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9048 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9051 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9053 * sysdeps/unix/sysv/linux/kernel-features.h
9054 (__ASSUME_F_GETOWN_EX): Remove macro.
9055 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9056 <kernel-features.h>.
9057 (miss_F_GETOWN_EX): Remove variable or macro.
9058 (do_fcntl): Do not check miss_F_GETOWN_EX.
9059 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9061 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9064 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9065 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9067 * sysdeps/unix/sysv/linux/kernel-features.h
9068 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9069 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9070 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9071 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9073 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9076 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9077 Fix calculation of the symbol's value.
9078 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9079 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9080 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9081 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9082 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9083 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9084 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9085 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9086 (modules-names): Add `tst-armtlsdescmod',
9087 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9088 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9089 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9090 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9091 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9092 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9093 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9094 ($(objpfx)tst-armtlsdescloc): New dependency.
9095 ($(objpfx)tst-armtlsdescextnow): Likewise.
9096 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9097 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9099 * sysdeps/arm/configure: Regenerate.
9101 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9103 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9104 (__atfct_seterrno_2): Likewise.
9105 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9106 <kernel-features.h>.
9107 (__ASSUME_ATFCTS): Do not undefine and redefine.
9108 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9109 (__have_atfcts): Remove conditional definition.
9110 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9111 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9112 unreachable if [__ASSUME_ATFCTS].
9113 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9114 not undefine and redefine.
9115 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9116 <kernel-features.h>.
9117 (faccessat) [__NR_faccessat]: Make code unconditional.
9118 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9119 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9120 <kernel-features.h>.
9121 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9122 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9123 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9124 <kernel-features.h>.
9125 (fchownat) [__NR_fchownat]: Make code unconditional.
9126 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9127 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9128 <kernel-features.h>.
9129 (futimesat) [__NR_futimesat]: Make code unconditional.
9130 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9131 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9132 <kernel-features.h>.
9133 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9134 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9135 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9136 <kernel-features.h>.
9137 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9138 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9139 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9140 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9141 <kernel-features.h>.
9142 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9143 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9144 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9145 <kernel-features.h>.
9146 (linkat) [__NR_linkat]: Make code unconditional.
9147 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9148 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9149 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9150 <kernel-features.h>.
9151 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9152 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9153 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9154 <kernel-features.h>.
9155 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9156 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9157 * sysdeps/unix/sysv/linux/openat.c: Do not include
9158 <kernel-features.h>.
9159 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9160 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9161 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9162 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9163 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9164 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9165 <kernel-features.h>.
9166 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9167 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9168 result of INLINE_SYSCALL directly, not via int variable.
9169 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9170 <kernel-features.h>.
9171 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9172 (renameat) [__NR_renameat]: Make code unconditional.
9173 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9174 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9175 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9176 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9177 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9178 (__ASSUME_ATFCTS): Do not undefine and redefine.
9179 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9180 <kernel-features.h>.
9181 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9182 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9183 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9184 <kernel-features.h>.
9185 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9186 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9187 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9188 (__ASSUME_ATFCTS): Do not undefine and redefine.
9189 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9190 <kernel-features.h>.
9191 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9192 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9193 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9194 <kernel-features.h>.
9195 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9196 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9198 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9200 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9202 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9205 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9206 constructed tree before returning error.
9207 * posix/bug-regexp36.c: Expand test case.
9209 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9212 * math/libm-test.inc (scalbln_test_date):
9213 Add errno expectations.
9214 * math/w_scalblnf.c: New File.
9215 Add wrapper which checks for setting errno to ERANGE.
9216 Add weak_alias for corresponding scalbln function.
9217 * math/w_scalbln.c: Likewise.
9218 * math/w_scalblnl.c: Likewise.
9219 * math/Makefile (libm-calls): Add w_scalbln.
9220 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9221 Remove weak_alias for corresponding scalbln function.
9222 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9224 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9226 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9227 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9228 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9229 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9230 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9231 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9232 Remove long_double_symbol for scalblnl function in libm, libc.
9233 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9234 Add wrapper which checks for setting errno to ERANGE.
9235 Add long_double_symbol for scalblnl function in libm, libc.
9236 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9237 Remove long_double_symbol for scalblnl in libm.
9238 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9239 Add wrapper which checks for setting errno to ERANGE.
9240 Add long_double_symbol for scalblnl function in libm.
9241 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9242 Do not use wrapper because of own implementation.
9244 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9246 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9247 3 bytes for __pad1 for x32.
9248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9250 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9251 H.J. Lu <hongjiu.lu@intel.com>
9253 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9254 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9255 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9256 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9257 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9259 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9262 * posix/regcomp.c (parse_expression): Deallocate partially
9263 constructed tree before returning error.
9264 * posix/Makefile.c (tests): Add bug-regex36.
9265 (generated): Add bug-regex36.mtrace.
9266 (tests-special): Add $(objpfx)bug-regex36-mem.out
9267 (bug-regex36-ENV): New variable.
9268 ($(objpfx)bug-regex36-mem.out): New rule.
9269 * posix/bug-regex36.c: New file.
9271 2014-06-19 Will Newton <will.newton@linaro.org>
9273 * malloc/malloc.c (systrim): If extra is zero then return
9276 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9278 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9280 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9282 * sysdeps/aarch64/strchr.S: New file.
9284 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9287 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9288 from arguments -2 or below.
9289 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9290 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9292 2014-06-18 Andreas Schwab <schwab@suse.de>
9295 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9296 of a bracket expr not to run off the end of the string.
9297 * posix/Makefile (tests): Add tst-fnmatch3.
9298 * posix/tst-fnmatch3.c: New file.
9300 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9302 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9303 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9304 [$(cross-compiling) = no]: Likewise.
9305 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9306 [$(cross-compiling) = no]: Likewise.
9308 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9311 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9312 double, adjusted for any remainder from the high double.
9313 * math/libm-test.inc (nearbyint): Add tests.
9316 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9318 * nptl/sysdeps/powerpc/Makefile: Moved ...
9319 * sysdeps/powerpc/nptl/Makefile: ... here.
9320 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9321 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9322 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9323 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9324 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9325 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9326 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9327 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9328 * nptl/sysdeps/powerpc/tls.h: Moved ...
9329 * sysdeps/powerpc/nptl/tls.h: ... here.
9331 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9334 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9335 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9336 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9337 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9338 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9339 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9340 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9341 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9342 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9344 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9346 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9348 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9350 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9353 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9356 2014-06-16 Florian Weimer <fweimer@redhat.com>
9359 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9360 non-executed part of the test.
9362 2014-06-16 Andreas Schwab <schwab@suse.de>
9364 * string/bits/string2.h (strdup, strndup): Update feature guard.
9366 2014-06-14 David S. Miller <davem@davemloft.net>
9368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9370 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9372 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9373 that was previously under [RESET_PID].
9374 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9376 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9377 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9378 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9379 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9380 (__libc_vfork): New strong alias.
9381 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9383 2014-06-14 Andi Kleen <ak@linux.intel.com>
9385 * sysdeps/generic/elide.h: New file.
9387 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9389 * Makefile (installed-headers): Adjust path of pthread.h header.
9391 2014-06-13 Roland McGrath <roland@hack.frob.com>
9393 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9394 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9395 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9396 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9398 * nptl/sysdeps/s390/Makefile: Moved ...
9399 * sysdeps/s390/nptl/Makefile: ... here.
9400 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9401 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9402 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9403 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9404 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9405 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9406 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9407 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9408 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9409 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9410 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9411 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9412 * nptl/sysdeps/s390/tls.h: Moved ...
9413 * sysdeps/s390/nptl/tls.h: ... here.
9415 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9416 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9418 2014-06-13 David S. Miller <davem@davemloft.net>
9420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9423 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9427 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9428 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9429 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9430 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9431 Remove RESET_PID cpp guards.
9432 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9433 Remove RESET_PID cpp guards.
9434 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9436 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9438 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9441 2014-06-13 Andi Kleen <ak@linux.intel.com>
9443 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9444 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9445 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9446 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9447 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9448 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9449 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9450 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9451 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9452 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9453 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9454 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9456 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9457 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9458 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9459 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9460 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9461 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9462 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9464 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9465 (pthread_rwlock_rdlock): Add elision.
9466 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9467 (pthread_rwlock_wrlock): Add elision.
9468 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9469 (pthread_rwlock_trywrlock): Add elision.
9470 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9471 (pthread_rwlock_tryrdlock): Add elision.
9472 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9473 (pthread_rwlock_tryrdlock): Add elision unlock.
9474 * nptl/sysdeps/pthread/pthread.h:
9475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9476 (PTHREAD_RWLOCK_INITIALIZER,
9477 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9478 Handle new elision field.
9479 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9480 * sysdeps/arm/nptl/bits/pthreadtypes.h
9481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9482 * sysdeps/sh/nptl/bits/pthreadtypes.h
9483 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9484 * sysdeps/tile/nptl/bits/pthreadtypes.h
9485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9486 * sysdeps/a/nptl/bits/pthreadtypes.h
9487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9488 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9490 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9492 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9494 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9495 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9496 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9498 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9499 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9500 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9501 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9502 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9503 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9504 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9505 (elision_init): Set try_xbegin to zero when no RTM.
9506 * sysdeps/x86/nptl/bits/pthreadtypes.h
9507 (pthread_rwlock_t): Change __pad1 to __rwelision.
9508 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9510 2014-06-13 Andi Kleen <ak@linux.intel.com>
9512 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9513 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9514 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9515 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9517 2014-06-13 Meador Inge <meadori@codesourcery.com>
9520 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9521 that the cached result has been set before returning it.
9523 2014-06-12 Roland McGrath <roland@hack.frob.com>
9525 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9526 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9527 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9528 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9529 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9530 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9532 * nptl/sysdeps/sparc/Makefile: Moved ...
9533 * sysdeps/sparc/nptl/Makefile: ... here.
9534 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9535 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9536 * nptl/sysdeps/sparc/tls.h: Moved ...
9537 * sysdeps/sparc/nptl/tls.h: ... here.
9538 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9539 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9540 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9541 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9542 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9543 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9544 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9545 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9546 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9547 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9548 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9549 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9550 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9551 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9552 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9553 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9554 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9555 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9557 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9558 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9560 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9561 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9563 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9564 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9567 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9569 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9570 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9572 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9573 (struct list_links): Type removed.
9574 (struct thread_node, struct timer_node): Replace struct list_links
9575 with struct list_head.
9576 (list_unlink_ip): Likewise.
9577 * sysdeps/pthread/timer_routines.c
9578 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9579 (list_append, list_insbefore): Likewise.
9580 (list_init): Function removed.
9581 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9582 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9583 * sysdeps/pthread/Makefile: ... here, new file.
9585 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9586 * sysdeps/nptl/Implies: ... here.
9587 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9588 * nptl/sysdeps/pthread/list.h: Moved ...
9589 * include/list.h: ... here.
9590 * nptl/sysdeps/pthread/createthread.c: Moved ...
9591 * nptl/createthread.c: ... here.
9592 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9593 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9594 * nptl/pt-longjmp.c: ... here.
9595 * nptl/sysdeps/pthread/Makefile: Moved ...
9596 * sysdeps/nptl/Makefile: ... here.
9597 * nptl/sysdeps/pthread/Subdirs: Moved ...
9598 * sysdeps/nptl/Subdirs: ... here.
9599 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9600 * sysdeps/nptl/aio_misc.h: ... here.
9601 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9602 * sysdeps/nptl/bits/libc-lock.h: ... here.
9603 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9604 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9605 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9606 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9607 * nptl/sysdeps/pthread/configure: Moved ...
9608 * sysdeps/nptl/configure: ... here.
9609 * nptl/sysdeps/pthread/configure.ac: Moved ...
9610 * sysdeps/nptl/configure.ac: ... here.
9611 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9612 * sysdeps/nptl/gai_misc.h: ... here.
9613 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9614 * sysdeps/nptl/librt-cancellation.c: ... here.
9615 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9616 * sysdeps/nptl/malloc-machine.h: ... here.
9617 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9618 * sysdeps/nptl/pthread-functions.h: ... here.
9619 * nptl/sysdeps/pthread/pthread.h: Moved ...
9620 * sysdeps/nptl/pthread.h: ... here.
9621 * nptl/sysdeps/pthread/setxid.h: Moved ...
9622 * sysdeps/nptl/setxid.h: ... here.
9623 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9624 * sysdeps/nptl/sigfillset.c: ... here.
9625 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9626 * sysdeps/nptl/tcb-offsets.h: ... here.
9627 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9628 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9629 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9630 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9631 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9632 * sysdeps/pthread/allocalim.h: ... here.
9633 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9634 * sysdeps/pthread/bits/sigthread.h: ... here.
9635 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9636 * sysdeps/pthread/flockfile.c: ... here.
9637 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9638 * sysdeps/pthread/ftrylockfile.c: ... here.
9639 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9640 * sysdeps/pthread/funlockfile.c: ... here.
9641 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9642 * sysdeps/pthread/posix-timer.h: ... here.
9643 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9644 * sysdeps/pthread/timer_create.c: ... here.
9645 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9646 * sysdeps/pthread/timer_delete.c: ... here.
9647 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9648 * sysdeps/pthread/timer_getoverr.c: ... here.
9649 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9650 * sysdeps/pthread/timer_gettime.c: ... here.
9651 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9652 * sysdeps/pthread/timer_routines.c: ... here.
9653 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9654 * sysdeps/pthread/timer_settime.c: ... here.
9655 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9656 * sysdeps/pthread/tst-timer.c: ... here.
9657 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9658 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9660 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9661 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9663 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9664 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9665 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9666 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9667 Update #include target.
9668 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9669 * sysdeps/i386/i686/nptl/Makefile: ... here.
9670 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9671 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9672 Update #include target.
9673 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9674 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9675 * nptl/sysdeps/i386/Makefile: Moved ...
9676 * sysdeps/i386/nptl/Makefile: ... here.
9677 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9678 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9679 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9680 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9681 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9682 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9683 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9684 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9685 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9686 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9687 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9688 * nptl/sysdeps/i386/tls.h: Moved ...
9689 * sysdeps/i386/nptl/tls.h: ... here.
9691 * sysdeps/sh/Makefile [$(subdir) = csu]
9692 (gen-as-const-headers): Add tcb-offsets.sym.
9693 * nptl/sysdeps/sh/Makefile: File removed.
9694 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9695 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9696 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9697 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9698 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9699 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9700 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9701 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9702 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9703 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9704 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9705 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9706 * nptl/sysdeps/sh/tls.h: Moved ...
9707 * sysdeps/sh/nptl/tls.h: ... here.
9708 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9709 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9710 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9711 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9712 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9713 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9714 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9715 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9716 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9717 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9718 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9719 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9721 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9722 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9723 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9724 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9725 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9726 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9727 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9728 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9729 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9730 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9731 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9732 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9734 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9735 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9737 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9738 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9739 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9740 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9741 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9743 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9744 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9745 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9746 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9747 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9748 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9749 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9750 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9751 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9752 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9753 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9754 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9755 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9757 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9759 * posix/spawn_faction_addopen.c: Include string.h.
9761 2014-06-11 Roland McGrath <roland@hack.frob.com>
9763 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9764 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9765 * nptl/sysdeps/x86_64/Makefile: Moved ...
9766 * sysdeps/x86_64/nptl/Makefile: ... here.
9767 * nptl/sysdeps/x86_64/configure: Moved ...
9768 * sysdeps/x86_64/nptl/configure: ... here.
9769 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9770 * sysdeps/x86_64/nptl/configure.ac: ... here.
9771 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9772 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9773 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9774 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9775 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9776 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9777 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9778 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9779 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9780 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9781 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9782 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9783 * nptl/sysdeps/x86_64/tls.h: Moved ...
9784 * sysdeps/x86_64/nptl/tls.h: ... here.
9785 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9786 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9787 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9788 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9790 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9792 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9796 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9798 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9800 [POSIX] (off_t): Likewise.
9801 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9802 [POSIX] (S_ISBLK): Require macro.
9803 [POSIX] (S_ISCHR): Likewise.
9804 [POSIX] (S_ISDIR): Likewise.
9805 [POSIX] (S_ISFIFO): Likewise.
9806 [POSIX] (S_ISREG): Likewise.
9807 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9809 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9811 [POSIX] (time_t): Likewise.
9812 [POSIX] (timer_t): Likewise.
9814 2014-06-11 Florian Weimer <fweimer@redhat.com>
9817 * posix/spawn_int.h (struct __spawn_action): Make the path string
9818 non-const to support deallocation.
9819 * posix/spawn_faction_addopen.c
9820 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9821 * posix/spawn_faction_destroy.c
9822 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9823 path in all spawn_do_open actions.
9824 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9825 posix_spawn_file_actions_addopen.
9827 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9829 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9830 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9831 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9832 conditional code always true.
9833 (__libc_vfork): New alias.
9835 2014-06-11 Roland McGrath <roland@hack.frob.com>
9837 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9838 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9840 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9842 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9843 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9845 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9846 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9848 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9849 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9851 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9853 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9854 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9855 multiarch strcmp for PPC64.
9856 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9857 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9858 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9859 multiarch optimizations.
9860 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9861 (__libc_ifunc_impl_list): Likewise.
9863 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9865 * benchtests/scripts/validate_benchout.py: New script.
9866 * benchtests/Makefile (bench-func): Call it.
9867 * benchtests/scripts/benchout.schema.json: New file.
9869 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9871 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9872 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9873 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9874 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9875 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9876 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9877 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9878 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9879 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9880 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9881 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9882 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9883 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9884 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9885 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9886 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9990 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9991 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9993 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9996 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9999 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10001 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10003 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10004 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10005 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10006 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10007 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10009 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10010 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10012 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10015 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10016 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10017 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10018 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10020 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10021 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10022 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10023 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10024 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10025 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10026 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10028 2014-06-10 Wilco <wdijkstr@arm.com>
10030 * math/test-fenv-return.c: New file.
10031 * math/Makefile: Add new test test-fenv-return.
10033 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10036 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10037 when x - 1 is zero.
10038 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10039 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10040 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10041 0.0L for an argument of 1.0L.
10042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10044 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10045 value when x - 1 is zero.
10046 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10047 * sysdeps/i386/fpu/libm-test-ulps: Update.
10048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10050 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10053 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10055 2014-06-09 Roland McGrath <roland@hack.frob.com>
10057 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10058 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10060 2014-06-09 Roland McGrath <roland@hack.frob.com>
10062 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10063 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10065 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10066 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10068 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10069 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10071 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10072 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10074 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10075 if not already defined.
10076 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10077 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10078 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10079 (TLS_INIT_TP): Use it.
10080 (TLS_DEFINE_INIT_TP): New macro.
10081 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10083 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10085 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10087 [POSIX] (IXANY): Likewise.
10088 [POSIX] (OLCUC): Likewise.
10089 [POSIX || POSIX2008] (CBAUD): Do not allow.
10090 [POSIX || POSIX2008] (DEFECHO): Likewise.
10091 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10092 [POSIX || POSIX2008] (ECHOKE): Likewise.
10093 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10094 [POSIX || POSIX2008] (EXTA): Likewise.
10095 [POSIX || POSIX2008] (EXTB): Likewise.
10096 [POSIX || POSIX2008] (FLUSHO): Likewise.
10097 [POSIX || POSIX2008] (LOBLK): Likewise.
10098 [POSIX || POSIX2008] (PENDIN): Likewise.
10099 [POSIX || POSIX2008] (SWTCH): Likewise.
10100 [POSIX || POSIX2008] (VDISCARD): Likewise.
10101 [POSIX || POSIX2008] (VDSUSP): Likewise.
10102 [POSIX || POSIX2008] (VLNEXT): Likewise.
10103 [POSIX || POSIX2008] (VREPRINT): Likewise.
10104 [POSIX || POSIX2008] (VSTATUS): Likewise.
10105 [POSIX || POSIX2008] (VWERASE): Likewise.
10106 (B*): Change to B[0123456789]*.
10107 * conform/data/time.h-data [POSIX || UNIX98]
10108 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10109 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10110 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10111 [POSIX] (tm_*): Do not allow.
10113 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10115 * Makefile (install): Don't set LANGUAGE.
10116 * Makefile.in (install): Likewise.
10117 * assert/Makefile (test-assert-ENV): Remove variable.
10118 (test-assert-perr-ENV): Likewise.
10119 * elf/Makefile (neededtest4-ENV): Likewise.
10120 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10121 [$(cross-compiling) = no]: Don't set LANGUAGE.
10122 * io/ftwtest-sh (LANG): Remove variable.
10123 * libio/Makefile (tst-widetext-ENV): Likewise.
10124 * manual/install.texi (Running make install): Don't refer to
10125 environment settings for make install.
10126 * INSTALL: Regenerated.
10127 * nptl/tst-tls6.sh: Don't set LANG.
10128 * posix/globtest.sh (LANG): Remove variable.
10129 * string/Makefile (tester-ENV): Likewise.
10130 (inl-tester-ENV): Likewise.
10131 (noinl-tester-ENV): Likewise.
10132 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10133 [$(cross-compiling) = no]: Don't set LANGUAGE.
10134 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10135 without explicit environment settings.
10137 2014-06-06 Roland McGrath <roland@hack.frob.com>
10139 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10140 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10141 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10142 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10144 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10146 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10147 other files in the crypt directory.
10148 * crypt/crypt.c: Remove duplicate includes.
10149 * crypt/crypt-entry.c: Likewise.
10150 * crypt/crypt_util.c: Likewise.
10152 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10154 * Makeconfig (run-program-env): New variable.
10155 (run-program-prefix-before-env): Likewise.
10156 (run-program-prefix-after-env): Likewise.
10157 (run-program-prefix): Define in terms of new variables.
10158 (built-program-cmd-before-env): New variable.
10159 (built-program-cmd-after-env): Likewise.
10160 (built-program-cmd): Define in terms of new variables.
10161 (test-program-prefix-before-env): New variable.
10162 (test-program-prefix-after-env): Likewise.
10163 (test-program-prefix): Define in terms of new variables.
10164 (test-program-cmd-before-env): New variable.
10165 (test-program-cmd-after-env): Likewise.
10166 (test-program-cmd): Define in terms of new variables.
10167 * Rules (make-test-out): Use $(run-program-env).
10168 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10169 (help): Do not mention environment variables. Mention
10170 --timeoutfactor option.
10171 (timeoutfactor): New variable.
10172 (blacklist_exports): Remove function.
10173 (exports): Remove variable.
10174 (command): Do not include ${exports}.
10175 * manual/install.texi (Configuring and compiling): Do not mention
10176 test wrappers preserving environment variables. Mention that last
10177 assignment to a variable must take precedence.
10178 * INSTALL: Regenerated.
10179 * benchtests/Makefile (run-bench): Use $(run-program-env).
10180 * catgets/Makefile ($(objpfx)test1.cat): Use
10181 $(built-program-cmd-before-env), $(run-program-env) and
10182 $(built-program-cmd-after-env).
10183 ($(objpfx)test2.cat): Do not specify environment variables
10185 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10186 $(run-program-env) and $(built-program-cmd-after-env).
10187 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10188 $(run-program-env) and $(test-program-cmd-after-env).
10189 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10191 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10192 run_program_env and test_program_cmd_after_env arguments.
10193 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10194 * elf/tst-pathopt.sh: Use run_program_env argument.
10195 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10196 $(test-wrapper-env) and $(run-program-env).
10197 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10198 run_program_env arguments.
10199 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10200 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10201 $(test-program-prefix-before-env), $(run-program-env) and
10202 $(test-program-prefix-after-env).
10203 ($(objpfx)tst-gettext2.out): Likewise.
10204 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10205 run_program_env and test_program_prefix_after_env arguments.
10206 * intl/tst-gettext2.sh: Likewise.
10207 * intl/tst-gettext4.sh: Do not set environment variables
10209 * intl/tst-gettext6.sh: Likewise.
10210 * intl/tst-translit.sh: Likewise.
10211 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10212 $(test-program-prefix-before-env), $(run-program-env) and
10213 $(test-program-prefix-after-env).
10214 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10215 run_program_env and test_program_prefix_after_env arguments.
10216 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10217 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10218 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10219 explicitly with each use of ${test_wrapper_env}.
10220 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10221 $(test-program-prefix-before-env), $(run-program-env) and
10222 $(test-program-prefix-after-env).
10223 * posix/tst-getconf.sh: Do not set environment variables
10225 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10226 run_program_env and test_program_prefix_after_env arguments.
10227 * stdio-common/tst-printf.sh: Do not set environment variables
10229 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10230 $(test-program-prefix-before-env), $(run-program-env) and
10231 $(test-program-prefix-after-env).
10232 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10233 run_program_env and test_program_prefix_after_env arguments.
10234 Split $test calls into $test_pre and $test.
10235 * timezone/Makefile (build-testdata): Use
10236 $(built-program-cmd-before-env), $(run-program-env) and
10237 $(built-program-cmd-after-env).
10239 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10241 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10242 strlen for non SHARED builds.
10244 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10246 * nptl/allocatestack.c (check_list): Inlined function...
10247 (__reclaim_stacks): ... here.
10249 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10252 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10255 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10257 * Rules (make-test-out): Include
10258 LOCPATH=$(common-objpfx)localedata in default environment.
10259 * debug/Makefile (tst-chk1-ENV): Remove variable.
10260 (tst-chk2-ENV): Likewise.
10261 (tst-chk3-ENV): Likewise.
10262 (tst-chk4-ENV): Likewise.
10263 (tst-chk5-ENV): Likewise.
10264 (tst-chk6-ENV): Likewise.
10265 (tst-lfschk1-ENV): Likewise.
10266 (tst-lfschk2-ENV): Likewise.
10267 (tst-lfschk3-ENV): Likewise.
10268 (tst-lfschk4-ENV): Likewise.
10269 (tst-lfschk5-ENV): Likewise.
10270 (tst-lfschk6-ENV): Likewise.
10271 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10272 (tst-iconv7-ENV): Likewise.
10273 * intl/Makefile (LOCPATH-ENV): Likewise.
10274 (tst-codeset-ENV): Likewise.
10275 (tst-gettext3-ENV): Likewise.
10276 (tst-gettext5-ENV): Likewise.
10277 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10278 (tst-fopenloc-ENV): Likewise.
10279 (tst-fgetws-ENV): Remove variable.
10280 (tst-ungetwc1-ENV): Likewise.
10281 (tst-ungetwc2-ENV): Likewise.
10282 (bug-ungetwc2-ENV): Likewise.
10283 (tst-swscanf-ENV): Likewise.
10284 (bug-ftell-ENV): Likewise.
10285 (tst-fgetwc-ENV): Likewise.
10286 (tst-fseek-ENV): Likewise.
10287 (tst-ftell-partial-wide-ENV): Likewise.
10288 (tst-ftell-active-handler-ENV): Likewise.
10289 (tst-ftell-append-ENV): Likewise.
10290 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10291 (tst-regexloc-ENV): Likewise.
10292 (bug-regex1-ENV): Likewise.
10293 (tst-regex-ENV): Likewise.
10294 (tst-regex2-ENV): Likewise.
10295 (bug-regex5-ENV): Likewise.
10296 (bug-regex6-ENV): Likewise.
10297 (bug-regex17-ENV): Likewise.
10298 (bug-regex18-ENV): Likewise.
10299 (bug-regex19-ENV): Likewise.
10300 (bug-regex20-ENV): Likewise.
10301 (bug-regex22-ENV): Likewise.
10302 (bug-regex23-ENV): Likewise.
10303 (bug-regex25-ENV): Likewise.
10304 (bug-regex26-ENV): Likewise.
10305 (bug-regex30-ENV): Likewise.
10306 (bug-regex32-ENV): Likewise.
10307 (bug-regex33-ENV): Likewise.
10308 (bug-regex34-ENV): Likewise.
10309 (bug-regex35-ENV): Likewise.
10310 (tst-rxspencer-ENV): Likewise.
10311 (tst-rxspencer-no-utf8-ENV): Likewise.
10312 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10313 (tst-sscanf-ENV): Likewise.
10314 (tst-swprintf-ENV): Likewise.
10315 (tst-swscanf-ENV): Likewise.
10316 (test-vfprintf-ENV): Likewise.
10317 (scanf13-ENV): Likewise.
10318 (bug14-ENV): Likewise.
10319 (tst-grouping-ENV): Likewise.
10320 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10321 (tst-strtod3-ENV): Likewise.
10322 (tst-strtod4-ENV): Likewise.
10323 (tst-strtod5-ENV): Likewise.
10324 (testmb2-ENV): Likewise./
10325 * string/Makefile (tst-strxfrm-ENV): Likewise.
10326 (tst-strxfrm2-ENV): Likewise.
10327 (bug-strcoll1-ENV): Likewise.
10328 (test-strcasecmp-ENV): Likewise.
10329 (test-strncasecmp-ENV): Likewise.
10330 * time/Makefile (tst-strptime-ENV): Likewise.
10331 (tst-ftime_l-ENV): Likewise.
10332 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10333 (tst-mbrtowc-ENV): Likewise.
10334 (tst-wcrtomb-ENV): Likewise.
10335 (tst-mbrtowc2-ENV): Likewise.
10336 (tst-c16c32-1-ENV): Likewise.
10337 (tst-mbsnrtowcs-ENV): Likewise.
10339 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10341 * manual/resource.texi (How to get information about the memory
10342 subsystem?): Fix typo.
10343 Reported by Peon de la Parra Ivan <peon@keba.com>
10345 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10348 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10349 (pthread_spin_lock): Branch out of spin loop to proper location.
10350 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10351 (pthread_spin_lock): Likewise.
10353 * nptl/tst-spin4.c: New test.
10354 * nptl/Makefile (tests): Add tst-spin4.
10356 2014-06-03 Andreas Schwab <schwab@suse.de>
10359 * resolv/res_send.c (send_dg): Reload file descriptor after
10362 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10364 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10366 2014-06-03 Richard Henderson <rth@redhat.com>
10368 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10369 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10370 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10371 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10372 in the SAVE_PID block.
10373 (__libc_vfork): New alias.
10374 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10376 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10377 child in registers, not on the stack. Remove RESET_PID conditionals.
10378 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10380 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10382 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10384 2014-06-03 Wilco <wdijkstr@arm.com>
10386 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10387 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10388 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10389 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10390 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10393 2014-06-03 Wilco <wdijkstr@arm.com>
10395 * sysdeps/aarch64/fpu/math_private.h
10396 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10397 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10398 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10399 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10402 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10404 * crypt/crypt-private.h: Include ufc-crypt.h.
10405 (__b64_from_24bit): Declare extern.
10406 * crypt/crypt_util.c(__b64_from_24bit): New function.
10407 (b64t): New static const variable.
10408 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10409 (b64t): Remove variable.
10410 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10411 * crypt/sha256-crypt.c: Include crypt-private.h.
10412 (b64t): Remove variable.
10413 (__sha256_crypt_r): Remove b64_from_24bit and replace
10414 with __b64_from_24bit.
10415 * crypt/sha512-crypt.c: Likewise.
10417 2014-06-02 Roland McGrath <roland@hack.frob.com>
10419 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10420 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10421 Label the code __libc_vfork rather than __vfork.
10422 [!NOT_IN_libc] (vfork): Define as weak alias.
10423 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10424 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10425 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10427 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10429 * malloc/malloc.c (malloc_info): Fix format specifier for
10432 2014-06-02 Wilco <wdijkstr@arm.com>
10434 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10437 2014-06-02 Wilco <wdijkstr@arm.com>
10440 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10441 Rewrite to reduce FPCR/FPSR accesses.
10443 2014-06-01 David S. Miller <davem@davemloft.net>
10445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10447 2014-05-31 David S. Miller <davem@davemloft.net>
10449 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10450 to occur in round to nearest mode when |x| >= 2.0
10452 2014-05-30 Richard Henderson <rth@twiddle.net>
10454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10455 (PSEUDO_RET_NOERRNO): Remove.
10456 (ret): Don't redefine.
10457 (ret_NOERRNO): Define in terms of ret.
10458 (ret_ERRVAL): Likewise.
10460 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10461 use of PSEUDO_RET; perform the error check directly.
10463 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10465 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10468 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10470 * malloc/malloc (malloc_info): Fix formatting.
10472 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10473 Roland McGrath <roland@hack.frob.com>
10475 * malloc/malloc (malloc_info): Also print mmapped statistics.
10477 2014-05-30 Roland McGrath <roland@hack.frob.com>
10479 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10480 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10482 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10484 * malloc/malloc.c (malloc_info): Inline mi_arena.
10486 2014-05-29 Richard Henderson <rth@twiddle.net>
10488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10489 Remove comma before expanding ASM_ARGS_##nr.
10490 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10491 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10493 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10494 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10495 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10496 (ASM_ARGS_1): Add leading comma.
10498 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10499 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10500 to __errno_location.
10501 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10502 Remove the expected plt for __errno_location.
10504 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10505 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10508 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10509 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10510 it and break it down.
10511 (DOCARGS_0, DOCARGS_1): Do nothing.
10512 (DOCARGS_2): Update to store into the new stack frame.
10513 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10514 (UNDOCARGS_1): Update to restore from the new stack frame.
10515 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10516 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10518 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10519 (SINGLE_THREAD_P): New parameter for result regno.
10520 (PSEUDO): Update to match; use cbz instead of beq.
10522 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10523 Use ENTRY to define the _nocancel entry point. Share the syscall
10524 and syscall error check paths with the cancel path.
10527 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10528 whitespace; tabs before and after asm mnemonics.
10530 2014-05-29 Eric Wong <normalperson@yhbt.net>
10533 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10534 Call fstat64 or stat64 internally, depending on arguments passed.
10535 Replace stat buffer argument with file descriptor argument.
10536 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10537 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10538 Pass fd to __internal_statvfs instead of calling fstat64.
10539 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10540 Pass fd to __internal_statvfs64 instead of calling fstat64.
10541 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10542 Pass -1 to __internal_statvfs instead of calling stat64.
10543 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10544 Pass -1 to __internal_statvfs64 instead of calling stat64.
10546 2014-05-28 Roland McGrath <roland@hack.frob.com>
10548 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10549 that was previously under [RESET_PID].
10550 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10552 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10553 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10555 2014-05-27 Roland McGrath <roland@hack.frob.com>
10557 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10559 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10560 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10562 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10564 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10566 2014-05-27 Andreas Schwab <schwab@suse.de>
10568 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10570 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10571 * elf/rtld.c (init_tls, dl_main): Likewise.
10572 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10573 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10574 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10575 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10576 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10577 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10578 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10579 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10580 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10581 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10582 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10583 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10584 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10585 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10586 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10587 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10588 * sysdeps/generic/tls.h: Update description.
10590 2014-05-27 Will Newton <will.newton@linaro.org>
10593 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10594 and restore r2 rather than just restoring.
10596 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10599 * libio/tst-ftell-append.c: New test case.
10600 * libio/Makefile (tests): Add test case.
10601 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10603 * libio/wfileops.c (do_ftell_wide): Likewise.
10605 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10609 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10613 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10614 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10615 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10616 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10617 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10618 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10619 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10622 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10625 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10626 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10627 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10628 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10629 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10631 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10632 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10634 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10636 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10638 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10639 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10640 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10642 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10643 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10644 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10645 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10647 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10656 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10663 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10668 conditional [RESET_PID].
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10672 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10677 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10678 (__libc_vfork): New strong alias.
10679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10681 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10686 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10687 (__libc_vfork): New strong alias.
10688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10690 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10693 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10695 * malloc/malloc.c (mi_arena): New function.
10696 (malloc_info): Remove nested function mi_arena. Call non-nosted
10699 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10701 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10703 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10704 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10705 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10706 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10707 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10708 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10709 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10711 2014-05-26 Andreas Schwab <schwab@suse.de>
10714 * locale/programs/repertoire.c (repertoire_read): Add slash
10715 between I18NPATH element and file name.
10716 * locale/programs/locfile.c (locfile_read): Likewise.
10718 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10720 * nptl/pthread_mutexattr_settype.c
10721 (__pthread_mutexattr_settype):
10722 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10724 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10726 * nptl/tst-mutex5 (do_test):
10727 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10729 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10731 * benchtests/README: Document 'init' directive.
10732 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10734 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10735 (parse_file): Recognize 'init' directive.
10737 2014-05-26 Kyle McMartin <kyle@redhat.com>
10740 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10741 alignment of struct pthread.
10743 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10746 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10747 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10748 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10749 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10751 2014-05-25 Richard Henderson <rth@twiddle.net>
10753 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10754 (SINGLE_THREAD_P_PIC): Remove.
10755 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10756 (SINGLE_THREAD_P_PIC): Remove.
10758 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10759 branch to syscall error ...
10760 (PSEUDO): ... here.
10761 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10762 from __local_syscall_error to .Lsyscall_error.
10763 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10764 (SYSCALL_ERROR): Update label name.
10766 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10767 Do not use DOARGS/UNDOARGS.
10768 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10769 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10770 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10771 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10772 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10774 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10777 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10778 define if !NOT_IN_libc.
10779 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10780 define with non-default symbol versions.
10782 2014-05-23 Richard Henderson <rth@twiddle.net>
10784 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10785 (vfork, __vfork): Define via compat_symbol.
10787 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10788 [!HAVE_IFUNC] (vfork_compat): Remove.
10789 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10791 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10794 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10795 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10798 2014-05-23 Richard Henderson <rth@twiddle.net>
10800 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10801 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10802 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10803 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10805 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10806 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10807 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10808 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10809 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10810 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10811 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10812 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10813 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10814 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10815 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10816 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10817 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10818 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10819 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10820 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10821 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10822 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10823 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10824 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10825 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10826 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10828 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10829 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10830 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10831 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10832 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10833 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10834 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10836 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10837 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10838 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10839 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10840 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10841 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10842 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10843 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10844 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10845 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10846 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10847 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10848 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10849 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10850 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10851 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10852 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10853 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10854 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10855 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10856 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10857 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10858 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10859 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10860 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10862 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10863 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10864 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10865 before exiting on error.
10866 (__libc_vfork): New strong alias.
10867 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10868 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10870 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10871 that was previously under [RESET_PID].
10872 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10874 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10876 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10879 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10880 value when x - 1 is zero.
10881 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10882 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10883 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10884 0.0L for an argument of 1.0L.
10885 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10887 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10888 value when x - 1 is zero.
10889 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10890 * sysdeps/i386/fpu/libm-test-ulps: Update.
10891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10893 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10895 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10896 alphasort and versionsort.
10898 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10900 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10902 [copysignf]: Likewise.
10904 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10906 * crypt/md5-crypt.c: Fix formatting.
10908 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10910 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10911 (b64_from_24bit): New function.
10913 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10916 libc_hidden_builtin_def to ifunc.
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10918 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10920 2014-05-21 Roland McGrath <roland@hack.frob.com>
10922 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10923 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10925 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10927 * nscd/Depend (linuxthreads): Remove.
10929 * resolv/Depend (linuxthreads): Remove.
10930 * rt/Depend (linuxthreads): Remove.
10932 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10933 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10934 $(common-objpfx)elf/.
10935 (link-libc-before-gnulib): Likewise.
10936 (elfobjdir): Remove variable.
10937 * Makefile (install): Use $(elf-objpfx) instead of
10938 $(common-objpfx)elf/.
10939 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10941 (link-libc-deps): Likewise.
10942 ($(common-objpfx)libc.so): Likewise.
10943 ($(common-objpfx)linkobj/libc.so): Likewise.
10944 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10945 instead of $(common-objpfx)elf/.
10946 (symbolic-link-list): Likewise.
10947 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10948 [$(cross-compiling) = no]: Likewise.
10949 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10951 (static-gnulib-arch): Likewise.
10952 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10953 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10954 $(common-objpfx)elf/.
10956 2014-05-21 Richard Henderson <rth@redhat.com>
10958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10959 (SINGLE_THREAD_P): Use the correct width load. Fold
10960 into the ldr offset.
10962 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10963 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10965 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10967 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10968 (libgcc_s_resume): Use __attribute_used__.
10969 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10972 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10974 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10975 optimization when used with float constants.
10977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10979 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10982 * locale/nl_langinfo_l.c: Make direct reference to every
10983 _nl_current_CATEGORY symbol.
10984 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10985 (tests-static): Add tst-langinfo-static.
10986 (tests-special): Add tst-langinfo-static.out.
10987 ($(objpfx)tst-langinfo.out): Redirect output.
10988 ($(objpfx)tst-langinfo-static.out): New.
10989 * localedata/tst-langinfo.sh: Send output to stdout.
10990 * localedata/tst-langinfo-static.c: New file.
10993 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10994 when the shift amount is modulo the limb size.
10996 2014-05-20 Richard Henderson <rth@redhat.com>
10999 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11000 Change type of sa_flags from unsigned int to int.
11003 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11005 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11007 2014-05-20 Will Newton <will.newton@linaro.org>
11009 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11010 Test the return value of the system call in the nocancel case.
11012 2014-05-20 Will Newton <will.newton@linaro.org>
11013 Yvan Roux <yvan.roux@linaro.org>
11015 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11016 #include of asm/ptrace.h.
11017 (PTRACE_GET_THREAD_AREA): Remove #undef.
11018 (PTRACE_GETHBPREGS): Likewise.
11019 (PTRACE_SETHBPREGS): Likewise.
11020 (struct user_regs_struct): New structure.
11021 (struct user_fpsimd_struct): New structure.
11022 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11023 #include of asm/ptrace.h and second #include of sys/user.h.
11024 (PTRACE_GET_THREAD_AREA): Remove #undef.
11025 (PTRACE_GETHBPREGS): Likewise.
11026 (PTRACE_SETHBPREGS): Likewise.
11027 (ELF_NGREG): Use new struct user_regs_struct.
11028 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11030 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11033 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11035 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11038 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11039 membar to avoid block loads/stores to overlap previous stores.
11041 2014-05-17 Richard Henderson <rth@redhat.com>
11043 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11044 Create the __##syscall_name##_nocancel entry point.
11045 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11046 Remove; let the sysdep-cancel.h code create it.
11048 2014-05-17 David S. Miller <davem@davemloft.net>
11050 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11051 Protect with __USE_GNU.
11052 (TIOCSET_TEMPT): Likewise.
11053 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11054 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11055 these are already provided in bits/ioctl-types.h
11057 2014-05-16 Roland McGrath <roland@hack.frob.com>
11059 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11060 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11062 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11063 Use wait4 regardless of [__NR_waitpid].
11065 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11068 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11069 (_FP_NANSIGN_Q): Set the quiet bit.
11071 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11073 * benchtests/Makefile
11074 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11075 not $(common-objpfx)math/libm.so.
11076 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11077 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11078 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11079 $(common-objpfx)dlfcn/libdl.so.
11080 ($(objpfx)tst-audit8): Depend on $(libm), not
11081 $(common-objpfx)math/libm.so.
11082 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11083 not $(common-objpfx)dlfcn/libdl.so.
11085 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11086 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11087 [$(build-shared) = yes].
11088 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11089 $(common-objpfx)nptl/libpthread.so.
11090 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11091 $(common-objpfx)math/libm.so$(libm.so-version) or
11092 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11093 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11094 $(common-objpfx)dlfcn/libdl.so.
11095 * setjmp/Makefile (link-libm): Remove variable.
11096 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11097 * stdio-common/Makefile (link-libm): Remove variable.
11098 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11099 * stdlib/Makefile (link-libm): Remove variable.
11100 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11101 ($(objpfx)tst-strtod-round): Likewise.
11102 ($(objpfx)tst-tininess): Likewise.
11103 ($(objpfx)tst-strtod-underflow): Likewise.
11104 ($(objpfx)tst-strtod6): Likewise.
11105 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11106 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11107 $(common-objpfx)dlfcn/libdl.so.
11109 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11111 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11112 BSD terminal modes definitions.
11114 2014-05-16 Roland McGrath <roland@hack.frob.com>
11116 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11117 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11119 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11120 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11121 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11122 Don't do #include_next.
11123 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11124 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11125 Don't do #include_next.
11126 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11127 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11128 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11129 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11131 2014-05-16 Allan McRae <allan@archlinux.org>
11133 * po/sv.po: Update Swedish translation from translation project.
11135 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11138 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11141 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11142 errno if the TIOCGPTN ioctl fails with an error different than
11144 * login/tst-ptsname.c: New file.
11145 * login/Makefile (tests): Add tst-ptsname.
11148 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11151 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11155 herrno to return EAI_AGAIN.
11157 2014-05-14 Roland McGrath <roland@hack.frob.com>
11159 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11160 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11161 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11162 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11163 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11164 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11165 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11166 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11168 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11170 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11171 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11172 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11173 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11174 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11175 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11176 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11178 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11180 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11182 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11186 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11187 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11188 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11190 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11195 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11197 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11199 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11201 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11203 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11205 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11207 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11209 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11213 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11219 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11224 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11228 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11230 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11232 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11236 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11238 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11245 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11247 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11249 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11250 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11251 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11252 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11253 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11255 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11257 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11259 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11261 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11263 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11265 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11267 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11269 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11271 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11272 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11273 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11275 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11277 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11279 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11281 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11282 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11284 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11285 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11286 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11288 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11294 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11297 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11298 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11301 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11302 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11305 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11307 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11308 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11309 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11310 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11311 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11314 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11317 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11319 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11320 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11322 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11323 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11325 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11327 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11329 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11331 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11333 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11336 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11337 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11339 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11342 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11343 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11345 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11347 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11350 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11351 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11352 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11353 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11354 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11355 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11356 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11357 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11359 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11360 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11362 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11364 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11365 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11366 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11367 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11368 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11370 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11372 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11374 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11375 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11376 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11377 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11378 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11379 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11380 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11381 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11382 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11383 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11385 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11388 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11391 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11392 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11394 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11395 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11396 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11397 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11398 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11399 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11401 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11403 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11404 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11405 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11407 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11410 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11411 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11413 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11415 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11416 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11417 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11418 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11421 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11423 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11425 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11426 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11427 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11428 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11429 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11430 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11431 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11432 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11433 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11434 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11435 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11437 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11438 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11440 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11441 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11443 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11444 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11445 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11447 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11449 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11450 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11451 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11452 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11453 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11454 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11455 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11457 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11459 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11462 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11464 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11467 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11468 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11469 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11471 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11476 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11477 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11479 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11480 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11481 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11482 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11483 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11484 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11485 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11486 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11487 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11488 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11489 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11490 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11491 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11492 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11493 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11494 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11495 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11497 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11498 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11499 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11500 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11501 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11503 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11504 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11505 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11506 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11507 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11508 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11509 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11510 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11511 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11512 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11517 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11518 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11519 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11520 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11521 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11522 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11523 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11524 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11525 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11526 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11527 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11528 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11529 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11530 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11539 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11541 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11543 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11545 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11547 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11549 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11551 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11552 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11553 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11554 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11555 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11556 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11557 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11558 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11559 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11560 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11561 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11562 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11563 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11564 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11565 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11567 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11568 that was previously under [RESET_PID].
11569 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11570 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11571 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11573 * sysdeps/i386/nptl/Implies: New file.
11574 * sysdeps/x86_64/nptl/Implies: New file.
11575 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11576 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11577 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11578 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11580 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11581 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11582 (__libc_vfork): New strong alias.
11583 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11584 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11586 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11587 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11588 (__libc_vfork): New strong alias.
11589 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11590 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11592 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11593 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11594 (__libc_vfork): New strong alias.
11595 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11596 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11597 * nptl/pt-vfork.c: New file.
11598 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11599 (libpthread: GLIBC_2.20): New version set (empty).
11601 2014-05-14 Will Newton <will.newton@linaro.org>
11603 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11606 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11609 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11610 arguments with exponent 65 or above.
11611 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11612 arguments 0x1p113L or above.
11613 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11614 to arguments 0x1p107L or above.
11615 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11616 positive arguments with exponent 65 or above.
11617 * math/auto-libm-test-in: Add more tests of log1p.
11618 * math/auto-libm-test-out: Regenerated.
11621 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11622 non-finite arguments is +0.
11623 * math/s_cacosf.c (__cacosf): Likewise.
11624 * math/s_cacosl.c (__cacosl): Likewise.
11625 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11626 * sysdeps/i386/fpu/libm-test-ulps: Update.
11627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11632 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11633 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11634 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11635 for explicit high bit of mantissa when testing for argument equal
11637 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11638 * sysdeps/i386/fpu/libm-test-ulps: Update.
11639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11642 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11643 (__erf): Scale by 16 instead of 8 in potentially underflowing
11644 case. Ensure exception if result actually underflows.
11645 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11646 (__erff): Scale by 16 instead of 8 in potentially underflowing
11647 case. Ensure exception if result actually underflows.
11648 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11649 (efx8): Remove variable.
11650 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11651 case. Ensure exception if result actually underflows.
11652 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11653 (efx8): Remove variable.
11654 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11655 case. Ensure exception if result actually underflows.
11656 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11657 (efx8): Remove variable.
11658 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11659 case. Ensure exception if result actually underflows.
11660 * math/auto-libm-test-in: Add more tests of erf.
11661 * math/auto-libm-test-out: Regenerated.
11663 2014-05-14 Andreas Schwab <schwab@suse.de>
11665 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11666 Remove code conditionalized on USE___THREAD.
11668 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11669 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11672 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11674 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11675 Define unconditionally.
11676 (__ASSUME_O_CLOEXEC): Likewise.
11677 (__ASSUME_SOCK_CLOEXEC): Likewise.
11678 (__ASSUME_IN_NONBLOCK): Likewise.
11679 (__ASSUME_PIPE2): Likewise.
11680 (__ASSUME_EVENTFD2): Likewise.
11681 (__ASSUME_SIGNALFD4): Likewise.
11682 (__ASSUME_DUP3): Likewise.
11683 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11684 (__ASSUME_DUP3): Do not define.
11685 (__ASSUME_EVENTFD2): Likewise.
11686 (__ASSUME_IN_NONBLOCK): Likewise.
11687 (__ASSUME_O_CLOEXEC): Likewise.
11688 (__ASSUME_PIPE2): Likewise.
11689 (__ASSUME_SIGNALFD4): Likewise.
11690 (__ASSUME_SOCK_CLOEXEC): Likewise.
11691 (__ASSUME_UTIMES): Undefine.
11692 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11693 (__ASSUME_UTIMES): Do not define.
11694 (__ASSUME_O_CLOEXEC): Likewise.
11695 (__ASSUME_SOCK_CLOEXEC): Likewise.
11696 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11697 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11699 (__ASSUME_PIPE2): Likewise.
11700 (__ASSUME_EVENTFD2): Likewise.
11701 (__ASSUME_SIGNALFD4): Likewise.
11702 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11703 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11705 (__ASSUME_EVENTFD2): Likewise.
11706 (__ASSUME_SIGNALFD4): Likewise.
11707 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11708 (__ASSUME_32BITUIDS): Likewise.
11709 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11710 (__ASSUME_IPC64): Likewise.
11711 (__ASSUME_ST_INO_64_BIT): Likewise.
11712 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11713 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11714 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11715 (__ASSUME_UTIMES): Do not define.
11716 (__ASSUME_PSELECT): Likewise.
11717 (__ASSUME_PPOLL): Likewise.
11718 (__ASSUME_O_CLOEXEC): Likewise.
11719 (__ASSUME_SOCK_CLOEXEC): Likewise.
11720 (__ASSUME_IN_NONBLOCK): Likewise.
11721 (__ASSUME_PIPE2): Likewise.
11722 (__ASSUME_EVENTFD2): Likewise.
11723 (__ASSUME_SIGNALFD4): Likewise.
11724 (__ASSUME_DUP3): Likewise.
11725 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11726 (__ASSUME_UTIMES): Likewise.
11727 (__ASSUME_O_CLOEXEC): Likewise.
11728 (__ASSUME_SOCK_CLOEXEC): Likewise.
11729 (__ASSUME_IN_NONBLOCK): Likewise.
11730 (__ASSUME_PIPE2): Likewise.
11731 (__ASSUME_EVENTFD2): Likewise.
11732 (__ASSUME_SIGNALFD4): Likewise.
11733 (__ASSUME_DUP3): Likewise.
11734 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11735 (__ASSUME_UTIMES): Likewise.
11736 (__ASSUME_O_CLOEXEC): Likewise.
11737 (__ASSUME_SOCK_CLOEXEC): Likewise.
11738 (__ASSUME_IN_NONBLOCK): Likewise.
11739 (__ASSUME_PIPE2): Likewise.
11740 (__ASSUME_EVENTFD2): Likewise.
11741 (__ASSUME_SIGNALFD4): Likewise.
11742 (__ASSUME_DUP3): Likewise.
11743 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11745 (__ASSUME_UTIMES): Likewise.
11746 (__ASSUME_EVENTFD2): Likewise.
11747 (__ASSUME_SIGNALFD4): Likewise.
11748 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11749 (__ASSUME_O_CLOEXEC): Likewise.
11750 (__ASSUME_SOCK_CLOEXEC): Likewise.
11751 (__ASSUME_IN_NONBLOCK): Likewise.
11752 (__ASSUME_PIPE2): Likewise.
11753 (__ASSUME_EVENTFD2): Likewise.
11754 (__ASSUME_SIGNALFD4): Likewise.
11755 (__ASSUME_DUP3): Likewise.
11756 (__ASSUME_UTIMES): Undefine.
11758 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11759 feclearexcept. Remove symbol versioning code.
11760 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11761 symbol versioning code.
11762 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11763 symbol versioning code.
11764 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11765 feupdateenv. Remove symbol versioning code.
11766 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11767 fegetexceptflag. Remove symbol versioning code.
11768 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11769 fesetexceptflag. Remove symbol versioning code.
11770 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11771 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11772 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11773 (__posix_fadvise64_l32): Remove prototype.
11774 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11777 2014-05-13 Roland McGrath <roland@hack.frob.com>
11779 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11780 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11781 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11782 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11784 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11786 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11787 current working directory
11789 2014-05-13 Roland McGrath <roland@hack.frob.com>
11791 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11792 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11793 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11794 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11795 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11796 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11797 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11798 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11799 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11800 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11801 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11802 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11803 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11804 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11805 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11806 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11807 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11808 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11809 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11810 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11812 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11813 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11814 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11816 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11817 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11818 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11819 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11820 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11821 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11822 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11823 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11824 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11825 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11826 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11827 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11828 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11829 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11830 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11831 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11832 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11834 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11835 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11837 * sysdeps/unix/sysv/linux/arm/Makefile
11838 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11839 Add rt-aeabi_unwind_cpp_pr1.
11840 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11841 Add nptl-aeabi_unwind_cpp_pr1.
11842 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11843 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11844 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11845 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11846 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11847 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11849 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11850 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11851 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11852 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11854 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11855 Deconditionalize the code that was previously under [RESET_PID].
11856 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11858 * sysdeps/generic/exit-thread.h: New file.
11859 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11860 * include/unistd.h (__exit_thread): Remove declaration.
11861 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11862 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11863 * csu/libc-start.c: Include <exit-thread.h>.
11864 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11865 * nptl/pthread_create.c: Include <exit-thread.h>.
11866 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11867 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11868 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11869 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11870 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11871 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11872 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11873 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11874 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11875 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11876 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11877 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11878 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11879 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11880 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11881 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11882 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11884 2014-05-13 Andreas Schwab <schwab@suse.de>
11886 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11888 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11890 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11891 (__ASSUME_UTIMES): Do not condition on kernel version.
11892 (__ASSUME_PSELECT): Define unconditionally.
11893 (__ASSUME_PPOLL): Likewise.
11894 (__ASSUME_ATFCTS): Likewise.
11895 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11896 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11897 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11898 (__ASSUME_UTIMENSAT): Define unconditionally.
11899 (__ASSUME_PRIVATE_FUTEX): Likewise.
11900 (__ASSUME_FALLOCATE): Likewise.
11901 (__ASSUME_O_CLOEXEC): Likewise.
11902 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11903 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11904 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11905 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11906 (__ASSUME_IN_NONBLOCK): Likewise.
11907 (__ASSUME_PIPE2): Likewise.
11908 (__ASSUME_EVENTFD2): Likewise.
11909 (__ASSUME_SIGNALFD4): Likewise.
11910 (__ASSUME_DUP3): Likewise.
11911 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11912 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11913 (__ASSUME_AT_RANDOM): Likewise.
11914 (__ASSUME_PREADV): Likewise.
11915 (__ASSUME_PWRITEV): Likewise.
11916 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11917 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11918 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11919 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11920 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11921 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11922 (__ASSUME_O_CLOEXEC): Define unconditionally.
11923 (__ASSUME_PSELECT): Do not undefine conditionally.
11924 (__ASSUME_PPOLL): Likewise.
11925 (__ASSUME_ATFCTS): Likewise.
11926 (__ASSUME_SET_ROBUST_LIST): Likewise.
11927 (__ASSUME_UTIMENSAT): Likewise.
11928 (__ASSUME_FDATASYNC): Define unconditionally.
11929 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11930 (__ASSUME_SIGFRAME_V2): Likewise.
11931 )__ASSUME_EVENTFD2): Likewise.
11932 (__ASSUME_SIGNALFD4): Likewise.
11933 (__ASSUME_PSELECT): Do not undefine conditionally.
11934 (__ASSUME_PPOLL): Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11936 (__ASSUME_PSELECT): Define unconditionally.
11937 (__ASSUME_PPOLL): Likewise.
11938 (__ASSUME_O_CLOEXEC): Likewise.
11939 (__ASSUME_SOCK_CLOEXEC): Likewise.
11940 (__ASSUME_IN_NONBLOCK): Likewise.
11941 (__ASSUME_PIPE2): Likewise.
11942 (__ASSUME_EVENTFD2): Likewise.
11943 (__ASSUME_SIGNALFD4): Likewise.
11944 (__ASSUME_DUP3): Likewise.
11945 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11946 (__ASSUME_O_CLOEXEC): Likewise.
11947 (__ASSUME_SOCK_CLOEXEC): Likewise.
11948 (__ASSUME_IN_NONBLOCK): Likewise.
11949 (__ASSUME_PIPE2): Likewise.
11950 (__ASSUME_EVENTFD2): Likewise.
11951 (__ASSUME_SIGNALFD4): Likewise.
11952 (__ASSUME_DUP3): Likewise.
11953 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11954 (__ASSUME_EVENTFD2): Likewise.
11955 (__ASSUME_SIGNALFD4): Likewise.
11956 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11958 2014-05-12 Andreas Schwab <schwab@suse.de>
11961 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11962 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11963 than maximum RPC packet size.
11964 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11965 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11966 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11967 (_nss_nis_getservbyport_r): Likewise.
11969 2014-05-12 Will Newton <will.newton@linaro.org>
11971 * malloc/Makefile (tests): Add tst-mallopt.
11972 * malloc/tst-mallopt.c: New file.
11974 2014-05-09 Roland McGrath <roland@hack.frob.com>
11976 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11977 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11979 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11981 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11982 (tst-tlsmod6.so): Likewise.
11984 2014-05-09 Roland McGrath <roland@hack.frob.com>
11986 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11988 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11991 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11992 and <dl-procinfo.h>.
11993 (__fegetenv): Save SSE state in envp->__eip if supported.
11994 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11995 envp->__eip if supported.
11996 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11997 and <dl-procinfo.h>.
11998 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11999 __data_offset and __data_selector in environment to 0. Set SSE
12000 state if supported.
12001 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12003 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12005 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12007 2014-05-09 Will Newton <will.newton@linaro.org>
12009 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12010 and libc_relro_required for ARM.
12011 * sysdeps/arm/preconfigure: Regenerate.
12013 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12014 Stefan Liebler <stli@linux.vnet.ibm.com>
12016 * config.make.in (enable-lock-elision): New Makefile variable.
12017 * configure.ac: Likewise.
12018 * configure: Regenerate.
12019 * sysdeps/s390/configure.ac:
12020 Add check for gcc transactions support.
12021 * sysdeps/s390/configure: Regenerate.
12022 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12023 Build elision files if enabled.
12024 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12025 Add lock elision support for s390.
12026 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12027 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12028 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12029 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12030 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12031 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12032 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12034 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12036 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12038 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12040 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12041 (__lll_timedlock_elision, __lll_lock_elision)
12042 (__lll_unlock_elision, __lll_trylock_elision)
12043 (lll_timedlock_elision, lll_lock_elision)
12044 (lll_unlock_elision, lll_trylock_elision): Add.
12045 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12046 (pthread_mutex_t): Add lock elision support for s390.
12048 2014-05-14 Wilco <wdijkstr@arm.com>
12050 * sysdeps/arm/fclrexcpt.c: Cleanup.
12051 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12052 * sysdeps/arm/feenablxcpt.c: Cleanup.
12053 * sysdeps/arm/fegetenv.c: Cleanup.
12054 * sysdeps/arm/fegetexcept.c: Cleanup.
12055 * sysdeps/arm/fegetround.c: Cleanup.
12056 * sysdeps/arm/feholdexcpt.c: Cleanup.
12057 * sysdeps/arm/fesetenv.c: Cleanup.
12058 * sysdeps/arm/fesetround.c: Cleanup.
12059 * sysdeps/arm/feupdateenv.c: Cleanup.
12060 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12061 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12062 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12063 * sysdeps/arm/ftestexcept.c: Cleanup.
12064 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12065 * sysdeps/arm/setfpucw.c: Cleanup.
12067 2014-05-09 Will Newton <will.newton@linaro.org>
12069 * sysdeps/arm/armv7/strcmp.S: New file.
12070 * NEWS: Mention addition of ARMv7 optimized strcmp.
12072 2014-05-08 Roland McGrath <roland@hack.frob.com>
12074 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12075 look for %.ac rather than %.in.
12077 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12078 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12079 * sysdeps/mach/hurd/configure: Regenerated.
12080 * sysdeps/unix/sysv/linux/configure: Regenerated.
12082 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12084 2014-05-07 Steve Ellcey <sellcey@mips.com>
12087 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12091 2014-05-07 Andreas Schwab <schwab@suse.de>
12093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12094 when skipping over non-matching result from nscd.
12096 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12099 * nptl/sockperf.c (client): Check socket return value.
12102 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12103 nscd security class.
12105 2014-05-06 Roland McGrath <roland@hack.frob.com>
12107 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12108 * sysdeps/arm/unwind.h: ... here.
12110 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12113 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12116 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12118 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12119 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12120 multiarch strncpy for PPC64.
12121 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12122 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12124 multiarch optimizations.
12125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12126 (__libc_ifunc_impl_list): Likewise.
12127 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12128 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12129 multiarch stpncpy for PPC64.
12130 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12131 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12133 2014-05-06 Andreas Schwab <schwab@suse.de>
12136 * gmon/mcount.c (_MCOUNT_DECL): Use
12137 atomic_compare_and_exchange_bool_acq instead of
12138 catomic_compare_and_exchange_bool_acq.
12140 2014-05-05 Roland McGrath <roland@hack.frob.com>
12142 * elf/Makefile (others, install-bin): Remove pldd.
12143 (pldd-modules): Variable removed.
12144 ($(objpfx)pldd): Target removed.
12145 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12146 (others, install-bin): Append pldd here.
12147 ($(objpfx)pldd): New target.
12149 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12150 to 0, so the first #if test emitted later doesn't see it undefined.
12151 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12152 * sysdeps/gnu/errlist.c: Regenerated.
12154 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12156 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12157 [libc_hidden_builtin_def]: Define to empty value.
12158 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12159 [libc_hidden_builtin_def]: Likewise.
12160 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12161 [libc_hidden_builtin_def]: Likewise.
12162 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12163 [libc_hidden_builtin_def]: Likewise.
12164 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12165 __redirect_memcpy and define ifunc as default hidden symbol.
12166 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12167 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12169 2014-05-04 Adam Conrad <adconrad@0c3.net>
12171 * locale/iso-4217.def: Reintroduce XDR currency.
12173 2014-05-04 Allan McRae <allan@archlinux.org>
12175 * po/eo.po: Update Esperanto translation from translation project.
12177 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12179 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12180 and FEATURE_INDEX_MAX to 1.
12181 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12183 2014-05-01 Steve Ellcey <sellcey@mips.com>
12185 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12186 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12187 * iconvdata/big5.c (ONE_DIRECTION): Define.
12188 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12189 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12190 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12191 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12192 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12193 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12194 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12195 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12196 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12197 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12198 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12199 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12200 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12201 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12202 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12203 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12204 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12205 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12206 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12207 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12208 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12209 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12210 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12211 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12212 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12213 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12214 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12215 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12216 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12217 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12218 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12219 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12220 * iconvdata/johab.c (ONE_DIRECTION): Define.
12221 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12222 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12223 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12224 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12225 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12226 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12227 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12228 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12229 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12230 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12232 2014-05-01 Roland McGrath <roland@hack.frob.com>
12234 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12235 (_IO_JUMPS_OFFSET): Define to 0.
12237 * nptl/sysdeps/pthread/bits/libc-lock.h
12238 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12239 (__libc_lock_define_initialized_recursive): Always define using
12240 initializer. Modern compilers treat uninitialized (implicit zero) and
12241 explicit zero initializers the same (i.e. put the datum in bss).
12243 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12245 * nscd/nscd-client.h: Include <string.h>.
12247 2014-05-01 David S. Miller <davem@davemloft.net>
12250 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12251 multiple zero bytes exist at the end of a string.
12252 Reported by Aurelien Jarno <aurelien@aurel32.net>
12254 * string/test-strcmp.c (check): Add explicit test for situations where
12255 there are multiple zero bytes after the first.
12257 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12260 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12261 when compiling wprintf.
12262 * stdio-common/tstdiomisc.c (t3): New function.
12265 2014-05-01 Steve Ellcey <sellcey@mips.com>
12267 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12268 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12269 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12270 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12272 2014-05-01 Steve Ellcey <sellcey@mips.com>
12274 * stdlib/longlong.h: Updated from GCC.
12276 2014-05-01 Will Newton <will.newton@linaro.org>
12277 Bernard Ogden <bernie.ogden@linaro.org>
12279 * NEWS: Update fixed bug list.
12282 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12284 2014-04-30 David S. Miller <davem@davemloft.net>
12286 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12287 (libc_feholdexcept_setround_sparc_ctx): New function.
12288 (libc_fesetenv_sparc_ctx): Likewise.
12289 (libc_feupdateenv_sparc_ctx): Likewise.
12290 (libc_feholdsetround_sparc_ctx): Likewise.
12291 (libc_feholdexcept_setround_ctx): Define.
12292 (libc_feholdexcept_setroundf_ctx): Likewise.
12293 (libc_feholdexcept_setroundl_ctx): Likewise.
12294 (libc_fesetenv_ctx): Likewise.
12295 (libc_fesetenvf_ctx): Likewise.
12296 (libc_fesetenvl_ctx): Likewise.
12297 (libc_feupdateenv_ctx): Likewise.
12298 (libc_feupdateenvf_ctx): Likewise.
12299 (libc_feupdateenvl_ctx): Likewise.
12300 (libc_feresetround_ctx): Likewise.
12301 (libc_feresetroundf_ctx): Likewise.
12302 (libc_feresetroundl_ctx): Likewise.
12303 (libc_feholdsetround_ctx): Likewise.
12304 (libc_feholdsetroundf_ctx): Likewise.
12305 (libc_feholdsetroundl_ctx): Likewise.
12307 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12308 with __USE_GNU instead of XOPEN cpp guards.
12310 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12313 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12314 with XOPEN cpp guards.
12316 2014-04-30 Julian Brown <julian@codesourcery.com>
12319 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12322 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12325 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12327 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12328 * sysdeps/unix/sysv/linux/configure: Regenerated.
12329 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12330 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12331 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12332 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12333 * README: Update reference to required Linux kernel version.
12334 * manual/install.texi (Linux): Update reference to required Linux
12335 kernel headers version.
12336 * INSTALL: Regenerated.
12338 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12340 [POSIX] (limits.h): Likewise.
12341 [POSIX] (math.h): Likewise.
12342 [POSIX] (sys/wait.h): Likewise.
12343 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12345 [POSIX] (stddef.h): Do not allow header inclusion.
12347 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12349 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12351 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12353 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12354 Return immediately after lll_futex_wake.
12356 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12359 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12361 (datahead_init_pos): Call datahead_init_common early.
12362 (datahead_init_neg): Likewise.
12364 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12365 datahead_init_neg): New functions.
12366 * nscd/aicache.c (addhstaiX): Use them.
12367 * nscd/grpcache.c (cache_addgr): Likewise.
12368 * nscd/hstcache.c (cache_addhst): Likewise.
12369 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12370 * nscd/netgroupcache.c (do_notfound): Likewise.
12371 (addgetnetgrentX): Likewise.
12372 (addinnetgrX): Likewise.
12373 * nscd/pwdcache.c (cache_addpw): Likewise.
12374 * nscd/servicescache.c (cache_addserv): Likewise.
12376 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12377 Atsushi Onoe <atsushi@onoe.org>
12382 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12383 one response is valid.
12384 * resolv/res_send.c (send_dg): Check for validity of other
12385 response if the current response is a referral.
12387 2014-04-29 Steve Ellcey <sellcey@mips.com>
12389 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12391 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12394 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12395 Always divide by positive zero when computing -Inf result.
12396 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12397 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12399 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12401 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12402 FPSCR if value do not change.
12403 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12404 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12405 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12406 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12407 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12408 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12411 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12413 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12414 * sysdeps/unix/sysv/linux/hppa: Move directory from
12415 ports/systeps/unix/sysv/linux/hppa.
12416 * README: Update listing for hppa-*-linux-gnu.
12418 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12421 * manual/stdio.texi (Hook functions): Fix types of stream hook
12424 * socket/sys/socket.h: Fix typo in comment.
12426 2014-04-28 Wilco <wdijkstr@arm.com>
12428 * sysdeps/arm/fenv_private.h: New file.
12429 * sysdeps/arm/math_private.h: New file.
12430 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12432 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12434 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12436 (La_x86_64_retval): Likewise.
12438 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12440 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12441 fpsr if value didn't change.
12442 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12443 to fpcr if value didn't change.
12444 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12445 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12446 fpsr or fpcr if value didn't change.
12447 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12448 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12449 fpcr if value didn't change.
12450 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12451 to fpsr if value didn't change.
12453 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12455 * nptl/tst-sem3.c: Use test-skeleton.c
12456 (main): Rename to do_test. Use return instead of
12458 * nptl/tst-sem4.c: Use test-skeleton.c
12459 (main): Rename to do_test.
12461 2014-04-22 David S. Miller <davem@davemloft.net>
12463 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12464 (struct sigaction): New struct member __glibc_reserved0, change
12465 type of sa_flags to int.
12467 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12469 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12470 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12472 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12475 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12477 2014-04-22 Will Newton <will.newton@linaro.org>
12478 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12480 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12481 (__longjmp): Add longjmp and longjmp_target SystemTap
12483 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12484 (__sigsetjmp): Add setjmp SystemTap probe.
12486 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12488 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12489 match manual order.
12491 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12493 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12495 * sysdeps/powerpc/fpu/fenv_private.h
12496 (libc_feholdexcept_setroundl_ctx): Define to
12497 libc_feholdexcept_setround_ppc_ctx.
12498 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12499 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12500 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12501 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12503 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12505 * sysdeps/aarch64/math-tests.h: New file.
12507 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12509 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12512 Check and set bit_AVX2_Usable.
12513 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12515 (bit_AVX2): Likewise.
12516 (index_AVX2_Usable): Likewise.
12517 (CPUID_AVX2): Likewise.
12518 (HAS_AVX2): Likewise.
12520 2014-04-17 Will Newton <will.newton@linaro.org>
12522 * manual/setjmp.texi (System V contexts): Add note that
12523 calling setcontext on a context created by a call to a
12524 signal handler is undefined. Update text to note that
12525 setcontext from a signal handler is possible but not
12529 * stdlib/tst-setcontext.c: Include signal.h.
12530 (main): Check that the signal stack before and
12531 after swapcontext is the same.
12533 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12534 Re-implement to restore registers in user code and avoid
12535 rt_sigreturn system call.
12537 2014-04-17 Wilco <wdijkstr@arm.com>
12539 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12540 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12541 * math/test-fenv.c: Skip exception trap tests on targets which only
12542 support non-stop mode.
12544 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12545 Wilco Dijkstra <wilco.dijkstra@arm.com>
12547 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12548 (libc_feholdsetround_aarch64_ctx)
12549 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12550 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12551 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12552 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12553 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12554 (libc_feresetround_noexl_ctx): Define.
12556 2014-04-16 Richard Henderson <rth@redhat.com>
12558 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12560 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12563 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12564 const from the non-libc, non-ldso copy.
12566 * sysdeps/alpha/libm-test-ulps: Regenerate.
12568 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12569 Wilco Dijkstra <wilco.dijkstra@arm.com>
12571 * sysdeps/aarch64/fpu/math_private.h: New file.
12573 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12575 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12577 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12580 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12581 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12583 Intel MPX bound registers before _dl_profile_fixup.
12584 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12585 registers after _dl_profile_fixup. Save and restore bound
12586 registers bnd0/bnd1 when calling _dl_call_pltexit.
12587 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12588 (LR_BND_OFFSET): Likewise.
12589 (LRV_BND0_OFFSET): Likewise.
12590 (LRV_BND1_OFFSET): Likewise.
12592 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12594 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12596 * sysdeps/mach/hurd/i386/tls.h: ... here.
12597 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12598 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12601 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12603 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12605 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12607 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12609 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12612 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12613 * sysdeps/s390/configure: Regenerate.
12616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12617 Set round-to-nearest internally to reduce error accumulation.
12619 2014-04-16 Alan Modra <amodra@gmail.com>
12623 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12624 * math/libm-test.inc (frexp_test_data): Add tests.
12625 * NEWS: Update fixed bug list.
12627 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12629 * benchtests/Makefile: Depend on libraries in build directory.
12630 (bench-math): Separate out math tests.
12631 (bench-pthread): Separate out pthread tests.
12632 (bench): Include math and pthread tests.
12634 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12637 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12638 _dl_debug_initialize.
12640 * configure.ac: Remove SELinux header check.
12641 * configure: Regenerate.
12642 * nscd/selinux.c (perms): Array of const char* to permission names.
12643 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12644 default policy. Call string_to_security_class and string_to_av_perm to
12645 translate strings. Enforce default policy and call avs_has_perm with
12646 results of translated strings.
12648 2014-04-13 David S. Miller <davem@davemloft.net>
12650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12652 2014-04-12 Allan McRae <allan@archlinux.org>
12655 * manual/string.texi (Collation Functions): Fix qsort argument
12657 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12659 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12661 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12662 Make the test a no-op if there are no exceptions defined.
12664 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12666 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12667 enable-hardcoded-path-in-tests
12669 2014-04-11 Will Newton <will.newton@linaro.org>
12671 * benchtests/Makefile (extra-objs): Add json-lib.o.
12672 (bench-func): Tidy up JSON output.
12673 * benchtests/bench-skeleton.c: Include json-lib.h.
12674 (main): Use JSON library functions to do output of
12676 * benchtests/bench-timing-type.c (main): Output the
12677 timing type simply, leaving formatting to the user.
12678 * benchtests/json-lib.c: New file.
12679 * benchtests/json-lib.h: Likewise.
12681 2014-04-11 Torvald Riegel <triegel@redhat.com>
12684 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12685 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12686 memory barriers. Add comments.
12687 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12688 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12689 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12690 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12691 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12692 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12694 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12696 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12697 * sysdeps/s390/s390-64/configure.ac: ... this ...
12698 * sysdeps/s390/configure.ac: ... to here.
12699 * sysdeps/s390/s390-32/configure: Delete file.
12700 * sysdeps/s390/s390-64/configure: Delete file.
12701 * sysdeps/s390/configure: Regenerate.
12703 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12705 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12707 2014-04-11 Will Newton <will.newton@linaro.org>
12709 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12710 to zero if it is not defined elsewhere. (mtrim): Test
12711 the value of MALLOC_DEBUG with #if rather than #ifdef.
12713 2014-04-10 Torvald Riegel <triegel@redhat.com>
12715 * benchtests/pthread_once-inputs: New file.
12716 * benchtests/pthread_once-source.c: New file.
12717 * benchtests/README: Update documentation.
12719 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12720 H.J. Lu <hongjiu.lu@intel.com>
12723 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12724 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12725 * sysdeps/x86_64/configure: Regenerated.
12726 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12728 (REGISTER_SAVE_RAX): Likewise.
12729 (REGISTER_SAVE_RCX): Likewise.
12730 (REGISTER_SAVE_RDX): Likewise.
12731 (REGISTER_SAVE_RSI): Likewise.
12732 (REGISTER_SAVE_RDI): Likewise.
12733 (REGISTER_SAVE_R8): Likewise.
12734 (REGISTER_SAVE_R9): Likewise.
12735 (REGISTER_SAVE_BND0): Likewise.
12736 (REGISTER_SAVE_BND1): Likewise.
12737 (REGISTER_SAVE_BND2): Likewise.
12738 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12739 bound registers when calling _dl_fixup.
12741 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12743 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12744 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12746 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12747 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12748 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12749 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12750 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12751 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12752 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12754 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12757 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12758 pathconf(_PC_NAME_MAX).
12760 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12762 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12763 Remove macro usage.
12764 (__PTHREAD_SPINS): Move definition to ...
12765 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12766 (__PTHREAD_SPINS): ... here.
12767 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12768 (__PTHREAD_SPIN): Likewise.
12769 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12770 (__PTHREAD_SPIN): Likewise.
12771 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12772 (__PTHREAD_SPIN): Likewise.
12773 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12774 (__PTHREAD_SPIN): Likewise.
12775 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12776 (__PTHREAD_SPIN): Likewise.
12777 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12778 (__PTHREAD_SPIN): Likewise.
12779 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12780 (__PTHREAD_SPIN): Likewise.
12781 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12782 (__PTHREAD_SPIN): Likewise.
12783 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12784 (__PTHREAD_SPIN): Likewise.
12785 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12786 (__PTHREAD_SPIN): Likewise.
12787 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12788 (__PTHREAD_SPIN): Likewise.
12789 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12790 (__PTHREAD_SPIN): Likewise.
12792 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12793 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12794 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12795 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12797 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12798 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12799 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12800 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12801 correct imply path.
12802 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12803 strlen symbol for non multi-arch builds.
12804 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12805 missing hidden_def and weak_alias.
12807 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12809 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12811 2014-04-07 Will Newton <will.newton@linaro.org>
12813 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12814 and contents. [!_LIBC] Remove #ifndef and contents.
12815 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12816 * string/memccpy.c (__memccpy): Use ANSI prototype.
12817 * string/memfrob.c (memfrob): Likewise.
12818 * string/strcoll.c (STRCOLL): Likewise.
12819 * string/strlen.c (strlen): Likewise.
12820 * string/strtok.c (STRTOK): Likewise.
12821 * string/strcat.c: Remove unused #include of memcopy.h.
12822 (strcat): Use ANSI prototype.
12823 * string/strchr.c: Remove unused #include of memcopy.h.
12824 (strchr): Use ANSI prototype.
12825 * string/strcmp.c: Remove unused #include of memcopy.h.
12826 (strcmp): Use ANSI prototype.
12827 * string/strcpy.c: Remove unused #include of memcopy.h.
12828 (strcpy): Use ANSI prototype.
12830 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12832 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12833 * config.make.in (config-extra-cppflags): Set it from
12834 libc_extra_cppflags.
12835 * configure.ac (libc_extra_cflags): Make it accumulate over
12836 configure fragments.
12837 (libc_extra_cppflags): New flag.
12838 * configure. Regenerate.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12840 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12841 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12845 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12846 result for FE_DOWNWARD rounding mode.
12847 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12851 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12853 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12854 in function argument name.
12856 2014-04-03 David Svoboda <svoboda@cert.org>
12859 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12862 2014-04-03 Roland McGrath <roland@hack.frob.com>
12864 * elf/dl-unmap-segments.h: New file.
12865 * sysdeps/generic/ldsodefs.h
12866 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12867 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12868 * elf/dl-fptr.c: Likewise.
12869 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12870 * sysdeps/aarch64/tlsdesc.c: Likewise.
12871 * sysdeps/arm/tlsdesc.c: Likewise.
12872 * sysdeps/i386/tlsdesc.c: Likewise.
12873 * sysdeps/tile/dl-runtime.c: Likewise.
12874 * sysdeps/x86_64/tlsdesc.c: Likewise.
12875 * elf/dl-load.h: New file.
12876 * elf/dl-load.c: Include it.
12877 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12878 Macros moved to dl-load.h.
12879 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12880 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12881 Use _dl_unmap_segments in place of __munmap.
12882 Break out segment-mapping loop into ...
12883 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12885 2014-04-03 Will Newton <will.newton@linaro.org>
12887 * elf/dl-lookup.c (do_lookup_x): Remove comment
12888 referring to nested function and move variable
12889 declarations down to before first use.
12891 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12895 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12897 * math/s_catanf.c (__catanf): Likewise.
12898 * math/s_catanh.c (__catanh): Likewise.
12899 * math/s_catanhf.c (__catanhf): Likewise.
12900 * math/s_catanhl.c (__catanhl): Likewise.
12901 * math/s_catanl.c (__catanl): Likewise.
12902 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12903 by positive zero when computing -Inf result.
12904 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12905 (catanh_test): Likewise.
12906 * sysdeps/i386/fpu/libm-test-ulps: Update.
12907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12910 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12911 instead of using underflowing value in computing result.
12912 * math/s_clog10.c (__clog10): Likewise.
12913 * math/s_clog10f.c (__clog10f): Likewise.
12914 * math/s_clog10l.c (__clog10l): Likewise.
12915 * math/s_clogf.c (__clogf): Likewise.
12916 * math/s_clogl.c (__clogl): Likewise.
12917 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12918 (clog10_test): Likewise.
12919 * sysdeps/i386/fpu/libm-test-ulps: Update.
12920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12922 2014-04-02 Alan Modra <amodra@gmail.com>
12925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12926 output when value is near a power of two. Use int64_t for lx and
12927 remove casts. Use decimal rather than hex exponent constants.
12928 Don't use long double multiplication when double will suffice.
12929 * math/libm-test.inc (nextafter_test_data): Add tests.
12930 * NEWS: Add 16739 and 16786 to bug list.
12932 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12934 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12936 2014-04-01 Will Newton <will.newton@linaro.org>
12938 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12939 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12941 2014-04-01 Florian Weimer <fweimer@redhat.com>
12944 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12945 * nptl/tst-setuid2.c: New file.
12946 * nptl/Makefile (xtests): Add tst-setuid2.
12948 2014-04-01 Alan Modra <amodra@gmail.com>
12951 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12953 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12957 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12958 set errno as appropriate.
12959 * math/w_scalbf.c (__scalbf): Likewise.
12960 * math/w_scalbl.c (__scalbl): Likewise.
12961 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12962 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12963 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12964 Add more NaN tests.
12967 * math/w_atan2.c: Include <errno.h>.
12968 (__atan2): Set errno for result underflowing to zero.
12969 * math/w_atan2f.c: Include <errno.h>.
12970 (__atan2f): Set errno for result underflowing to zero.
12971 * math/w_atan2l.c: Include <errno.h>.
12972 (__atan2l): Set errno for result underflowing to zero.
12973 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12975 * math/auto-libm-test-out: Regenerated.
12977 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12979 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12980 Encode instruction correctly in little endian.
12981 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12983 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12985 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12987 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12990 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12993 * sysdeps/unix/sysv/linux/kernel-features.h
12994 [__sparc__ && !__arch64__ && !__sparc_v9__]
12995 (__ASSUME_SET_ROBUST_LIST): Do not define.
12996 [__sparc__ && !__arch64__ && !__sparc_v9__]
12997 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12998 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13000 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13001 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13002 (__ASSUME_REQUEUE_PI): Likewise.
13003 (__ASSUME_SET_ROBUST_LIST): Likewise.
13004 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13005 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13008 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13010 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13012 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13014 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13015 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13017 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13018 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13022 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13023 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13024 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13026 2014-03-31 Will Newton <will.newton@linaro.org>
13028 * benchtests/Makefile (bench): Add ffs and ffsll to list
13030 * benchtests/ffs-inputs: New file.
13031 * benchtests/ffsll-inputs: Likewise.
13033 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13036 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13037 too large before casting to int.
13038 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13039 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13040 * math/libm-test.inc (scalb_test_data): Add more tests.
13042 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13044 * benchtests/Makefile (DETAILED_OPT): New make option.
13045 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13047 * benchtests/bench-skeleton.c: Include stdbool.h.
13048 (main): Store and print timings per input.
13049 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13050 member to each argument value.
13051 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13052 (_print_arg_data): Initialize per-input timing to 0.
13054 * benchtests/Makefile (timing-type): New binary.
13055 (bench-clean): Also remove bench-timing-type.
13056 (bench): New target for timing-type.
13057 (bench-func): Print output in JSON format.
13058 * benchtests/bench-skeleton.c (main): Print output in JSON
13060 * benchtests/bench-timing-type.c: New file.
13061 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13062 (TIMING_PRINT_STATS): Remove.
13063 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13066 * benchtests/bench-modf.c: Remove.
13067 * benchtests/modf-inputs: New inputs file.
13069 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13072 * math/s_clog10.c (M_PI_LOG10E): New macro.
13073 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13074 imaginary parts are 0.
13075 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13076 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13077 imaginary parts are 0.
13078 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13079 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13080 imaginary parts are 0.
13081 * math/libm-test.inc (clog10_test_data): Update expected results
13082 for when real and imaginary parts are 0.
13084 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13086 * elf/dl-load.c: Finish conversion of __builtin_expect into
13087 __glibc_{un}likely.
13089 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13092 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13093 1+x for argument with exponent below -67.
13094 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13096 * math/auto-libm-test-in: Add more tests of exp.
13097 * math/auto-libm-test-out: Regenerated.
13099 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13102 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13103 (nscd_getnetgrent): Use it.
13106 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13109 2014-03-27 Andi Kleen <ak@linux.intel.com>
13111 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13112 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13113 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13114 (lll_robust_unlock): Remove out of line section. Use cfi
13116 (LLL_STUB_UNWIND_INFO*): Remove.
13117 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13118 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13119 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13120 (lll_robust_unlock): Remove out of line section. Use cfi
13122 (LLL_STUB_UNWIND_INFO*): Remove.
13124 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13127 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13130 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13132 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13134 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13137 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13139 * math/test-fenv-preserve.c: New file.
13140 * math/Makefile (tests): Add test-fenv-preserve.
13142 2014-03-26 Will Newton <will.newton@linaro.org>
13144 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13146 2014-03-25 Roland McGrath <roland@hack.frob.com>
13148 * scripts/versionlist.awk: Partition the version sets and emit all
13149 GLIBC_* (sorted) before all others (sorted).
13151 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13153 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13154 GLIBC_2.2.5 version.
13156 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13158 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13161 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13166 2014-03-25 Andreas Schwab <schwab@suse.de>
13168 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13169 label to be used after in6ailist is initialized.
13171 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13173 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13174 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13176 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13180 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13182 (fp_formats): Update initializers.
13183 (init_fp_formats): Initialize new field.
13184 (output_for_one_input_case): Allow underflow for results up to
13186 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13187 * math/auto-libm-test-in: Don't mark some underflows from asin and
13189 * math/auto-libm-test-out: Regenerated.
13190 * sysdeps/i386/fpu/libm-test-ulps: Update.
13191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13193 2014-03-25 Andreas Schwab <schwab@suse.de>
13195 * libio/Makefile (tst-ftell-partial-wide-ENV)
13196 (tst-ftell-active-handler-ENV): Define.
13198 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13200 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13202 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13204 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13206 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13208 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13209 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13210 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13212 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13215 * elf/dl-load.c (open_verify): Add mode parameter.
13216 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13217 (open_path): Change from boolean 'secure' to complete flag 'mode'
13218 (_dl_map_object): Adjust.
13219 * elf/Makefile (tests): Add tst-dlopen-aout.
13220 * elf/tst-dlopen-aout.c: New test.
13222 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13225 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13226 (struct stat): Rename member pad0 to __glibc_reserved0.
13229 * sysdeps/s390/s390-32/bits/wordsize.h
13230 (__WORDSIZE32_SIZE_ULONG): New define.
13231 * sysdeps/s390/s390-64/bits/wordsize.h
13232 (__WORDSIZE32_SIZE_ULONG): Likewise.
13233 * sysdeps/generic/stdint.h (SIZE_MAX):
13234 Define as UL if __WORDSIZE32_SIZE_ULONG.
13237 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13238 (__glibc_reserved0): New variable.
13239 (sa_flags): Change type to int.
13241 * posix/Makefile (before-compile): Use += before-compile instead
13244 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13245 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13247 2014-03-20 Andreas Schwab <schwab@suse.de>
13250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13251 non-matching result from nscd.
13253 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13255 * scripts/bench.py: Moved to ...
13256 * benchtests/scripts/bench.py: ... here.
13257 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13259 2014-03-24 Andreas Schwab <schwab@suse.de>
13262 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13263 alloca_account and account alloca use for struct in6ailist.
13265 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13268 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13269 rounding mode to recompute results that overflow to infinity or
13271 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13273 * math/auto-libm-test-out: Regenerated.
13274 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13275 (ccosh_test): Likewise.
13276 (csin_test_data): Use plus_oflow.
13277 (csin_test): Use ALL_RM_TEST.
13278 (csinh_test_data): Use plus_oflow.
13279 (csinh_test): Use ALL_RM_TEST.
13280 * sysdeps/i386/fpu/libm-test-ulps: Update.
13281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13285 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13286 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13287 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13290 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13291 when x - 1 is zero.
13292 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13293 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13294 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13295 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13297 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13298 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13300 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13301 * sysdeps/i386/fpu/libm-test-ulps: Update.
13302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13304 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13306 * scripts/bench.pl: Remove file.
13307 * scripts/bench.py: New benchmark script.
13308 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13309 * benchtests/README: Mention python dependency.
13310 * scripts/pylintrc: New file.
13311 * scripts/pylint: New file.
13313 * bits/mathdef.h: Use #ifdef instead of #if.
13314 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13315 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13316 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13317 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13318 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13319 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13321 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13322 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13324 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13325 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13326 and strpbrk-ppc64 objects.
13327 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13328 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13329 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13330 multiarch strpbrk for POWER7.
13331 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13332 multiarch strpbrk for PPC64.
13333 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13335 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13336 strpbrk for POWER7.
13338 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13340 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13341 (atan_test): Likewise.
13342 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13343 (atanh_test): Use ALL_RM_TEST.
13344 (atan2_test_data): Likewise.
13345 (cabs_test): Likewise.
13346 (cacosh_test): Likewise.
13347 (carg_test): Likewise.
13348 (casin_test): Likewise.
13349 (casinh_test): Likewise.
13350 (cbrt_test): Likewise.
13351 (csqrt_test): Likewise.
13352 (erf_test): Likewise.
13353 (erfc_test): Likewise.
13354 (pow10_test): Likewise.
13355 (exp2_test): Likewise.
13356 (hypot_test): Likewise.
13357 (j0_test): Likewise.
13358 (j1_test): Likewise.
13359 (lgamma_test): Likewise.
13360 (gamma_test): Likewise.
13361 (sincos_test): Likewise.
13362 (tanh_test): Likewise.
13363 (y0_test): Likewise.
13364 (y1_test): Likewise.
13365 * sysdeps/i386/fpu/libm-test-ulps: Update.
13366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13368 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13370 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13371 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13372 and strcspn-ppc64 objects.
13373 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13374 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13375 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13376 multiarch strcspn for POWER7.
13377 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13378 multiarch strcspn for PPC64.
13379 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13381 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13382 strcspn for POWER7.
13384 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13386 * math/gen-libm-test.pl (generate_testfile): Expect only function
13387 name as argument to AUTO_TESTS_* and pass results for all rounding
13388 modes to parse_args.
13389 (parse_auto_input): Separate inputs of automatic tests from
13390 outputs before storing in %auto_tests.
13391 * math/libm-test.inc (acos_test_data): Update call to
13393 (acos_test): Use ALL_RM_TEST.
13394 (acos_tonearest_test_data): Remove.
13395 (acos_test_tonearest): Likewise.
13396 (acos_towardzero_test_data): Likewise.
13397 (acos_test_towardzero): Likewise.
13398 (acos_downward_test_data): Likewise.
13399 (acos_test_downward): Likewise.
13400 (acos_upward_test_data): Likewise.
13401 (acos_test_upward): Likewise.
13402 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13403 (asin_test_data): Likewise.
13404 (asin_test): Use ALL_RM_TEST.
13405 (asin_tonearest_test_data): Remove.
13406 (asin_test_tonearest): Likewise.
13407 (asin_towardzero_test_data): Likewise.
13408 (asin_test_towardzero): Likewise.
13409 (asin_downward_test_data): Likewise.
13410 (asin_test_downward): Likewise.
13411 (asin_upward_test_data): Likewise.
13412 (asin_test_upward): Likewise.
13413 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13414 (atan_test_data): Likewise.
13415 (atanh_test_data): Likewise.
13416 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13417 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13418 (carg_test_data): Likewise.
13419 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13420 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13421 (ccosh_test_data): Likewise.
13422 (cexp_test_data): Likewise.
13423 (clog_test_data): Likewise.
13424 (clog10_test_data): Likewise.
13425 (cos_test_data): Update call to AUTO_TESTS_f_f.
13426 (cos_test): Use ALL_RM_TEST.
13427 (cos_tonearest_test_data): Remove.
13428 (cos_test_tonearest): Likewise.
13429 (cos_towardzero_test_data): Likewise.
13430 (cos_test_towardzero): Likewise.
13431 (cos_downward_test_data): Likewise.
13432 (cos_test_downward): Likewise.
13433 (cos_upward_test_data): Likewise.
13434 (cos_test_upward): Likewise.
13435 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13436 (cosh_test): Use ALL_RM_TEST.
13437 (cosh_tonearest_test_data): Remove.
13438 (cosh_test_tonearest): Likewise.
13439 (cosh_towardzero_test_data): Likewise.
13440 (cosh_test_towardzero): Likewise.
13441 (cosh_downward_test_data): Likewise.
13442 (cosh_test_downward): Likewise.
13443 (cosh_upward_test_data): Likewise.
13444 (cosh_test_upward): Likewise.
13445 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13446 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13447 (ctan_test_data): Likewise.
13448 (ctan_test): Use ALL_RM_TEST.
13449 (ctan_tonearest_test_data): Remove.
13450 (ctan_test_tonearest): Likewise.
13451 (ctan_towardzero_test_data): Likewise.
13452 (ctan_test_towardzero): Likewise.
13453 (ctan_downward_test_data): Likewise.
13454 (ctan_test_downward): Likewise.
13455 (ctan_upward_test_data): Likewise.
13456 (ctan_test_upward): Likewise.
13457 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13458 (ctanh_test): Use ALL_RM_TEST.
13459 (ctanh_tonearest_test_data): Remove.
13460 (ctanh_test_tonearest): Likewise.
13461 (ctanh_towardzero_test_data): Likewise.
13462 (ctanh_test_towardzero): Likewise.
13463 (ctanh_downward_test_data): Likewise.
13464 (ctanh_test_downward): Likewise.
13465 (ctanh_upward_test_data): Likewise.
13466 (ctanh_test_upward): Likewise.
13467 (erf_test_data): Update call to AUTO_TESTS_f_f.
13468 (erfc_test_data): Likewise.
13469 (exp_test_data): Likewise.
13470 (exp_test): Use ALL_RM_TEST.
13471 (exp_tonearest_test_data): Remove.
13472 (exp_test_tonearest): Likewise.
13473 (exp_towardzero_test_data): Likewise.
13474 (exp_test_towardzero): Likewise.
13475 (exp_downward_test_data): Likewise.
13476 (exp_test_downward): Likewise.
13477 (exp_upward_test_data): Likewise.
13478 (exp_test_upward): Likewise.
13479 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13480 (exp10_test): Use ALL_RM_TEST.
13481 (exp10_tonearest_test_data): Remove.
13482 (exp10_test_tonearest): Likewise.
13483 (exp10_towardzero_test_data): Likewise.
13484 (exp10_test_towardzero): Likewise.
13485 (exp10_downward_test_data): Likewise.
13486 (exp10_test_downward): Likewise.
13487 (exp10_upward_test_data): Likewise.
13488 (exp10_test_upward): Likewise.
13489 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13490 (expm1_test_data): Likewise.
13491 (expm1_test): Use ALL_RM_TEST.
13492 (expm1_tonearest_test_data): Remove.
13493 (expm1_test_tonearest): Likewise.
13494 (expm1_towardzero_test_data): Likewise.
13495 (expm1_test_towardzero): Likewise.
13496 (expm1_downward_test_data): Likewise.
13497 (expm1_test_downward): Likewise.
13498 (expm1_upward_test_data): Likewise.
13499 (expm1_test_upward): Likewise.
13500 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13501 (fma_test): Use ALL_RM_TEST.
13502 (fma_towardzero_test_data): Remove.
13503 (fma_test_towardzero): Likewise.
13504 (fma_downward_test_data): Likewise.
13505 (fma_test_downward): Likewise.
13506 (fma_upward_test_data): Likewise.
13507 (fma_test_upward): Likewise.
13508 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13509 (j0_test_data): Update call to AUTO_TESTS_f_f.
13510 (j1_test_data): Likewise.
13511 (jn_test_data): Update call to AUTO_TESTS_if_f.
13512 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13513 (log_test_data): Update call to AUTO_TESTS_f_f.
13514 (log10_test_data): Likewise.
13515 (log1p_test_data): Likewise.
13516 (log2_test_data): Likewise.
13517 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13518 (pow_tonearest_test_data): Likewise.
13519 (sin_test_data): Update call to AUTO_TESTS_f_f.
13520 (sin_test): Use ALL_RM_TEST.
13521 (sin_tonearest_test_data): Remove.
13522 (sin_test_tonearest): Likewise.
13523 (sin_towardzero_test_data): Likewise.
13524 (sin_test_towardzero): Likewise.
13525 (sin_downward_test_data): Likewise.
13526 (sin_test_downward): Likewise.
13527 (sin_upward_test_data): Likewise.
13528 (sin_test_upward): Likewise.
13529 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13530 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13531 (sinh_test): Use ALL_RM_TEST.
13532 (sinh_tonearest_test_data): Remove.
13533 (sinh_test_tonearest): Likewise.
13534 (sinh_towardzero_test_data): Likewise.
13535 (sinh_test_towardzero): Likewise.
13536 (sinh_downward_test_data): Likewise.
13537 (sinh_test_downward): Likewise.
13538 (sinh_upward_test_data): Likewise.
13539 (sinh_test_upward): Likewise.
13540 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13541 (sqrt_test): Use ALL_RM_TEST.
13542 (sqrt_tonearest_test_data): Remove.
13543 (sqrt_test_tonearest): Likewise.
13544 (sqrt_towardzero_test_data): Likewise.
13545 (sqrt_test_towardzero): Likewise.
13546 (sqrt_downward_test_data): Likewise.
13547 (sqrt_test_downward): Likewise.
13548 (sqrt_upward_test_data): Likewise.
13549 (sqrt_test_upward): Likewise.
13550 (tan_test_data): Update call to AUTO_TESTS_f_f.
13551 (tan_test): Use ALL_RM_TEST.
13552 (tan_tonearest_test_data): Remove.
13553 (tan_test_tonearest): Likewise.
13554 (tan_towardzero_test_data): Likewise.
13555 (tan_test_towardzero): Likewise.
13556 (tan_downward_test_data): Likewise.
13557 (tan_test_downward): Likewise.
13558 (tan_upward_test_data): Likewise.
13559 (tan_test_upward): Likewise.
13560 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13561 (tgamma_test_data): Likewise.
13562 (y0_test_data): Likewise.
13563 (y1_test_data): Likewise.
13564 (yn_test_data): Update call to AUTO_TESTS_if_f.
13565 (main): Do not call removed functions.
13567 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13569 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13570 (ldexp_test_data): Remove.
13571 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13573 (scalb_test): Use ALL_RM_TEST.
13575 2014-03-19 Andreas Schwab <schwab@suse.de>
13577 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13579 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13582 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13583 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13584 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13585 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13586 (__ASSUME_PREADV): Undefine.
13587 (__ASSUME_PWRITEV): Likewise.
13589 2014-03-18 Roland McGrath <roland@hack.frob.com>
13591 * bits/mman-linux.h: Add comment about non-Linux use.
13592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13593 bits/mman-linux.h resting place.
13595 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13596 * bits/mman-linux.h: ... here.
13598 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13600 * conform/conformtest.pl: Add standard definition when calling C
13601 preprocessor on data files.
13602 (checknamespace): Remove unused variable.
13604 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13606 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13607 minus_oflow, plus_uflow and minus_uflow in expected results.
13608 * math/libm-test.inc (scalbn_test_data): Add more tests of
13609 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13611 (scalbn_test): Use ALL_RM_TEST.
13612 (scalbln_test_data): Add more tests of negative arguments. Use
13613 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13614 (scalbln_test): Use ALL_RM_TEST.
13616 2014-03-18 Roland McGrath <roland@hack.frob.com>
13618 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13620 2014-03-18 Will Newton <will.newton@linaro.org>
13622 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13623 inaccurate comment.
13625 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13627 * Makerules [!subdir] (check-abi): Exit with error status if a
13630 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13632 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13633 for rint. Include results for all rounding modes.
13634 (nearbyint_test): Use ALL_RM_TEST.
13635 (rint_test_data): Include all tests used for nearbyint.
13637 2014-03-17 Will Newton <will.newton@linaro.org>
13639 * nptl/sysdeps/pthread/pthread.h: Revert previous
13642 * sysdeps/generic/ldsodefs.h: Revert previous
13645 * libio/genops.c: Revert previous change.
13646 * libio/libioP.h: Likewise.
13647 * stdio-common/vfprintf.c: Likewise.
13649 * sysdeps/generic/math_private.h: Revert previous
13652 * sysdeps/generic/math_private.h: Check whether
13653 HAVE_RM_CTX is defined with #ifdef rather
13656 * argp/argp-fmtstream.h: Check whether
13657 __STRICT_ANSI__ is defined with #ifdef rather
13659 * argp/argp.h: Likewise.
13661 * libio/genops.c: Check whether
13662 _IO_JUMPS_OFFSET is defined with #ifdef rather
13664 * libio/libioP.h: Likewise.
13665 * stdio-common/vfprintf.c: Likewise.
13667 * sysdeps/generic/ldsodefs.h: Check whether
13668 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13671 * nptl/sysdeps/pthread/pthread.h: Check
13672 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13675 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13677 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13679 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13683 * libio/fileops.c (_IO_file_open): Seek to end of file but
13684 don't cache the offset.
13685 (get_file_offset): Remove function.
13686 (do_ftell): Use cached offset when available.
13687 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13688 don't cache the offset.
13689 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13691 (do_one_test): Call it.
13692 (do_ftell_test): Fix up expected old offset for a+ mode.
13693 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13696 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13697 up test status with function return status.
13698 (do_write_test): Likewise.
13699 (do_append_test): Likewise.
13701 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13702 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13705 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13707 * math/gen-libm-test.pl (parse_args): Handle results specified for
13708 each rounding mode separately.
13709 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13710 tests and results from lrint_tonearest_test_data,
13711 lrint_towardzero_test_data, lrint_downward_test_data and
13712 lrint_upward_test_data.
13713 (lrint_test): Use ALL_RM_TEST.
13714 (lrint_tonearest_test_data): Remove.
13715 (lrint_test_tonearest): Likewise.
13716 (lrint_towardzero_test_data): Likewise.
13717 (lrint_test_towardzero): Likewise.
13718 (lrint_downward_test_data): Likewise.
13719 (lrint_test_downward): Likewise.
13720 (lrint_upward_test_data): Likewise.
13721 (lrint_test_upward): Likewise.
13722 (llrint_test_data): Merge in per-rounding-mode tests and results
13723 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13724 llrint_downward_test_data and llrint_upward_test_data.
13725 (llrint_test): Use ALL_RM_TEST.
13726 (llrint_tonearest_test_data): Remove.
13727 (llrint_test_tonearest): Likewise.
13728 (llrint_towardzero_test_data): Likewise.
13729 (llrint_test_towardzero): Likewise.
13730 (llrint_downward_test_data): Likewise.
13731 (llrint_test_downward): Likewise.
13732 (llrint_upward_test_data): Likewise.
13733 (llrint_test_upward): Likewise.
13734 (rint_test_data): Merge in per-rounding-mode tests and results
13735 from rint_tonearest_test_data, rint_towardzero_test_data,
13736 rint_downward_test_data and rint_upward_test_data. Add
13737 per-rounding-mode results for tests not in those arrays.
13738 (rint_test): Use ALL_RM_TEST.
13739 (rint_tonearest_test_data): Remove.
13740 (rint_test_tonearest): Likewise.
13741 (rint_towardzero_test_data): Likewise.
13742 (rint_test_towardzero): Likewise.
13743 (rint_downward_test_data): Likewise.
13744 (rint_test_downward): Likewise.
13745 (rint_upward_test_data): Likewise.
13746 (rint_test_upward): Likewise.
13747 (main): Don't call removed functions.
13749 2014-03-14 Roland McGrath <roland@hack.frob.com>
13751 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13752 "Compiled on ..." crapola. It is anti-useful.
13754 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13756 * scripts/evaluate-test.sh: Handle fourth argument to determine
13757 whether test run should stop on failure.
13758 * Makeconfig (stop-on-test-failure): New variable.
13759 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13760 $(stop-on-test-failure).
13761 * Makefile (tests): Give a summary of results from testing and
13762 exit with failure status if they include an ERROR or FAIL.
13763 (xtests): Likewise.
13764 * manual/install.texi (Configuring and compiling): Mention
13765 stop-on-test-failure=y.
13766 * INSTALL: Regenerated.
13768 2014-03-14 Roland McGrath <roland@hack.frob.com>
13770 * scripts/versionlist.awk: New file.
13771 * Makerules [$(build-shared) = yes]
13772 (postclean-generated): Add Versions.def, not Versions.def.v and
13774 ($(common-objpfx)Versions.def.v.i): Target removed.
13775 ($(common-objpfx)Versions.def): New target.
13776 ($(common-objpfx)Versions.all): Depend on that rather that
13777 $(common-objpfx)Versions.def.v.
13778 * Versions.def: File removed.
13780 * Makeconfig (+gccwarn): Add -Wundef.
13781 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13782 a dl-sysdep.h breaking its contract.
13783 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13784 * include/stackinfo.h: New file.
13785 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13786 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13787 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13788 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13789 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13790 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13791 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13792 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13793 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13794 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13795 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13796 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13797 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13798 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13799 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13801 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13804 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13806 * math/libm-test.inc (round_test_data): Add more tests.
13809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13811 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13814 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13816 * math/libm-test.inc (ceil_test_data): Add more tests.
13818 * math/libm-test.inc (trunc_test_data): Add more tests related to
13821 2014-03-14 Roland McGrath <roland@hack.frob.com>
13823 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13824 with #if rather than #ifdef.
13825 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13827 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13829 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13830 first. Disable AVX-512 GCC support if assembler doesn't support
13832 * sysdeps/x86_64/configure: Regenerated.
13834 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13836 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13837 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13838 (__old_pthread_attr_setstack): Likewise.
13839 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13840 [!_STACK_GROWS_DOWN]: Likewise.
13842 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13844 * config.make.in (have-bash2): Delete.
13845 * configure.ac (libc_cv_have_bash2): Delete.
13846 * configure: Regenerate.
13847 * elf/Makefile (common-ldd-rewrite): Rename to ...
13848 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13849 (sh-ldd-rewrite): Delete.
13850 (bash-ldd-rewrite): Delete.
13851 (have-bash2): Delete checks.
13852 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13855 * config.make.in (have-ksh): Delete.
13857 * configure.ac (libc_cv_have_ksh): Delete.
13858 * configure: Regenerate.
13860 * elf/Makefile: Delete $(have-ksh) check.
13861 ($(objpfx)sotruss): Change KSH to BASH.
13862 * elf/sotruss.ksh: Rename to ...
13863 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13864 function style to match POSIX. Drop ksh vim mode setting.
13866 * manual/time.texi (Specifying the Time Zone with TZ): Change
13867 Tuesday to Thursday.
13869 * debug/tst-longjmp_chk2.c: Update header comment.
13870 (stackoverflow_handler): Add comment. Call assert on pass value.
13872 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13875 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13876 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13877 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13878 (La_x86_64_vector): Add zmm.
13879 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13880 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13881 ($(objpfx)tst-audit10): New target.
13882 ($(objpfx)tst-audit10.out): Likewise.
13883 (tst-audit10-ENV): New.
13884 (AVX512-CFLAGS): Likewise.
13885 (CFLAGS-tst-audit10.c): Likewise.
13886 (CFLAGS-tst-auditmod10a.c): Likewise.
13887 (CFLAGS-tst-auditmod10b.c): Likewise.
13888 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13889 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13890 * sysdeps/x86_64/configure: Regenerated.
13891 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13892 AVX-512 zmm register support.
13893 (_dl_x86_64_save_sse): Likewise.
13894 (_dl_x86_64_restore_sse): Likewise.
13895 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13896 size vector registers.
13897 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13898 (ZMM_SIZE): Likewise.
13899 * sysdeps/x86_64/tst-audit10.c: New file.
13900 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13901 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13903 2014-03-13 Roland McGrath <roland@hack.frob.com>
13905 * configure.ac (HAVE_EHDR_START): New check.
13906 * configure: Regenerated.
13907 * config.h.in (HAVE_EHDR_START): New #undef.
13908 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13909 assuming the lowest-addressed segment maps the start of the file.
13911 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13913 * INSTALL: Regenerated.
13915 2014-03-13 Will Newton <will.newton@linaro.org>
13917 * manual/setjmp.texi (System V contexts): Improve
13918 clarity and grammar of documentation.
13920 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13923 * elf/Makefile (tests): Add tst-pie2.
13924 (tests-pie): Add tst-pie2.
13925 * elf/tst-pie2.c: New file.
13926 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13928 * elf/rtld.c (map_doit): Load executable as lt_executable.
13929 (dl_main): Likewise.
13931 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13935 (__ASSUME_PSELECT): Undefine.
13937 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13941 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13943 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13944 selector for static builds.
13946 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13949 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13952 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13954 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13955 IFUNC selector for static builds.
13957 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13959 * sysdeps/mips/math_private.h [__mips_hard_float]
13960 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13961 libc_feresetround_mips_ctx.
13962 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13963 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13964 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13967 * math/s_nextafter.c (__nextafter): Do not return value from
13968 overflowing computation.
13969 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13970 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13971 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13973 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13975 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13976 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13978 2014-03-11 Roland McGrath <roland@hack.frob.com>
13980 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13981 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13982 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13983 the new mov targetting sp.
13985 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13989 Define it for static builds as well.
13990 (NO_BZERO_IMPL): Likewise.
13992 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13994 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13995 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13996 multiarch strspn for PPC64.
13997 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13998 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14000 (__libc_ifunc_impl_list): Likewise.
14001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14002 multiarch optimizations
14003 * string/strspn.c (strspn): Using macro to redefine symbol name.
14005 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14006 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14008 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14009 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14010 multiarch strncat for PPC64.
14011 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14012 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14014 (__libc_ifunc_impl_list): Likewise.
14015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14016 multiarch optimizations
14018 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14021 * nscd/nscd.service: Make service type forking.
14023 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14025 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14026 sign in non default rounding modes.
14027 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14029 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14031 * math/libm-test.inc (ALL_RM_TEST): New macro.
14032 (ceil_test): Use ALL_RM_TEST.
14033 (cimag_test): Likewise.
14034 (conj_test): Likewise.
14035 (copysign_test): Likewise.
14036 (cproj_test): Likewise.
14037 (creal_test): Likewise.
14038 (fabs_test): Likewise.
14039 (floor_test): Likewise.
14040 (fmax_test): Likewise.
14041 (fmin_test): Likewise.
14042 (fmod_test): Likewise.
14043 (fpclassify_test): Likewise.
14044 (frexp_test): Likewise.
14045 (ilogb_test): Likewise.
14046 (isfinite_test): Likewise.
14047 (finite_test): Likewise.
14048 (isgreater_test): Likewise.
14049 (isgreaterequal_test): Likewise.
14050 (isinf_test): Likewise.
14051 (isless_test): Likewise.
14052 (islessequal_test): Likewise.
14053 (islessgreater_test): Likewise.
14054 (isnan_test): Likewise.
14055 (isnormal_test): Likewise.
14056 (issignaling_test): Likewise.
14057 (isunordered_test): Likewise.
14058 (logb_test): Likewise.
14059 (logb_downward_test_data): Remove.
14060 (logb_test_downward): Likewise.
14061 (lround_test): Use ALL_RM_TEST.
14062 (llround_test): Likewise.
14063 (modf_test): Likewise.
14064 (nexttoward_test): Likewise.
14065 (remainder_test): Likewise.
14066 (drem_test): Likewise.
14067 (remainder_tonearest_test_data): Likewise.
14068 (remainder_test_tonearest): Likewise.
14069 (drem_test_tonearest): Likewise.
14070 (remainder_towardzero_test_data): Likewise.
14071 (remainder_test_towardzero): Likewise.
14072 (drem_test_towardzero): Likewise.
14073 (remainder_downward_test_data): Likewise.
14074 (remainder_test_downward): Likewise.
14075 (drem_test_downward): Likewise.
14076 (remainder_upward_test_data): Likewise.
14077 (remainder_test_upward): Likewise.
14078 (drem_test_upward): Likewise.
14079 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14080 (round_test): Use ALL_RM_TEST.
14081 (signbit_test): Likewise.
14082 (trunc_test): Likewise.
14083 (significand_test): Likewise.
14084 (main): Don't call removed functions.
14086 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14089 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14090 || __USE_XOPEN2K8].
14091 (ILL_ILLOPN): Likewise.
14092 (ILL_ILLADR): Likewise.
14093 (ILL_ILLTRP): Likewise.
14094 (ILL_PRVOPC): Likewise.
14095 (ILL_PRVREG): Likewise.
14096 (ILL_COPROC): Likewise.
14097 (ILL_BADSTK): Likewise.
14098 (FPE_INTDIV): Likewise.
14099 (FPE_INTOVF): Likewise.
14100 (FPE_FLTDIV): Likewise.
14101 (FPE_FLTOVF): Likewise.
14102 (FPE_FLTUND): Likewise.
14103 (FPE_FLTRES): Likewise.
14104 (FPE_FLTINV): Likewise.
14105 (FPE_FLTSUB): Likewise.
14106 (SEGV_MAPERR): Likewise.
14107 (SEGV_ACCERR): Likewise.
14108 (BUS_ADRALN): Likewise.
14109 (BUS_ADRERR): Likewise.
14110 (BUS_OBJERR): Likewise.
14111 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14112 (TRAP_TRACE): Likewise.
14113 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14115 (CLD_KILLED): Likewise.
14116 (CLD_DUMPED): Likewise.
14117 (CLD_TRAPPED): Likewise.
14118 (CLD_STOPPED): Likewise.
14119 (CLD_CONTINUED): Likewise.
14120 (POLL_IN): Likewise.
14121 (POLL_OUT): Likewise.
14122 (POLL_MSG): Likewise.
14123 (POLL_ERR): Likewise.
14124 (POLL_PRI): Likewise.
14125 (POLL_HUP): Likewise.
14126 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14128 (ILL_ILLOPN): Likewise.
14129 (ILL_ILLADR): Likewise.
14130 (ILL_ILLTRP): Likewise.
14131 (ILL_PRVOPC): Likewise.
14132 (ILL_PRVREG): Likewise.
14133 (ILL_COPROC): Likewise.
14134 (ILL_BADSTK): Likewise.
14135 (FPE_INTDIV): Likewise.
14136 (FPE_INTOVF): Likewise.
14137 (FPE_FLTDIV): Likewise.
14138 (FPE_FLTOVF): Likewise.
14139 (FPE_FLTUND): Likewise.
14140 (FPE_FLTRES): Likewise.
14141 (FPE_FLTINV): Likewise.
14142 (FPE_FLTSUB): Likewise.
14143 (SEGV_MAPERR): Likewise.
14144 (SEGV_ACCERR): Likewise.
14145 (BUS_ADRALN): Likewise.
14146 (BUS_ADRERR): Likewise.
14147 (BUS_OBJERR): Likewise.
14148 (BUS_MCEERR_AR): Likewise.
14149 (BUS_MCEERR_AO): Likewise.
14150 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14151 (TRAP_TRACE): Likewise.
14152 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14154 (CLD_KILLED): Likewise.
14155 (CLD_DUMPED): Likewise.
14156 (CLD_TRAPPED): Likewise.
14157 (CLD_STOPPED): Likewise.
14158 (CLD_CONTINUED): Likewise.
14159 (POLL_IN): Likewise.
14160 (POLL_OUT): Likewise.
14161 (POLL_MSG): Likewise.
14162 (POLL_ERR): Likewise.
14163 (POLL_PRI): Likewise.
14164 (POLL_HUP): Likewise.
14165 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14166 (ILL_ILLOPN): Likewise.
14167 (ILL_ILLADR): Likewise.
14168 (ILL_ILLTRP): Likewise.
14169 (ILL_PRVOPC): Likewise.
14170 (ILL_PRVREG): Likewise.
14171 (ILL_COPROC): Likewise.
14172 (ILL_BADSTK): Likewise.
14173 (FPE_INTDIV): Likewise.
14174 (FPE_INTOVF): Likewise.
14175 (FPE_FLTDIV): Likewise.
14176 (FPE_FLTOVF): Likewise.
14177 (FPE_FLTUND): Likewise.
14178 (FPE_FLTRES): Likewise.
14179 (FPE_FLTINV): Likewise.
14180 (FPE_FLTSUB): Likewise.
14181 (SEGV_MAPERR): Likewise.
14182 (SEGV_ACCERR): Likewise.
14183 (BUS_ADRALN): Likewise.
14184 (BUS_ADRERR): Likewise.
14185 (BUS_OBJERR): Likewise.
14186 (BUS_MCEERR_AR): Likewise.
14187 (BUS_MCEERR_AO): Likewise.
14188 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14189 (TRAP_TRACE): Likewise.
14190 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14192 (CLD_KILLED): Likewise.
14193 (CLD_DUMPED): Likewise.
14194 (CLD_TRAPPED): Likewise.
14195 (CLD_STOPPED): Likewise.
14196 (CLD_CONTINUED): Likewise.
14197 (POLL_IN): Likewise.
14198 (POLL_OUT): Likewise.
14199 (POLL_MSG): Likewise.
14200 (POLL_ERR): Likewise.
14201 (POLL_PRI): Likewise.
14202 (POLL_HUP): Likewise.
14203 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14205 (ILL_ILLOPN): Likewise.
14206 (ILL_ILLADR): Likewise.
14207 (ILL_ILLTRP): Likewise.
14208 (ILL_PRVOPC): Likewise.
14209 (ILL_PRVREG): Likewise.
14210 (ILL_COPROC): Likewise.
14211 (ILL_BADSTK): Likewise.
14212 (ILL_BADIADDR): Likewise.
14213 (ILL_BREAK): Likewise.
14214 (FPE_INTDIV): Likewise.
14215 (FPE_INTOVF): Likewise.
14216 (FPE_FLTDIV): Likewise.
14217 (FPE_FLTOVF): Likewise.
14218 (FPE_FLTUND): Likewise.
14219 (FPE_FLTRES): Likewise.
14220 (FPE_FLTINV): Likewise.
14221 (FPE_FLTSUB): Likewise.
14222 (FPE_DECOVF): Likewise.
14223 (FPE_DECDIV): Likewise.
14224 (FPE_DECERR): Likewise.
14225 (FPE_INVASC): Likewise.
14226 (FPE_INVDEC): Likewise.
14227 (SEGV_MAPERR): Likewise.
14228 (SEGV_ACCERR): Likewise.
14229 (SEGV_PSTKOVF): Likewise.
14230 (BUS_ADRALN): Likewise.
14231 (BUS_ADRERR): Likewise.
14232 (BUS_OBJERR): Likewise.
14233 (BUS_MCEERR_AR): Likewise.
14234 (BUS_MCEERR_AO): Likewise.
14235 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14236 (TRAP_TRACE): Likewise.
14237 (TRAP_BRANCH): Likewise.
14238 (TRAP_HWBKPT): Likewise.
14239 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14241 (CLD_KILLED): Likewise.
14242 (CLD_DUMPED): Likewise.
14243 (CLD_TRAPPED): Likewise.
14244 (CLD_STOPPED): Likewise.
14245 (CLD_CONTINUED): Likewise.
14246 (POLL_IN): Likewise.
14247 (POLL_OUT): Likewise.
14248 (POLL_MSG): Likewise.
14249 (POLL_ERR): Likewise.
14250 (POLL_PRI): Likewise.
14251 (POLL_HUP): Likewise.
14252 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14253 (ILL_ILLOPN): Likewise.
14254 (ILL_ILLADR): Likewise.
14255 (ILL_ILLTRP): Likewise.
14256 (ILL_PRVOPC): Likewise.
14257 (ILL_PRVREG): Likewise.
14258 (ILL_COPROC): Likewise.
14259 (ILL_BADSTK): Likewise.
14260 (FPE_INTDIV): Likewise.
14261 (FPE_INTOVF): Likewise.
14262 (FPE_FLTDIV): Likewise.
14263 (FPE_FLTOVF): Likewise.
14264 (FPE_FLTUND): Likewise.
14265 (FPE_FLTRES): Likewise.
14266 (FPE_FLTINV): Likewise.
14267 (FPE_FLTSUB): Likewise.
14268 (SEGV_MAPERR): Likewise.
14269 (SEGV_ACCERR): Likewise.
14270 (BUS_ADRALN): Likewise.
14271 (BUS_ADRERR): Likewise.
14272 (BUS_OBJERR): Likewise.
14273 (BUS_MCEERR_AR): Likewise.
14274 (BUS_MCEERR_AO): Likewise.
14275 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14276 (TRAP_TRACE): Likewise.
14277 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14279 (CLD_KILLED): Likewise.
14280 (CLD_DUMPED): Likewise.
14281 (CLD_TRAPPED): Likewise.
14282 (CLD_STOPPED): Likewise.
14283 (CLD_CONTINUED): Likewise.
14284 (POLL_IN): Likewise.
14285 (POLL_OUT): Likewise.
14286 (POLL_MSG): Likewise.
14287 (POLL_ERR): Likewise.
14288 (POLL_PRI): Likewise.
14289 (POLL_HUP): Likewise.
14290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14291 (ILL_ILLOPN): Likewise.
14292 (ILL_ILLADR): Likewise.
14293 (ILL_ILLTRP): Likewise.
14294 (ILL_PRVOPC): Likewise.
14295 (ILL_PRVREG): Likewise.
14296 (ILL_COPROC): Likewise.
14297 (ILL_BADSTK): Likewise.
14298 (FPE_INTDIV): Likewise.
14299 (FPE_INTOVF): Likewise.
14300 (FPE_FLTDIV): Likewise.
14301 (FPE_FLTOVF): Likewise.
14302 (FPE_FLTUND): Likewise.
14303 (FPE_FLTRES): Likewise.
14304 (FPE_FLTINV): Likewise.
14305 (FPE_FLTSUB): Likewise.
14306 (SEGV_MAPERR): Likewise.
14307 (SEGV_ACCERR): Likewise.
14308 (BUS_ADRALN): Likewise.
14309 (BUS_ADRERR): Likewise.
14310 (BUS_OBJERR): Likewise.
14311 (BUS_MCEERR_AR): Likewise.
14312 (BUS_MCEERR_AO): Likewise.
14313 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14314 (TRAP_TRACE): Likewise.
14315 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14317 (CLD_KILLED): Likewise.
14318 (CLD_DUMPED): Likewise.
14319 (CLD_TRAPPED): Likewise.
14320 (CLD_STOPPED): Likewise.
14321 (CLD_CONTINUED): Likewise.
14322 (POLL_IN): Likewise.
14323 (POLL_OUT): Likewise.
14324 (POLL_MSG): Likewise.
14325 (POLL_ERR): Likewise.
14326 (POLL_PRI): Likewise.
14327 (POLL_HUP): Likewise.
14328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14329 (ILL_ILLOPN): Likewise.
14330 (ILL_ILLADR): Likewise.
14331 (ILL_ILLTRP): Likewise.
14332 (ILL_PRVOPC): Likewise.
14333 (ILL_PRVREG): Likewise.
14334 (ILL_COPROC): Likewise.
14335 (ILL_BADSTK): Likewise.
14336 (FPE_INTDIV): Likewise.
14337 (FPE_INTOVF): Likewise.
14338 (FPE_FLTDIV): Likewise.
14339 (FPE_FLTOVF): Likewise.
14340 (FPE_FLTUND): Likewise.
14341 (FPE_FLTRES): Likewise.
14342 (FPE_FLTINV): Likewise.
14343 (FPE_FLTSUB): Likewise.
14344 (SEGV_MAPERR): Likewise.
14345 (SEGV_ACCERR): Likewise.
14346 (BUS_ADRALN): Likewise.
14347 (BUS_ADRERR): Likewise.
14348 (BUS_OBJERR): Likewise.
14349 (BUS_MCEERR_AR): Likewise.
14350 (BUS_MCEERR_AO): Likewise.
14351 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14352 (TRAP_TRACE): Likewise.
14353 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14355 (CLD_KILLED): Likewise.
14356 (CLD_DUMPED): Likewise.
14357 (CLD_TRAPPED): Likewise.
14358 (CLD_STOPPED): Likewise.
14359 (CLD_CONTINUED): Likewise.
14360 (POLL_IN): Likewise.
14361 (POLL_OUT): Likewise.
14362 (POLL_MSG): Likewise.
14363 (POLL_ERR): Likewise.
14364 (POLL_PRI): Likewise.
14365 (POLL_HUP): Likewise.
14366 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14367 (ILL_ILLOPN): Likewise.
14368 (ILL_ILLADR): Likewise.
14369 (ILL_ILLTRP): Likewise.
14370 (ILL_PRVOPC): Likewise.
14371 (ILL_PRVREG): Likewise.
14372 (ILL_COPROC): Likewise.
14373 (ILL_BADSTK): Likewise.
14374 (ILL_DBLFLT): Likewise.
14375 (ILL_HARDWALL): Likewise.
14376 (FPE_INTDIV): Likewise.
14377 (FPE_INTOVF): Likewise.
14378 (FPE_FLTDIV): Likewise.
14379 (FPE_FLTOVF): Likewise.
14380 (FPE_FLTUND): Likewise.
14381 (FPE_FLTRES): Likewise.
14382 (FPE_FLTINV): Likewise.
14383 (FPE_FLTSUB): Likewise.
14384 (SEGV_MAPERR): Likewise.
14385 (SEGV_ACCERR): Likewise.
14386 (BUS_ADRALN): Likewise.
14387 (BUS_ADRERR): Likewise.
14388 (BUS_OBJERR): Likewise.
14389 (BUS_MCEERR_AR): Likewise.
14390 (BUS_MCEERR_AO): Likewise.
14391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14392 (TRAP_TRACE): Likewise.
14393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14395 (CLD_KILLED): Likewise.
14396 (CLD_DUMPED): Likewise.
14397 (CLD_TRAPPED): Likewise.
14398 (CLD_STOPPED): Likewise.
14399 (CLD_CONTINUED): Likewise.
14400 (POLL_IN): Likewise.
14401 (POLL_OUT): Likewise.
14402 (POLL_MSG): Likewise.
14403 (POLL_ERR): Likewise.
14404 (POLL_PRI): Likewise.
14405 (POLL_HUP): Likewise.
14406 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14407 (ILL_ILLOPN): Likewise.
14408 (ILL_ILLADR): Likewise.
14409 (ILL_ILLTRP): Likewise.
14410 (ILL_PRVOPC): Likewise.
14411 (ILL_PRVREG): Likewise.
14412 (ILL_COPROC): Likewise.
14413 (ILL_BADSTK): Likewise.
14414 (FPE_INTDIV): Likewise.
14415 (FPE_INTOVF): Likewise.
14416 (FPE_FLTDIV): Likewise.
14417 (FPE_FLTOVF): Likewise.
14418 (FPE_FLTUND): Likewise.
14419 (FPE_FLTRES): Likewise.
14420 (FPE_FLTINV): Likewise.
14421 (FPE_FLTSUB): Likewise.
14422 (SEGV_MAPERR): Likewise.
14423 (SEGV_ACCERR): Likewise.
14424 (BUS_ADRALN): Likewise.
14425 (BUS_ADRERR): Likewise.
14426 (BUS_OBJERR): Likewise.
14427 (BUS_MCEERR_AR): Likewise.
14428 (BUS_MCEERR_AO): Likewise.
14429 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14430 (TRAP_TRACE): Likewise.
14431 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14433 (CLD_KILLED): Likewise.
14434 (CLD_DUMPED): Likewise.
14435 (CLD_TRAPPED): Likewise.
14436 (CLD_STOPPED): Likewise.
14437 (CLD_CONTINUED): Likewise.
14438 (POLL_IN): Likewise.
14439 (POLL_OUT): Likewise.
14440 (POLL_MSG): Likewise.
14441 (POLL_ERR): Likewise.
14442 (POLL_PRI): Likewise.
14443 (POLL_HUP): Likewise.
14444 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14445 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14448 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14449 before #include of <time.h>.
14450 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14451 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14452 (test-xfail-UNIX98/sched.h/conform): Likewise.
14454 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14456 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14457 error absence of trapping exception support.
14458 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14460 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14462 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14463 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14464 * timezone/Makefile (testdata): Move definition above include of
14466 (test-zones): New variable.
14467 (tests-special): Add zone files.
14468 (build-testdata): Use $(evaluate-test).
14470 * elf/Makefile (tests-special): Rename tests to end with .out.
14471 ($(objpfx)noload-mem): Likewise.
14472 ($(objpfx)tst-leaks1-mem): Likewise.
14473 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14474 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14475 $(objpfx)test-iconvconfig.out.
14476 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14477 set -e inside subshell and redirect output to file.
14478 * iconvdata/Makefile (generated): Rename tests to end with .out.
14480 (tests-special): Rename tests to end with .out.
14481 ($(objpfx)mtrace-tst-loading): Likewise.
14482 * intl/Makefile (generated): Likewise.
14483 (tests-special): Likewise.
14484 ($(objpfx)mtrace-tst-gettext): Likewise.
14485 * misc/Makefile (generated): Likewise.
14486 (tests-special): Likewise.
14487 ($(objpfx)tst-error1-mem): Likewise.
14488 * nptl/Makefile (tests-special): Likewise.
14489 ($(objpfx)tst-stack3-mem): Likewise.
14490 (generated): Likewise.
14491 * posix/Makefile (generated): Likewise.
14492 (tests-special): Likewise.
14493 (xtests-special): Likewise.
14494 ($(objpfx)tst-fnmatch-mem): Likewise.
14495 ($(objpfx)bug-regex2-mem): Likewise.
14496 ($(objpfx)bug-regex14-mem): Likewise.
14497 ($(objpfx)bug-regex21-mem): Likewise.
14498 ($(objpfx)bug-regex31-mem): Likewise.
14499 ($(objpfx)tst-vfork3-mem): Likewise.
14500 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14501 ($(objpfx)tst-pcre-mem): Likewise.
14502 ($(objpfx)tst-boost-mem): Likewise.
14503 ($(objpfx)bug-ga2-mem): Likewise.
14504 ($(objpfx)bug-glob2-mem): Likewise.
14505 * resolv/Makefile (generate): Likewise.
14506 (tests-special): Likewise.
14507 (xtests-special): Likewise.
14508 (generated): Likewise.
14509 ($(objpfx)mtrace-tst-leaks): Likewise.
14510 ($(objpfx)mtrace-tst-leaks2): Likewise.
14512 * scripts/merge-test-results.sh: New file.
14513 * Makefile (tests-special-notdir): New variable.
14514 (tests): Run merge-test-results.sh.
14515 (xtests): Likewise.
14516 * Rules (tests-special-notdir): New variable.
14517 (xtests-special-notdir): Likewise.
14518 (tests): Run merge-test-results.sh
14519 (xtests): Likewise.
14521 * Makeconfig (test-xfail-name): New variable.
14522 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14523 compute variable name for expected failures.
14524 * conform/Makefile (conformtest-headers-data): New variable.
14525 (conformtest-standards): Likewise.
14526 (conformtest-headers-ISO): Likewise.
14527 (conformtest-headers-ISO99): Likewise.
14528 (conformtest-headers-ISO11): Likewise.
14529 (conformtest-headers-POSIX): Likewise.
14530 (conformtest-headers-XPG3): Likewise.
14531 (conformtest-headers-XPG4): Likewise.
14532 (conformtest-headers-UNIX98): Likewise.
14533 (conformtest-headers-XOPEN2K): Likewise.
14534 (conformtest-headers-POSIX2008): Likewise.
14535 (conformtest-headers-XOPEN2K8): Likewise.
14536 (conformtest-header-list-base): Likewise.
14537 (conformtest-header-list-tests): Likewise.
14538 (conformtest-header-base): Likewise.
14539 (conformtest-header-tests): Likewise.
14540 (tests-special): Add $(conformtest-header-list-tests). If
14541 [$(fast-check) && !$(cross-compiling)], add
14542 $(conformtest-header-tests) instead of
14543 $(objpfx)run-conformtest.out.
14544 (generated): Add $(conformtest-header-list-base). If
14545 [$(fast-check) && !$(cross-compiling)], add
14546 $(conformtest-header-base). Remove previous setting.
14547 ($(conformtest-header-list-tests)): New target.
14548 (test-xfail-run-conformtest): Remove variable.
14549 ($(objpfx)run-conformtest.out): Remove target.
14550 (test-xfail-ISO11/complex.h/conform): New variable.
14551 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14552 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14553 (test-xfail-XPG3/varargs.h/conform): Likewise.
14554 (test-xfail-XPG4/varargs.h/conform): Likewise.
14555 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14556 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14557 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14558 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14559 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14560 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14561 (test-xfail-XPG3/ftw.h/conform): Likewise.
14562 (test-xfail-XPG3/grp.h/conform): Likewise.
14563 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14564 (test-xfail-XPG3/limits.h/conform): Likewise.
14565 (test-xfail-XPG3/pwd.h/conform): Likewise.
14566 (test-xfail-XPG3/search.h/conform): Likewise.
14567 (test-xfail-XPG3/signal.h/conform): Likewise.
14568 (test-xfail-XPG3/stdio.h/conform): Likewise.
14569 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14570 (test-xfail-XPG3/string.h/conform): Likewise.
14571 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14572 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14573 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14574 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14575 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14576 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14577 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14578 (test-xfail-XPG3/termios.h/conform): Likewise.
14579 (test-xfail-XPG3/time.h/conform): Likewise.
14580 (test-xfail-XPG3/unistd.h/conform): Likewise.
14581 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14582 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14583 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14584 (test-xfail-XPG4/netdb.h/conform): Likewise.
14585 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14586 (test-xfail-XPG4/signal.h/conform): Likewise.
14587 (test-xfail-XPG4/stdio.h/conform): Likewise.
14588 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14589 (test-xfail-XPG4/stropts.h/conform): Likewise.
14590 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14591 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14592 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14593 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14594 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14595 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14596 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14597 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14598 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14599 (test-xfail-XPG4/termios.h/conform): Likewise.
14600 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14601 (test-xfail-XPG4/unistd.h/conform): Likewise.
14602 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14603 (test-xfail-POSIX/sched.h/conform): Likewise.
14604 (test-xfail-POSIX/signal.h/conform): Likewise.
14605 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14606 (test-xfail-POSIX/tar.h/conform): Likewise.
14607 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14608 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14609 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14610 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14611 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14612 (test-xfail-UNIX98/sched.h/conform): Likewise.
14613 (test-xfail-UNIX98/signal.h/conform): Likewise.
14614 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14615 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14616 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14617 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14618 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14619 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14620 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14621 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14622 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14623 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14624 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14625 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14626 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14627 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14628 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14629 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14630 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14631 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14632 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14633 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14634 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14635 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14636 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14637 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14638 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14639 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14640 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14641 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14642 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14643 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14644 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14645 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14646 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14647 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14648 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14649 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14650 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14651 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14652 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14653 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14654 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14655 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14656 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14657 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14658 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14659 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14660 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14661 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14662 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14663 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14664 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14665 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14666 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14667 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14668 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14669 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14670 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14671 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14672 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14673 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14674 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14675 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14676 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14677 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14678 (conformtest-cc-flags): Likewise.
14679 ($(conformtest-header-tests): New target.
14680 * conform/check-header-lists.sh: New file.
14681 * conform/run-conformtest.sh: Remove.
14683 * conform/conformtest.pl: Allow ' and \ in values given for
14685 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14687 [POSIX] (sys/types.h): Likewise.
14688 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14690 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14692 * conform/data/signal.h-data (SIGIO): Remove expectation.
14693 [XPG3] (SIGBUS): Do not expect.
14694 [POSIX || XPG3] (SIGPOLL): Likewise.
14695 [POSIX || XPG3] (SIGPROF): Likewise.
14696 [POSIX || XPG3] (SIGSYS): Likewise.
14697 [XPG3] (SIGTRAP): Likewise.
14698 [POSIX || XPG3] (SIGURG): Likewise.
14699 [POSIX || XPG3] (SIGVTALRM): Likewise.
14700 [POSIX || XPG3] (SIGXCPU): Likewise.
14701 [POSIX || XPG3] (SIGXFSZ): Likewise.
14702 [POSIX] (SA_SIGINFO): Expect.
14703 [XPG3] (siginfo_t): Do not expect type or contents.
14704 [POSIX] (si_pid): Do not expect element.
14705 [POSIX] (si_uid): Likewise.
14706 [POSIX] (si_addr): Likewise.
14707 [POSIX] (si_status): Likewise.
14708 [POSIX] (si_band): Likewise.
14709 [XPG4] (si_value): Likewise.
14710 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14711 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14712 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14713 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14714 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14715 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14716 [POSIX || XPG3] (ILL_COPROC): Likewise.
14717 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14718 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14719 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14720 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14721 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14722 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14723 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14724 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14725 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14726 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14727 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14728 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14729 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14730 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14731 [POSIX || XPG3] (CLD_EXITED): Likewise.
14732 [POSIX || XPG3] (CLD_KILLED): Likewise.
14733 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14734 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14735 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14736 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14737 [POSIX || XPG3] (POLL_IN): Likewise.
14738 [POSIX || XPG3] (POLL_OUT): Likewise.
14739 [POSIX || XPG3] (POLL_MSG): Likewise.
14740 [POSIX || XPG3] (POLL_ERR): Likewise.
14741 [POSIX || XPG3] (POLL_PRI): Likewise.
14742 [POSIX || XPG3] (POLL_HUP): Likewise.
14743 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14744 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14745 (SIG*): Do not allow.
14746 [XPG3] (si_*): Likewise.
14747 [XPG3] (SI_*): Likewise.
14748 [XPG3 || XPG4] (sigev_*): Likewise.
14749 [XPG3 || XPG4] (SIGEV_*): Likewise.
14750 [XPG3 || XPG4] (sival_*): Likewise.
14751 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14752 [POSIX || XPG3] (BUS_*): Likewise.
14753 [POSIX || XPG3] (CLD_*): Likewise.
14754 [POSIX || XPG3] (FPE_*): Likewise.
14755 [POSIX || XPG3] (ILL_*): Likewise.
14756 [POSIX || XPG3] (POLL_*): Likewise.
14757 [POSIX || XPG3] (SEGV_*): Likewise.
14758 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14759 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14760 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14761 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14762 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14763 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14764 Specify type and value.
14765 (TVERSLEN): Likewise.
14766 (REGTYPE): Likewise.
14767 (AREGTYPE): Likewise.
14768 (LNKTYPE): Likewise.
14769 (SYMTYPE): Likewise.
14770 (CHRTYPE): Likewise.
14771 (BLKTYPE): Likewise.
14772 (DIRTYPE): Likewise.
14773 (FIFOTYPE): Likewise.
14774 (CONTTYPE): Likewise.
14778 (TUREAD): Likewise.
14779 (TUWRITE): Likewise.
14780 (TUEXEC): Likewise.
14781 (TGREAD): Likewise.
14782 (TGWRITE): Likewise.
14783 (TGEXEC): Likewise.
14784 (TOREAD): Likewise.
14785 (TOWRITE): Likewise.
14786 (TOEXEC): Likewise.
14787 [POSIX] (TSVTX): Expect constant.
14789 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14791 * Makefile (tests): Change dependencies to ....
14792 (tests-special): ... additions to this variable.
14793 (tests): Depend on $(tests-special).
14794 * Makerules (check-abi-list): New variable.
14795 (check-abi): Depend on $(check-abi-list).
14796 [$(subdir) = elf] (tests-special): Add
14797 $(objpfx)check-abi-libc.out.
14798 [$(build-shared) = yes && subdir] (tests-special): Add
14800 [$(build-shared) = yes && subdir] (tests): Do not depend on
14802 * Rules (tests): Depend on $(tests-special).
14803 (xtests): Depend on $(xtests-special).
14804 * catgets/Makefile (tests): Change dependencies to ....
14805 (tests-special): ... additions to this variable.
14806 * conform/Makefile (tests): Change dependencies to ....
14807 (tests-special): ... additions to this variable.
14808 * elf/Makefile (tests): Change dependencies to ....
14809 (tests-special): ... additions to this variable.
14810 * grp/Makefile (tests): Change dependencies to ....
14811 (tests-special): ... additions to this variable.
14812 * iconv/Makefile (xtests): Change dependencies to ....
14813 (xtests-special): ... additions to this variable.
14814 * iconvdata/Makefile (tests): Change dependencies to ....
14815 (tests-special): ... additions to this variable.
14816 * intl/Makefile (tests): Change dependencies to ....
14817 (tests-special): ... additions to this variable. Also add
14818 $(objpfx)tst-gettext.out.
14819 * io/Makefile (tests): Change dependencies to ....
14820 (tests-special): ... additions to this variable.
14821 * libio/Makefile (tests): Change dependencies to ....
14822 (tests-special): ... additions to this variable.
14823 * malloc/Makefile (tests): Change dependencies to ....
14824 (tests-special): ... additions to this variable.
14825 * misc/Makefile (tests): Change dependencies to ....
14826 (tests-special): ... additions to this variable.
14827 * nptl/Makefile (tests): Change dependencies to ....
14828 (tests-special): ... additions to this variable.
14829 * nptl_db/Makefile (tests): Change dependencies to ....
14830 (tests-special): ... additions to this variable.
14831 * posix/Makefile (tests): Change dependencies to ....
14832 (tests-special): ... additions to this variable.
14833 (xtests): Change dependencies to ....
14834 (xtests-special): ... additions to this variable.
14835 * resolv/Makefile (tests): Change dependencies to ....
14836 (tests-special): ... additions to this variable.
14837 (xtests): Change dependencies to ....
14838 (xtests-special): ... additions to this variable.
14839 * stdio-common/Makefile (tests): Change dependencies to ....
14840 (tests-special): ... additions to this variable.
14841 (do-tst-unbputc): Remove target.
14842 (do-tst-printf): Likewise.
14843 * stdlib/Makefile (tests): Change dependencies to ....
14844 (tests-special): ... additions to this variable.
14845 * string/Makefile (tests): Change dependencies to ....
14846 (tests-special): ... additions to this variable.
14847 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14848 (tests-special): ... additions to this variable.
14850 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14852 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14854 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14855 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14857 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14858 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14859 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14860 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14861 * conform/data/libgen.h-data [XPG3]: Likewise.
14862 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14863 * conform/data/ndbm.h-data [XPG3]: Likewise.
14864 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14865 * conform/data/netdb.h-data [XPG3]: Likewise.
14866 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14867 * conform/data/poll.h-data [XPG3]: Likewise.
14868 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14869 * conform/data/strings.h-data [XPG3]: Likewise.
14870 * conform/data/stropts.h-data [XPG3]: Likewise.
14871 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14872 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14873 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14875 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14876 * conform/data/sys/time.h-data [XPG3]: Likewise.
14877 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14878 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14879 * conform/data/sys/un.h-data [XPG3]: Likewise.
14880 * conform/data/syslog.h-data [XPG3]: Likewise.
14881 * conform/data/ucontext.h-data [XPG3]: Likewise.
14882 * conform/data/utmpx.h-data [XPG3]: Likewise.
14883 * conform/data/varargs.h-data [UNIX98]: Enable file.
14885 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14887 * math/libm-test.inc (struct test_f_f_data): Move expected results
14888 into structure for each rounding mode.
14889 (struct test_ff_f_data): Likewise.
14890 (struct test_ff_f_data_nexttoward): Likewise.
14891 (struct test_fi_f_data): Likewise.
14892 (struct test_fl_f_data): Likewise.
14893 (struct test_if_f_data): Likewise.
14894 (struct test_fff_f_data): Likewise.
14895 (struct test_c_f_data): Likewise.
14896 (struct test_f_f1_data): Likewise.
14897 (struct test_fF_f1_data): Likewise.
14898 (struct test_ffI_f1_data): Likewise.
14899 (struct test_c_c_data): Likewise.
14900 (struct test_cc_c_data): Likewise.
14901 (struct test_f_i_data): Likewise.
14902 (struct test_ff_i_data): Likewise.
14903 (struct test_f_l_data): Likewise.
14904 (struct test_f_L_data): Likewise.
14905 (struct test_fFF_11_data): Likewise.
14907 (RM_FE_DOWNWARD): Likewise.
14908 (RM_FE_TONEAREST): Likewise.
14909 (RM_FE_TOWARDZERO): Likewise.
14910 (RM_FE_UPWARD): Likewise.
14911 (RUN_TEST_LOOP_f_f): Update references to expected results.
14912 (RUN_TEST_LOOP_2_f): Likewise.
14913 (RUN_TEST_LOOP_fff_f): Likewise.
14914 (RUN_TEST_LOOP_c_f): Likewise.
14915 (RUN_TEST_LOOP_f_f1): Likewise.
14916 (RUN_TEST_LOOP_fF_f1): Likewise.
14917 (RUN_TEST_LOOP_fI_f1): Likewise.
14918 (RUN_TEST_LOOP_ffI_f1): Likewise.
14919 (RUN_TEST_LOOP_c_c): Likewise.
14920 (RUN_TEST_LOOP_cc_c): Likewise.
14921 (RUN_TEST_LOOP_f_i): Likewise.
14922 (RUN_TEST_LOOP_f_i_tg): Likewise.
14923 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14924 (RUN_TEST_LOOP_f_b): Likewise.
14925 (RUN_TEST_LOOP_f_b_tg): Likewise.
14926 (RUN_TEST_LOOP_f_l): Likewise.
14927 (RUN_TEST_LOOP_f_L): Likewise.
14928 (RUN_TEST_LOOP_fFF_11): Likewise.
14929 * math/gen-libm-test.pl (parse_args): Output four copies of
14930 expected results for each test.
14932 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14933 (__ASSUME_UTIMES): Remove.
14934 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14935 (__ASSUME_UTIMES): Likewise.
14937 * math/gen-auto-libm-tests.c: Update comment on output format.
14938 (output_for_one_input_case): Generate before-rounding and
14939 after-rounding information as conditions on output flags not
14940 floating-point format.
14941 * math/auto-libm-test-out: Regenerated.
14942 * math/gen-libm-test.pl (cond_value): New function.
14943 (or_cond_value): Use cond_value.
14944 (generate_testfile): Handle conditional exceptions.
14946 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14948 * math/libm-test.inc (max_valid_error): New variable.
14949 (init_max_error): Take new argument specifying whether function
14950 results are exactly determined. Set max_valid_error and bound
14951 other variables for errors based on this argument.
14952 (set_max_error): Do not record results above max_valid_error.
14953 (check_float_internal): Only accept errors of up to 0.5ulps if
14954 also at most max_valid_error.
14955 (START): Take new argument EXACT and pass it to init_max_error.
14956 (acos_test): Update call to START.
14957 (acos_test_tonearest): Likewise.
14958 (acos_test_towardzero): Likewise.
14959 (acos_test_downward): Likewise.
14960 (acos_test_upward): Likewise.
14961 (acosh_test): Likewise.
14962 (asin_test): Likewise.
14963 (asin_test_tonearest): Likewise.
14964 (asin_test_towardzero): Likewise.
14965 (asin_test_downward): Likewise.
14966 (asin_test_upward): Likewise.
14967 (asinh_test): Likewise.
14968 (atan_test): Likewise.
14969 (atanh_test): Likewise.
14970 (atan2_test): Likewise.
14971 (cabs_test): Likewise.
14972 (cacos_test): Likewise.
14973 (cacosh_test): Likewise.
14974 (carg_test): Likewise.
14975 (casin_test): Likewise.
14976 (casinh_test): Likewise.
14977 (catan_test): Likewise.
14978 (catanh_test): Likewise.
14979 (cbrt_test): Likewise.
14980 (ccos_test): Likewise.
14981 (ccosh_test): Likewise.
14982 (ceil_test): Likewise.
14983 (cexp_test): Likewise.
14984 (cimag_test): Likewise.
14985 (clog_test): Likewise.
14986 (clog10_test): Likewise.
14987 (conj_test): Likewise.
14988 (copysign_test): Likewise.
14989 (cos_test): Likewise.
14990 (cos_test_tonearest): Likewise.
14991 (cos_test_towardzero): Likewise.
14992 (cos_test_downward): Likewise.
14993 (cos_test_upward): Likewise.
14994 (cosh_test): Likewise.
14995 (cosh_test_tonearest): Likewise.
14996 (cosh_test_towardzero): Likewise.
14997 (cosh_test_downward): Likewise.
14998 (cosh_test_upward): Likewise.
14999 (cpow_test): Likewise.
15000 (cproj_test): Likewise.
15001 (creal_test): Likewise.
15002 (csin_test): Likewise.
15003 (csinh_test): Likewise.
15004 (csqrt_test): Likewise.
15005 (ctan_test): Likewise.
15006 (ctan_test_tonearest): Likewise.
15007 (ctan_test_towardzero): Likewise.
15008 (ctan_test_downward): Likewise.
15009 (ctan_test_upward): Likewise.
15010 (ctanh_test): Likewise.
15011 (ctanh_test_tonearest): Likewise.
15012 (ctanh_test_towardzero): Likewise.
15013 (ctanh_test_downward): Likewise.
15014 (ctanh_test_upward): Likewise.
15015 (erf_test): Likewise.
15016 (erfc_test): Likewise.
15017 (exp_test): Likewise.
15018 (exp_test_tonearest): Likewise.
15019 (exp_test_towardzero): Likewise.
15020 (exp_test_downward): Likewise.
15021 (exp_test_upward): Likewise.
15022 (exp10_test): Likewise.
15023 (exp10_test_tonearest): Likewise.
15024 (exp10_test_towardzero): Likewise.
15025 (exp10_test_downward): Likewise.
15026 (exp10_test_upward): Likewise.
15027 (pow10_test): Likewise.
15028 (exp2_test): Likewise.
15029 (expm1_test): Likewise.
15030 (expm1_test_tonearest): Likewise.
15031 (expm1_test_towardzero): Likewise.
15032 (expm1_test_downward): Likewise.
15033 (expm1_test_upward): Likewise.
15034 (fabs_test): Likewise.
15035 (fdim_test): Likewise.
15036 (floor_test): Likewise.
15037 (fma_test): Likewise.
15038 (fma_test_towardzero): Likewise.
15039 (fma_test_downward): Likewise.
15040 (fma_test_upward): Likewise.
15041 (fmax_test): Likewise.
15042 (fmin_test): Likewise.
15043 (fmod_test): Likewise.
15044 (fpclassify_test): Likewise.
15045 (frexp_test): Likewise.
15046 (hypot_test): Likewise.
15047 (ilogb_test): Likewise.
15048 (isfinite_test): Likewise.
15049 (finite_test): Likewise.
15050 (isgreater_test): Likewise.
15051 (isgreaterequal_test): Likewise.
15052 (isinf_test): Likewise.
15053 (isless_test): Likewise.
15054 (islessequal_test): Likewise.
15055 (islessgreater_test): Likewise.
15056 (isnan_test): Likewise.
15057 (isnormal_test): Likewise.
15058 (issignaling_test): Likewise.
15059 (isunordered_test): Likewise.
15060 (j0_test): Likewise.
15061 (j1_test): Likewise.
15062 (jn_test): Likewise.
15063 (ldexp_test): Likewise.
15064 (lgamma_test): Likewise.
15065 (gamma_test): Likewise.
15066 (lrint_test): Likewise.
15067 (lrint_test_tonearest): Likewise.
15068 (lrint_test_towardzero): Likewise.
15069 (lrint_test_downward): Likewise.
15070 (lrint_test_upward): Likewise.
15071 (llrint_test): Likewise.
15072 (llrint_test_tonearest): Likewise.
15073 (llrint_test_towardzero): Likewise.
15074 (llrint_test_downward): Likewise.
15075 (llrint_test_upward): Likewise.
15076 (log_test): Likewise.
15077 (log10_test): Likewise.
15078 (log1p_test): Likewise.
15079 (log2_test): Likewise.
15080 (logb_test): Likewise.
15081 (logb_test_downward): Likewise.
15082 (lround_test): Likewise.
15083 (llround_test): Likewise.
15084 (modf_test): Likewise.
15085 (nearbyint_test): Likewise.
15086 (nextafter_test): Likewise.
15087 (nexttoward_test): Likewise.
15088 (pow_test): Likewise.
15089 (pow_test_tonearest): Likewise.
15090 (pow_test_towardzero): Likewise.
15091 (pow_test_downward): Likewise.
15092 (pow_test_upward): Likewise.
15093 (remainder_test): Likewise.
15094 (drem_test): Likewise.
15095 (remainder_test_tonearest): Likewise.
15096 (drem_test_tonearest): Likewise.
15097 (remainder_test_towardzero): Likewise.
15098 (drem_test_towardzero): Likewise.
15099 (remainder_test_downward): Likewise.
15100 (drem_test_downward): Likewise.
15101 (remainder_test_upward): Likewise.
15102 (drem_test_upward): Likewise.
15103 (remquo_test): Likewise.
15104 (rint_test): Likewise.
15105 (rint_test_tonearest): Likewise.
15106 (rint_test_towardzero): Likewise.
15107 (rint_test_downward): Likewise.
15108 (rint_test_upward): Likewise.
15109 (round_test): Likewise.
15110 (scalb_test): Likewise.
15111 (scalbn_test): Likewise.
15112 (scalbln_test): Likewise.
15113 (signbit_test): Likewise.
15114 (sin_test): Likewise.
15115 (sin_test_tonearest): Likewise.
15116 (sin_test_towardzero): Likewise.
15117 (sin_test_downward): Likewise.
15118 (sin_test_upward): Likewise.
15119 (sincos_test): Likewise.
15120 (sinh_test): Likewise.
15121 (sinh_test_tonearest): Likewise.
15122 (sinh_test_towardzero): Likewise.
15123 (sinh_test_downward): Likewise.
15124 (sinh_test_upward): Likewise.
15125 (sqrt_test): Likewise.
15126 (sqrt_test_tonearest): Likewise.
15127 (sqrt_test_towardzero): Likewise.
15128 (sqrt_test_downward): Likewise.
15129 (sqrt_test_upward): Likewise.
15130 (tan_test): Likewise.
15131 (tan_test_tonearest): Likewise.
15132 (tan_test_towardzero): Likewise.
15133 (tan_test_downward): Likewise.
15134 (tan_test_upward): Likewise.
15135 (tanh_test): Likewise.
15136 (tgamma_test): Likewise.
15137 (trunc_test): Likewise.
15138 (y0_test): Likewise.
15139 (y1_test): Likewise.
15140 (yn_test): Likewise.
15141 (significand_test): Likewise.
15143 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15144 individual tests in comment.
15145 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15146 (prev_max_error): New variable.
15147 (prev_real_max_error): Likewise.
15148 (prev_imag_max_error): Likewise.
15149 (compare_ulp_data): Don't refer to test names in comment.
15150 (find_test_ulps): Remove function.
15151 (find_function_ulps): Likewise.
15152 (find_complex_function_ulps): Likewise.
15153 (init_max_error): Take function name as argument. Look up ulps
15155 (print_ulps): Remove function.
15156 (print_max_error): Use prev_max_error instead of calling
15157 find_function_ulps.
15158 (print_complex_max_error): Use prev_real_max_error and
15159 prev_imag_max_error instead of calling find_complex_function_ulps.
15160 (check_float_internal): Take max_ulp parameter instead of calling
15161 find_test_ulps. Don't call print_ulps.
15162 (check_float): Update call to check_float_internal.
15163 (check_complex): Update calls to check_float_internal.
15164 (START): Pass argument to init_max_error.
15165 * math/gen-libm-test.pl (%results): Don't include "kind"
15167 (parse_ulps): Don't handle ulps of individual tests.
15168 (print_ulps_file): Likewise.
15169 (output_ulps): Likewise.
15170 * math/README.libm-test: Update.
15171 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15173 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15174 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15175 * sysdeps/arm/libm-test-ulps: Likewise.
15176 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15177 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15178 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15179 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15180 * sysdeps/microblaze/libm-test-ulps: Likewise.
15181 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15182 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15183 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15184 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15185 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15186 * sysdeps/sh/libm-test-ulps: Likewise.
15187 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15188 * sysdeps/tile/libm-test-ulps: Likewise.
15189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15191 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15193 * math/libm-test.inc (print_complex_max_error): Check separately
15194 whether real and imaginary errors are within allowed range and
15195 pass 0 to print_complex_function_ulps instead of value within
15198 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15200 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15202 (get_handles_fopen): Likewise.
15203 (do_write_test): Likewise.
15205 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15207 * libio/fileops.c (do_ftell): Use cached offset when
15209 * libio/iofwide.c (do_ftell_wide): Likewise.
15210 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15212 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15215 * libio/libioP.h (get_file_offset): New function.
15216 * libio/fileops.c (get_file_offset): Likewise.
15217 (do_ftell): Likewise.
15218 (_IO_new_file_seekoff): Split out ftell logic.
15219 * libio/wfileops.c (do_ftell_wide): Likewise.
15220 (_IO_wfile_seekoff): Split out ftell logic.
15221 * libio/tst-ftell-active-handler.c: New test case.
15222 * libio/Makefile (tests): Add it.
15224 2014-03-03 Roland McGrath <roland@hack.frob.com>
15226 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15227 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15229 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15232 * nscd/connections.c (nscd_init): Call do_exit.
15233 (start_threads): Call do_exit and notify_parent.
15234 (begin_drop_privileges): Call do_exit.
15235 (finish_drop_privileges): Likewise.
15236 * nscd/selinux.c (preserve_capabilities): Likewise.
15237 (install_real_capabilities): Likewise.
15238 (nscd_selinux_enabled): Likewise.
15239 (avc_create_thread): Likewise.
15240 (avc_alloc_lock): Likewise.
15241 (nscd_avc_init): Likewise.
15242 * nscd/nscd.c (parent_fd): New static variable.
15243 (main): Create a pipe between parent and child processes.
15244 Skip closing parent_fd.
15245 (monitor_child): New function.
15246 (do_exit): Likewise.
15247 (notify_parent): Likewise.
15248 * nscd/nscd.h (notify_parent): Likewise.
15249 (do_exit): Likewise.
15251 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15253 * malloc/malloc.c (__libc_calloc): Revert last change.
15255 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15259 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15261 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15262 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15264 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15265 (__libc_ifunc_impl_list): Likewise.
15266 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15267 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15268 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15269 * string/strrchr.c: Define STRRCHR.
15271 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15273 * benchtest/bench-strtok.c (simple_strtok): Delete.
15274 (strtok_string): Use as benchmark.
15275 * string/strtok (STRTOK): New macro.
15277 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15279 * manual/threads.texi: Add header and standard comments to all
15282 * elf/dl-lookup.c (check_match): New function.
15283 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15284 (do_lookup_x): Remove nested function check_match. Use non-nested
15285 function check_match.
15287 2014-02-28 Roland McGrath <roland@hack.frob.com>
15289 * csu/Makefile (generated, before-compile): Use += rather than =.
15290 * catgets/Makefile (generated, generated-dirs): Likewise.
15291 * debug/Makefile (generated): Likewise.
15292 * dlfcn/Makefile (generated): Likewise.
15293 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15294 * iconvdata/Makefile (before-compile, generated): Likewise.
15295 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15296 * libio/Makefile (generated): Likewise.
15297 * malloc/Makefile (generated): Likewise.
15298 * manual/Makefile (generated, generated-dirs): Likewise.
15299 * misc/Makefile (generated): Likewise.
15300 * posix/Makefile (generated): Likewise.
15301 * resolv/Makefile (generated): Likewise.
15302 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15303 * timezone/Makefile (generated, generated-dirs): Likewise.
15305 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15307 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15310 power8 implementation.
15311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15312 file: POWER8 llround ifunc implementation.
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15314 (__lllround): Add POWER8 implementation.
15315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15316 POWER8 llround implementation.
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15319 power8 implementation.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15321 file: POWER8 llrint ifunc implementation.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15323 Add POWER8 implementation.
15324 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15325 POWER8 llrint implementation.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15328 power8 implementation.
15329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15330 file: POWER8 finite ifunc implementation.
15331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15332 Add POWER8 implementation.
15333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15335 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15336 POWER8 finite implementation.
15337 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15340 power8 implementation.
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15342 file: POWER8 isinf ifunc implementation.
15343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15344 POWER8 implementation.
15345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15347 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15348 isinf implementation.
15349 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15351 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15352 (INIT_ARCH): Add hwcap2 initialization.
15353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15354 power8 implementation.
15355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15356 file: POWER8 isnan ifunc implementation.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15358 POWER8 implementation.
15359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15361 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15362 isnan implementation.
15363 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15365 2014-02-27 Joey Ye <joey.ye@arm.com>
15367 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15368 (_FP_NANFRAC_Q): Set to zero.
15370 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15373 * math/auto-libm-test-in: New test inputs.
15374 * math/auto-libm-test-out: Regenerate.
15375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15380 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15382 * scripts/evaluate-test.sh: Take new argument indicating whether
15383 failure is expected.
15384 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15385 indicating whether failure is expected.
15386 * conform/Makefile (test-xfail-run-conformtest): New variable.
15387 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15389 * posix/Makefile (test-xfail-annexc): New variable.
15390 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15392 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15394 * argp/Makefile: Include Makeconfig immediately after defining
15396 * assert/Makefile: Likewise.
15397 * benchtests/Makefile: Likewise.
15398 * catgets/Makefile: Likewise.
15399 * conform/Makefile: Likewise.
15400 * crypt/Makefile: Likewise.
15401 * csu/Makefile: Likewise.
15402 (all): Remove target.
15403 * ctype/Makefile: Include Makeconfig immediately after defining
15405 * debug/Makefile: Likewise.
15406 * dirent/Makefile: Likewise.
15407 * dlfcn/Makefile: Likewise.
15408 * gmon/Makefile: Likewise.
15409 * gnulib/Makefile: Likewise.
15410 * grp/Makefile: Likewise.
15411 * gshadow/Makefile: Likewise.
15412 * hesiod/Makefile: Likewise.
15413 * hurd/Makefile: Likewise.
15414 (all): Remove target.
15415 * iconvdata/Makefile: Include Makeconfig immediately after
15417 * inet/Makefile: Likewise.
15418 * intl/Makefile: Likewise.
15419 * io/Makefile: Likewise.
15420 * libio/Makefile: Likewise.
15421 (all): Remove target.
15422 * locale/Makefile: Include Makeconfig immediately after defining
15424 * login/Makefile: Likewise.
15425 * mach/Makefile: Likewise.
15426 (all): Remove target.
15427 * malloc/Makefile: Include Makeconfig immediately after defining
15429 (all): Remove target.
15430 * manual/Makefile: Include Makeconfig immediately after defining
15432 * math/Makefile: Likewise.
15433 * misc/Makefile: Likewise.
15434 * nis/Makefile: Likewise.
15435 * nss/Makefile: Likewise.
15436 * po/Makefile: Likewise.
15437 (all): Remove target.
15438 * posix/Makefile: Include Makeconfig immediately after defining
15440 * pwd/Makefile: Likewise.
15441 * resolv/Makefile: Likewise.
15442 * resource/Makefile: Likewise.
15443 * rt/Makefile: Likewise.
15444 * setjmp/Makefile: Likewise.
15445 * shadow/Makefile: Likewise.
15446 * signal/Makefile: Likewise.
15447 * socket/Makefile: Likewise.
15448 * soft-fp/Makefile: Likewise.
15449 * stdio-common/Makefile: Likewise.
15450 * stdlib/Makefile: Likewise.
15451 * streams/Makefile: Likewise.
15452 * string/Makefile: Likewise.
15453 * sunrpc/Makefile: Likewise.
15454 (all): Remove target.
15455 * sysvipc/Makefile: Include Makeconfig immediately after defining
15457 * termios/Makefile: Likewise.
15458 * time/Makefile: Likewise.
15459 * timezone/Makefile: Likewise.
15460 (all): Remove target.
15461 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15463 * wctype/Makefile: Likewise.
15465 2014-02-26 Steve Ellcey <sellcey@mips.com>
15467 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15468 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15469 (libc_feholdexcept_setround_mips): Ditto.
15470 (libc_feholdsetround): New.
15471 (libc_feholdsetroundf): New.
15472 (libc_feholdsetroundl): New.
15473 (libc_feupdateenv_test_mips): New.
15474 (libc_feupdateenv_test): New.
15475 (libc_feupdateenv_testf): New.
15476 (libc_feupdateenv_testl): New.
15477 (libc_feresetround): New.
15478 (libc_feresetroundf): New.
15479 (libc_feresetroundl): New.
15480 (libc_fetestexcept_mips): New.
15481 (libc_fetestexcept): New.
15482 (libc_fetestexceptf): New.
15483 (libc_fetestexceptl): New.
15484 (HAVE_RM_CTX): New.
15485 (libc_feholdexcept_setround_mips_ctx): New.
15486 (libc_feholdexcept_setround_ctx): New.
15487 (libc_feholdexcept_setroundf_ctx): New.
15488 (libc_feholdexcept_setroundl_ctx): New.
15489 (libc_fesetenv_mips_ctx): New.
15490 (libc_fesetenv_ctx): New.
15491 (libc_fesetenv_ctxf): New.
15492 (libc_fesetenv_ctxl): New.
15493 (libc_feupdateenv_mips_ctx): New.
15494 (libc_feupdateenv_ctx): New.
15495 (libc_feupdateenvf_ctx): New.
15496 (libc_feupdateenvl_ctx): New.
15497 (libc_feholdsetround_mips_ctx): New.
15498 (libc_feholdsetround_ctx): New.
15499 (libc_feholdsetroundf_ctx): New.
15500 (libc_feholdsetroundl_ctx): New.
15501 (libc_feresetround_mips_ctx): New.
15502 (libc_feresetround_ctx): New.
15503 (libc_feresetroundf_ctx): New.
15504 (libc_feresetroundl_ctx): New.
15506 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15508 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15510 * manual/ipc.texi: New file.
15511 * manual/Makefile (chapters): Add ipc.
15512 * manual/job.texi: Add "Inter-Process Communication" to next.
15513 * manual/process.texi: Add "Inter-Process Communication" to prev.
15515 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15519 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15521 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15523 * manual/arith.texi: Fix spaces after sentences.
15524 * manual/charset.texi: Likewise.
15525 * manual/errno.texi: Likewise.
15526 * manual/install.texi: Likewise.
15527 * manual/llio.texi: Likewise.
15528 * manual/locale.texi: Likewise.
15529 * manual/maint.texi: Likewise.
15530 * manual/math.texi: Likewise.
15531 * manual/memory.texi: Likewise.
15532 * manual/message.texi: Likewise.
15533 * manual/probes.texi: Likewise.
15534 * manual/resource.texi: Likewise.
15535 * manual/signal.texi: Likewise.
15536 * manual/socket.texi: Likewise.
15537 * manual/stdio.texi: Likewise.
15538 * manual/string.texi: Likewise.
15539 * manual/time.texi: Likewise.
15540 * manual/users.texi: Likewise.
15542 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15545 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15546 _DEFAULT_SOURCE is defined.
15548 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15549 Carlos O'Donell <carlos@redhat.com>
15552 * elf/dl-tls.c (_dl_count_modids): New function.
15553 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15554 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15555 audit library and increment generation counter.
15556 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15557 * elf/tst-audit9.c: New file.
15558 * elf/tst-auditmod9a.c: New file.
15559 * elf/tst-auditmod9b.c: New file.
15560 * elf/Makefile: Add rules to build and run tst-audit9.
15562 2014-02-25 Florian Weimer <fweimer@redhat.com>
15565 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15567 2014-02-25 Will Newton <will.newton@linaro.org>
15569 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15570 (__longjmp): Restore sp and lr before restoring callee
15571 saved registers. Add longjmp and longjmp_target
15572 SystemTap probe point.
15573 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15574 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15575 Define to zero to match jmpbuf layout.
15576 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15577 (__sigsetjmp): Save sp and lr before saving callee
15578 saved registers. Add setjmp SystemTap probe point.
15580 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15582 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15584 2014-02-24 Andreas Schwab <schwab@suse.de>
15587 * elf/pldd.c (wait_for_ptrace_stop): New function.
15588 (main): Call it after attaching.
15590 2014-02-22 Roland McGrath <roland@hack.frob.com>
15592 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15593 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15594 Versions files is now verboten.
15595 * hurd/Versions (libc: GLIBC_2.0):
15596 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15597 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15598 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15599 * mach/Versions: Likewise.
15601 * csu/Versions: Remove unused %include.
15602 * resolv/Versions: Likewise.
15604 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15606 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15607 ($(objpfx)check-local-headers.out): Likewise.
15608 ($(objpfx)begin-end-check.out): Likewise.
15609 * Makerules (check-abi-%.out): Likewise.
15610 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15611 ($(objpfx)test2.cat): Likewise.
15612 ($(objpfx)de/libc.cat): Likewise.
15613 ($(objpfx)test-gencat.out): Likewise.
15614 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15615 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15616 ($(objpfx)noload-mem): Likewise.
15617 ($(objpfx)tst-pathopt.out): Likewise.
15618 ($(objpfx)tst-rtld-load-self.out): Likewise.
15619 ($(objpfx)tst-array1-cmp.out): Likewise.
15620 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15621 ($(objpfx)tst-array2-cmp.out): Likewise.
15622 ($(objpfx)tst-array3-cmp.out): Likewise.
15623 ($(objpfx)tst-array4-cmp.out): Likewise.
15624 ($(objpfx)tst-array5-cmp.out): Likewise.
15625 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15626 ($(objpfx)check-textrel.out): Likewise.
15627 ($(objpfx)check-execstack.out): Likewise.
15628 ($(objpfx)check-localplt.out): Likewise.
15629 ($(objpfx)order2-cmp.out): Likewise.
15630 ($(objpfx)tst-leaks1-mem): Likewise.
15631 ($(objpfx)tst-leaks1-static-mem): Likewise.
15632 ($(objpfx)tst-initorder-cmp.out): Likewise.
15633 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15634 ($(objpfx)tst-unused-dep.out): Likewise.
15635 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15636 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15637 * iconv/Makefile (test-iconvconfig): Likewise.
15638 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15639 ($(objpfx)iconv-test.out): Likewise.
15640 ($(objpfx)tst-tables.out): Likewise.
15641 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15642 ($(objpfx)tst-gettext.out): Likewise.
15643 ($(objpfx)tst-translit.out): Likewise.
15644 ($(objpfx)tst-gettext2.out): Likewise.
15645 ($(objpfx)tst-gettext4.out): Likewise.
15646 ($(objpfx)tst-gettext6.out): Likewise.
15647 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15648 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15649 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15650 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15651 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15652 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15653 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15654 ($(objpfx)wordexp-tst.out): Likewise.
15655 ($(objpfx)annexc.out): Likewise.
15656 ($(objpfx)tst-fnmatch-mem): Likewise.
15657 ($(objpfx)bug-regex2-mem): Likewise.
15658 ($(objpfx)bug-regex14-mem): Likewise.
15659 ($(objpfx)bug-regex21-mem): Likewise.
15660 ($(objpfx)bug-regex31-mem): Likewise.
15661 ($(objpfx)tst-vfork3-mem): Likewise.
15662 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15663 ($(objpfx)tst-pcre-mem): Likewise.
15664 ($(objpfx)tst-boost-mem): Likewise.
15665 ($(objpfx)tst-getconf.out): Likewise.
15666 ($(objpfx)bug-ga2-mem): Likewise.
15667 ($(objpfx)bug-glob2-mem): Likewise.
15668 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15669 ($(objpfx)mtrace-tst-leaks2): Likewise.
15670 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15671 ($(objpfx)tst-printf.out): Likewise.
15672 ($(objpfx)tst-setvbuf1.out): Likewise.
15673 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15674 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15675 ($(objpfx)tst-fmtmsg.out): Likewise.
15676 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15677 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15679 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15680 * bits/sigaction.h [__USE_MISC]: Likewise.
15681 * bits/waitstatus.h: Update #endif comments.
15682 * ctype/ctype.h: Likewise.
15683 * dirent/dirent.h: Likewise.
15684 [__USE_MISC]: Remove redundant conditionals.
15685 * grp/grp.h: Update #endif comments.
15686 [__USE_GNU]: Remove redundant conditionals.
15687 [__USE_MISC]: Likewise.
15688 * inet/netinet/in.h [__USE_GNU]: Likewise.
15689 * io/sys/stat.h [__USE_MISC]: Likewise.
15690 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15691 * libio/bits/stdio.h: Update #endif comments.
15692 [__USE_MISC]: Remove redundant conditionals.
15693 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15694 * libio/stdio.h: Update #endif comments.
15695 [__USE_MISC]: Remove redundant conditionals.
15696 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15697 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15698 * math/math.h: Update #else and #endif comments.
15699 [__USE_MISC]: Remove redundant conditionals.
15700 * misc/sys/uio.h: Update #endif comments.
15701 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15702 * posix/glob.h [__USE_MISC]: Likewise.
15703 * posix/sys/types.h: Update #endif comments.
15704 [__USE_MISC]: Remove redundant conditionals.
15705 * posix/sys/wait.h: Update #endif comments.
15706 [__USE_MISC]: Remove redundant conditionals.
15707 * posix/unistd.h: Update #endif comments.
15708 [__USE_MISC]: Remove redundant conditionals.
15709 * pwd/pwd.h [__USE_GNU]: Likewise.
15710 [__USE_MISC]: Likewise.
15711 * resolv/netdb.h [__USE_GNU]: Likewise.
15712 * signal/signal.h: Update #endif comments.
15713 [__USE_MISC]: Remove redundant conditionals.
15714 * stdlib/stdlib.h: Update #else and #endif comments.
15715 [__USE_MISC]: Remove redundant conditionals.
15716 [__USE_GNU]: Likewise.
15717 * string/bits/string2.h [__USE_MISC]: Likewise.
15718 * string/string.h: Update #endif comments.
15719 [__USE_MISC]: Remove redundant conditionals.
15720 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15722 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15723 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15724 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15726 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15728 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15730 [__USE_MISC]: Remove redundant conditionals.
15731 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15732 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15733 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15734 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15735 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15737 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15738 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15740 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15741 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15743 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15745 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15746 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15748 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15750 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15751 * sysdeps/x86/bits/string.h: Update #endif comments.
15752 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15754 * time/sys/time.h: Update #endif comments.
15755 * time/time.h: Likewise.
15756 [__USE_MISC]: Remove redundant conditionals.
15758 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15761 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15763 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15765 * Versions.def (librt): Add GLIBC_2.17.
15767 2014-02-21 Adam Conrad <adconrad@0c3.net>
15769 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15770 synonym for _SYS_AUXV_H to allow direct inclusion.
15771 * sysdeps/sparc/bits/hwcap.h: Likewise.
15772 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15773 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15774 * sysdeps/sparc/sysdep.h: Likewise.
15776 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15778 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15780 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15782 * benchtests/bench-strrchr.c: Print length instead of position.
15784 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15787 * sysdeps/unix/sysv/linux/kernel-features.h
15788 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15789 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15790 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15791 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15793 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15794 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15795 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15796 (__ASSUME_SENDMMSG): Define instead of using previous
15797 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15798 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15799 (__ASSUME_SENDMMSG_SYSCALL): Define.
15800 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15801 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15803 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15804 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15806 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15807 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15809 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15810 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15811 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15812 [__ASSUME_SENDMMSG]: Change conditionals to
15813 [__ASSUME_SENDMMSG_SOCKETCALL].
15814 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15815 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15817 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15818 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15820 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15821 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15822 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15823 [!__ASSUME_SENDMMSG]: Change conditional to
15824 [!__ASSUME_SENDMMSG_SOCKETCALL].
15825 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15826 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15830 * sysdeps/unix/sysv/linux/kernel-features.h
15831 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15832 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15833 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15834 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15835 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15836 [__i386__ || __sparc__]
15837 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15838 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15839 (__ASSUME_RECVMMSG): Define instead of using previous
15840 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15841 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15842 (__ASSUME_RECVMMSG_SYSCALL): Define.
15843 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15844 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15846 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15849 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15850 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15852 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15853 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15854 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15855 [__ASSUME_RECVMMSG]: Change condition to
15856 [__ASSUME_RECVMMSG_SOCKETCALL].
15857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15858 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15860 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15861 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15862 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15864 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15865 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15866 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15867 [!__ASSUME_RECVMMSG]: Change condition to
15868 [!__ASSUME_RECVMMSG_SOCKETCALL].
15869 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15870 (__ASSUME_RECVMMSG_SYSCALL): Define.
15873 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15874 __powerpc__ || __s390__ || __sh__ || __sparc__]
15875 (__ASSUME_SOCKETCALL): Define.
15876 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15877 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15878 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15879 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15880 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15881 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15882 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15883 (__ASSUME_ACCEPT4): Define instead of using previous
15884 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15885 __powerpc__ || __sparc__ || __s390__)] condition.
15886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15887 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15888 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15889 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15890 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15891 [!__ASSUME_ACCEPT4]: Change condition to
15892 [!__ASSUME_ACCEPT4_SOCKETCALL].
15893 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15894 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15895 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15896 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15897 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15898 __ASSUME_ACCEPT4_SYSCALL.
15899 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15900 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15902 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15903 __ASSUME_ACCEPT4_SYSCALL.
15904 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15905 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15906 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15907 [__ASSUME_ACCEPT4]: Change condition to
15908 [__ASSUME_ACCEPT4_SOCKETCALL].
15909 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15910 (__ASSUME_SOCKETCALL): Define.
15911 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15912 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15913 (__ASSUME_SOCKETCALL): Define.
15914 (__ASSUME_ACCEPT4): Remove.
15915 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15917 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15918 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15920 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15921 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15923 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15925 (HWCAP_ARM_LPAE): Likewise.
15926 (HWCAP_ARM_EVTSTRM): Likewise.
15927 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15928 Add vpfd32, lpae and evtstrm.
15929 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15932 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15934 * math/auto-libm-test-in: Add tests of clog10.
15935 * math/auto-libm-test-out: Regenerated.
15936 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15937 * sysdeps/i386/fpu/libm-test-ulps: Update.
15938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15940 2014-02-18 Andreas Schwab <schwab@suse.de>
15943 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15944 Store non-zero if the second buffer was newly allocated.
15945 (send_dg): Likewise.
15946 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15947 to send_vc and send_dg.
15948 (res_nsend): Pass NULL for ansp2_malloced.
15949 * resolv/res_query.c (__libc_res_nquery): Add parameter
15950 answerp2_malloced and pass it down to __libc_res_nsend.
15951 (res_nquery): Pass additional NULL to __libc_res_nquery.
15952 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15953 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15954 second answer buffer if answerp2_malloced was set.
15955 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15956 (__libc_res_nquerydomain): Add parameter
15957 answerp2_malloced and pass it down to __libc_res_nquery.
15958 (res_nquerydomain): Pass additional NULL to
15959 __libc_res_nquerydomain.
15960 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15961 additional NULL to __libc_res_nsend and __libc_res_nquery.
15962 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15963 additional NULL to __libc_res_nsearch.
15964 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15965 parameter of __libc_res_nsearch to check for separately allocated
15967 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15969 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15970 additional NULL to __libc_res_nquery.
15971 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15972 __libc_res_nsearch.
15973 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15974 * include/resolv.h: Update prototypes of __libc_res_nquery,
15975 __libc_res_nsearch, __libc_res_nsend.
15977 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15979 * math/auto-libm-test-in: Add tests of fma.
15980 * math/auto-libm-test-out: Regenerated.
15981 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15982 (fma_towardzero_test_data): Likewise.
15983 (fma_downward_test_data): Likewise.
15984 (fma_upward_test_data): Likewise.
15985 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15987 (rounding_modes): Add values for new field.
15988 (func_calc_method): Add value mpfr_fff_f.
15989 (func_calc_desc): Add mpfr_fff_f union field.
15990 (test_function): Add field exact_args.
15991 (FUNC): Add macro argument EXACT_ARGS.
15992 (FUNC_mpfr_f_f): Update call to FUNC.
15993 (FUNC_mpfr_f_f): Likewise.
15994 (FUNC_mpfr_ff_f): Likewise.
15995 (FUNC_mpfr_if_f): Likewise.
15996 (FUNC_mpc_c_f): Likewise.
15997 (FUNC_mpc_c_c): Likewise.
15998 (test_functions): Add fma. Update calls to FUNC.
15999 (handle_input_arg): Add argument exact_args.
16000 (add_test): Update call to handle_input_arg.
16001 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16002 (output_for_one_input_case): Update call to calc_generic_results.
16003 Recalculate exact zero results in each rounding mode.
16005 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16006 non-negative before setting low bit.
16007 * math/auto-libm-test-in: Mark one asin test possibly having
16008 spurious underflow.
16009 * math/auto-libm-test-out: Regenerated.
16010 * sysdeps/i386/fpu/libm-test-ulps: Update.
16011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16013 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16015 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16016 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16017 ports/sysdeps/unix/sysv/linux/microblaze.
16018 * README: Add missing listing for microblaze*-*-linux-gnu.
16020 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16022 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16025 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16027 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16028 * sysdeps/unix/sysv/linux/ia64: Move directory from
16029 ports/sysdeps/unix/sysv/linux/ia64.
16030 * README: Update listing for ia64-*-linux-gnu.
16032 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16033 Joseph Myers <joseph@codesourcery.com>
16035 * Makeconfig (test-name): New variable.
16036 (evaluate-test): Likewise.
16037 * Makerules (do-test-clean): Remove .test-result files.
16038 (common-mostlyclean): Likewise.
16039 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16040 * scripts/evaluate-test.sh: New file.
16042 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16044 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16045 separate $(objpfx)tst-fopenloc-cmp.out and
16046 $(objpfx)tst-fopenloc-mem.out targets.
16047 (tests): Update dependencies.
16048 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16049 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16050 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16051 (tst-rxspencer-no-utf8-ARGS): New variable.
16052 (tst-rxspencer-no-utf8-ENV): Likewise.
16053 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16054 instead of $(objpfx)tst-rxspencer-mem.
16055 ($(objpfx)tst-rxspencer-mem): Change target to
16056 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16057 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16058 * posix/tst-rxspencer-no-utf8.c: New file.
16060 * elf/Makefile ($(objpfx)order.out): Remove rule.
16061 [$(run-built-tests) = yes] (tests): Depend on
16062 $(objpfx)order-cmp.out.
16063 ($(objpfx)order-cmp.out): New rule.
16064 [$(run-built-tests) = yes] (tests): Depend on
16065 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16066 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16067 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16068 $(objpfx)tst-array5-static-cmp.out.
16069 ($(objpfx)tst-array1.out): Remove rule.
16070 ($(objpfx)tst-array1-cmp.out): New rule.
16071 ($(objpfx)tst-array1-static.out): Remove rule.
16072 ($(objpfx)tst-array1-static-cmp.out): New rule.
16073 ($(objpfx)tst-array2.out): Remove rule.
16074 ($(objpfx)tst-array2-cmp.out): New rule.
16075 ($(objpfx)tst-array3.out): Remove rule.
16076 ($(objpfx)tst-array3-cmp.out): New rule.
16077 ($(objpfx)tst-array4.out): Remove rule.
16078 ($(objpfx)tst-array4-cmp.out): New rule.
16079 ($(objpfx)tst-array5.out): Remove rule.
16080 ($(objpfx)tst-array5-cmp.out): New rule.
16081 ($(objpfx)tst-array5-static.out): Remove rule.
16082 ($(objpfx)tst-array5-static-cmp.out): New rule.
16083 [$(run-built-tests) = yes] (tests): Depend on
16084 $(objpfx)order2-cmp.out.
16085 ($(objpfx)order2.out): Remove rule.
16086 ($(objpfx)order2-cmp.out): New rule.
16087 ($(objpfx)tst-initorder.out): Remove rule.
16088 [$(run-built-tests) = yes] (tests): Depend on
16089 $(objpfx)tst-initorder-cmp.out.
16090 ($(objpfx)tst-initorder-cmp.out): New rule.
16091 ($(objpfx)tst-initorder2.out): Remove rule.
16092 [$(run-built-tests) = yes] (tests): Depend on
16093 $(objpfx)tst-initorder2-cmp.out.
16094 ($(objpfx)tst-initorder2-cmp.out): New rule.
16095 [$(run-built-tests) = yes] (tests): Depend on
16096 $(objpfx)tst-unused-dep-cmp.out.
16097 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16098 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16099 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16100 on $(objpfx)tst-setvbuf1-cmp.out.
16101 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16102 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16103 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16104 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16105 ($(objpfx)tst-svc.out): Remove rule.
16106 ($(objpfx)tst-svc-cmp.out): New rule.
16108 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16110 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16111 * ctype/ctype.h [__USE_MISC]: Likewise.
16112 * dirent/dirent.h [__USE_MISC]: Likewise.
16113 * grp/grp.h [__USE_MISC]: Likewise.
16114 * io/fcntl.h [__USE_MISC]: Likewise.
16115 * io/sys/stat.h [__USE_MISC]: Likewise.
16116 * libio/stdio.h [__USE_MISC]: Likewise.
16117 * posix/unistd.h [__USE_MISC]: Likewise.
16118 * pwd/pwd.h [__USE_MISC]: Likewise.
16119 * stdlib.h [__USE_MISC]: Likewise.
16120 * string/bits/string2.h [__USE_MISC]: Likewise.
16121 * string/string.h [__USE_MISC]: Likewise.
16122 * time/time.h [__USE_MISC]: Likewise.
16124 2014-02-13 Andreas Schwab <schwab@suse.de>
16127 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16128 second answer buffer if it was separately allocated.
16130 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16132 * sysdeps/mips/math-tests.h: Include <features.h>.
16133 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16134 (ROUNDING_TESTS_long_double): Do not define.
16135 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16136 (EXCEPTION_TESTS_long_double): Likewise.
16137 * sysdeps/mips/mips64/libm-test-ulps: Update.
16139 * include/features.h (__USE_BSD): Remove macro definitions.
16140 (__USE_SVID): Likewise.
16141 (_BSD_SOURCE): Likewise.
16142 (_SVID_SOURCE): Likewise.
16143 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16144 from definition of _DEFAULT_SOURCE.
16145 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16147 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16148 * bits/mman.h [__USE_BSD]: Likewise.
16149 * bits/termios.h [__USE_BSD]: Likewise.
16150 * bits/waitstatus.h [__USE_BSD]: Likewise.
16151 * ctype/ctype.h [__USE_SVID]: Likewise.
16152 * dirent/dirent.h [__USE_BSD]: Likewise.
16153 * grp/grp.h [__USE_SVID]: Likewise.
16154 [__USE_BSD]: Likewise.
16155 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16156 * io/fcntl.h [__USE_BSD]: Likewise.
16157 * io/ftw.h [__USE_BSD]: Likewise.
16158 * io/sys/stat.h [__USE_BSD]: Likewise.
16159 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16160 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16161 * libio/stdio.h [__USE_SVID]: Likewise.
16162 [__USE_BSD]: Likewise.
16163 * math/math.h [__USE_SVID]: Likewise.
16164 [__USE_BSD]: Likewise.
16165 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16166 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16167 * misc/search.h [__USE_SVID]: Likewise.
16168 * misc/sys/mman.h [__USE_BSD]: Likewise.
16169 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16170 * misc/sys/uio.h [__USE_BSD]: Likewise.
16171 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16172 * posix/glob.h [__USE_BSD]: Likewise.
16173 * posix/regex.h [__USE_BSD]: Likewise.
16174 * posix/sys/types.h [__USE_BSD]: Likewise.
16175 [__USE_SVID]: Likewise.
16176 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16177 * posix/sys/wait.h [__USE_BSD]: Likewise.
16178 [__USE_SVID]: Likewise.
16179 * posix/unistd.h [__USE_BSD]: Likewise.
16180 [__USE_SVID]: Likewise.
16181 * pwd/pwd.h [__USE_SVID]: Likewise.
16182 * resolv/netdb.h [__USE_BSD]: Likewise.
16183 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16184 * signal/signal.h [__USE_BSD]: Likewise.
16185 [__USE_SVID]: Likewise.
16186 * socket/sys/socket.h [__USE_BSD]: Likewise.
16187 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16188 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16189 [__USE_SVID]: Likewise.
16190 * string/bits/string2.h [__USE_BSD]: Likewise.
16191 [__USE_SVID]: Likewise.
16192 * string/bits/string3.h [__USE_BSD]: Likewise.
16193 * string/endian.h [__USE_BSD]: Likewise.
16194 * string/string.h [__USE_SVID]: Likewise.
16195 [__USE_BSD]: Likewise.
16196 * string/strings.h [__USE_BSD]: Likewise.
16197 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16198 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16199 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16200 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16201 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16202 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16204 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16206 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16207 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16209 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16210 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16212 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16214 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16215 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16216 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16220 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16221 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16222 * termios/termios.h [__USE_BSD]: Likewise.
16223 * time/sys/time.h [__USE_BSD]: Likewise.
16224 * time/time.h [__USE_BSD]: Likewise.
16225 [__USE_SVID]: Likewise.
16227 * Makefile (subdir_targets): Remove subdir_lint.out.
16229 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16230 (do-tst-printf): Likewise.
16231 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16232 $(objpfx)tst-printf.out.
16234 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16236 * Makerules (check-abi-%): Change target to
16237 $(objpfx)check-abi-%.out.
16238 (check-abi target): Update dependencies.
16239 (check-abi-pattern variable): Redirect output of diff to $@.
16240 (check-abi variable): Likewise.
16241 * elf/Makefile (check-abi): Update dependencies.
16243 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16245 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16246 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16248 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16249 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16250 value has largest subnormal exponent.
16251 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16252 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16253 * sysdeps/aarch64/soft-fp/sfp-machine.h
16254 (_FP_TININESS_AFTER_ROUNDING): New macro.
16255 * sysdeps/alpha/soft-fp/sfp-machine.h
16256 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16257 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16259 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16260 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16261 * sysdeps/mips/soft-fp/sfp-machine.h
16262 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16263 * sysdeps/powerpc/soft-fp/sfp-machine.h
16264 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16265 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16267 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16268 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16270 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16271 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16274 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16277 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16280 2014-02-12 Richard Henderson <rth@redhat.com>
16282 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16283 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16284 * sysdeps/unix/sysv/linux/alpha: Move directory from
16285 ports/sysdeps/unix/sysv/linux/alpha.
16286 * README: Update listing for alpha-*-linux-gnu.
16288 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16290 * include/features.h: Update comment documenting feature test
16292 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16294 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16295 (_SVID_SOURCE): Likewise.
16296 (_DEFAULT_SOURCE): Update description of default features.
16297 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16299 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16300 (S_ISVTX): Likewise.
16301 * manual/math.texi (Mathematical Constants): Likewise.
16302 * manual/signal.texi (Interrupted Primitives): Likewise.
16303 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16304 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16305 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16306 Don't refer to _SVID_SOURCE in warning text.
16308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16310 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16312 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16313 * sysdeps/mips/dl-lookup.c: Remove.
16314 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16316 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16319 * math/auto-libm-test-in: Add testcase for expl.
16320 * math/auto-libm-test-out: Regenerate.
16321 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16322 calculation of unsafe.
16323 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16325 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16327 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16328 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16329 ports/sysdeps/unix/sysv/linux/aarch64.
16330 * README: Update listing for aarch64*-*-linux-gnu.
16332 2014-02-11 Will Newton <will.newton@linaro.org>
16334 * manual/probes.texi (Mathematical Function Probes): Use
16335 "triggered" instead of "hit".
16337 * manual/probes.texi (Internal Probes): Add documentation
16338 of setjmp, longjmp and longjmp_target probes.
16340 * include/stap-probe.h: Add comment about probe argument
16343 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16344 definition. (tr_where, tr_freehook, tr_mallochook,
16345 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16347 2014-02-11 David S. Miller <davem@davemloft.net>
16349 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16350 processing int_tests.
16352 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16354 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16355 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16356 * sysdeps/unix/sysv/linux/mips: Move directory from
16357 ports/sysdeps/unix/sysv/linux/mips.
16358 * README: Update listing for mips-*-linux-gnu and
16359 mips64-*-linux-gnu.
16361 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16363 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16364 * sysdeps/unix/sysv/linux/m68k: Move directory from
16365 ports/sysdeps/unix/sysv/linux/m68k.
16366 * README: Update listing for m68k-*-linux-gnu.
16368 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16370 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16371 * sysdeps/unix/sysv/linux/generic: Move directory from
16372 ports/sysdeps/unix/sysv/linux/generic.
16373 * sysdeps/unix/sysv/linux/tile: Move directory from
16374 ports/sysdeps/unix/sysv/linux/tile.
16375 * README: Update listing for tile*-*-linux-gnu.
16377 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16379 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16381 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16382 * catgets/open_catalog.c (__open_catalog): Likewise.
16383 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16384 * debug/confstr_chk.c: Likewise.
16385 * debug/fread_chk.c (__fread_chk): Likewise.
16386 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16387 * debug/getgroups_chk.c: Likewise.
16388 * debug/mbsnrtowcs_chk.c: Likewise.
16389 * debug/mbsrtowcs_chk.c: Likewise.
16390 * debug/mbstowcs_chk.c: Likewise.
16391 * debug/memcpy_chk.c: Likewise.
16392 * debug/memmove_chk.c: Likewise.
16393 * debug/mempcpy_chk.c: Likewise.
16394 * debug/memset_chk.c: Likewise.
16395 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16396 * debug/strcat_chk.c (__strcat_chk): Likewise.
16397 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16398 * debug/strncat_chk.c (__strncat_chk): Likewise.
16399 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16400 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16401 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16402 * debug/wcpncpy_chk.c: Likewise.
16403 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16404 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16405 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16406 * debug/wcsncpy_chk.c: Likewise.
16407 * debug/wcsnrtombs_chk.c: Likewise.
16408 * debug/wcsrtombs_chk.c: Likewise.
16409 * debug/wcstombs_chk.c: Likewise.
16410 * debug/wmemcpy_chk.c: Likewise.
16411 * debug/wmemmove_chk.c: Likewise.
16412 * debug/wmempcpy_chk.c: Likewise.
16413 * debug/wmemset_chk.c: Likewise.
16414 * dirent/scandirat.c (SCANDIRAT): Likewise.
16415 * dlfcn/dladdr1.c (dladdr1): Likewise.
16416 * dlfcn/dladdr.c (dladdr): Likewise.
16417 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16418 * dlfcn/dlerror.c (__dlerror): Likewise.
16419 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16420 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16421 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16422 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16423 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16424 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16425 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16426 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16428 * elf/dl-conflict.c: Likewise.
16429 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16430 * elf/dl-dst.h: Likewise.
16431 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16432 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16433 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16434 * elf/dl-init.c (call_init, _dl_init): Likewise.
16435 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16436 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16437 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16439 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16441 * elf/dl-minimal.c (__libc_memalign): Likewise.
16442 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16443 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16444 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16445 * elf/dl-sym.c (do_sym): Likewise.
16446 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16447 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16448 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16449 * elf/dl-writev.h (_dl_writev): Likewise.
16450 * elf/ldconfig.c (search_dir): Likewise.
16451 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16452 (dl_main): Likewise.
16453 * elf/setup-vdso.h (setup_vdso): Likewise.
16454 * grp/compat-initgroups.c (compat_call): Likewise.
16455 * grp/fgetgrent.c (fgetgrent): Likewise.
16456 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16457 * grp/putgrent.c (putgrent): Likewise.
16458 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16460 * hurd/hurdinit.c: Likewise.
16461 * iconvdata/8bit-gap.c (struct): Likewise.
16462 * iconvdata/ansi_x3.110.c : Likewise.
16463 * iconvdata/big5.c : Likewise.
16464 * iconvdata/big5hkscs.c : Likewise.
16465 * iconvdata/cp1255.c: Likewise.
16466 * iconvdata/cp1258.c : Likewise.
16467 * iconvdata/cp932.c : Likewise.
16468 * iconvdata/euc-cn.c: Likewise.
16469 * iconvdata/euc-jisx0213.c : Likewise.
16470 * iconvdata/euc-jp.c: Likewise.
16471 * iconvdata/euc-jp-ms.c : Likewise.
16472 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16473 * iconvdata/gb18030.c : Likewise.
16474 * iconvdata/gbbig5.c (const): Likewise.
16475 * iconvdata/gbgbk.c: Likewise.
16476 * iconvdata/gbk.c : Likewise.
16477 * iconvdata/ibm1364.c : Likewise.
16478 * iconvdata/ibm930.c : Likewise.
16479 * iconvdata/ibm932.c: Likewise.
16480 * iconvdata/ibm933.c : Likewise.
16481 * iconvdata/ibm935.c : Likewise.
16482 * iconvdata/ibm937.c : Likewise.
16483 * iconvdata/ibm939.c : Likewise.
16484 * iconvdata/ibm943.c: Likewise.
16485 * iconvdata/iso_11548-1.c: Likewise.
16486 * iconvdata/iso-2022-cn.c : Likewise.
16487 * iconvdata/iso-2022-cn-ext.c : Likewise.
16488 * iconvdata/iso-2022-jp-3.c: Likewise.
16489 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16490 * iconvdata/iso-2022-kr.c : Likewise.
16491 * iconvdata/iso646.c (gconv_end): Likewise.
16492 * iconvdata/iso_6937-2.c : Likewise.
16493 * iconvdata/iso_6937.c : Likewise.
16494 * iconvdata/iso8859-1.c: Likewise.
16495 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16496 * iconvdata/shift_jisx0213.c : Likewise.
16497 * iconvdata/sjis.c : Likewise.
16498 * iconvdata/t.61.c : Likewise.
16499 * iconvdata/tcvn5712-1.c : Likewise.
16500 * iconvdata/tscii.c: Likewise.
16501 * iconvdata/uhc.c : Likewise.
16502 * iconvdata/unicode.c (gconv_end): Likewise.
16503 * iconvdata/utf-16.c (gconv_end): Likewise.
16504 * iconvdata/utf-32.c (gconv_end): Likewise.
16505 * iconvdata/utf-7.c (base64): Likewise.
16506 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16507 * iconv/gconv_close.c (__gconv_close): Likewise.
16508 * iconv/gconv_open.c (__gconv_open): Likewise.
16509 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16510 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16511 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16512 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16513 (ucs4le_internal_loop_single): Likewise.
16514 * iconv/iconv.c (iconv): Likewise.
16515 * iconv/iconv_close.c: Likewise.
16516 * iconv/loop.c (SINGLE): Likewise.
16517 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16518 * include/atomic.h: Likewise.
16519 * inet/inet6_option.c (option_alloc): Likewise.
16520 * intl/bindtextdom.c (set_binding_values): Likewise.
16521 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16522 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16523 * intl/localealias.c (read_alias_file): Likewise.
16524 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16525 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16526 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16527 * libio/fmemopen.c (fmemopen): Likewise.
16528 * libio/iofgets.c (_IO_fgets): Likewise.
16529 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16530 * libio/iofgetws.c (fgetws): Likewise.
16531 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16532 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16533 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16534 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16535 * locale/findlocale.c (_nl_find_locale): Likewise.
16536 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16537 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16539 * locale/setlocale.c (setlocale): Likewise.
16540 * login/programs/pt_chown.c (main): Likewise.
16541 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16542 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16543 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16544 (mmap, mmap64, mremap, munmap): Likewise.
16545 * math/e_exp2l.c: Likewise.
16546 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16547 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16548 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16549 * math/s_catan.c (__catan): Likewise.
16550 * math/s_catanf.c (__catanf): Likewise.
16551 * math/s_catanh.c (__catanh): Likewise.
16552 * math/s_catanhf.c (__catanhf): Likewise.
16553 * math/s_catanhl.c (__catanhl): Likewise.
16554 * math/s_catanl.c (__catanl): Likewise.
16555 * math/s_ccosh.c (__ccosh): Likewise.
16556 * math/s_ccoshf.c (__ccoshf): Likewise.
16557 * math/s_ccoshl.c (__ccoshl): Likewise.
16558 * math/s_cexp.c (__cexp): Likewise.
16559 * math/s_cexpf.c (__cexpf): Likewise.
16560 * math/s_cexpl.c (__cexpl): Likewise.
16561 * math/s_clog10.c (__clog10): Likewise.
16562 * math/s_clog10f.c (__clog10f): Likewise.
16563 * math/s_clog10l.c (__clog10l): Likewise.
16564 * math/s_clog.c (__clog): Likewise.
16565 * math/s_clogf.c (__clogf): Likewise.
16566 * math/s_clogl.c (__clogl): Likewise.
16567 * math/s_csin.c (__csin): Likewise.
16568 * math/s_csinf.c (__csinf): Likewise.
16569 * math/s_csinh.c (__csinh): Likewise.
16570 * math/s_csinhf.c (__csinhf): Likewise.
16571 * math/s_csinhl.c (__csinhl): Likewise.
16572 * math/s_csinl.c (__csinl): Likewise.
16573 * math/s_csqrt.c (__csqrt): Likewise.
16574 * math/s_csqrtf.c (__csqrtf): Likewise.
16575 * math/s_csqrtl.c (__csqrtl): Likewise.
16576 * math/s_ctan.c (__ctan): Likewise.
16577 * math/s_ctanf.c (__ctanf): Likewise.
16578 * math/s_ctanh.c (__ctanh): Likewise.
16579 * math/s_ctanhf.c (__ctanhf): Likewise.
16580 * math/s_ctanhl.c (__ctanhl): Likewise.
16581 * math/s_ctanl.c (__ctanl): Likewise.
16582 * math/w_pow.c: Likewise.
16583 * math/w_powf.c: Likewise.
16584 * math/w_powl.c: Likewise.
16585 * math/w_scalb.c (sysv_scalb): Likewise.
16586 * math/w_scalbf.c (sysv_scalbf): Likewise.
16587 * math/w_scalbl.c (sysv_scalbl): Likewise.
16588 * misc/error.c (error_tail): Likewise.
16589 * misc/pselect.c (__pselect): Likewise.
16590 * nis/nis_callback.c (__nis_create_callback): Likewise.
16591 * nis/nis_call.c (__nisfind_server): Likewise.
16592 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16593 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16594 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16595 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16596 * nis/nis_lookup.c (nis_lookup): Likewise.
16597 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16598 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16599 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16600 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16601 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16602 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16603 * nis/nss_compat/compat-initgroups.c (add_group)
16604 (internal_getgrent_r): Likewise.
16605 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16606 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16607 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16608 (internal_getspnam_r): Likewise.
16609 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16610 (_nss_nis_getaliasbyname_r): Likewise.
16611 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16612 (_nss_nis_getntohost_r): Likewise.
16613 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16614 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16615 (_nss_nis_getgrgid_r): Likewise.
16616 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16617 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16618 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16619 (_nss_nis_gethostbyname4_r): Likewise.
16620 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16621 (initgroups_netid): Likewise.
16622 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16623 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16624 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16625 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16626 (_nss_nis_getprotobynumber_r): Likewise.
16627 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16628 (_nss_nis_getsecretkey): Likewise.
16629 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16630 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16631 (_nss_nis_getpwuid_r): Likewise.
16632 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16633 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16634 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16635 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16636 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16637 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16638 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16640 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16641 (_nss_nisplus_getntohost_r): Likewise.
16642 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16643 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16644 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16645 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16647 * nis/nss_nisplus/nisplus-initgroups.c
16648 (_nss_nisplus_initgroups_dyn): Likewise.
16649 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16650 (_nss_nisplus_getnetbyaddr_r): Likewise.
16651 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16652 (_nss_nisplus_getprotobynumber_r): Likewise.
16653 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16654 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16655 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16657 * nis/nss_nisplus/nisplus-service.c
16658 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16659 (_nss_nisplus_getservbyport_r): Likewise.
16660 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16661 (_nss_nisplus_getspnam_r): Likewise.
16662 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16664 * nscd/aicache.c (addhstaiX): Likewise.
16665 * nscd/cache.c (cache_search, prune_cache): Likewise.
16666 * nscd/connections.c (register_traced_file, send_ro_fd)
16667 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16668 (main_loop_epoll): Likewise.
16669 * nscd/grpcache.c (addgrbyX): Likewise.
16670 * nscd/hstcache.c (addhstbyX): Likewise.
16671 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16672 * nscd/mem.c (gc, mempool_alloc): Likewise.
16673 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16674 (addinnetgrX): Likewise.
16675 * nscd/nscd-client.h (__nscd_acquire_maplock)
16676 (__nscd_drop_map_ref): Likewise.
16677 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16678 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16679 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16681 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16682 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16683 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16684 (__nscd_get_map_ref): Likewise.
16685 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16686 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16688 * nscd/pwdcache.c (addpwbyX): Likewise.
16689 * nscd/selinux.c (preserve_capabilities): Likewise.
16690 * nscd/servicescache.c (addservbyX): Likewise.
16691 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16692 * posix/fnmatch.c (fnmatch): Likewise.
16693 * posix/getopt.c (_getopt_internal_r): Likewise.
16694 * posix/glob.c (glob, glob_in_dir): Likewise.
16695 * posix/wordexp.c (exec_comm_child): Likewise.
16696 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16697 (getanswer_r, gaih_getanswer_slice): Likewise.
16698 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16699 * resolv/res_init.c: Likewise.
16700 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16701 * resolv/res_query.c (__libc_res_nquery): Likewise.
16702 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16704 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16705 * stdio-common/perror.c (perror): Likewise.
16706 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16707 * stdio-common/tmpnam.c (tmpnam): Likewise.
16708 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16709 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16710 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16712 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16713 * stdlib/putenv.c (putenv): Likewise.
16714 * stdlib/setenv.c (__add_to_environ): Likewise.
16715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16716 * stdlib/strtol_l.c (INTERNAL): Likewise.
16717 * string/memmem.c (memmem): Likewise.
16718 * string/strerror.c (strerror): Likewise.
16719 * string/strnlen.c (__strnlen): Likewise.
16720 * string/test-memmem.c (simple_memmem): Likewise.
16721 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16722 * sunrpc/pm_getport.c (__get_socket): Likewise.
16723 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16724 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16725 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16726 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16728 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16729 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16730 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16731 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16732 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16733 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16735 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16737 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16738 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16740 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16741 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16742 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16743 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16744 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16745 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16746 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16747 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16754 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16755 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16756 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16758 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16759 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16760 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16766 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16767 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16769 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16771 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16773 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16775 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16778 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16779 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16781 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16782 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16783 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16784 * sysdeps/posix/sleep.c: Likewise.
16785 * sysdeps/posix/tempname.c: Likewise.
16786 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16787 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16789 * sysdeps/powerpc/powerpc32/dl-machine.h
16790 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16791 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16792 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16793 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16794 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16796 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16797 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16798 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16799 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16800 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16801 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16802 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16803 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16805 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16807 (elf_machine_lazy_rel): Likewise.
16808 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16809 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16810 (elf_machine_lazy_rel): Likewise.
16811 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16812 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16813 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16814 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16815 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16816 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16820 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16821 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16822 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16823 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16824 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16825 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16826 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16827 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16828 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16829 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16830 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16832 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16833 (__posix_fallocate64_l64): Likewise.
16834 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16835 (posix_fallocate): Likewise.
16836 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16839 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16840 (getifaddrs_internal): Likewise.
16841 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16842 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16843 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16845 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16846 (__posix_fallocate64_l64): Likewise.
16847 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16849 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16850 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16851 (__get_clockfreq): Likewise.
16852 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16853 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16854 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16858 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16859 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16861 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16862 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16863 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16864 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16865 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16866 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16867 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16869 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16870 (posix_fallocate): Likewise.
16871 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16872 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16873 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16874 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16875 (elf_machine_rela, elf_machine_rela_relative)
16876 (elf_machine_lazy_rel): Likewise.
16877 * time/asctime.c (asctime_internal): Likewise.
16878 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16879 * time/tzset.c (__tzset_parse_tz): Likewise.
16880 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16881 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16882 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16883 * wcsmbs/wcsmbsload.h: Likewise.
16886 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16888 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16889 (arena_get2): Remove THREAD_STATS conditionals.
16890 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16891 (__malloc_stats, int): Likewise.
16893 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16895 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16896 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16898 * manual/setjmp.texi: Fix typos/grammar errors.
16900 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16901 Only return early when n is <= 0. Delete unused return statement.
16903 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16904 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16905 * debug/tst-longjmp_chk3.c: New file.
16907 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16908 (test_main): Replace code with set_fortify_handler call.
16909 * debug/test-strcpy_chk.c: Likewise.
16910 * debug/tst-chk1.c: Likewise.
16911 * debug/tst-longjmp_chk.c: Likewise.
16912 * test-skeleton.c: Include fcntl.h & paths.h
16913 (set_fortify_handler): Define.
16915 * debug/tst-longjmp_chk.c: Add header comment and include
16916 ../test-skeleton.c.
16917 (do_test): Mark static.
16918 (TEST_FUNCTION): Define.
16920 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16921 (IP_PMTUDISC_INTERFACE): Likewise.
16922 (IP_MULTICAST_IF): Likewise.
16923 (IP_MULTICAST_TTL): Likewise.
16924 (IP_MULTICAST_LOOP): Likewise.
16925 (IP_ADD_MEMBERSHIP): Likewise.
16926 (IP_DROP_MEMBERSHIP): Likewise.
16927 (IP_UNBLOCK_SOURCE): Likewise.
16928 (IP_BLOCK_SOURCE): Likewise.
16929 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16930 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16931 (IP_MSFILTER): Likewise.
16932 (MCAST_JOIN_GROUP): Likewise.
16933 (MCAST_BLOCK_SOURCE): Likewise.
16934 (MCAST_UNBLOCK_SOURCE): Likewise.
16935 (MCAST_LEAVE_GROUP): Likewise.
16936 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16937 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16938 (MCAST_MSFILTER): Likewise.
16939 (IP_MULTICAST_ALL): Likewise.
16940 (IP_UNICAST_IF): Likewise.
16942 * timezone/Makefile: Delete $(have-ksh) check.
16943 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16944 * timezone/tzselect.ksh: Add +x mode bits.
16946 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16947 (ANON_INODE_FS_MAGIC): Likewise.
16948 (BDEVFS_MAGIC): Likewise.
16949 (BINFMTFS_MAGIC): Likewise.
16950 (BTRFS_TEST_MAGIC): Likewise.
16951 (CRAMFS_MAGIC_WEND): Likewise.
16952 (DEBUGFS_MAGIC): Likewise.
16953 (ECRYPTFS_SUPER_MAGIC): Likewise.
16954 (EXT3_SUPER_MAGIC): Likewise.
16955 (EXT4_SUPER_MAGIC): Likewise.
16956 (FUTEXFS_SUPER_MAGIC): Likewise.
16957 (HOSTFS_SUPER_MAGIC): Likewise.
16958 (HUGETLBFS_MAGIC): Likewise.
16959 (MINIX3_SUPER_MAGIC): Likewise.
16960 (MTD_INODE_FS_MAGIC): Likewise.
16961 (NILFS_SUPER_MAGIC): Likewise.
16962 (OPENPROM_SUPER_MAGIC): Likewise.
16963 (PIPEFS_MAGIC): Likewise.
16964 (PSTOREFS_MAGIC): Likewise.
16965 (QNX6_SUPER_MAGIC): Likewise.
16966 (RAMFS_MAGIC): Likewise.
16967 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16968 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16969 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16970 (SECURITYFS_MAGIC): Likewise.
16971 (SELINUX_MAGIC): Likewise.
16972 (SMACK_MAGIC): Likewise.
16973 (SOCKFS_MAGIC): Likewise.
16974 (SQUASHFS_MAGIC): Likewise.
16975 (STACK_END_MAGIC): Likewise.
16976 (TMPFS_MAGIC): Likewise.
16977 (USBDEVICE_SUPER_MAGIC): Likewise.
16978 (V9FS_MAGIC): Likewise.
16979 (XENFS_SUPER_MAGIC): Likewise.
16980 (CRAMFS_MAGIC): Fix typo in comment.
16981 (EXT2_SUPER_MAGIC): Update comment.
16982 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16984 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16986 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16987 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16988 * sysdeps/unix/sysv/linux/arm: Move directory from
16989 ports/sysdeps/unix/sysv/linux/arm.
16990 * README: Update listing for arm-*-linux-gnueabi.
16992 * README: Remove mention of am33.
16994 2014-02-07 Roland McGrath <roland@hack.frob.com>
16996 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16997 than the comma operator, to avoid "rhs of comma has no effect"
16999 (__sigfillset, __sigandset, __sigorset): Likewise.
17000 * include/signal.h (__sigemptyset): Likewise.
17001 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17003 2014-02-07 Allan McRae <allan@archlinux.org>
17005 * version.h (RELEASE): Set to "development".
17006 (VERSION): Set to "2.19.90"
17007 * NEWS: Add 2.20 section.
17009 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17012 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17014 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17016 * manual/contrib.texi: Update entry for Carlos O'Donell,
17017 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17019 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17021 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17023 * sysdeps/unix/sysv/linux/kernel-features.h
17024 [__LINUX_KERNEL_VERSION >= 0x020621]
17025 (__ASSUME_PROC_PID_TASK_COMM): Define.
17027 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17030 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17031 conversion when destination buffer does not have enough space.
17032 * libio/tst-ftell-partial-wide.c: New test case.
17033 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17035 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17036 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17037 Leonard and Allan McRae.
17039 2014-02-04 David S. Miller <davem@davemloft.net>
17041 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17044 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17073 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17075 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17076 * shlib-versions: Likewise.
17078 2014-02-04 Roland McGrath <roland@hack.frob.com>
17079 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17081 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17082 (abilist-pattern): New variable, set to %-le.abilist.
17084 * Makerules (abilist-pattern): New variable.
17085 (vpath): Use $(abilist-pattern) in place of %.abilist.
17086 (check-abi-% pattern rule): Likewise.
17087 (check-abi, update-abi): Likewise.
17089 2014-02-04 Eric Wong <normalperson@yhbt.net>
17091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17093 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17095 * manual/startup.texi: Add next, previous, and top entries for
17096 the `Program Arguments' and `Environment Variables' nodes.
17098 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17100 * manual/macros.texi: Add comments before MTASC-safety macros.
17102 * manual/users.texi: Document MTASC-safety properties.
17104 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17105 (pthread_getspecific, pthread_setspecific): Format with
17106 @deftypefun, and add @safety note.
17107 * manual/signal.texi: Move comments that analyze the above
17108 functions to their home place.
17110 2014-02-03 Allan McRae <allan@archlinux.org>
17112 * po/sl.po: Update Slovenian translation from translation project.
17114 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17116 * manual/time.texi (timegm): Add missing blank after @c.
17117 Reported by Joseph Myers <joseph@codesourcery.com>.
17119 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17121 * manual/check-safety.sh: New.
17122 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17124 * manual/terminal.texi: Document MTASC-safety properties.
17126 * manual/filesys.texi: Document MTASC-safety properties.
17128 * manual/errno.texi: Document MTASC-safety properties.
17130 * manual/intro.texi: Document safety identifiers and
17133 * manual/string.texi (wcstok): Fix prototype.
17134 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17136 * manual/time.texi: Document MTASC-safety properties.
17138 * manual/string.texi: Document MTASC-safety properties.
17140 * manual/threads.texi: Document MTASC-safety properties.
17142 * manual/stdio.texi: Document MTASC-safety properties.
17144 * manual/syslog.texi: Document MTASC-safety properties.
17146 * manual/sysinfo.texi: Document MTASC-safety properties.
17148 * manual/startup.texi: Document MTASC-safety properties.
17150 * manual/socket.texi: Document MTASC-safety properties.
17152 * manual/signal.texi: Document MTASC-safety properties.
17154 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17156 * manual/setjmp.texi: Document MTASC-safety properties.
17158 * manual/search.texi: Document MTASC-safety properties.
17160 * manual/resource.texi: Document MTASC-safety properties.
17162 * manual/process.texi: Document MTASC-safety properties.
17164 * manual/platform.texi: Document MTASC-safety properties.
17166 * manual/pipe.texi: Document MTASC-safety properties.
17168 * manual/pattern.texi: Document MTASC-safety properties.
17170 * manual/message.texi: Document MTASC-safety properties.
17173 * manual/memory.texi: Document MTASC-safety properties.
17175 * manual/math.texi: Document MTASC-safety properties.
17177 * manual/locale.texi: Document MTASC-safety properties.
17179 * manual/llio.texi: Document MTASC-safety properties.
17181 * manual/libdl.texi: New.
17183 * manual/lang.texi: Document MTASC-safety properties.
17185 * manual/job.texi: Document MTASC-safety properties.
17187 * manual/getopt.texi: Document MTASC-safety properties.
17189 * manual/ctype.texi: Document MTASC-safety properties.
17191 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17194 * csu/libc-tls.c (static_map): Remove variable.
17195 (__libc_setup_tls): Use main executable's link map for TLS data.
17196 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17197 casing for LM_ID_BASE and GL(dl_nns).
17198 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17199 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17200 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17201 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17202 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17204 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17207 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17209 * manual/debug.texi: Document MTASC-safety properties.
17211 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17214 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17215 of __x86_64__ when disabling x87 inline functions.
17217 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17219 * manual/charset.texi: Document MTASC-safety properties.
17221 * manual/crypt.texi: Document MTASC-safety properties.
17223 * manual/conf.texi: Document MTASC-safety properties.
17225 * manual/arith.texi: Document MTASC-safety properties.
17227 * manual/argp.texi: Document MTASC-safety properties.
17229 * manual/macros.texi: Introduce macros to document multi
17230 thread, asynchronous signal and asynchronous cancellation
17232 * manual/intro.texi: Introduce the properties themselves.
17234 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17236 * sysdeps/sh/sh4/Makefile: New file.
17238 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17240 * math/gen-libm-test.pl ($srcdir): New variable.
17241 ($auto_input): Use it.
17243 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17246 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17247 access beyond array bounds when parsing netgroups file.
17249 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17250 the old buffer before realloc.
17252 2014-01-27 Allan McRae <allan@archlinux.org>
17254 * po/fr.po: Update French translation from translation project.
17256 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17258 * sysdeps/sh/libm-test-ulps: Regenerate.
17260 2014-01-24 David S. Miller <davem@davemloft.net>
17262 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17264 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17266 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17267 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17269 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17273 string pointers after reallocation.
17275 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17277 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17278 __SH4A__ instead of __SH_FPU_ANY__.
17280 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17282 * sysdeps/sh/fpu_control.h: New file.
17283 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17284 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17285 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17286 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17287 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17288 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17289 * sysdeps/sh/sys/ucontext.h: Remove.
17290 * sysdeps/sh/sys: Remove directory.
17292 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17294 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17295 s390/sys/ucontext.h.
17296 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17297 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17299 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17302 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17304 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17307 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17308 Adjust the vDSO correctly for internal calls.
17309 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17311 2014-01-20 Allan McRae <allan@archlinux.org>
17313 * po/ca.po: Update Catalan translation from translation project.
17315 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17317 * sysdeps/s390/sotruss-lib.c: New file.
17319 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17323 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17324 local calls issues by not having a PLT stub required for IFUNC calls.
17325 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17327 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17329 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17330 * math/test-fpucw-static.c: Likewise.
17332 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17335 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17337 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17339 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17340 implementation for powerpc.
17342 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17345 * sysdeps/posix/system.c (__libc_system): Do not enable
17346 asynchronous cancellation.
17348 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17351 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17352 handling only for numbers special also in the IEEE case.
17354 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17356 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17358 2014-01-11 Allan McRae <allan@archlinux.org>
17360 * po/bg.po: Update Bulgarian translation from translation project.
17362 * po/de.po: Update German translation from translation project.
17364 2014-01-10 Roland McGrath <roland@hack.frob.com>
17366 * sysdeps/generic/gcc-compat.h: New file.
17368 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17370 * benchtests/asin-inputs: Correct slow inputs.
17371 * benchtests/acos-inputs: Likewise.
17373 2014-01-10 Allan McRae <allan@archlinux.org>
17375 * po:sv.po: Update Swedish translation from translation project.
17377 * po/vi.po: Update Vietnamese translation from translation project.
17379 * po/eo.po: Update Esperanto translation from translation project.
17381 * po/cs.po: Update Czech translation from translation project.
17383 * po/nl.po: Update Dutch translation from translation project.
17385 * po/pl.po: Update Polish translation from translation project.
17387 * po/ru.po: Update Russian translation from translation project.
17389 * po/uk.po: Update Ukrainian translation from translation project.
17391 2014-01-08 Brooks Moses <bmoses@google.com>
17393 * elf/dl-load.c: Fix comment typo.
17395 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17397 * po/header.pot: Rename to...
17398 * po/pot.header: ... this.
17399 * po/Makefile: Use pot.header.
17401 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17402 Maxim Kuvyrkov <maxim@kugelworks.com>
17405 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17406 SRC and DEST against LEN.
17408 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17411 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17415 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17419 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17422 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17423 for large positive arguments.
17425 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17427 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17429 * math/auto-libm-test-in: Mark various tests with
17430 xfail-rounding:ldbl-128ibm.
17431 * math/auto-libm-test-out: Regenerated.
17434 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17435 Increase overflow threshold.
17437 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17440 * stdio-common/vfprintf.c: Check for integer overflow.
17442 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17444 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17445 the first argument and return value of __tls_get_addr_internal.
17447 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17449 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17450 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17452 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17454 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17455 * sysdeps/s390/rtld-global-offsets.sym: New file.
17456 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17458 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17459 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17460 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17462 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17463 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17469 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17470 halfs of GPRs for high_gprs contexts.
17471 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17472 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17474 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17476 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17478 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17479 for high GPRs (uc_high_gprs) and for future extensions
17481 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17482 for future extensions (__reserved).
17483 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17485 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17486 SC_HIGHGPRS offset definition.
17487 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17488 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17490 * Versions.def: Add GLIBC_2.19 for libpthread.
17491 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17492 siglongjmp for libpthread with GLIBC_2.19 symver.
17493 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17494 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17495 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17496 * sysdeps/s390/__longjmp.c: New file.
17497 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17498 * sysdeps/s390/longjmp.c: New file.
17499 * sysdeps/s390/setjmp.S: New file.
17500 * sysdeps/s390/sigjmp.S: New file.
17501 * sysdeps/s390/v1-longjmp.c: New file.
17502 * sysdeps/s390/v1-setjmp.h: New file.
17503 * sysdeps/s390/v1-sigjmp.c: New file.
17504 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17505 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17506 GLIBC_2.19 version.
17507 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17508 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17509 versioned symbols for ____longjmp_chk.
17510 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17520 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17521 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17522 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17523 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17524 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17525 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17526 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17527 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17528 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17529 * sysdeps/s390/rtld-__longjmp.c: New file.
17530 * sysdeps/s390/rtld-setjmp.S: New file.
17532 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17535 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17536 Return -__logl (x) for small positive arguments without evaluating
17539 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17541 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17543 (__ptrace_peeksiginfo_args): ... this.
17544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17545 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17548 2014-01-06 Allan McRae <allan@archlinux.org>
17550 * inet/netinet/in.h: Fix typo in comment.
17552 2014-01-05 Andreas Jaeger <aj@suse.de>
17554 * sysdeps/i386/fpu/libm-test-ulps: Update.
17556 2014-01-05 Allan McRae <allan@archlinux.org>
17558 * po/libc.pot: Regenerated.
17560 * malloc/memusagestat.c: Fix gettext call formatting.
17562 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17564 * nscd/nscd.c: Improve usage() output.
17566 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17568 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17569 * sysdeps/unix/sysv/linux/configure: Regenerated.
17570 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17571 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17573 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17576 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17577 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17579 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17581 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17582 extra tokens at end of #undef directive.
17583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17584 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17585 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17587 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17589 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17591 * math/auto-libm-test-in: Mark various tests with
17592 xfail-rounding:ldbl-128ibm.
17593 * math/auto-libm-test-out: Regenerated.
17595 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17599 numbers with subnormal high part when calculating exponent.
17602 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17606 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17608 (__ieee754_acoshl): Use __log1pl not __log1p.
17610 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17612 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17613 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17614 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17615 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17616 (reused_arena, arena_get2): Convert to GNU style.
17617 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17618 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17619 (memalign_check, __malloc_set_state): Likewise.
17620 * malloc/mallocbug.c (main): Likewise.
17621 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17622 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17623 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17624 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17625 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17626 (__posix_memalign, malloc_info): Likewise.
17627 * malloc/malloc.h: Likewise.
17628 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17629 (mallochook, memalignhook, reallochook, mabort): Likewise.
17630 * malloc/mcheck.h: Likewise.
17631 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17632 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17633 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17634 * malloc/morecore.c (__default_morecore): Likewise.
17635 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17636 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17637 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17638 (print_and_abort): Likewise.
17639 * malloc/obstack.h: Likewise.
17640 * malloc/set-freeres.c (__libc_freeres): Likewise.
17641 * malloc/tst-mallocstate.c (main): Likewise.
17642 * malloc/tst-mtrace.c (main): Likewise.
17643 * malloc/tst-realloc.c (do_test): Likewise.
17645 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17648 * nscd/netgroupcache.c (do_notfound): New function.
17649 (addgetnetgrentX): Use it.
17652 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17653 NSS_STATUS_NOTFOUND.
17655 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17657 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17660 2014-01-01 Allan McRae <allan@archlinux.org>
17662 * scripts/update-copyrights: Update configure input file suffix.
17664 * NEWS: Update copyright year.
17665 * catgets/gencat.c: Likewise.
17666 * csu/version.c: Likewise.
17667 * debug/catchsegv.sh: Likewise.
17668 * debug/pcprofiledump.c: Likewise.
17669 * debug/xtrace.sh: Likewise.
17670 * elf/ldconfig.c: Likewise.
17671 * elf/ldd.bash.in: Likewise.
17672 * elf/pldd.c: Likewise.
17673 * elf/sotruss.ksh: Likewise.
17674 * elf/sprof.c: Likewise.
17675 * iconv/iconv_prog.c: Likewise.
17676 * iconv/iconvconfig.c: Likewise.
17677 * locale/programs/locale.c: Likewise.
17678 * locale/programs/localedef.c: Likewise.
17679 * login/programs/pt_chown.c: Likewise.
17680 * malloc/memusage.sh: Likewise.
17681 * malloc/memusagestat.c: Likewise.
17682 * malloc/mtrace.pl: Likewise.
17683 * manual/libc.texinfo: Likewise.
17684 * nscd/nscd.c: Likewise.
17685 * nss/getent.c: Likewise.
17686 * nss/makedb.c: Likewise.
17687 * posix/getconf.c: Likewise.
17688 * scripts/test-installation.pl: Likewise.
17690 * All files with FSF copyright notices: Update copyright dates
17691 using scripts/update-copyrights.
17692 * intl/plural.c: Regenerated.
17693 * locale/programs/charmap-kw.h: Likewise.
17694 * locale/programs/locfile-kw.h: Likewise.
17696 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17698 * sysdeps/unix/sysv/linux/configure: Regenerated.
17699 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17700 the linux/fanotify.h header.
17701 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17702 HAVE_LINUX_FANOTIFY_H is defined.
17704 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17706 * benchtests/cos-inputs: New inputs.
17707 * benchtests/sin-inputs: Likewise.
17709 * benchtests/atan-inputs: New inputs. Fix name of multiple
17710 precision fallback inputs.
17712 * benchtests/atanh-inputs: New inputs.
17713 * benchtests/tanh-inputs: Likewise.
17715 * benchtests/acosh-inputs: New inputs.
17716 * benchtests/asinh-inputs: Likewise.
17718 * benchtests/cosh-inputs: New inputs.
17719 * benchtests/sinh-inputs: Likewise.
17721 * benchtests/acos-inputs: Add more inputs.
17722 * benchtests/asin-inputs: Likewise.
17724 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17727 * manual/arith.texi: Fix spelling.
17728 * manual/charset.texi: Likewise.
17729 * manual/errno.texi: Likewise.
17730 * manual/filesys.texi: Likewise.
17731 * manual/lang.texi: Likewise.
17732 * manual/llio.texi: Likewise.
17733 * manual/locale.texi: Likewise.
17734 * manual/message.texi: Likewise.
17735 * manual/resource.texi: Likewise.
17736 * manual/search.texi: Likewise.
17737 * manual/setjmp.texi: Likewise.
17738 * manual/stdio.texi: Likewise.
17739 * manual/string.texi: Likewise.
17740 * manual/sysinfo.texi: Likewise.
17741 * manual/time.texi: Likewise.
17743 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17745 * po/sl.po: New file.
17747 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17749 * .gitignore: Add core/.gdbinit/.gdb_history.
17751 2013-12-27 Allan McRae <allan@archlinux.org>
17754 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17755 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17757 2013-12-24 Brooks Moses <bmoses@google.com>
17759 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17760 all compilers that claim C++98 compliance, not just GCC.
17761 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17764 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17766 * NEWS: Restore accidentally deleted bug-fix entries.
17768 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17769 Ondřej Bílka <neleai@seznam.cz>
17772 * malloc/malloc.c (_int_free): Perform sanity check only if we
17775 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17778 * manual/stdio.texi (String Input Conversions): Clarify that character
17779 classes are not supported.
17781 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17785 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17789 Calculate results for small negative arguments directly rather
17790 than using reflection formula with special underflow handling.
17792 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17793 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17794 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17795 (fchflags): Likewise.
17796 (revoke): Likewise.
17797 (setlogin): Likewise.
17798 (sigaltstack): Likewise.
17800 (sigblock): Remove.
17801 (sigsetmask): Likewise.
17803 (waitpid): Likewise.
17804 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17805 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17807 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17808 * sysdeps/unix/bsd/Makefile: ... here.
17809 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17810 * sysdeps/unix/bsd/Versions: ... here.
17811 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17812 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17813 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17814 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17815 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17816 * sysdeps/unix/bsd/sigblock.c: ... here.
17817 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17818 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17819 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17820 * sysdeps/unix/bsd/sigvec.c: ... here.
17821 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17822 * sysdeps/unix/bsd/tcdrain.c: ... here.
17823 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17824 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17825 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17826 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17827 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17828 * sysdeps/unix/bsd/wait.c: ... here.
17829 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17830 * sysdeps/unix/bsd/wait3.c: ... here.
17831 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17832 * sysdeps/unix/bsd/waitpid.c: ... here.
17834 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17837 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17838 round-to-nearest for [!USE_AS_EXPM1L].
17839 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17840 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17841 more tests of exp and exp10. Expect some exp10 tests to miss
17842 exceptions or fail in directed rounding modes.
17843 * math/auto-libm-test-out: Regenerated.
17844 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17845 (exp10_test_tonearest): New function.
17846 (exp10_towardzero_test_data): New array.
17847 (exp10_test_towardzero): New function.
17848 (exp10_downward_test_data): New array.
17849 (exp10_test_downward): New function.
17850 (exp10_upward_test_data): New array.
17851 (exp10_test_upward): New function.
17852 (main): Call the new functions.
17853 * sysdeps/i386/fpu/libm-test-ulps: Update.
17854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17856 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17858 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17859 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17860 * math/auto-libm-test-out: Regenerated.
17861 * math/libm-test.inc (acosh_test_data): Add more tests.
17862 (atanh_test_data): Likewise.
17863 (ceil_test_data): Likewise.
17864 (copysign_test_data): Likewise.
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868 * timezone/checktab.awk: Update from tzcode 2013i.
17869 * timezone/private.h: Likewise.
17870 * timezone/scheck.c: Likewise.
17871 * timezone/tzfile.h: Likewise.
17872 * timezone/tzselect.ksh: Likewise.
17873 * timezone/zdump.c: Likewise.
17874 * timezone/zic.c: Likewise.
17876 * math/auto-libm-test-in: Add tests of cpow.
17877 * math/auto-libm-test-out: Regenerated.
17878 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17879 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17881 (func_calc_desc): Add mpc_cc_c union field.
17882 (test_functions): Add cpow.
17883 (special_fill_2pi): New function.
17884 (special_real_inputs): Add 2pi.
17885 (calc_generic_results): Handle mpc_cc_c.
17886 * sysdeps/i386/fpu/libm-test-ulps: Update.
17887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17889 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17890 csqrt, ctan and ctanh.
17891 * math/auto-libm-test-out: Regenerated.
17892 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17893 (TEST_COND_x86): Likewise.
17894 (ccos_test_data): Use AUTO_TESTS_c_c.
17895 (ccosh_test_data): Likewise.
17896 (cexp_test_data): Likewise.
17897 (clog_test_data): Likewise.
17898 (csqrt_test_data): Likewise.
17899 (ctan_test_data): Likewise.
17900 (ctan_tonearest_test_data): Likewise.
17901 (ctan_towardzero_test_data): Likewise.
17902 (ctan_downward_test_data): Likewise.
17903 (ctan_upward_test_data): Likewise.
17904 (ctanh_test_data): Likewise.
17905 (ctanh_tonearest_test_data): Likewise.
17906 (ctanh_towardzero_test_data): Likewise.
17907 (ctanh_downward_test_data): Likewise.
17908 (ctanh_upward_test_data): Likewise.
17909 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17911 (func_calc_desc): Add mpc_c_c union field.
17912 (FUNC_mpc_c_c): New macro.
17913 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17914 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17916 (special_fill_min_subnorm_p120): New function.
17917 (special_real_inputs): Add min_subnorm_p120.
17918 (calc_generic_results): Handle mpc_c_c.
17919 * sysdeps/i386/fpu/libm-test-ulps: Update.
17920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17922 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17924 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17925 (do_sin_slow): New functions.
17926 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17927 (cslow2, csloww1, csloww2): Use the new functions.
17929 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17930 Use M to change sign of result instead of X. Assume X is
17932 (csloww1): Likewise.
17936 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17937 arguments A and DA.
17941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17943 (sloww1): Don't adjust sign of DX.
17944 (csloww1): Likewise.
17945 (sloww2): Use X directly and don't adjust sign of DX.
17946 (csloww2): Likewise.
17948 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17950 * math/auto-libm-test-in: Add tests of cabs and carg.
17951 * math/auto-libm-test-out: Regenerated.
17952 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17953 (carg_test_data): Likewise.
17954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17956 (func_calc_desc): Add mpc_c_f union field.
17957 (test_functions): Add cabs and carg.
17958 (calc_generic_results): Handle mpc_c_f.
17960 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17961 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17962 as a macro and a compat symbol.
17963 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17964 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17965 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17966 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17967 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17970 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17972 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17974 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17976 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17978 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17980 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17981 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17984 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17988 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17990 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17991 trailing whitespace removed.
17992 * scripts/config.guess: Update to version 2013-11-29.
17993 * scripts/config.sub: Update to version 2013-10-01.
17995 * math/auto-libm-test-in: Add tests of sincos.
17996 * math/auto-libm-test-out: Regenerated.
17997 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17998 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18000 (func_calc_desc): Add mpfr_f_11 union field.
18001 (test_functions): Add sincos.
18002 (calc_generic_results): Handle mpfr_f_11.
18003 * sysdeps/i386/fpu/libm-test-ulps: Update.
18004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18006 2013-12-19 Andreas Schwab <schwab@suse.de>
18008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18011 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18012 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18014 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18016 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18017 * sysdeps/i386/fpu/libm-test-ulps: Update.
18018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18022 round-to-nearest mode when using frndint.
18023 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18024 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18025 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18027 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18029 * math/auto-libm-test-out: Regenerated.
18030 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18031 (TEST_COND_x86): Likewise.
18032 (expm1_tonearest_test_data): New array.
18033 (expm1_test_tonearest): New function.
18034 (expm1_towardzero_test_data): New array.
18035 (expm1_test_towardzero): New function.
18036 (expm1_downward_test_data): New array.
18037 (expm1_test_downward): New function.
18038 (expm1_upward_test_data): New array.
18039 (expm1_test_upward): New function.
18040 (main): Run the new test functions.
18041 * sysdeps/i386/fpu/libm-test-ulps: Update.
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18044 * include/features.h: Update comment documenting feature test
18045 macros. Mention _DEFAULT_SOURCE in comment.
18046 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18047 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18048 _BSD_SOURCE and _SVID_SOURCE.
18049 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18050 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18051 !_SVID_SOURCE]: Likewise.
18052 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18053 (__USE_POSIX_IMPLICITLY): Define.
18054 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18055 (_POSIX_SOURCE): Undefine and redefine.
18056 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18057 (_POSIX_C_SOURCE): Likewise.
18058 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18059 (Feature Test Macros): Update documentation of default features.
18061 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18063 * benchtests/Makefile: Add bench-strtok.
18064 * benchtests/bench-strtok.c: New file: strtok benchtest.
18066 2013-12-19 Allan McRae <allan@archlinux.org>
18068 * manual/install.texi: Suppress menu for plain text output.
18069 * INSTALL: Regenerated.
18071 2013-12-18 Brooks Moses <bmoses@google.com>
18074 * misc/getauxval.c: Include errno.h.
18075 (__getauxval): Set errno to ENOENT if the requested type is not
18077 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18078 don't declare with __attribute_const__.
18079 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18080 * manual/startup.texi: Document that getauxval sets errno.
18082 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18084 * math/auto-libm-test-in: Add tests of jn and yn.
18085 * math/auto-libm-test-out: Regenerated.
18086 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18087 (yn_test_data): Likewise.
18088 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18090 (func_calc_desc): Add mpfr_if_f union field.
18091 (FUNC_mpfr_if_f): New macro.
18092 (test_functions): Add jn and yn.
18093 (calc_generic_results): Assert type of second input for
18094 mpfr_ff_f. Handle mpfr_if_f.
18095 (output_for_one_input_case): Disable all checking for arguments
18096 fitting floating-point types in case of an integer argument.
18097 * sysdeps/i386/fpu/libm-test-ulps: Update.
18098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18101 Don't expect fegetround reference in libm.so.
18103 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18105 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18106 $(config-cflags-nofma).
18108 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18110 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18111 * math/auto-libm-test-out: Regenerated.
18114 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18115 to determine exponent and adjust argument to have exponent of -1.
18116 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18118 * math/auto-libm-test-out: Regenerated.
18119 * sysdeps/i386/fpu/libm-test-ulps: Update.
18120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18122 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18124 * manual/probes.texi: Remove cases when per-thread arenas are
18127 2013-12-18 Andreas Schwab <schwab@suse.de>
18129 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18130 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18131 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18132 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18133 * sysdeps/i386/i686/multiarch/Makefile: Update.
18134 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18136 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18138 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18139 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18141 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18144 Support TZ transition times < 00:00:00.
18145 This is needed for version-3 tz-format files; it supports time
18146 stamps past 2037 for America/Godthab (the only entry in the tz
18147 database for which this change is relevant).
18148 * manual/time.texi (TZ Variable): Document transition times
18149 from -167:59:59 through -00:00:01.
18150 * time/tzset.c (tz_rule): Time of day is now signed.
18151 (__tzset_parse_tz): Parse negative time of day.
18153 Document TZ transition times >= 25:00:00.
18154 * manual/time.texi (TZ Variable): Document transition times from
18155 25:00:00 through 167:59:59. These are already supported, and this
18156 support will help with version-3 tz-format files.
18158 * manual/time.texi (TZ Variable): Modernize North America example
18159 to reflect current (i.e., 2007-and-later) daylight saving rules.
18161 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18163 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18165 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18166 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18169 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18170 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18171 * sysdeps/unix/bsd/clock.c: Likewise.
18172 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18173 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18174 * sysdeps/unix/bsd/init-posix.c: Likewise.
18175 * sysdeps/unix/bsd/poll.c: Likewise.
18176 * sysdeps/unix/bsd/ptsname.c: Likewise.
18177 * sysdeps/unix/bsd/seekdir.c: Likewise.
18178 * sysdeps/unix/bsd/setegid.c: Likewise.
18179 * sysdeps/unix/bsd/seteuid.c: Likewise.
18180 * sysdeps/unix/bsd/setgid.c: Likewise.
18181 * sysdeps/unix/bsd/setrgid.c: Likewise.
18182 * sysdeps/unix/bsd/setruid.c: Likewise.
18183 * sysdeps/unix/bsd/setsid.c: Likewise.
18184 * sysdeps/unix/bsd/setuid.c: Likewise.
18185 * sysdeps/unix/bsd/sigaction.c: Likewise.
18186 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18187 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18188 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18189 * sysdeps/unix/bsd/telldir.c: Likewise.
18190 * sysdeps/unix/bsd/times.c: Likewise.
18191 * sysdeps/unix/bsd/usleep.c: Likewise.
18193 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18194 ($(objpfx)libbsd-compat.a): Remove rule.
18196 * include/features.h (__FAVOR_BSD): Do not define.
18197 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18198 features conflicting with POSIX.
18199 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18200 (_BSD_SOURCE): Remove description of not being a subset of other
18201 feature test macros.
18202 * manual/job.texi (getpgrp): Do not document BSD version.
18203 (getpgid): Do not document by reference to BSD getpgrp.
18204 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18205 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18206 * signal/signal.h [__FAVOR_BSD]: Likewise.
18207 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18208 instead of making contents conditional on [__FAVOR_BSD].
18209 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18211 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18215 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18218 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18219 values below 2**-450, not 2**-500.
18220 * math/auto-libm-test-in: Don't allow spurious underflow from
18222 * math/auto-libm-test-out: Regenerated.
18226 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18227 values of ha and hb and sort them after adjusting subnormal
18229 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18231 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18232 values of ea and eb and sort them after adjusting subnormal
18234 * math/auto-libm-test-in: Do not expect some hypot tests of
18235 subnormals to fail. Add more hypot tests.
18236 * math/auto-libm-test-out: Regenerated.
18238 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18241 * sysdeps/sh/s_fma.c: New file.
18242 * sysdeps/sh/s_fmaf.c: New file.
18243 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18245 * sysdeps/sh/Implies: Add sh/soft-fp.
18247 2013-12-16 Roland McGrath <roland@hack.frob.com>
18249 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18250 level of indirection to members `objname', `errstring', `malloced'.
18251 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18252 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18253 it as the __longjmp argument (just pass 1 instead).
18254 (_dl_catch_error): Initialize C with argument pointers and address of
18255 volatile local ERRCODE rather than copying values out of C at return.
18257 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18259 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18260 * math/auto-libm-test-out: Regenerated.
18261 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18262 (hypot_test_data): Likewise.
18263 (pow_test_data): Likewise.
18264 (pow_tonearest_test_data): Likewise.
18265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18267 (func_calc_desc): Add mpfr_ff_f union field.
18268 (FUNC_mpfr_ff_f): New macro.
18269 (test_functions): Add atan2, hypot and pow.
18270 (special_fill_min): New function.
18271 (special_fill_minus_min): Likewise.
18272 (special_fill_min_subnorm): Likewise.
18273 (special_fill_minus_min_subnorm): Likewise.
18274 (special_real_inputs): Add min, -min, min_subnorm and
18276 (calc_generic_results): Handle mpfr_ff_f.
18277 * sysdeps/i386/fpu/libm-test-ulps: Update.
18278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18280 2013-12-16 Will Newton <will.newton@linaro.org>
18282 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18283 (Aligned Memory Blocks): Add documentation for aligned_alloc
18284 and suggest it as an alternative to posix_memalign.
18285 (Hooks for Malloc): Document __memalign_hook is also called
18286 for aligned_alloc. (Summary of Malloc): Add summary for
18287 aligned alloc. Document __memalign_hook is also called
18290 2013-12-16 Will Newton <will.newton@linaro.org>
18292 * manual/memory.texi (Malloc Examples): Clarify default
18293 alignment documentation. Suggest posix_memalign rather
18294 than memalign or valloc.
18295 (Aligned Memory Blocks): Remove suggestion to use memalign
18296 or valloc. Remove obsolete comment about BSD.
18297 Document memalign errno values and mark the function obsolete.
18298 Document posix_memalign returned error codes. Mark valloc
18299 as obsolete. (Hooks for Malloc): __memalign_hook is also
18300 called for posix_memalign and valloc.
18301 (Summary of Malloc): Add posix_memalign to function summary.
18302 __memalign_hook is also called for posix_memalign and valloc.
18304 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18306 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18310 (sloww): Use mynumber union. Expand ternary operator into
18311 if-else statements.
18312 (cslow): use mynumber union.
18314 2013-12-16 Allan McRae <allan@archlinux.org>
18316 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18317 * configure: Regenerated.
18319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18322 * configure.ac: Added --enable-maintainer-mode. Check for
18323 autoconf when enabled.
18324 * configure: Regenerated.
18326 * nscd/nscd.service: New file.
18327 * nscd/nscd.tmpfiles: New file.
18329 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18332 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18333 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18334 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18335 (strstr): Add __strstr_sse2_unaligned ifunc.
18336 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18337 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18338 (strcasestr): Remove __strcasestr_sse42 ifunc.
18339 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18343 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18345 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18346 * sysdeps/sh/bits/fenv.h: ... here.
18347 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18349 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18351 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18354 hypotf multiarch implementations.
18355 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18356 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18357 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18358 multiarch hypot for PPC64.
18359 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18360 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18362 multiarch hypotf for PPC64.
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18365 modff multiarch implementations.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18369 multiarch modf for PPC64.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18373 multiarch modff for PPC64.
18375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18376 and logl multiarch implementations.
18377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18380 multiarch logb for PPC64.
18381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18384 multiarch logb for PPC64.
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18388 multiarch logb for PPC64.
18390 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18391 isinff multiarch implementation.
18392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18396 multiarch isinf for PPC64.
18397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18400 multiarch isinff for PPC64.
18402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18403 finitef multiarch implementation.
18404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18408 multiarch finite for PPC64.
18409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18412 multiarch finitef for PPC64.
18414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18415 lrint multiarch implementation.
18416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18420 multiarch llrint for PPC64.
18421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18422 multiarch lrint for PPC64.
18424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18425 copysignf multiarch implementation.
18426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18431 multiarch copysign for PPC64.
18432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18433 multiarch copysignf for PPC64.
18435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18436 multiarch implementation.
18437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18445 multiarch llround for PPC64.
18446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18447 multiarch trunc for PPC64.
18448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18449 multiarch truncf for PPC64.
18451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18452 multiarch implementation.
18453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18461 multiarch llround for PPC64.
18462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18463 multiarch round for PPC64.
18464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18465 multiarch roundf for PPC64.
18467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18468 multiarch implementation.
18469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18477 multiarch llround for PPC64.
18478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18479 multiarch floor for PPC64.
18480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18481 multiarch floorf for PPC64.
18483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18484 multiarch implementation.
18485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18493 multiarch llround for PPC64.
18494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18495 multiarch ceil for PPC64.
18496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18497 multiarch ceilf for PPC64.
18499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18500 multiarch implementation.
18501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18508 multiarch llround for PPC64.
18509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18510 multiarch lround for PPC64.
18512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18513 multiarch implementation.
18514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18521 multiarch isnan for PPC64.
18522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18523 multiarch isnanf for PPC64.
18525 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18526 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18527 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18528 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18529 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18532 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18533 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18538 multiarch implementations.
18539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18540 (__libc_ifunc_impl_list): Likewise.
18541 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18542 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18543 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18544 multiarch stpcpy for PPC64.
18546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18547 multiarch implementations.
18548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18549 (__libc_ifunc_impl_list): Likewise.
18550 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18551 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18552 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18553 multiarch strcpy for PPC64.
18555 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18556 redefine function name.
18557 (_wordcopy_fwd_dest_aligned): Likewise.
18558 (_wordcopy_bwd_aligned): Likewise.
18559 (_wordcopy_bwd_dest_aligned): Likewise.
18560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18561 multiarch implementations.
18562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18563 (__libc_ifunc_impl_list): Likewise.
18564 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18565 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18566 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18567 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18568 multiarch wcscpy for PPC64.
18570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18571 multiarch implementations.
18572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18573 (__libc_ifunc_impl_list): Likewise.
18574 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18576 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18577 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18578 multiarch wcscpy for PPC64.
18580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18581 multiarch implementations.
18582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18583 (__libc_ifunc_impl_list): Likewise.
18584 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18585 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18586 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18587 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18588 multiarch wcsrchr for PPC64.
18590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18591 multiarch implementations.
18592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18593 (__libc_ifunc_impl_list): Likewise.
18594 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18595 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18596 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18597 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18598 multiarch wcschr for PPC64.
18600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18601 multiarch implementations.
18602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18603 (__libc_ifunc_impl_list): Likewise.
18604 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18605 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18606 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18607 multiarch strchrnul for PPC64.
18609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18612 (__libc_ifunc_impl_list): Likewise.
18613 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18614 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18615 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18616 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18622 (__libc_ifunc_impl_list): Likewise.
18623 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18624 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18625 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18626 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18630 multiarch implementations.
18631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18632 (__libc_ifunc_impl_list): Likewise.
18633 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18634 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18635 strncasecmp for PPC64.
18636 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18637 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18638 multiarch strncasecmp_l for PPC64.
18640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18641 multiarch implementations.
18642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18643 (__libc_ifunc_impl_list): Likewise.
18644 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18645 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18646 multiarch strcasecmp for PPC64.
18647 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18649 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18650 multiarch strcasecmp_l for PPC64.
18652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18655 (__libc_ifunc_impl_list): Likewise.
18656 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18657 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18658 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18664 (__libc_ifunc_impl_list): Likewise.
18665 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18666 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18667 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18673 (__libc_ifunc_impl_list): Likewise.
18674 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18675 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18676 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18677 rawmemrchr for PPC64.
18679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18682 (__libc_ifunc_impl_list): Likewise.
18683 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18684 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18685 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18691 (__libc_ifunc_impl_list): Likewise.
18692 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18693 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18694 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18700 (__libc_ifunc_impl_list): Likewise.
18701 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18702 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18703 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18706 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18707 avoid cretion of __bzero symbol.
18708 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18710 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18712 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18715 multiarch implementations.
18716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18717 (__libc_ifunc_impl_list): Likewise.
18718 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18721 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18723 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18724 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18725 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18726 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18727 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18729 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18731 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18735 (__libc_ifunc_impl_list): Likewise.
18736 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18737 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18738 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18739 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18743 multiarch for POWER/PPC64.
18744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18745 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18746 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18747 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18748 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18749 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18750 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18751 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18752 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18755 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18756 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18757 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18758 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18759 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18760 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18761 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18762 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18763 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18764 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18765 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18766 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18767 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18768 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18769 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18778 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18780 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18782 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18784 * benchtests/Makefile (bench): Add exp2 and log2.
18785 (LDLIBS-bench-exp2): Add -lm.
18786 (LDLIBS-bench-log2): Likewise.
18787 * benchtests/exp2-inputs: New inputs file.
18788 * benchtests/log2-inputs: New inputs file.
18789 * benchtests/log-inputs: Add new inputs.
18790 * benchtests/tan-inputs: Likewise.
18792 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18794 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18796 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18797 (csloww2): ... from here.
18799 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18800 instead of structures.
18801 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18802 (POLYNOMIAL): Likewise.
18803 (TAYLOR_SLOW): Likewise.
18809 (sloww1); Likewise.
18810 (sloww2): Likewise.
18811 (bsloww1): Likewise.
18812 (bsloww2): Likewise.
18813 (cslow2): Likewise.
18814 (csloww): Likewise.
18815 (csloww1): Likewise.
18816 (csloww2): Likewise.
18818 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18820 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18821 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18822 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18823 * malloc/hooks.c (realloc_check): Likewise.
18825 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18826 * malloc/arena.c: Remove PER_THREAD conditional.
18827 [!PER_THREAD]: Remove code.
18828 (ptmalloc_unlock_all2): Likewise.
18829 (ptmalloc_init): Likewise.
18830 (_int_new_arena): Likewise.
18831 (arena_get2): Likewise.
18832 * malloc/hooks.c (__malloc_get_state): Likewise.
18833 (__malloc_set_state): Likewise.
18834 * malloc/malloc.c: Likewise.
18835 (struct malloc_state): Likewise.
18836 (struct malloc_par): Likewise.
18837 (__libc_realloc): Likewise.
18838 (__libc_mallopt): Likewise.
18840 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18842 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18844 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18846 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18847 macro to a function. Check for zero perturb_byte.
18848 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18850 * malloc/malloc.c: (force_reg): Remove.
18851 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18852 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18853 force_reg by atomic_forced_read.
18854 * malloc/arena.c (ptmalloc_init): Likewise.
18855 * malloc/hooks.c (top_check): Likewise.
18857 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18861 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18865 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18867 * math/auto-libm-test-in: Add tests of lgamma.
18868 * math/auto-libm-test-out: Regenerated.
18869 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18870 (M_LOG_2_SQRT_PIl): Likewise.
18871 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18874 (func_calc_desc): Add mpfr_f_f1 union field.
18875 (ARGS1): New macro.
18883 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18884 (test_functions): Add lgamma.
18885 (calc_generic_results): Handle mpfr_f_f1.
18886 * sysdeps/i386/fpu/libm-test-ulps: Update.
18887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18889 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18891 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18892 __mpn_add_n for PowerPC64/POWER7.
18893 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18894 __mpn_sub_n for PowerPC64/POWER7.
18896 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18897 __mpn_addmul_1 for PowerPC64.
18898 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18899 __mpn_submul_1 for PowerPC64.
18900 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18902 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18905 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18908 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18910 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18912 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18914 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18915 add multiarch folders.
18916 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18917 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18918 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18919 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18920 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18921 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18922 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18923 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18924 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18925 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18926 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18935 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18941 multiarch __ieee754_hypot for PowerPC32.
18942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18947 multiarch __ieee754_hypotf for PowerPC32.
18949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18950 long_double_symbol only if __logbl is defined.
18951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18952 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18954 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18956 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18958 path for implementation.
18959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18962 logb, and logbl multiarch implementations for PowerPC32.
18963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18968 multiarch logb for PowerPC32.
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18974 multiarch logbf for PowerPC32.
18975 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18979 multiarch logbl implementation for PowerPC32.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18982 and modff multiarch implementations.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18988 multiarch modf for PowerPC32.
18989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18994 multiarch modff for PowerPC32.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18997 and lrintf multiarch implementations.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19003 multiarch lrint for PowerPC32.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19005 file: multiarch lrintf for PowerPC32.
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19008 and lroundf multiarch implementations.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19016 multiarch lround for PowerPC32.
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19018 file: multiarch lroundf for PowerPC32.
19020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19021 copysign and copysignf multiarch implementations.
19022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19027 file: multiarch copysign for PowerPC32.
19028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19029 file: multiarch copysignf for PowerPC32.
19031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19032 and truncf multiarch implementations.
19033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19038 multiarch trunc for PowerPC32.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19044 multiarch truncf for PowerPC32.
19046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19047 and roundf multiarch implementations.
19048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19053 multiarch round for PowerPC32.
19054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19059 multiarch roundf for PowerPC32.
19061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19062 and floorf multiarch implementations.
19063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19068 multiarch floor for PowerPC32.
19069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19074 multiarch floorf for PowerPC32.
19076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19077 and ceilf multiarch implementations.
19078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19083 multiarch ceil for PowerPC32.
19084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19089 multiarch ceilf for PowerPC32.
19091 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19093 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19094 FINITEF is defined.
19095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19096 and finitef multiarch implementations.
19097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19102 multiarch finite for PowerPC32.
19103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19106 file: multiarch finitef for PowerPC32.
19108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19109 and isinff multiarch implementations.
19110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19115 multiarch isinf for PowerPC32.
19116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19119 multiarch isinff for PowerPC32.
19121 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19122 alias when __isnan is defined.
19123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19124 and isnanf multiarch implementations.
19125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19134 multiarch isnan for PowerPC32.
19135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19140 multiarch isnanf for PowerPC32.
19142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19143 and sqrtf multiarch implementations.
19144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19149 multiarch sqrt for PowerPC32.
19150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19155 multiarch sqrtf for PowerPC32.
19157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19158 and llroundf multiarch implementations.
19159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19166 file: multiarch llround for PowerPC32.
19167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19168 file: multiarch llroundf for PowerPC32.
19170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19171 multiarch PowerPC32 fpu implementations.
19172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19177 multiarch llrint for PowerPC32.
19178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19193 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19194 multiarch wordcopy for PPC32.
19195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19198 (__libc_ifunc_impl_list): Likewise.
19199 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19200 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19202 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19204 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19206 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19214 multiarch wcscpy for PPC32.
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19218 (__libc_ifunc_impl_list): Likewise.
19219 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19220 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19221 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19222 sysdeps/powerpc/power6/wcscpy.c.
19224 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19232 multiarch wcsrchr for PPC32.
19233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19236 (__libc_ifunc_impl_list): Likewise.
19237 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19238 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19239 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19240 sysdeps/powerpc/power6/wcsrchr.c.
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19244 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19248 multiarch wcschr for PPc32.
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19252 (__libc_ifunc_impl_list): Likewise.
19253 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19254 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19255 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19256 sysdeps/powerpc/power6/wcschr.c.
19258 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19259 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19261 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19262 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19263 file: multiarch strchr for PPC32.
19264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19267 (__libc_ifunc_impl_list): Likewise.
19269 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19271 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19276 multiarch strchrnul for PPC32.
19277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19280 (__libc_ifunc_impl_list): Likewise.
19282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19285 multiarch strncasecmp for PPC32.
19286 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19288 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19289 multiarch strncasecmp_l for PPC32.
19290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19291 strncasecmp multiarch objects.
19292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19293 (__libc_ifunc_impl_list): Likewise.
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19297 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19298 multiarch strncasecmp for PPC32.
19299 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19301 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19302 multiarch strcasecmp_l for PPC32.
19303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19306 (__libc_ifunc_impl_list): Likewise.
19308 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19310 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19312 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19313 multiarch strncmp for PPC32.
19314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19317 (__libc_ifunc_impl_list): Likewise.
19319 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19320 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19322 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19323 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19327 (__libc_ifunc_impl_list): Likewise.
19329 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19331 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19333 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19337 (__libc_ifunc_impl_list): Likewise.
19339 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19341 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19343 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19344 multiarch rawmemchr for PPC32.
19345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19348 (__libc_ifunc_impl_list): Likewise.
19350 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19352 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19354 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19355 file: memrchr multiarch for PPC32.
19356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19359 (__libc_ifunc_impl_list): Likewise.
19361 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19362 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19364 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19365 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19366 multiarch memchr for PPC32.
19367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19370 (__libc_ifunc_impl_list): Likewise.
19372 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19373 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19375 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19377 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19378 file: multiarch mempcpy for PPC32.
19379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19382 (__libc_ifunc_impl_list): Likewise.
19384 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19385 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19386 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19387 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19388 multiarch bzero for PPC32.
19389 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19391 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19393 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19394 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19395 file: multiarch memset for PPC32.
19396 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19398 memset multiarch objects.
19399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19400 (__libc_ifunc_impl_list): Likewise.
19402 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19407 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19411 (__libc_ifunc_impl_list): Likewise.
19413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19417 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19419 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19422 multiarch memcpy for PPC32.
19423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19426 (__libc_ifunc_impl_list): Likewise.
19428 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19429 support multiarch for POWER/PPC32.
19430 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19432 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19434 Implies file to make multiarch folder appers before the fpu and
19435 default folder for power4 configuration.
19437 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19439 * scripts/bench.pl: Append volatile keyword to type.
19441 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19443 * sysdeps/sh/sotruss-lib.c: New file.
19444 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19446 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19450 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19453 * math/w_tgamma.c: Include <errno.h>.
19454 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19455 * math/w_tgammaf.c: Include <errno.h>.
19456 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19457 * math/w_tgammal.c: Include <errno.h>.
19458 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19459 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19460 underflow. Add more tgamma tests.
19461 * math/auto-libm-test-out: Regenerated.
19462 * sysdeps/i386/fpu/libm-test-ulps: Update.
19463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19465 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19466 sin, sinh, tan, tanh, tgamma, y0 and y1.
19467 * math/auto-libm-test-out: Regenerated.
19468 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19469 (TEST_COND_x86): Likewise.
19470 (M_E2l): Remove macro.
19472 (M_2_SQRT_PIl): Likewise.
19473 (M_SQRT_PIl): Likewise.
19474 (M_1_DIV_El): Likewise.
19475 (log_test_data): Use AUTO_TESTS_f_f.
19476 (log10_test_data): Likewise.
19477 (log1p_test_data): Likewise.
19478 (log2_test_data): Likewise.
19479 (sin_test_data): Likewise.
19480 (sin_tonearest_test_data): Likewise.
19481 (sin_towardzero_test_data): Likewise.
19482 (sin_downward_test_data): Likewise.
19483 (sin_upward_test_data): Likewise.
19484 (sinh_test_data): Likewise.
19485 (sinh_tonearest_test_data): Likewise.
19486 (sinh_towardzero_test_data): Likewise.
19487 (sinh_downward_test_data): Likewise.
19488 (sinh_upward_test_data): Likewise.
19489 (tan_test_data): Likewise.
19490 (tan_tonearest_test_data): Likewise.
19491 (tan_towardzero_test_data): Likewise.
19492 (tan_downward_test_data): Likewise.
19493 (tan_upward_test_data): Likewise.
19494 (tanh_test_data): Likewise.
19495 (tgamma_test_data): Likewise.
19496 (y0_test_data): Likewise.
19497 (y1_test_data): Likewise.
19498 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19499 (special_real_inputs): Add pi/4.
19500 * sysdeps/i386/fpu/libm-test-ulps: Update.
19501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19503 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19505 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19506 "longjmp_target" static probes.
19507 (__longjmp): Rename to __longjmp_symbol.
19508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19509 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19510 on which longjmp to generate.
19511 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19512 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19514 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19515 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19516 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19517 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19518 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19519 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19521 __longjmp_symbol based on which __longjmp to generate.
19522 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19524 (setjmp): Rename to setjmp_symbol.
19525 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19526 (_setjmp): Rename to _setjmp_symbol.
19527 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19528 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19529 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19530 which setjmp to generate.
19531 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19532 "longjmp_target" static probes.
19534 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19536 * benchtests/README: Add note about output arguments.
19537 * benchtests/bench-sincos.c: Remove file.
19538 * benchtests/sincos-inputs: New file.
19539 * scripts/bench.pl: Identify output arguments and define
19540 static variables for them.
19542 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19545 * Makefile (INSTALL): Add install-plain.texi as the primary
19547 * manual/install-plain.texi: New file.
19548 * manual/install.texi: Include node directive only for
19549 non-plaintext output.
19551 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19553 * stdlib/longlong.h: Update from GCC.
19557 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19558 * math/w_j0f.c (y0f): Likewise.
19559 * math/w_j0l.c (__y0l): Likewise.
19560 * math/w_j1.c (y1): Likewise.
19561 * math/w_j1f.c (y1f): Likewise.
19562 * math/w_j1l.c (__y1l): Likewise
19563 * math/w_jn.c (yn): Likewise.
19564 * math/w_jnf.c (ynf): Likewise.
19565 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19566 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19567 value for Bessel function domain errors outside _SVID_ mode.
19568 Adjust sign of return value for yn (negative integer, 0).
19569 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19570 by zero in return for negative x and set sign appropriately for
19572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19573 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19574 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19575 expectations in error cases.
19576 (y1_test_data): Likewise.
19577 (yn_test_data): Likewise.
19578 * sysdeps/i386/fpu/libm-test-ulps: Update.
19579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19581 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19583 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19584 "64" to "64-v1". Add "64-v2".
19585 (abi-64-options): Rename to ...
19586 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19587 (abi-64-condition): Rename to ...
19588 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19589 (abi-64-ld-soname): Rename to ...
19590 (abi-64-v1-ld-soname): ... this.
19591 (abi-64-v2-options): Define.
19592 (abi-64-v2-condition): Likewise.
19593 (abi-64-v2-ld-soname): Likewise.
19594 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19595 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19600 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19601 Alan Modra <amodra@gmail.com>
19603 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19604 New versions for use with the ELFv2 ABI.
19605 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19606 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19608 (struct La_ppc64v2_retval): Likewise.
19609 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19610 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19611 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19612 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19613 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19614 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19615 Do not save or restore CR.
19616 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19617 (_dl_profile_resolve): Do no save or restore CR. Support extended
19618 return values for ELFv2 ABI. Fix location of FPR return registers.
19619 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19620 updated values for _CALL_ELF == 2.
19621 (La_regs, La_retval, int_retval): Likewise.
19623 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19625 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19626 (FRAME_MIN_SIZE_PARM): Likewise.
19627 (FRAME_BACKCHAIN): Likewise.
19628 (FRAME_CR_SAVE): Likewise.
19629 (FRAME_LR_SAVE): Likewise.
19630 (FRAME_TOC_SAVE): Likewise.
19631 (FRAME_PARM_SAVE): Likewise.
19632 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19633 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19634 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19635 (call_mcount_parm_offset): New macro.
19636 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19637 (PROF): Use symbolic stack frame offsets.
19638 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19639 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19640 Redefine in terms of FRAME_MIN_SIZE.
19641 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19642 (_dl_profile_resolve): Likewise. Update comment.
19643 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19644 symbols stack frame offsets.
19645 (__sigsetjmp): Likewise.
19646 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19647 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19648 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19649 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19652 (FRAME_BACKCHAIN): Remove.
19653 (FRAME_CR_SAVE): Likewise.
19654 (FRAME_LR_SAVE): Likewise.
19655 (FRAME_COMPILER_DW): Likewise.
19656 (FRAME_LINKER_DW): Likewise.
19657 (FRAME_TOC_SAVE): Likewise.
19658 (FRAME_PARM_SAVE): Likewise.
19659 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19660 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19661 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19663 (CHECK_SP): Use symbolic stack frame offsets.
19664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19665 zone" instead of caller's parameter save area for temp storage.
19666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19667 Likewise. Also, use symbolic stack frame offsets.
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19669 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19670 our own stack frame instead of the caller's.
19671 (__socket): Use symbolic stack frame offsets.
19673 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19674 Alan Modra <amodra@gmail.com>
19676 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19678 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19679 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19680 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19682 (elf_machine_fixup_plt): Call it.
19683 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19685 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19686 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19687 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19688 r2 before calling target.
19690 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19691 Alan Modra <amodra@gmail.com>
19693 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19694 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19695 versions of macros to support ELFv2 ABI.
19696 (LOCALENTRY): New macro.
19697 (ENTRY, EALIGN): Use it.
19698 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19699 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19700 fall through into ENTRY entry point.
19701 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19702 Only define if _CALL_ELF != 2.
19704 (elf_machine_matches_host): Verify ABI version matches.
19705 (RTLD_START): Use LOCALENTRY.
19706 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19707 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19708 (PLT_ENTRY_WORDS): New macro.
19709 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19710 (elf_machine_runtime_setup): Support ELFv2 ABI.
19711 (elf_machine_fixup_plt): Likewise.
19712 (elf_machine_plt_conflict): Likewise.
19713 (resolve_ifunc): Likewise.
19714 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19718 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19720 (makecontext): Support ELFv2 ABI.
19721 * elf/elf.h (EF_PPC64_ABI): Define.
19723 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19725 * sysdeps/powerpc/powerpc64/sysdep.h
19726 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19727 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19728 (ENTRY) [ASSEMBLER]: ... but instead here ...
19729 (EALIGN) [ASSEMBLER]: ... and here.
19730 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19731 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19732 (ENTRY_2) [!ASSEMBLER]: Use it.
19733 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19734 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19735 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19736 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19739 Use PPC64_LOAD_FUNCPTR.
19741 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19743 2013-12-04 Alan Modra <amodra@gmail.com>
19745 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19746 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19747 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19748 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19751 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19752 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19753 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19754 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19755 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19757 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19760 (__makecontext): Fix incorrect CFI when backtracing out of
19761 context created via makecontext.
19762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19763 (__setcontext): Fix incorrect CFI during switch to new context.
19764 (__novec_setcontext): Likewise.
19766 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19769 * time/strptime_l.c (__strptime_internal): Allow modifiers
19771 * time/tst-strptime.c (day_tests): Add testcase.
19773 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19775 * scripts/bench.pl: Skip over blank lines.
19777 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19780 * manual/time.texi (Calendar Time): Clarify what timezone functions
19783 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19787 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19789 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19791 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19792 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19793 * debug/memset_chk.c (__memset_chk): Likewise.
19794 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19795 * debug/strncpy_chk.c: Likewise.
19797 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19801 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19802 (__ieee754_exp): For possibly underflowing results, check size of
19803 result and force underflow exception if required.
19804 * math/auto-libm-test-in: Add more tests of exp.
19805 * math/auto-libm-test-out: Regenerated.
19806 * sysdeps/i386/fpu/libm-test-ulps: Update.
19807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19810 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19811 * math/w_exp2f.c (__exp2f): Likewise.
19812 * math/w_exp2l.c (__exp2l): Likewise.
19813 * math/auto-libm-test-in: Do not allow missing errno on exp2
19815 * math/auto-libm-test-out: Regenerated.
19817 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19820 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19821 handle filename validation.
19822 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19825 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19828 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19829 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19830 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19832 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19833 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19834 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19836 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19837 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19838 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19839 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19840 Add more erfc tests.
19841 * math/auto-libm-test-out: Regenerated.
19842 * sysdeps/i386/fpu/libm-test-ulps: Update.
19843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19845 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19846 exp2, expm1, j0 and j1.
19847 * math/auto-libm-test-out: Regenerated.
19848 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19849 (erfc_test_data): Likewise.
19850 (exp_test_data): Likewise.
19851 (exp_tonearest_test_data): Likewise.
19852 (exp_towardzero_test_data): Likewise.
19853 (exp_downward_test_data): Likewise.
19854 (exp_upward_test_data): Likewise.
19855 (exp10_test_data): Likewise.
19856 (exp2_test_data): Likewise.
19857 (expm1_test_data): Likewise.
19858 (j0_test_data): Likewise.
19859 (j1_test_data): Likewise.
19860 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19861 (input_flag_type): Add flag_xfail_rounding.
19862 (input_flags): Add xfail-rounding.
19863 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19864 (output_for_one_input_case): Handle flag_xfail_rounding.
19865 * sysdeps/i386/fpu/libm-test-ulps: Update.
19866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19868 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19871 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19874 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19877 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19878 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19879 (STAP_PROBE0): New macro.
19880 (STAP_PROBE1): Likewise.
19881 (STAP_PROBE2): Likewise.
19882 (STAP_PROBE3): Likewise.
19883 (STAP_PROBE4): Likewise.
19885 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19887 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19889 2013-12-02 Steve Ellcey <sellcey@mips.com>
19891 * benchtests/Makefile (bench): Add sqrt.
19892 (LDLIBS-bench-sqrt): New.
19893 * benchtests/sqrt-input: New.
19895 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19897 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19898 (GAIH_EAI): Likewise.
19899 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19900 (gaih_inet): Likewise.
19901 (getaddrinfo): Don't use GAIH_EAI.
19903 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19904 (struct gaih): Remove definition.
19906 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19908 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19909 Use HERRNOP directly.
19911 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19915 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19917 * math/gen-auto-libm-tests.c (test_functions): Add more
19918 single-argument functions.
19919 (special_fill_pi_2): New function.
19920 (special_fill_minus_pi_2): Likewise.
19921 (special_fill_pi_6): Likewise.
19922 (special_fill_minus_pi_6): Likewise.
19923 (special_fill_pi_3): Likewise.
19924 (special_fill_2pi_3): Likewise.
19925 (special_fill_e): Likewise.
19926 (special_fill_1_e): Likewise.
19927 (special_fill_e_minus_1): Likewise.
19928 (special_real_inputs): Add more special inputs.
19929 (output_for_one_input_case): Do not require ERANGE on underflow to
19930 zero if round-to-nearest result does not underflow to zero, unless
19931 exact results required.
19932 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19933 atan, atanh, cbrt, cos and cosh.
19934 * math/auto-libm-test-out: Regenerated.
19935 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19936 (acos_tonearest_test_data): Likewise.
19937 (acos_towardzero_test_data): Likewise.
19938 (acos_downward_test_data): Likewise.
19939 (acos_upward_test_data): Likewise.
19940 (acosh_test_data): Likewise.
19941 (asin_test_data): Likewise.
19942 (asin_tonearest_test_data): Likewise.
19943 (asin_towardzero_test_data): Likewise.
19944 (asin_upward_test_data): Likewise.
19945 (asinh_test_data): Likewise.
19946 (atan_test_data): Likewise.
19947 (atanh_test_data): Likewise.
19948 (cbrt_test_data): Likewise.
19949 (cos_test_data): Likewise.
19950 (cos_tonearest_test_data): Likewise.
19951 (cos_towardzero_test_data): Likewise.
19952 (cos_downward_test_data): Likewise.
19953 (cos_upward_test_data): Likewise.
19954 (cosh_test_data): Likewise.
19955 (cosh_tonearest_test_data): Likewise.
19956 (cosh_towardzero_test_data): Likewise.
19957 (cosh_downward_test_data): Likewise.
19958 (cosh_upward_test_data): Likewise.
19959 * sysdeps/i386/fpu/libm-test-ulps: Update.
19960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19962 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19965 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19966 * math/w_exp10f.c (__exp10f): Likewise.
19967 * math/w_exp10l.c (__exp10l): Likewise.
19968 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19969 errno settings in existing tests.
19972 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19973 precision control set to double precision.
19974 * sysdeps/i386/fpu/w_sqrt.c: New file.
19975 * math/auto-libm-test-in: Add more tests.
19976 * math/auto-libm-test-out: Update.
19978 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19979 (sqrt_test_tonearest): New function.
19980 (sqrt_towardzero_test_data): New variable.
19981 (sqrt_test_towardzero): New function.
19982 (sqrt_downward_test_data): New variable.
19983 (sqrt_test_downward): New function.
19984 (sqrt_upward_test_data): New variable.
19985 (sqrt_test_upward): New function.
19986 (main): Call the new functions.
19988 * math/gen-auto-libm-tests.c: New file.
19989 * math/auto-libm-test-in: Likewise.
19990 * math/auto-libm-test-out: New generated file.
19991 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19993 (%beautify): Add generated representations of zero.
19994 (top level): Set $auto_input and call parse_auto_input.
19995 (beautify): Remove trailing "f" from hex float constants.
19996 (parse_args): Handle XFAIL_TEST.
19997 (convert_condition): New function.
19998 (or_value): Likewise.
19999 (or_cond_value): Likewise.
20000 (generate_testfile): Handle AUTO_TESTS_* lines.
20001 (parse_auto_input): New function.
20002 * math/libm-test.inc (XFAIL_TEST): New macro.
20003 (ERRNO_UNCHANGED): Update value.
20004 (ERRNO_EDOM): Likewise.
20005 (ERRNO_ERANGE): Likewise.
20006 (IGNORE_RESULT): Likewise.
20007 (TEST_COND_flt_32): New macro.
20008 (TEST_COND_dbl_64): Likewise.
20009 (TEST_COND_ldbl_96_intel): Likewise.
20010 (TEST_COND_ldbl_96_m68k): Likewise.
20011 (TEST_COND_ldbl_128): Likewise.
20012 (TEST_COND_ldbl_128ibm): Likewise.
20013 (TEST_COND_long32): Likewise.
20014 (TEST_COND_long64): Likewise.
20015 (TEST_COND_before_rounding): Likewise.
20016 (TEST_COND_after_rounding): Likewise.
20017 (enable_test): Handle XFAIL_TEST flag.
20018 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20019 with finite results.
20020 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20021 auto-libm-test-out.
20023 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20024 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20027 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20028 __tls_get_addr_internal instead of __tls_get_offset in order to
20029 avoid GOT pointer dependency. Make rtld export
20030 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20031 __tls_get_addr since we are a __tls_get_offset platform.
20032 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20033 GOT pointer being set up before.
20034 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20036 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20038 * manual/math.texi (Errors in Math Functions): Document accuracy
20042 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20043 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20049 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20050 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20051 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20052 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20053 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20054 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20055 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20056 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20057 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20059 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20060 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20061 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20062 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20063 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20065 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20067 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20069 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20070 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20071 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20072 atomic-feupdateenv and flt-rounds.
20073 * sysdeps/powerpc/nofpu/Versions (libc): Add
20074 __atomic_feholdexcept, __atomic_feclearexcept,
20075 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20076 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20077 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20078 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20079 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20084 * manual/arith.texi (FP Exceptions): Document that exceptions may
20085 not be raised when matherr is used.
20086 (Math Error Reporting): Document overflow in directed rounding
20087 modes. Document that errno may not be set when finite values are
20088 returned on overflow. Document intent to set errno on underflow
20089 only for underflow to zero.
20092 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20093 round-to-nearest then adjust result for other rounding modes.
20094 * include/fenv.h (fegetround): Use libm_hidden_proto.
20095 * math/fegetround.c (fegetround): Use libm_hidden_def.
20096 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20097 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20098 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20101 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20102 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20103 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20104 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20106 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20109 * nss/Versions (libnss_files): Add
20110 _nss_files_gethostbyname3_r.
20111 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20113 (HOST_DB_LOOKUP): Remove macro.
20114 (_nss_files_gethostbyname_r): Implement function without the
20115 HOST_DB_LOOKUP macro.
20116 (_nss_files_gethostbyname2_r): Likewise.
20118 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20120 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20122 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20124 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20125 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20128 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20130 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20131 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20132 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20133 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20134 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20135 __fe_nomask_env_priv and attribute_hidden.
20136 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20137 (libc_feupdateenv_test_ppc): Likewise.
20138 (libc_feresetround_ppc): Likewise.
20139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20140 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20141 compat_symbol macro.
20142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20143 (__fe_nomask_env): Likewise.
20144 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20146 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20148 * string/Makefile: Remove ifunc tests.
20149 * string/test-string.h: Define TEST_IFUNC.
20150 * string/test-bcopy-ifunc.c: Remove.
20151 * string/test-bzero-ifunc.c: Likewise.
20152 * string/test-memccpy-ifunc.c: Likewise.
20153 * string/test-memchr-ifunc.c: Likewise.
20154 * string/test-memcmp-ifunc.c: Likewise.
20155 * string/test-memcpy-ifunc.c: Likewise.
20156 * string/test-memmem-ifunc.c: Likewise.
20157 * string/test-memmove-ifunc.c: Likewise.
20158 * string/test-mempcpy-ifunc.c: Likewise.
20159 * string/test-memrchr-ifunc.c: Likewise.
20160 * string/test-memset-ifunc.c: Likewise.
20161 * string/test-rawmemchr-ifunc.c: Likewise.
20162 * string/test-stpcpy-ifunc.c: Likewise.
20163 * string/test-stpncpy-ifunc.c: Likewise.
20164 * string/test-strcasecmp-ifunc.c: Likewise.
20165 * string/test-strcasestr-ifunc.c: Likewise.
20166 * string/test-strcat-ifunc.c: Likewise.
20167 * string/test-strchr-ifunc.c: Likewise.
20168 * string/test-strchrnul-ifunc.c: Likewise.
20169 * string/test-strcmp-ifunc.c: Likewise.
20170 * string/test-strcpy-ifunc.c: Likewise.
20171 * string/test-strcspn-ifunc.c: Likewise.
20172 * string/test-strlen-ifunc.c: Likewise.
20173 * string/test-strncasecmp-ifunc.c: Likewise.
20174 * string/test-strncat-ifunc.c: Likewise.
20175 * string/test-strncmp-ifunc.c: Likewise.
20176 * string/test-strncpy-ifunc.c: Likewise.
20177 * string/test-strnlen-ifunc.c: Likewise.
20178 * string/test-strpbrk-ifunc.c: Likewise.
20179 * string/test-strrchr-ifunc.c: Likewise.
20180 * string/test-strspn-ifunc.c: Likewise.
20181 * string/test-strstr-ifunc.c: Likewise.
20183 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20185 * benchtests/Makefile: Remove ifunc tests.
20186 * benchtests/bench-string.h: Define TEST_IFUNC.
20187 * benchtests/bench-bcopy-ifunc.c: Remove.
20188 * benchtests/bench-bzero-ifunc.c: Likewise.
20189 * benchtests/bench-memccpy-ifunc.c: Likewise.
20190 * benchtests/bench-memchr-ifunc.c: Likewise.
20191 * benchtests/bench-memcmp-ifunc.c: Likewise.
20192 * benchtests/bench-memcpy-ifunc.c: Likewise.
20193 * benchtests/bench-memmem-ifunc.c: Likewise.
20194 * benchtests/bench-memmove-ifunc.c: Likewise.
20195 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20196 * benchtests/bench-memrchr-ifunc.c: Likewise.
20197 * benchtests/bench-memset-ifunc.c: Likewise.
20198 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20199 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20200 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20201 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20202 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20203 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20204 * benchtests/bench-strcat-ifunc.c: Likewise.
20205 * benchtests/bench-strchr-ifunc.c: Likewise.
20206 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20207 * benchtests/bench-strcmp-ifunc.c: Likewise.
20208 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20209 * benchtests/bench-strcpy-ifunc.c: Likewise.
20210 * benchtests/bench-strcspn-ifunc.c: Likewise.
20211 * benchtests/bench-strlen-ifunc.c: Likewise.
20212 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20213 * benchtests/bench-strncat-ifunc.c: Likewise.
20214 * benchtests/bench-strncmp-ifunc.c: Likewise.
20215 * benchtests/bench-strncpy-ifunc.c: Likewise.
20216 * benchtests/bench-strnlen-ifunc.c: Likewise.
20217 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20218 * benchtests/bench-strrchr-ifunc.c: Likewise.
20219 * benchtests/bench-strsep-ifunc.c: Likewise.
20220 * benchtests/bench-strspn-ifunc.c: Likewise.
20221 * benchtests/bench-strstr-ifunc.c: Likewise.
20223 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20225 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20227 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20229 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20230 * rt/aio.h: Likewise.
20231 * sysdeps/gnu/bits/utmp.h: Likewise.
20232 * sysdeps/gnu/bits/utmpx.h: Likewise.
20233 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20234 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20235 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20236 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20237 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20238 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20239 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20240 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20241 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20242 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20243 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20244 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20245 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20247 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20248 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20249 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20250 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20251 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20252 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20253 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20254 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20255 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20256 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20257 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20259 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20260 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20261 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20262 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20263 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20264 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20265 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20266 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20267 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20268 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20269 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20270 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20271 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20272 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20273 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20274 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20276 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20279 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20280 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20282 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20284 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20285 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20288 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20291 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20292 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20293 (__fesetround): Remove define.
20294 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20295 rounding and exceptions handling.
20296 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20297 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20298 (__fe_nomask_env): Likewise.
20299 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20300 __fegetround instead of fegetround.
20301 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20302 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20304 2013-11-21 Roland McGrath <roland@hack.frob.com>
20306 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20309 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20311 2013-11-21 Meador Inge <meadori@codesourcery.com>
20314 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20315 (encrypt_r): Likewise.
20316 * malloc/obstack.h (obstack_free): Likewise.
20317 * posix/unistd.h (encrypt): Likewise.
20319 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20321 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20322 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20323 DL_CALL_DT_FINI() that call the functions directly.
20324 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20325 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20326 * elf/dl-fini.c: Likewise.
20328 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20330 * malloc/hooks.c (memalign_check): Add alignment rounding.
20331 * malloc/malloc.c (_mid_memalign): New function.
20332 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20333 Implement by calling _mid_memalign.
20334 * manual/probes.texi (Memory Allocation Probes): Remove
20335 memory_valloc_retry and memory_pvalloc_retry.
20337 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20339 * locale/programs/locarchive.c (open_archive): Add const
20340 qualifier to ARCHIVEFNAME and copy default fname to
20344 * libio/tst-widetext.input: Rename Oriya to Odia.
20345 * locale/iso-639.def: Likewise.
20347 * manual/probes.texi (Mathematical Function Probes): Add
20348 documentation for sin, cos, asin and acos probes.
20349 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20350 (__sin32): Add slowasin probe.
20351 (__cos32): Add slowacos probe.
20352 (__mpsin): Add slowsin probe.
20353 (__mpcos): Add slowcos probe.
20355 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20358 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20359 thread-local __sim_exceptions_thread and global
20360 __sim_exceptions_global.
20361 (__sim_disabled_exceptions): Change to thread-local
20362 __sim_disabled_exceptions_thread and global
20363 __sim_disabled_exceptions_global.
20364 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20365 and global __sim_round_mode_global.
20366 (__simulate_exceptions): Use thread-local floating-point state and
20367 set global state from it as needed.
20368 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20369 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20370 __sim_round_mode_thread.
20371 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20372 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20373 and global __sim_exceptions_global.
20374 (__sim_disabled_exceptions): Change to thread-local
20375 __sim_disabled_exceptions_thread and global
20376 __sim_disabled_exceptions_global.
20377 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20378 and global __sim_round_mode_global.
20379 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20380 (SIM_SET_GLOBAL): Likewise.
20381 * sysdeps/powerpc/soft-fp/sfp-machine.h
20382 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20383 __sim_round_mode_thread.
20384 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20385 __sim_disabled_exceptions_thread.
20386 (__sim_exceptions): Change to __sim_exceptions_thread.
20387 (__sim_disabled_exceptions): Change to
20388 __sim_disabled_exceptions_thread.
20389 (__sim_round_mode): Change to __sim_round_mode_thread.
20390 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20391 thread-local floating-point state and set global state from it as
20393 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20394 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20395 (__sim_disabled_exceptions): Remove extern declaration.
20396 (feenableexcept): Use thread-local floating-point state and set
20397 global state from it as needed.
20398 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20399 extern declaration.
20400 (__sim_disabled_exceptions): Likewise.
20401 (__sim_round_mode): Likewise.
20402 (__fegetenv): Use thread-local floating-point state.
20403 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20404 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20405 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20406 floating-point state and set global state from it as needed.
20407 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20408 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20409 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20411 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20412 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20414 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20415 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20416 Use __sim_round_mode_thread.
20417 * math/test-fenv-tls.c: New file.
20418 * math/Makefile (tests): Add test-fenv-tls.
20419 ($(objpfx)test-fenv-tls): Depend on
20420 $(common-objpfx)nptl/libpthread.so.
20422 2013-11-19 Andreas Schwab <schwab@suse.de>
20424 * locale/programs/locale.c (show_info): Decode wordarray elements.
20425 * locale/categories.def (LC_MONETARY): Add element for
20426 _NL_MONETARY_CRNCYSTR.
20427 * locale/C-monetary.c (conversion_rate): New variable.
20428 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20431 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20433 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20434 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20436 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20438 * elf/Makefile (tst-auxv): New test.
20439 * elf/tst-auxv.c: New
20440 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20442 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20444 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20445 (hidden_proto): Caller changed.
20446 (hidden_tls_proto): New macro.
20447 (libc_hidden_tls_proto): Likewise.
20448 (rtld_hidden_tls_proto): Likewise.
20449 (libm_hidden_tls_proto): Likewise.
20450 (libresolv_hidden_tls_proto): Likewise.
20451 (librt_hidden_tls_proto): Likewise.
20452 (libdl_hidden_tls_proto): Likewise.
20453 (libnss_files_hidden_tls_proto): Likewise.
20454 (libnsl_hidden_tls_proto): Likewise.
20455 (libnss_nisplus_hidden_tls_proto): Likewise.
20456 (libutil_hidden_tls_proto): Likewise.
20458 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20461 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20462 (decompose_rpath): Defer expansion to fillin_rpath.
20463 (_dl_init_paths): Pass linkmap to fillin_rpath.
20465 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20467 * benchtests/Makefile: Add strsep.
20468 * benchtests/bench-strsep.c: New file: strsep benchtest.
20469 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20471 2013-11-18 Andreas Schwab <schwab@suse.de>
20473 * locale/programs/locale.c (show_info) [case byte]: Check for
20474 '\377' instead of '\177'.
20475 * locale/C-monetary.c (not_available): Always use "\377".
20476 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20477 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20478 detect unavailable sign_posn locale elements.
20479 * locale/localeconv.c (__localeconv): For grouping and
20480 mon_grouping handle "\177" and "\377" like no grouping.
20481 (INT_ELEM): New macro. Use it to set all numeric members.
20482 * locale/programs/ld-monetary.c (monetary_read)
20483 <tok_mon_grouping>: Normalize single -1 to the empty string.
20484 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20487 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20490 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20491 when we match (nil).
20492 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20494 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20496 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20497 (NO_TEST_INLINE): Update value.
20498 (ERRNO_UNCHANGED): Likewise.
20499 (ERRNO_EDOM): Likewise.
20500 (ERRNO_ERANGE): Likewise.
20501 (IGNORE_RESULT): Likewise.
20502 (check_float_internal): Check signs of NaN results if
20503 TEST_NAN_SIGN used.
20504 (check_complex): Pass TEST_NAN_SIGN flag through to second
20505 check_float_internal call.
20506 (copysign_test_data): Add tests with quiet NaNs as second
20507 argument. Use TEST_NAN_SIGN.
20508 (fabs_test_data): Add test of negative quiet NaN argument. Use
20510 (signbit_test_data): Add tests of quiet NaN argument.
20511 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20513 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20515 (parse_args): Handle function results specified as IGNORE.
20516 * math/libm-test.inc (IGNORE_RESULT): New macro.
20517 (check_float_internal): Do not check numerical result if flag
20519 (check_complex): Pass through IGNORE_RESULT to second
20520 check_float_internal call.
20521 (check_int): Do not check numerical result if flag IGNORE_RESULT
20523 (check_long): Likewise.
20524 (check_bool): Likewise.
20525 (check_longlong): Likewise.
20526 (lrint_test_data): Add tests of infinite and NaN arguments.
20527 (lrint_tonearest_test_data): Likewise.
20528 (lrint_towardzero_test_data): Likewise.
20529 (lrint_downward_test_data): Likewise.
20530 (lrint_upward_test_data): Likewise.
20531 (llrint_test_data): Likewise.
20532 (llrint_tonearest_test_data): Likewise.
20533 (llrint_towardzero_test_data): Likewise.
20534 (llrint_downward_test_data): Likewise.
20535 (llrint_upward_test_data): Likewise.
20536 (lround_test_data): Likewise.
20537 (llround_test_data): Likewise.
20539 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20540 (ERRNO_UNCHANGED): Update value.
20541 (ERRNO_EDOM): Likewise.
20542 (ERRNO_ERANGE): Likewise.
20543 (NO_TEST_INLINE_FLOAT): New macro.
20544 (NO_TEST_INLINE_DOUBLE): Likewise.
20545 (enable_test): New function.
20546 (RUN_TEST_f_f): Check enable_test before running test.
20547 (RUN_TEST_2_f): Likewise.
20548 (RUN_TEST_fff_f): Likewise.
20549 (RUN_TEST_c_f): Likewise.
20550 (RUN_TEST_f_f1): Likewise.
20551 (RUN_TEST_fF_f1): Likewise.
20552 (RUN_TEST_fI_f1): Likewise.
20553 (RUN_TEST_ffI_f1): Likewise.
20554 (RUN_TEST_c_c): Likewise.
20555 (RUN_TEST_cc_c): Likewise.
20556 (RUN_TEST_f_i): Likewise.
20557 (RUN_TEST_f_i_tg): Likewise.
20558 (RUN_TEST_ff_i_tg): Likewise.
20559 (RUN_TEST_f_b): Likewise.
20560 (RUN_TEST_f_b_tg): Likewise.
20561 (RUN_TEST_f_l): Likewise.
20562 (RUN_TEST_f_L): Likewise.
20563 (RUN_TEST_fFF_11): Likewise.
20564 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20566 (cosh_test_data): Likewise.
20567 (exp_test_data): Likewise.
20568 (expm1_test_data): Likewise.
20569 (hypot_test_data): Likewise.
20570 (pow_test_data): Likewise.
20571 (sinh_test_data): Likewise.
20572 (tanh_test_data): Likewise.
20573 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20576 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20577 tests with quiet NaN input and output.
20578 (acosh_test_data): Likewise.
20579 (asin_test_data): Likewise.
20580 (asinh_test_data): Likewise.
20581 (atan_test_data): Likewise.
20582 (atanh_test_data): Likewise.
20583 (atan2_test_data): Likewise.
20584 (cbrt_test_data): Likewise.
20585 (cos_test_data): Likewise.
20586 (cosh_test_data): Likewise.
20587 (erf_test_data): Likewise.
20588 (erfc_test_data): Likewise.
20589 (exp_test_data): Likewise.
20590 (exp10_test_data): Likewise.
20591 (exp2_test_data): Likewise.
20592 (expm1_test_data): Likewise.
20593 (hypot_test_data): Likewise.
20594 (j0_test_data): Likewise.
20595 (j1_test_data): Likewise.
20596 (jn_test_data): Likewise.
20597 (lgamma_test_data): Likewise.
20598 (log_test_data): Likewise.
20599 (log10_test_data): Likewise.
20600 (log1p_test_data): Likewise.
20601 (log2_test_data): Likewise.
20602 (pow_test_data): Likewise.
20603 (scalb_test_data): Likewise.
20604 (sin_test_data): Likewise.
20605 (sincos_test_data): Likewise.
20606 (sinh_test_data): Likewise.
20607 (tan_test_data): Likewise.
20608 (tanh_test_data): Likewise.
20609 (tgamma_test_data): Likewise.
20610 (y0_test_data): Likewise.
20611 (y1_test_data): Likewise.
20612 (yn_test_data): Likewise.
20615 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20616 argument being NaN and avoid computations with second argument in
20618 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20619 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20620 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20622 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20624 * locale/iso-639.def: Add Chitwani Tharu (the).
20626 2013-11-14 Andreas Schwab <schwab@suse.de>
20628 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20629 word instead of empty string.
20631 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20634 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20636 (__fe_nomask_env): Likewise.
20638 2013-11-13 Steve Ellcey <sellcey@mips.com>
20640 * benchtests/bench-timing.h: Include time.h.
20642 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20645 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20647 * sysdeps/unix/sysv/linux/configure: Regenerated.
20649 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20652 * stdlib/strtod_l.c (round_and_return): Do not consider
20653 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20654 exponent one less than half the least subnormal exponent.
20655 * stdlib/test-strtod-round-data: Add more tests.
20656 * stdlib/tst-strtod-round.c (tests): Regenerated.
20658 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20661 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20662 (__fe_mask_env): Likewise.
20663 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20664 libm_hidden_proto and add function prototype.
20665 (__fe_mask_env): Add function prototype.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20667 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20669 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20671 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20673 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20675 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20676 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20678 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20680 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20681 of htab_find_slot().
20683 2013-11-11 David S. Miller <davem@davemloft.net>
20686 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20687 symbol in the non-vis3 case in static builds.
20688 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20689 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20690 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20691 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20693 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20696 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20699 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20701 * benchtests/Makefile: Add bench-strtod.
20702 * benchtests/bench-strtod.c: New file: strtod benchtest
20704 2013-11-11 Andreas Schwab <schwab@suse.de>
20707 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20708 terminating NUL in key length.
20710 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20712 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20713 Add artificial ODP entry for vDSO symbol for PPC64.
20714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20715 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20717 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20720 * nss/getent.c (services_keys): Recognize services starting with digit.
20722 2013-11-06 David S. Miller <davem@davemloft.net>
20725 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20726 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20728 2013-11-06 Will Newton <will.newton@linaro.org>
20730 * manual/memory.texi (Malloc Examples): Remove register
20731 keyword from examples.
20733 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20735 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20737 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20740 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20741 depending on [__GCC_IEC_559 > 0].
20742 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20743 depending on [__GCC_IEC_559_COMPLEX > 0].
20745 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20747 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20750 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20752 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20754 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20757 * malloc/malloc (malloc_info): Do not handle first bin as
20760 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20762 * locale/iso-639.def: Add Central Nahuatl (nhn).
20764 2013-11-01 Bruno Haible <bruno@clisp.org>
20767 * manual/math.texi (BSD Random): Specify range upper bound as
20770 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20772 * locale/iso-639.def: Add Meadow Mari (mhr).
20774 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20776 [BZ #14752], [BZ #15763]
20777 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20779 * rt/tst_shm.c: Add test for escaping directory.
20781 2013-10-31 Andreas Schwab <schwab@suse.de>
20784 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20785 followed by 'x' as part of digit sequence.
20786 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20788 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20791 * configure.ac: allow GNU Make 4.0 and greater.
20792 * configure: Regenerated.
20794 2013-10-30 Will Newton <will.newton@linaro.org>
20797 * malloc/hooks.c (memalign_check): Limit alignment to the
20798 maximum representable power of two.
20799 * malloc/malloc.c (__libc_memalign): Likewise.
20800 * malloc/tst-memalign.c (do_test): Add test for very
20801 large alignment values.
20802 * malloc/tst-posix_memalign.c (do_test): Likewise.
20804 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20807 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20808 (munmap_chunk): Likewise.
20809 (mremap_chunk): Likewise.
20811 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20814 * stdlib/div.c (div): Remove obsolete code.
20815 * stdlib/ldiv.c (ldiv): Likewise.
20816 * stdlib/lldiv.c (lldiv): Likewise.
20818 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20821 * nss/nss_files/files-XXX.c (get_contents_ret): New
20823 (get_contents): New function.
20824 (internal_getent): Use it. Expand size of LINEBUFLEN.
20826 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20828 * configure.in: Moved to ...
20829 * configure.ac: ... here. Change reference to configure.in
20831 * sysdeps/arm/preconfigure.ac: ... here.
20832 configure.in to configure.ac.
20833 * sysdeps/gnu/configure.in: Moved to ...
20834 * sysdeps/gnu/configure.ac: ... here.
20835 * sysdeps/i386/configure.in: Moved to ...
20836 * sysdeps/i386/configure.ac: ... here.
20837 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20838 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20839 * sysdeps/mach/configure.in: Moved to ...
20840 * sysdeps/mach/configure.ac: ... here.
20841 * sysdeps/mach/hurd/configure.in: Moved to ...
20842 * sysdeps/mach/hurd/configure.ac: ... here.
20843 * sysdeps/powerpc/configure.in: Moved to ...
20844 * sysdeps/powerpc/configure.ac: ... here.
20845 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20846 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20847 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20848 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20849 * sysdeps/s390/s390-32/configure.in: Moved to ...
20850 * sysdeps/s390/s390-32/configure.ac: ... here.
20851 * sysdeps/s390/s390-64/configure.in: Moved to ...
20852 * sysdeps/s390/s390-64/configure.ac: ... here.
20853 * sysdeps/sh/configure.in: Moved to ...
20854 * sysdeps/sh/configure.ac: ... here.
20855 * sysdeps/sparc/configure.in: Moved to ...
20856 * sysdeps/sparc/configure.ac: ... here.
20857 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20858 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20859 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20860 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20861 * sysdeps/x86_64/configure.in: Moved to ...
20862 * sysdeps/x86_64/configure.ac: ... here.
20863 * sysdeps/x86_64/preconfigure.in: Moved to ...
20864 * sysdeps/x86_64/preconfigure.ac: ... here.
20865 * aclocal.m4: Change reference to configure.in to configure.ac.
20866 * config.h.in: Likewise.
20867 * manual/install.texi: Likewise.
20868 * manual/maint.texi: Likewise.
20869 * Makefile: Likewise.
20870 * malloc/Makefile: Likewise.
20871 * nscd/Makefile: Likewise.
20872 * Makeconfig: Change reference to configure.in and
20873 preconfigure.in to configure.ac and preconfigure.ac
20875 * INSTALL: Regenerated.
20876 * configure: Likewise.
20877 * sysdeps/gnu/configure: Likewise.
20878 * sysdeps/i386/configure: Likewise.
20879 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20880 * sysdeps/mach/configure: Likewise.
20881 * sysdeps/mach/hurd/configure: Likewise.
20882 * sysdeps/powerpc/configure: Likewise.
20883 * sysdeps/powerpc/powerpc32/configure: Likewise.
20884 * sysdeps/powerpc/powerpc64/configure: Likewise.
20885 * sysdeps/s390/s390-32/configure: Likewise.
20886 * sysdeps/s390/s390-64/configure: Likewise.
20887 * sysdeps/sh/configure: Likewise.
20888 * sysdeps/sparc/configure: Likewise.
20889 * sysdeps/unix/sysv/linux/configure: Likewise.
20890 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20891 * sysdeps/x86_64/configure: Likewise.
20892 * sysdeps/x86_64/preconfigure: Likewise.
20894 2013-10-29 Andreas Schwab <schwab@suse.de>
20896 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20898 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20900 * benchtests/pow-inputs: Add new inputs.
20902 * benchtests/exp-inputs: Add new inputs.
20904 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20905 conditional check for return value.
20906 (__cos32): Likewise.
20908 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20910 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20911 to provide a boost for large inputs with word alignment.
20912 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20913 implementation based on optimized PPC64 strcpy.
20914 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20915 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20916 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20917 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20919 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20922 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20924 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20927 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20928 * time/tst-strptime.c (day_tests): Add testcase.
20930 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20933 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20935 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20938 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20939 MAP_FAILED on error.
20941 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20944 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20945 heap for large requests.
20947 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20950 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20951 result if the result has no associated interface.
20952 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20953 interface for all 127.X.Y.Z addresses.
20955 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20957 * locale/iso-639.def: Add Ligurian (lij)
20959 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20962 * sunrpc/rpc_main.c: Document rpcgen -5.
20964 2013-10-19 Michael Stahl <mstahl@redhat.com>
20966 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20968 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20971 * posix/glob.c: Match only directories when trailing slash is present.
20972 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20973 (main): Add testcase.
20975 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20978 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20980 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20982 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20983 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20984 AUTH_DES and cindex for FIPS 140-2.
20985 (DES Encryption): Add cindex FIPS 46-3.
20987 * locale/locarchive.h (struct locarhandle): Add fname.
20988 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20989 if an optional argument was specified to --list-archive,
20991 * locale/programs/locarchive.c (show_archive_content): Take new
20992 argument fname and pass it via ah.fname to open_archive.
20993 * locale/programs/localedef.h: Update decl.
20994 (open_archive): If AH->fname is non-null, open that file
20995 rather than the default file name, and don't ignore ENOENT.
20996 (create_archive): Set AH.fname to NULL.
20997 (delete_locales_from_archive): Likewise.
20998 (add_locales_to_archive): Likewise.
20999 * locale/programs/locfile.c (write_all_categories): Likewise.
21001 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21002 Aldy Hernandez <aldyh@redhat.com>
21004 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21005 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21006 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21007 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21008 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21009 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21011 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21012 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21013 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21014 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21015 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21016 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21017 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21018 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21020 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21022 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21024 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21026 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21027 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21029 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21030 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21031 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21032 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21034 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21035 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21036 * sysdeps/powerpc/preconfigure: Likewise.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21039 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21040 Replace contents of file by #include of <fenv_libc.h>.
21041 * sysdeps/powerpc/soft-fp/sfp-machine.h
21042 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21044 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21046 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21047 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21048 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21049 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21051 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21055 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21057 Allow copysignl PLT reference to be missing.
21059 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21060 Joseph Myers <joseph@codesourcery.com
21063 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21065 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21067 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21069 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21070 * elf/tst-tls1.c: Likewise.
21071 * elf/tst-tls10.h: Likewise.
21072 * elf/tst-tls14.c: Likewise.
21073 * elf/tst-tls2.c: Likewise.
21074 * elf/tst-tls3.c: Likewise.
21075 * elf/tst-tls4.c: Likewise.
21076 * elf/tst-tls5.c: Likewise.
21077 * elf/tst-tls6.c: Likewise.
21078 * elf/tst-tls7.c: Likewise.
21079 * elf/tst-tls8.c: Likewise.
21080 * elf/tst-tls9.c: Likewise.
21081 * elf/tst-tlsmod1.c: Likewise.
21082 * elf/tst-tlsmod13.c: Likewise.
21083 * elf/tst-tlsmod13a.c: Likewise.
21084 * elf/tst-tlsmod14a.c: Likewise.
21085 * elf/tst-tlsmod16a.c: Likewise.
21086 * elf/tst-tlsmod16b.c: Likewise.
21087 * elf/tst-tlsmod2.c: Likewise.
21088 * elf/tst-tlsmod3.c: Likewise.
21089 * elf/tst-tlsmod4.c: Likewise.
21090 * elf/tst-tlsmod5.c: Likewise.
21091 * elf/tst-tlsmod6.c: Likewise.
21093 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21096 * malloc/malloc.c: remove checks for statistics.
21098 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21101 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21102 * inet/tst-network.c: Add testcase.
21104 2013-10-17 Andreas Schwab <schwab@suse.de>
21107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21108 to determine canonical name.
21110 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21112 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21113 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21115 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21118 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21122 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21124 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21125 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21126 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21127 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21128 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21129 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21130 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21135 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21136 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21137 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21138 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21139 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21140 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21141 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21142 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21144 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21146 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21147 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21149 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21150 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21151 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21153 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21154 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21162 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21163 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21165 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21167 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21171 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21174 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21175 make result into a quiet NaN.
21177 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21179 * soft-fp/adddf3.c: Fix horizontal whitespace.
21180 * soft-fp/addsf3.c: Likewise.
21181 * soft-fp/addtf3.c: Likewise.
21182 * soft-fp/divdf3.c: Likewise.
21183 * soft-fp/divsf3.c: Likewise.
21184 * soft-fp/divtf3.c: Likewise.
21185 * soft-fp/double.h: Likewise.
21186 * soft-fp/eqdf2.c: Likewise.
21187 * soft-fp/eqsf2.c: Likewise.
21188 * soft-fp/eqtf2.c: Likewise.
21189 * soft-fp/extenddftf2.c: Likewise.
21190 * soft-fp/extended.h: Likewise.
21191 * soft-fp/extendsfdf2.c: Likewise.
21192 * soft-fp/extendsftf2.c: Likewise.
21193 * soft-fp/extendxftf2.c: Likewise.
21194 * soft-fp/fixdfdi.c: Likewise.
21195 * soft-fp/fixdfsi.c: Likewise.
21196 * soft-fp/fixdfti.c: Likewise.
21197 * soft-fp/fixsfdi.c: Likewise.
21198 * soft-fp/fixsfsi.c: Likewise.
21199 * soft-fp/fixsfti.c: Likewise.
21200 * soft-fp/fixtfdi.c: Likewise.
21201 * soft-fp/fixtfsi.c: Likewise.
21202 * soft-fp/fixtfti.c: Likewise.
21203 * soft-fp/fixunsdfdi.c: Likewise.
21204 * soft-fp/fixunsdfsi.c: Likewise.
21205 * soft-fp/fixunsdfti.c: Likewise.
21206 * soft-fp/fixunssfdi.c: Likewise.
21207 * soft-fp/fixunssfsi.c: Likewise.
21208 * soft-fp/fixunssfti.c: Likewise.
21209 * soft-fp/fixunstfdi.c: Likewise.
21210 * soft-fp/fixunstfsi.c: Likewise.
21211 * soft-fp/fixunstfti.c: Likewise.
21212 * soft-fp/floatdidf.c: Likewise.
21213 * soft-fp/floatdisf.c: Likewise.
21214 * soft-fp/floatditf.c: Likewise.
21215 * soft-fp/floatsidf.c: Likewise.
21216 * soft-fp/floatsisf.c: Likewise.
21217 * soft-fp/floatsitf.c: Likewise.
21218 * soft-fp/floattidf.c: Likewise.
21219 * soft-fp/floattisf.c: Likewise.
21220 * soft-fp/floattitf.c: Likewise.
21221 * soft-fp/floatundidf.c: Likewise.
21222 * soft-fp/floatundisf.c: Likewise.
21223 * soft-fp/floatunditf.c: Likewise.
21224 * soft-fp/floatunsidf.c: Likewise.
21225 * soft-fp/floatunsisf.c: Likewise.
21226 * soft-fp/floatunsitf.c: Likewise.
21227 * soft-fp/floatuntidf.c: Likewise.
21228 * soft-fp/floatuntisf.c: Likewise.
21229 * soft-fp/floatuntitf.c: Likewise.
21230 * soft-fp/fmadf4.c: Likewise.
21231 * soft-fp/fmasf4.c: Likewise.
21232 * soft-fp/fmatf4.c: Likewise.
21233 * soft-fp/gedf2.c: Likewise.
21234 * soft-fp/gesf2.c: Likewise.
21235 * soft-fp/getf2.c: Likewise.
21236 * soft-fp/ledf2.c: Likewise.
21237 * soft-fp/lesf2.c: Likewise.
21238 * soft-fp/letf2.c: Likewise.
21239 * soft-fp/muldf3.c: Likewise.
21240 * soft-fp/mulsf3.c: Likewise.
21241 * soft-fp/multf3.c: Likewise.
21242 * soft-fp/negdf2.c: Likewise.
21243 * soft-fp/negsf2.c: Likewise.
21244 * soft-fp/negtf2.c: Likewise.
21245 * soft-fp/op-1.h: Likewise.
21246 * soft-fp/op-2.h: Likewise.
21247 * soft-fp/op-4.h: Likewise.
21248 * soft-fp/op-8.h: Likewise.
21249 * soft-fp/op-common.h: Likewise.
21250 * soft-fp/quad.h: Likewise.
21251 * soft-fp/single.h: Likewise.
21252 * soft-fp/soft-fp.h: Likewise.
21253 * soft-fp/sqrtdf2.c: Likewise.
21254 * soft-fp/sqrtsf2.c: Likewise.
21255 * soft-fp/sqrttf2.c: Likewise.
21256 * soft-fp/subdf3.c: Likewise.
21257 * soft-fp/subsf3.c: Likewise.
21258 * soft-fp/subtf3.c: Likewise.
21259 * soft-fp/truncdfsf2.c: Likewise.
21260 * soft-fp/trunctfdf2.c: Likewise.
21261 * soft-fp/trunctfsf2.c: Likewise.
21262 * soft-fp/trunctfxf2.c: Likewise.
21263 * soft-fp/unorddf2.c: Likewise.
21264 * soft-fp/unordsf2.c: Likewise.
21265 * soft-fp/unordtf2.c: Likewise.
21267 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21269 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21270 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21272 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21274 * elf/dl-libc.c: Clear initfini list after freeing.
21276 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21278 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21279 * soft-fp/addsf3.c: Likewise.
21280 * soft-fp/addtf3.c: Likewise.
21281 * soft-fp/divdf3.c: Likewise.
21282 * soft-fp/divsf3.c: Likewise.
21283 * soft-fp/divtf3.c: Likewise.
21284 * soft-fp/double.h: Likewise.
21285 * soft-fp/eqdf2.c: Likewise.
21286 * soft-fp/eqsf2.c: Likewise.
21287 * soft-fp/eqtf2.c: Likewise.
21288 * soft-fp/extenddftf2.c: Likewise.
21289 * soft-fp/extended.h: Likewise.
21290 * soft-fp/extendsfdf2.c: Likewise.
21291 * soft-fp/extendsftf2.c: Likewise.
21292 * soft-fp/extendxftf2.c: Likewise.
21293 * soft-fp/fixdfdi.c: Likewise.
21294 * soft-fp/fixdfsi.c: Likewise.
21295 * soft-fp/fixdfti.c: Likewise.
21296 * soft-fp/fixsfdi.c: Likewise.
21297 * soft-fp/fixsfsi.c: Likewise.
21298 * soft-fp/fixsfti.c: Likewise.
21299 * soft-fp/fixtfdi.c: Likewise.
21300 * soft-fp/fixtfsi.c: Likewise.
21301 * soft-fp/fixtfti.c: Likewise.
21302 * soft-fp/fixunsdfdi.c: Likewise.
21303 * soft-fp/fixunsdfsi.c: Likewise.
21304 * soft-fp/fixunsdfti.c: Likewise.
21305 * soft-fp/fixunssfdi.c: Likewise.
21306 * soft-fp/fixunssfsi.c: Likewise.
21307 * soft-fp/fixunssfti.c: Likewise.
21308 * soft-fp/fixunstfdi.c: Likewise.
21309 * soft-fp/fixunstfsi.c: Likewise.
21310 * soft-fp/fixunstfti.c: Likewise.
21311 * soft-fp/floatdidf.c: Likewise.
21312 * soft-fp/floatdisf.c: Likewise.
21313 * soft-fp/floatditf.c: Likewise.
21314 * soft-fp/floatsidf.c: Likewise.
21315 * soft-fp/floatsisf.c: Likewise.
21316 * soft-fp/floatsitf.c: Likewise.
21317 * soft-fp/floattidf.c: Likewise.
21318 * soft-fp/floattisf.c: Likewise.
21319 * soft-fp/floattitf.c: Likewise.
21320 * soft-fp/floatundidf.c: Likewise.
21321 * soft-fp/floatundisf.c: Likewise.
21322 * soft-fp/floatunsidf.c: Likewise.
21323 * soft-fp/floatunsisf.c: Likewise.
21324 * soft-fp/floatuntidf.c: Likewise.
21325 * soft-fp/floatuntisf.c: Likewise.
21326 * soft-fp/floatuntitf.c: Likewise.
21327 * soft-fp/fmadf4.c: Likewise.
21328 * soft-fp/fmasf4.c: Likewise.
21329 * soft-fp/fmatf4.c: Likewise.
21330 * soft-fp/gedf2.c: Likewise.
21331 * soft-fp/gesf2.c: Likewise.
21332 * soft-fp/getf2.c: Likewise.
21333 * soft-fp/ledf2.c: Likewise.
21334 * soft-fp/lesf2.c: Likewise.
21335 * soft-fp/letf2.c: Likewise.
21336 * soft-fp/muldf3.c: Likewise.
21337 * soft-fp/mulsf3.c: Likewise.
21338 * soft-fp/multf3.c: Likewise.
21339 * soft-fp/negdf2.c: Likewise.
21340 * soft-fp/negsf2.c: Likewise.
21341 * soft-fp/negtf2.c: Likewise.
21342 * soft-fp/op-1.h: Likewise.
21343 * soft-fp/op-2.h: Likewise.
21344 * soft-fp/op-4.h: Likewise.
21345 * soft-fp/op-8.h: Likewise.
21346 * soft-fp/op-common.h: Likewise.
21347 * soft-fp/quad.h: Likewise.
21348 * soft-fp/single.h: Likewise.
21349 * soft-fp/soft-fp.h: Likewise.
21350 * soft-fp/sqrtdf2.c: Likewise.
21351 * soft-fp/sqrtsf2.c: Likewise.
21352 * soft-fp/sqrttf2.c: Likewise.
21353 * soft-fp/subdf3.c: Likewise.
21354 * soft-fp/subsf3.c: Likewise.
21355 * soft-fp/subtf3.c: Likewise.
21356 * soft-fp/truncdfsf2.c: Likewise.
21357 * soft-fp/trunctfdf2.c: Likewise.
21358 * soft-fp/trunctfsf2.c: Likewise.
21359 * soft-fp/trunctfxf2.c: Likewise.
21360 * soft-fp/unorddf2.c: Likewise.
21361 * soft-fp/unordsf2.c: Likewise.
21362 * soft-fp/unordtf2.c: Likewise.
21364 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21367 * misc/error.c (error_tail): Fix possible buffer overflow.
21369 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21372 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21375 2013-10-14 P. J. McDermott <pj@pehjota.net>
21378 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21379 testing pipefail option.
21381 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21383 * soft-fp/double.h: Indent preprocessor directives inside #if.
21384 * soft-fp/extended.h: Likewise.
21385 * soft-fp/op-2.h: Likewise.
21386 * soft-fp/op-4.h: Likewise.
21387 * soft-fp/op-common.h: Likewise.
21388 * soft-fp/quad.h: Likewise.
21389 * soft-fp/single.h: Likewise.
21390 * soft-fp/soft-fp.h: Likewise.
21392 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21394 * iconv/iconv_prog.c: Fix typos.
21395 * stdio-common/psiginfo-data.h: Likewise.
21397 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21400 * locale/setlocale.c: Fix typo.
21402 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21405 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21406 signaling NaN arguments.
21407 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21408 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21411 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21412 unordered operands.
21413 * soft-fp/gesf2.c (__gesf2): Likewise.
21414 * soft-fp/getf2.c (__getf2): Likewise.
21415 * soft-fp/ledf2.c (__ledf2): Likewise.
21416 * soft-fp/lesf2.c (__lesf2): Likewise.
21417 * soft-fp/letf2.c (__letf2): Likewise.
21419 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21420 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21421 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21422 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21423 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21424 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21425 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21426 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21427 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21428 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21429 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21430 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21431 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21432 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21433 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21434 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21435 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21436 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21437 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21438 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21439 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21440 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21441 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21442 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21443 * soft-fp/floattidf.c (__floattidf): Likewise.
21444 * soft-fp/floattisf.c (__floattisf): Likewise.
21445 * soft-fp/floattitf.c (__floattitf): Likewise.
21446 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21447 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21448 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21449 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21450 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21451 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21452 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21453 * soft-fp/gesf2.c (__gesf2): Likewise.
21454 * soft-fp/getf2.c (__getf2): Likewise.
21455 * soft-fp/ledf2.c (__ledf2): Likewise.
21456 * soft-fp/lesf2.c (__lesf2): Likewise.
21457 * soft-fp/letf2.c (__letf2): Likewise.
21459 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21460 Undefine and redefine.
21461 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21462 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21463 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21464 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21465 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21466 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21467 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21468 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21469 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21470 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21471 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21472 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21473 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21474 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21475 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21478 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21479 without decrementing exponent if mantissa >= that for the
21480 denominator, not >.
21481 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21482 denominator, not >. Decrement exponent in < case instead of
21483 incrementing in >= case.
21484 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21485 without decrementing exponent if mantissa >= that for the
21486 denominator, not >.
21488 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21489 computing saturated result for unsigned overflow.
21491 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21492 Jeff Law <law@redhat.com>
21494 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21495 (atan2Mp): Add systemtap probe marker.
21496 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21497 (__ieee754_log): Add systemtap probe marker.
21498 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21499 (atanMp): Add systemtap probe marker.
21500 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21501 (tanMp): Add systemtap probe marker.
21502 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21503 (__slowexp): Add systemtap probe marker.
21504 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21505 (__slowpow): Add systemtap probe marker.
21506 * manual/probes.texi: Document probes.
21508 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21511 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21513 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21515 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21516 written to buffer but not flushed.
21517 * libio/iofwrite_u.c: Likewise.
21518 * libio/iopadn.c: Return bytes returned even if EOF was
21520 * libio/iowpadn.c: Likewise.
21521 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21522 if _IO_padn does not write the whole buffer.
21523 [!COMPILE_WPRINTF] (PAD): Likewise.
21525 2013-10-10 David S. Miller <davem@davemloft.net>
21527 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21530 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21532 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21533 instead of FSF address.
21534 * soft-fp/fixdfti.c: Likewise.
21535 * soft-fp/fixsfti.c: Likewise.
21536 * soft-fp/fixtfti.c: Likewise.
21537 * soft-fp/fixunsdfti.c: Likewise.
21538 * soft-fp/fixunssfti.c: Likewise.
21539 * soft-fp/fixunstfti.c: Likewise.
21540 * soft-fp/floattidf.c: Likewise.
21541 * soft-fp/floattisf.c: Likewise.
21542 * soft-fp/floattitf.c: Likewise.
21543 * soft-fp/floatuntidf.c: Likewise.
21544 * soft-fp/floatuntisf.c: Likewise.
21545 * soft-fp/floatuntitf.c: Likewise.
21546 * soft-fp/trunctfxf2.c: Likewise.
21548 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21549 * soft-fp/fixdfti.c: Likewise.
21550 * soft-fp/fixsfti.c: Likewise.
21551 * soft-fp/fixtfti.c: Likewise.
21552 * soft-fp/fixunsdfti.c: Likewise.
21553 * soft-fp/fixunssfti.c: Likewise.
21554 * soft-fp/fixunstfti.c: Likewise.
21555 * soft-fp/floattidf.c: Likewise.
21556 * soft-fp/floattisf.c: Likewise.
21557 * soft-fp/floattitf.c: Likewise.
21558 * soft-fp/floatuntidf.c: Likewise.
21559 * soft-fp/floatuntisf.c: Likewise.
21560 * soft-fp/floatuntitf.c: Likewise.
21561 * soft-fp/trunctfxf2.c: Likewise.
21563 2013-10-10 David S. Miller <davem@davemloft.net>
21565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21567 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21569 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21570 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21571 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21572 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21573 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21574 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21575 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21578 for NaNs before doing comparisons on argument.
21579 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21582 2013-10-10 Will Newton <will.newton@linaro.org>
21584 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21585 passed to _int_memalign does not overflow.
21587 2013-10-10 Torvald Riegel <triegel@redhat.com>
21589 * scripts/bench.pl: Add include-sources directive.
21590 * benchtests/README: Update documentation.
21592 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21594 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21595 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21596 instead of FP_INIT_ROUNDMODE.
21597 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21598 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21601 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21602 copy class of input value.
21603 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21604 not handle exceptions.
21605 * soft-fp/negsf2.c (__negsf2): Likewise.
21606 * soft-fp/negtf2.c (__negtf2): Likewise.
21607 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21609 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21611 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21612 semicolon. From Linux kernel.
21614 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21616 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21618 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21621 * manual/socket.texi: Added statement about buffer
21622 for gethostbyname2_r.
21624 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21626 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21627 Use .p2align directive instead, throughout.
21628 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21629 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21630 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21632 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21633 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21634 * sysdeps/x86_64/strchr.S: Likewise.
21635 * sysdeps/x86_64/strrchr.S: Likewise.
21637 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21639 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21641 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21643 * sysdeps/generic/math_private.h (__mpsin1): Remove
21645 (__mpcos1): Likewise.
21646 (__mpsin): New argument __range_reduce.
21647 (__mpcos): Likewise.
21648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21649 (slow): Use __mpsin and __mpcos.
21653 (sloww1): Likewise.
21654 (sloww2): Likewise.
21655 (bsloww): Likewise.
21656 (bsloww1): Likewise.
21657 (bsloww2): Likewise.
21658 (cslow2): Likewise.
21659 (csloww): Likewise.
21660 (csloww1): Likewise.
21661 (csloww2): Likewise.
21662 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21663 range_reduce. Merge in __mpsin1.
21664 (__mpcos): Likewise.
21665 (__mpsin1): Remove.
21666 (__mpcos1): Likewise.
21668 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21670 * locale/loadlocale.c (_nl_intern_locale_data): Use
21672 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21673 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21674 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21675 obstack data is appropriately aligned.
21676 (obstack_int32_grow_fast): Likewise.
21677 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21678 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21679 (add_locale_uint32_array): Likewise.
21681 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21683 * benchtests/Makefile: Remove ARGLIST and RET variables.
21684 ($(objpfx)bench-%.c): Pass only function name to the script.
21685 * benchtests/README: Update documentation.
21686 * benchtests/acos-inputs: Add new directives.
21687 * benchtests/acosh-inputs: Likewise.
21688 * benchtests/asin-inputs: Likewise.
21689 * benchtests/asinh-inputs: Likewise.
21690 * benchtests/atan-inputs: Likewise.
21691 * benchtests/atanh-inputs: Likewise.
21692 * benchtests/cos-inputs: Likewise.
21693 * benchtests/cosh-inputs: Likewise.
21694 * benchtests/exp-inputs: Likewise.
21695 * benchtests/log-inputs: Likewise.
21696 * benchtests/pow-inputs: Likewise.
21697 * benchtests/rint-inputs: Likewise.
21698 * benchtests/sin-inputs: Likewise.
21699 * benchtests/sinh-inputs: Likewise.
21700 * benchtests/tan-inputs: Likewise.
21701 * benchtests/tanh-inputs: Likewise.
21702 * scripts/bench.pl: Add support for new directives.
21704 2013-10-07 Alan Modra <amodra@gmail.com>
21706 * README: Fix careless merge.
21708 2013-10-05 Alan Modra <amodra@gmail.com>
21710 * NEWS: Mention powerpc64le support and bugs fixed.
21711 * README: Both big-endian and little-endian powerpc64 supported.
21713 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21715 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21716 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21717 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21718 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21720 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21722 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21725 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21727 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21728 Move -mhard-float appending from
21729 ports/sysdeps/powerpc/powerpc32/Makefile.
21730 [$(with-fp) = yes] (ASFLAGS): Likewise.
21731 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21732 * sysdeps/powerpc/nofpu: Move directory from
21733 ports/sysdeps/powerpc/nofpu.
21734 * sysdeps/powerpc/soft-fp: Move directory from
21735 ports/sysdeps/powerpc/soft-fp.
21736 * sysdeps/powerpc/powerpc32/405: Move directory from
21737 ports/sysdeps/powerpc/powerpc32/405.
21738 * sysdeps/powerpc/powerpc32/440: Move directory from
21739 ports/sysdeps/powerpc/powerpc32/440.
21740 * sysdeps/powerpc/powerpc32/464: Move directory from
21741 ports/sysdeps/powerpc/powerpc32/464.
21742 * sysdeps/powerpc/powerpc32/476: Move directory from
21743 ports/sysdeps/powerpc/powerpc32/476.
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21745 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21747 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21749 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21751 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21753 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21754 * README: Update for powerpc-*-linux-gnu software floating point
21757 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21758 case to powerpc/powerpc32*.
21759 * sysdeps/unix/sysv/linux/configure: Regenerated.
21761 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21762 (_FPU_MASK_OM): Define as 0x04.
21763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21771 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21774 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21777 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21778 and setcontext_e500.
21780 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21782 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21784 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21786 * manual/threads.texi (Default Thread Attributes): Fix typo.
21788 2013-10-04 Will Newton <will.newton@linaro.org>
21790 * malloc/Makefile: Add tst-memalign.
21791 * malloc/tst-memalign.c: New file.
21793 * malloc/tst-posix_memalign.c: Add comments.
21794 (do_test): Add comments and call free on all potentially
21795 allocated pointers. Add space after cast.
21797 * malloc/tst-pvalloc.c: Add comments.
21798 (do_test): Add comments and call free on all potentially
21799 allocated pointers. Remove duplicate check for NULL pointer.
21800 Add space after cast.
21802 * malloc/tst-valloc.c: Add comments.
21803 (do_test): Add comments and call free on all potentially
21804 allocated pointers. Remove duplicate check for NULL pointer.
21805 Add space after cast.
21807 2013-10-04 Alan Modra <amodra@gmail.com>
21809 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21810 Use stdint types in rather than __attribute__((mode())).
21811 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21813 2013-10-04 Alan Modra <amodra@gmail.com>
21815 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21816 Correct handling of unaligned relocs for little-endian.
21817 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21819 2013-10-04 Alan Modra <amodra@gmail.com>
21821 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21822 * configure: Regenerate.
21823 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21824 * shlib-versions: Likewise.
21826 2013-10-04 Alan Modra <amodra@gmail.com>
21828 * string/tester.c (test_memrchr): Increment reported test cycle.
21830 2013-10-04 Alan Modra <amodra@gmail.com>
21832 * string/test-memcpy.c (do_one_test): When reporting errors, print
21833 string address and don't overrun end of string.
21835 2013-10-04 Alan Modra <amodra@gmail.com>
21837 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21838 insrdi. Make better use of reg selection to speed exit slightly.
21839 Schedule entry path a little better. Remove useless "are we done"
21840 checks on entry to main loop. Handle wrapping around zero address.
21841 Correct main loop count. Handle single left-over word from main
21842 loop inline rather than by using loop_small. Remove extra word
21843 case in loop_small caused by wrong loop count. Add little-endian
21845 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21846 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21848 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21850 support. Avoid rlwimi.
21851 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21853 2013-10-04 Alan Modra <amodra@gmail.com>
21855 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21856 insrdi. Formatting.
21857 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21858 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21859 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21860 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21861 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21862 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21864 2013-10-04 Alan Modra <amodra@gmail.com>
21866 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21867 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21869 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21870 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21871 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21872 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21873 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21874 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21875 use of regs. Use power7 mtocrf. Tidy function tails.
21877 2013-10-04 Alan Modra <amodra@gmail.com>
21879 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21880 Formatting. Consistently use rXXX register defines or rN defines.
21881 Use early exit labels that avoid restoring unused non-volatile regs.
21882 Make cr field use more consistent with rWORDn compares. Rename
21883 regs used as shift registers for unaligned loop, using rN defines
21884 for short lifetime/multiple use regs.
21885 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21886 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21887 addi 1,1,64 to pop stack frame. Simplify return value code.
21888 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21890 2013-10-04 Alan Modra <amodra@gmail.com>
21892 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21893 support. Correct typos, formatting. Optimize tail. Use insrdi
21894 rather than rlwimi.
21895 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21896 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21897 little-endian support. Correct typos.
21898 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21899 rather than rlwimi.
21900 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21901 in loop and entry code to keep "and." results.
21902 (strchr): Add little-endian support. Comment. Move cntlzd
21904 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21906 2013-10-04 Alan Modra <amodra@gmail.com>
21908 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21909 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21910 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21911 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21913 2013-10-04 Alan Modra <amodra@gmail.com>
21915 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21916 (rTMP): Define as r11.
21917 (strcmp): Add little-endian support. Optimise tail.
21918 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21919 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21920 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21921 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21923 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21926 2013-10-04 Alan Modra <amodra@gmail.com>
21928 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21929 little-endian support. Remove unnecessary "are we done" tests.
21930 Handle "s" wrapping around zero and extremely large "size".
21931 Correct main loop count. Handle single left-over word from main
21932 loop inline rather than by using small_loop. Correct comments.
21933 Delete "zero" tail, use "end_max" instead.
21934 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21936 2013-10-04 Alan Modra <amodra@gmail.com>
21938 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21939 support. Don't branch over align.
21940 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21941 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21942 support. Rearrange tmp reg use to suit. Comment.
21943 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21945 2013-10-04 Alan Modra <amodra@gmail.com>
21947 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21949 2013-10-04 Alan Modra <amodra@gmail.com>
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21952 conditional form of branch and link when obtaining pc.
21953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21955 2013-10-04 Alan Modra <amodra@gmail.com>
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21962 2013-10-04 Alan Modra <amodra@gmail.com>
21964 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21965 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21966 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21967 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21968 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21969 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21970 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21971 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21972 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21973 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21975 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21976 Alistair Popple <alistair@ozlabs.au.ibm.com>
21977 Alan Modra <amodra@gmail.com>
21980 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21981 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21982 _dl_hwcap access for little-endian.
21983 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21984 destroy vmx regs when saving unaligned.
21985 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21986 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21987 destroy vmx regs when saving unaligned.
21989 2013-10-04 Alan Modra <amodra@gmail.com>
21991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21992 Don't use a union to pack hi/low value.
21994 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21996 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21998 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21999 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22000 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22001 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22002 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22004 2013-10-04 Alan Modra <amodra@gmail.com>
22006 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22007 constants to usual value for .cst8 section, and remove redundant
22009 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22010 constant for 0x1p52. Load little-endian words of double from
22011 correct stack offsets.
22013 2013-10-04 Alan Modra <amodra@gmail.com>
22015 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22016 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22017 words of double from correct stack offsets.
22018 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22019 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22020 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22021 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22022 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22023 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22025 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22026 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22027 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22030 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22031 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22032 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22034 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22036 2013-10-04 Alan Modra <amodra@gmail.com>
22038 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22039 64-bit int/double union.
22040 (_FPU_SETCW): Likewise.
22041 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22042 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22044 2013-10-04 Alan Modra <amodra@gmail.com>
22046 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22047 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22049 2013-10-04 Alan Modra <amodra@gmail.com>
22051 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22052 use vector int constants.
22053 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22055 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22057 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22058 array with long long.
22059 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22060 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22061 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22062 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22063 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22064 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22065 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22066 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22067 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22068 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22069 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22070 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22071 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22073 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22075 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22076 (__signbit): Likewise. Correct for little-endian.
22077 (__signbitl): Call __signbit.
22078 (lrint): Correct for little-endian.
22079 (lrintf): Call lrint.
22081 2013-10-04 Alan Modra <amodra@gmail.com>
22083 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22084 union 32-bit int array member with 64-bit int array.
22085 (t515, tm256): Double rather than long double.
22086 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22088 2013-10-04 Alan Modra <amodra@gmail.com>
22090 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22092 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22093 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22094 version of math_ldbl.h.
22096 2013-10-04 Alan Modra <amodra@gmail.com>
22098 [BZ #15734], [BZ #15735]
22099 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22100 all uses of ieee875 long double macros and unions. Simplify test
22101 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22102 ldbl_extract_mantissa value for ix,iy exponents. Properly
22103 normalize after ldbl_extract_mantissa, and don't add hidden bit
22104 already handled. Don't treat low word of ieee854 mantissa like
22105 low word of IBM long double and mask off bit when testing for
22107 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22108 all uses of ieee875 long double macros and unions. Simplify tests
22109 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22110 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22111 two1022, instead use their values. Recognise that tests for large
22112 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22113 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22114 Rewrite all uses of ieee875 long double macros and unions. Simplify
22115 test for 0.0L and nan. Correct negation.
22116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22117 ieee875 long double macros and unions. Correct output for large
22118 magnitude x. Correct absolute value calculation.
22119 (__erfcl): Likewise.
22120 * math/libm-test.inc: Add tests for errors discovered in IBM long
22121 double versions of fmodl, remainderl, erfl and erfcl.
22123 2013-10-04 Alan Modra <amodra@gmail.com>
22125 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22126 all uses of ieee854 long double macros and unions. Simplify tests
22127 for long doubles that are fully specified by the high double.
22128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22130 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22131 Remove dead code too.
22132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22133 (__ieee754_ynl): Likewise.
22134 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22135 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22137 Remove dead code too.
22138 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22139 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22140 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22141 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22143 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22146 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22147 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22148 Comment on variable precision.
22149 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22150 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22152 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22153 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22154 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22156 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22158 2013-10-04 Alan Modra <amodra@gmail.com>
22160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22161 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22162 all uses of ieee854 long double macros and unions.
22163 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22168 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22170 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22171 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22172 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22173 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22176 Simplify sign and nan test too.
22177 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22178 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22179 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22180 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22182 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22183 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22186 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22187 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22188 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22189 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22190 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22192 2013-10-04 Alan Modra <amodra@gmail.com>
22194 * stdio-common/printf_size.c (__printf_size): Don't use
22195 union ieee854_long_double in fpnum union.
22196 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22197 signbit macro to retrieve sign from long double.
22198 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22199 retrieve sign from long double.
22200 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22201 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22202 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22203 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22204 * math/test-misc.c (main): Don't use union ieee854_long_double.
22206 2013-10-04 Alan Modra <amodra@gmail.com>
22209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22210 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22211 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22212 calculation. Remove unnecessary test for denormal exponent.
22213 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22214 Correct handling of denormals. Avoid undefined shift behaviour.
22215 Correct normalisation of low mantissa when low double is denormal.
22216 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22217 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22218 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22219 Correct normalisation of low mantissa. Test for overflow of high
22220 mantissa and normalise.
22221 (ldbl_nearbyint): Use more readable constant for two52.
22222 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22223 (__mpn_construct_long_double): Fix test for overflow of high
22224 mantissa and correct normalisation. Avoid undefined shift.
22226 2013-10-04 Alan Modra <amodra@gmail.com>
22228 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22229 (union ibm_extended_long_double): Define as an array of ieee754_double.
22230 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22231 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22232 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22233 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22242 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22244 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22245 page size instead of calling getpagesize.
22247 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22248 (LOCFILE_ALIGN_MASK): Likewise.
22249 (LOCFILE_ALIGN_UP): Likewise.
22250 (LOCFILE_ALIGNED_P): Likewise.
22251 * locale/programs/ld-collate.c (collate_output): Use the new
22252 macros instead of __alignof__ (int32_t).
22253 * locale/weight.h (findidx): Likewise.
22255 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22258 * manual/string.texi: Fix strncat and wcsncat.
22260 2013-10-03 Brooks Moses <bmoses@google.com>
22263 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22264 * Makerules: ...here, and adjust associated comments.
22266 2013-10-02 Will Newton <will.newton@linaro.org>
22268 * malloc/Makefile: Add tst-pvalloc.
22269 * malloc/tst-pvalloc.c: New file.
22271 2013-10-02 Will Newton <will.newton@linaro.org>
22273 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22274 improve test coverage.
22276 2013-10-02 Will Newton <will.newton@linaro.org>
22278 * malloc/Makefile: Add tst-posix_memalign.
22279 * malloc/tst-posix_memalign.c: New file.
22281 2013-10-01 Eric Blake <eblake@redhat.com>
22283 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22284 Use __THROWNL rather than __THROW on static functions.
22286 2013-09-30 Petr Machata <pmachata@redhat.com>
22288 * elf/elf.h (R_AARCH64_ABS16): New macro.
22289 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22290 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22291 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22292 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22293 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22294 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22295 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22296 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22297 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22298 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22299 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22300 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22301 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22302 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22303 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22304 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22305 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22306 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22307 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22308 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22309 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22310 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22311 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22312 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22313 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22314 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22315 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22316 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22317 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22318 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22319 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22320 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22321 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22322 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22323 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22324 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22325 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22326 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22327 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22328 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22329 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22330 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22331 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22332 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22333 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22334 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22335 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22336 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22337 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22338 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22339 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22340 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22341 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22342 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22343 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22344 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22345 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22346 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22347 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22348 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22349 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22350 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22351 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22352 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22353 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22354 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22355 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22356 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22357 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22358 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22359 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22360 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22361 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22362 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22363 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22364 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22365 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22366 (R_AARCH64_TLSDESC_LDR): Likewise.
22367 (R_AARCH64_TLSDESC_ADD): Likewise.
22368 (R_AARCH64_TLSDESC_CALL): Likewise.
22370 2013-09-30 Andreas Schwab <schwab@suse.de>
22373 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22374 the nss database lookup.
22375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22378 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22380 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22382 2013-09-28 P. J. McDermott <pj@pehjota.net>
22384 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22385 ${Bash-specific parameter/pattern/string} parameter expansion.
22386 * sysdeps/unix/make-syscalls.sh: Likewise.
22388 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22390 * sysdeps/sh/stackguard-macros.h: New file.
22392 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22394 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22396 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22398 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22399 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22401 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22403 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22404 Fix thread ID register.
22406 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22408 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22409 [POSIX || UNIX98]: Require rather than permitting all symbols from
22411 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22412 element of struct sched_param.
22413 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22414 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22415 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22416 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22419 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22421 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22422 argument calculation.
22424 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22426 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22428 [POSIX] (pthread_attr_t): Do not require type.
22429 [POSIX] (pthread_cond_t): Likewise.
22430 [POSIX] (pthread_condattr_t): Likewise.
22431 [POSIX] (pthread_key_t): Likewise.
22432 [POSIX] (pthread_mutex_t): Likewise.
22433 [POSIX] (pthread_mutexattr_t): Likewise.
22434 [POSIX] (pthread_once_t): Likewise.
22435 [POSIX] (pthread_t): Likewise.
22436 [POSIX-based standards] (pthread_atfork): Expect function.
22438 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22439 Richard Sandiford <richard@codesourcery.com>
22441 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22442 (swap_endianness_p): New extern variable.
22443 (set_big_endian): New inline function.
22444 (maybe_swap_uint32): Likewise.
22445 (maybe_swap_uint32_array): Likewise.
22446 (maybe_swap_uint32_obstack): Likewise.
22447 * locale/programs/locfile.c: Include <stdbool.h>.
22448 (swap_endianness_p): New variable.
22449 (add_locale_uint32): Call maybe_swap_uint32.
22450 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22451 (write_locale_data): Call maybe_swap_uint32_array.
22452 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22454 (obstack_int32_grow_fast): Likewise.
22455 (output_weightwc): Call maybe_swap_uint32_obstack.
22456 (collate_output): Likewise.
22457 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22458 (OPT_LITTLE_ENDIAN): Likewise.
22459 (options): Add --little-endian and --big-endian options.
22460 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22461 * locale/programs/locarchive.c: Include "locfile.h".
22465 (create_archive): Use the new macros to access fields of
22466 structures directly mapped from or written to locale archives.
22467 (oldlocrecentcmp): Likewise.
22468 (enlarge_archive): Likewise.
22469 (insert_name): Likewise.
22470 (add_alias): Likewise.
22471 (add_locale): Likewise.
22472 (delete_locales_from_archive): Likewise.
22473 (show_archive_content): Likewise.
22474 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22477 2013-09-24 Roland McGrath <roland@hack.frob.com>
22479 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22480 http://www.gnu.org/doc/freemanuals.texi.
22481 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22483 2013-09-24 Will Newton <will.newton@linaro.org>
22485 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22488 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22490 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22493 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22495 * manual/threads.texi (POSIX Threads): Fix a typo.
22497 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22500 * string/tst-strcoll-overflow.c: New test case.
22501 * string/Makefile (xtests): Add tst-strcoll-overflow.
22502 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22503 cache if string sizes may cause integer overflow.
22506 * string/strcoll_l.c (coll_seq): New members rule, idx,
22507 save_idx and back_us.
22508 (get_next_seq_nocache): New function.
22509 (do_compare_nocache): New function.
22510 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22513 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22516 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22517 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22518 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22521 * elf/Makefile (tests): Add tst-ptrguard1.
22522 (tests-static): Add tst-ptrguard1-static.
22523 (tst-ptrguard1-ARGS): Define.
22524 (tst-ptrguard1-static-ARGS): Define.
22525 * elf/tst-ptrguard1.c: New file.
22526 * elf/tst-ptrguard1-static.c: New file.
22527 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22528 * sysdeps/i386/stackguard-macros.h: Likewise.
22529 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22530 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22531 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22532 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22533 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22534 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22536 2013-09-23 Hector Marco <hecmargi@upv.es>
22537 Ismael Ripoll <iripoll@disca.upv.es>
22538 Carlos O'Donell <carlos@redhat.com>
22541 * sysdeps/generic/stackguard-macros.h: Define
22542 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22543 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22544 Define __pointer_chk_guard_local.
22545 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22546 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22548 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22551 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22553 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22555 * include/string.h (__ffs): Declare as hidden.
22556 * string/ffs.c (__ffs): Define as hidden.
22557 * sysdeps/i386/ffs.c (__ffs): Likewise.
22558 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22559 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22560 * sysdeps/s390/ffs.c (__ffs): Likewise.
22561 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22563 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22565 * NEWS: Mention malloc probes.
22567 * malloc/arena.c (new_heap): New memory_heap_new probe.
22568 (grow_heap): New memory_heap_more probe.
22569 (shrink_heap): New memory_heap_less probe.
22570 (heap_trim): New memory_heap_free probe.
22571 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22572 (systrim): New memory_sbrk_less probe.
22573 * manual/probes.texi: Document them.
22575 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22576 * manual/probes.texi: Document it.
22578 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22579 (__libc_realloc): Add memory_realloc_retry probe.
22580 (__libc_memalign): Add memory_memalign_retry probe.
22581 (__libc_valloc): Add memory_valloc_retry probe.
22582 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22583 (__libc_calloc): Add memory_calloc_retry probe.
22584 * manual/probes.texi: Document them.
22586 * malloc/arena.c (get_free_list): Add probe
22587 memory_arena_reuse_free_list.
22588 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22589 and memory_arena_reuse.
22590 (arena_get2) [!PER_THREAD]: Likewise.
22591 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22592 memory_arena_reuse_realloc.
22593 * manual/probes.texi: Document them.
22595 * malloc/malloc.c (__libc_free): Add
22596 memory_mallopt_free_dyn_thresholds probe.
22597 (__libc_mallopt): Add multiple memory_mallopt probes.
22598 * manual/probes.texi: Document them.
22600 * malloc/malloc.c: Include stap-probe.h.
22601 (__libc_mallopt): Add memory_mallopt probe.
22602 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22603 * manual/probes.texi: New.
22604 * manual/Makefile (chapters): Add probes.
22605 * manual/threads.texi: Set next node.
22607 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22609 [BZ #15963, #13985]
22610 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22611 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22612 Add `Chinese' to `nan' entry name.
22614 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22616 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22617 (POLYNOMIAL): Likewise.
22618 (TAYLOR_SINCOS): Likewise.
22619 (TAYLOR_SLOW): Likewise.
22620 (__sin): Use TAYLOR_SINCOS.
22622 (slow): Use TAYLOR_SLOW.
22624 (bsloww): Likewise.
22625 (csloww): Likewise.
22627 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22629 * stdlib/strtod_l.c: Fix buffer overrun.
22631 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22633 * benchtests/Makefile (bench): Add sincos.
22634 * benchtests/bench-sincos.c: New file.
22636 * math/libm-test.inc (cos_test_data): New test inputs.
22637 (sin_test_data): Likewise.
22639 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22645 (sloww1): Likewise.
22646 (sloww2): Likewise.
22647 (bsloww1): Likewise.
22648 (bsloww2): Likewise.
22649 (cslow2): Likewise.
22650 (csloww1): Likewise.
22651 (csloww2): Likewise.
22653 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22662 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22664 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22665 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22666 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22667 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22668 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22669 * elf/cache.c (print_entry): Handle the new cache flags.
22671 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22672 Aldy Hernandez <aldyh@redhat.com>
22674 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22675 Change condition to [_SOFT_FLOAT].
22676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22688 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22691 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22694 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22696 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22697 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22698 (__longjmp): Use LOAD_GP to load saved GPRs.
22699 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22700 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22701 (__sigsetjmp): Use SAVE_GP to save GPRs.
22703 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22704 Do not append -msoft-float.
22705 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22707 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22709 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22711 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22714 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22715 (_FPU_GETCW): Use initial "__" on variable and field names but not
22716 on macro parameter name.
22717 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22718 parentheses around reference to macro parameter.
22720 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22722 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22724 (ctype_startup): Use uint32_t in cast and sizeof for
22727 2013-09-11 Jia Liu <proljc@gmail.com>
22729 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22731 [__FreeBSD__]: Likewise.
22733 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22736 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22737 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22738 (strchr): Remove __strchr_sse42 ifunc selection.
22739 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22740 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22742 2013-09-11 Will Newton <will.newton@linaro.org>
22744 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22745 parameter to RES. Remove hardcoded 1000 value.
22746 * benchtests/bench-skeleton.c (main): Pass RES parameter
22747 to TIMING_INIT and multiply result by 1000.
22749 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22753 2013-09-11 Andreas Schwab <schwab@suse.de>
22755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22757 (O_TMPFILE) [__USE_GNU]: Define.
22758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22761 2013-09-11 Will Newton <will.newton@linaro.org>
22764 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22767 2013-09-11 Will Newton <will.newton@linaro.org>
22770 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22773 2013-09-11 Will Newton <will.newton@linaro.org>
22776 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22779 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22781 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22787 2013-09-10 Allan McRae <allan@archlinux.org>
22790 * manual/arith.texi (Parsing of Floats): Clarify
22794 * manual/install.texi (Running make install): Mention
22796 * INSTALL: Regenerated.
22798 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22800 * csu/init-first.c (_init): Remove the !SHARED condition around
22801 FPU control word initialization.
22802 * elf/dl-support.c (_dl_fpu_control): New variable.
22803 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22804 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22805 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22806 * math/test-fpucw-static.c: New file.
22807 * math/test-fpucw-ieee.c: New file.
22808 * math/test-fpucw-ieee-static.c: New file.
22809 * math/Makefile (tests): Add `test-fpucw-ieee' and
22811 (tests-static): New variable.
22812 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22814 [($(build-shared),yes)]
22815 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22817 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22820 2013-09-09 Allan McRae <allan@archlinux.org>
22823 * manual/string.texi (Collation Functions): Fix typo in
22825 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22828 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22831 * libio/memstream.c (open_memstream): Fix memory leak.
22832 * libio/wmemstream.c (open_wmemstream): Likewise.
22835 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22837 2013-09-09 Will Newton <will.newton@linaro.org>
22839 * malloc/Makefile: Add tst-realloc to tests.
22840 * malloc/tst-realloc.c: New file.
22842 2013-09-09 Allan McRae <allan@archlinux.org>
22845 * COPYING: Update from GNU website to fix FSF address.
22846 * COPYING.LIB: Likewise.
22848 2013-09-06 David S. Miller <davem@davemloft.net>
22850 * po/zh_TW.po: Update Chinese (traditional) translation from
22851 translation project.
22853 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22854 Joseph Myers <joseph@codesourcery.com>
22856 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22858 (obstack_chunk_alloc): New macro.
22859 (obstack_chunk_free): Likewise.
22860 (record_offset): New function.
22861 (init_locale_data): Likewise.
22862 (align_locale_data): Likewise.
22863 (add_locale_empty): Likewise.
22864 (add_locale_raw_data): Likewise.
22865 (add_locale_raw_obstack): Likewise.
22866 (add_locale_string): Likewise.
22867 (add_locale_wstring): Likewise.
22868 (add_locale_uint32): Likewise.
22869 (add_locale_uint32_array): Likewise.
22870 (add_locale_char): Likewise.
22871 (start_locale_structure): Likewise.
22872 (end_locale_structure): Likewise.
22873 (start_locale_prelude): Likewise.
22874 (end_locale_prelude): Likewise.
22875 (write_locale_data): Take locale_file structure rather than an
22877 * locale/programs/locfile.h: Include "obstack.h".
22878 (struct locale_file): Change to store locale file contents instead
22880 (init_locale_data): New prototype.
22881 (align_locale_data): Likewise.
22882 (add_locale_empty): Likewise.
22883 (add_locale_raw_data): Likewise.
22884 (add_locale_raw_obstack): Likewise.
22885 (add_locale_string): Likewise.
22886 (add_locale_wstring): Likewise.
22887 (add_locale_uint32): Likewise.
22888 (add_locale_uint32_array): Likewise.
22889 (add_locale_char): Likewise.
22890 (start_locale_structure): Likewise.
22891 (end_locale_structure): Likewise.
22892 (start_locale_prelude): Likewise.
22893 (end_locale_prelude): Likewise.
22894 (write_locale_data): Update prototype.
22895 * locale/programs/3level.h (struct TABLE): Remove result field.
22896 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22897 Use new locale_file interface.
22898 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22899 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22900 * locale/programs/ld-address.c (address_output): Use new
22901 locale_file interface.
22902 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22904 (collate_finish): Don't call collseq_table_finalize.
22905 (collate_output): Use new locale_file interface.
22906 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22908 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22909 (TABLE): Move defines earlier in file.
22910 (ELEMENT): Likewise.
22911 (DEFAULT): Likewise.
22912 (wctrans_table_add): Move macro and inline function earlier in
22914 (struct wctype_table): Move type earlier in file.
22915 (add_locale_wctype_table): New static prototype.
22916 (struct locale_ctype_t): Use logical types instead of struct iovec
22917 pointers for members.
22918 (ctype_output): Use new locale_file interface.
22919 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22920 new locale_file interface.
22921 (allocate_arrays): Update for use of new locale_file interface.
22922 * locale/programs/ld-identification.c (identification_output): Use
22923 new locale_file interface.
22924 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22925 * locale/programs/ld-messages.c (messages_output): Likewise.
22926 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22927 * locale/programs/ld-name.c (name_output): Likewise.
22928 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22929 * locale/programs/ld-paper.c (paper_output): Likewise.
22930 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22931 * locale/programs/ld-time.c (time_output): Likewise.
22933 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22935 * benchtests/Makefile: Add memrchr benchmark.
22936 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22937 benchmark as memrchr.
22938 * benchtests/bench-memrchr-ifunc.c: New file.
22939 * benchtests/bench-memrchr.c: New file.
22941 2013-09-06 Will Newton <will.newton@linaro.org>
22943 * benchtests/Makefile (string-bench): Add memcpy.
22945 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22946 Cong Wang <amwang@redhat.com>
22949 * sysdeps/unix/sysv/linux/bits/in.h
22950 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22951 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22952 before __USE_KERNEL_IPV6_DEFS uses.
22953 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22955 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22956 sockaddr_in6, or ipv6_mreq.
22958 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22960 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22961 memory access for final bytes in some large inputs.
22962 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22964 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22966 * string/test-memrchr.c: New file.
22967 * string/test-memrchr-ifunc.c: New file.
22968 * string/Makefile: Add new memrchr testcase.
22970 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22972 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22973 fanotify_init returns EPERM.
22975 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22977 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22979 (top level): Treat second token from macro or constant entries for
22980 allowed headers as allowed.
22981 * include/complex.h: Condition internal declarations on
22983 * include/fenv.h: Condition include of <stdbool.h> and internal
22984 declarations on [!_ISOMAC].
22986 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22989 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22991 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22993 * configure.in (--enable-versioning): Remove configure option.
22994 (libc_cv_asm_symver_directive): Remove configure test.
22995 (libc_cv_ld_version_script_option): Likewise.
22996 (VERSIONING): Remove variable and AC_SUBST.
22997 (DO_VERSIONING): Remove AC_DEFINE.
22998 * configure: Regenerated.
22999 * config.h.in (DO_VERSIONING): Remove macro.
23000 * Makerules [$(versioning) = yes]: Change conditionals to
23001 [$(build-shared) = yes].
23002 * config.make.in (versioning): Remove variable.
23003 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23004 [$(build-shared) = yes].
23005 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23006 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23007 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23008 [$(build-shared) = yes].
23009 * extra-lib.mk [$(versioning) = yes]: Likewise.
23010 * hurd/Makefile [$(versioning) = yes]: Likewise.
23011 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23013 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23015 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23016 [SHARED && !NO_HIDDEN].
23017 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23019 [SHARED && DO_VERSIONING]: Likewise..
23020 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23021 [$(build-shared) = yes].
23022 * manual/install.texi (--disable-versioning): Remove
23024 * INSTALL: Regenerated.
23025 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23027 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23028 [$(build-shared) = yes].
23029 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23030 * sysdeps/i386/i686/multiarch/strstr-c.c
23031 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23032 [SHARED && !NO_HIDDEN].
23033 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23034 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23035 * sysdeps/powerpc/powerpc32/dl-machine.c
23036 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23037 * sysdeps/powerpc/powerpc32/sysdep.h
23038 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23039 to [SHARED && PIC && !NO_HIDDEN].
23040 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23041 conditional to [SHARED].
23043 2013-09-04 Will Newton <will.newton@linaro.org>
23045 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23046 * benchtests/bench-string.h: Include bench-timing.h instead
23047 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23048 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23049 call to HP_TIMING_DIFF_INIT.
23050 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23051 instead of hp-timing.h macros.
23052 * benchtests/bench-memchr.c: Likewise.
23053 * benchtests/bench-memcmp.c: Likewise.
23054 * benchtests/bench-memcpy.c: Likewise.
23055 * benchtests/bench-memmem.c: Likewise.
23056 * benchtests/bench-memmove.c: Likewise.
23057 * benchtests/bench-memset.c: Likewise.
23058 * benchtests/bench-rawmemchr.c: Likewise.
23059 * benchtests/bench-strcasecmp.c: Likewise.
23060 * benchtests/bench-strcasestr.c: Likewise.
23061 * benchtests/bench-strcat.c: Likewise.
23062 * benchtests/bench-strchr.c: Likewise.
23063 * benchtests/bench-strcmp.c: Likewise.
23064 * benchtests/bench-strcpy.c: Likewise.
23065 * benchtests/bench-strcpy_chk.c: Likewise.
23066 * benchtests/bench-strlen.c: Likewise.
23067 * benchtests/bench-strncasecmp.c: Likewise.
23068 * benchtests/bench-strncat.c: Likewise.
23069 * benchtests/bench-strncmp.c: Likewise.
23070 * benchtests/bench-strncpy.c: Likewise.
23071 * benchtests/bench-strnlen.c: Likewise.
23072 * benchtests/bench-strpbrk.c: Likewise.
23073 * benchtests/bench-strrchr.c: Likewise.
23074 * benchtests/bench-strspn.c: Likewise.
23075 * benchtests/bench-strstr.c: Likewise.
23077 2013-09-04 Will Newton <will.newton@linaro.org>
23079 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23081 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23084 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23085 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23086 * math/libm-test.inc (lgamma_test_data): Add more tests.
23087 * sysdeps/i386/fpu/libm-test-ulps: Update.
23088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23090 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23092 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23096 Add strcmp-sse2-unaligned
23097 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23099 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23101 * Versions.def (libc): Add GLIBC_2.19.
23103 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23105 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23106 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23108 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23111 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23112 intermediate calculations in recurrence.
23113 (__ieee754_ynf): Likewise.
23114 * math/libm-test.inc (jn_test_data): Do not allow spurious
23115 underflow exception. Add more tests.
23116 (yn_test_data): Add more tests.
23117 * sysdeps/i386/fpu/libm-test-ulps: Update.
23118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23120 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23122 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23124 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23126 * csu/init-first.c: Fix then/than typos.
23127 * locale/programs/ld-collate.c: Likewise.
23128 * locale/programs/linereader.h: Likewise.
23129 * manual/charset.texi: Likewise.
23130 * manual/filesys.texi: Likewise.
23131 * manual/stdio.texi: Likewise.
23132 * manual/string.texi: Likewise.
23133 * stdlib/fmtmsg.c: Likewise.
23134 * sysdeps/i386/stpncpy.S: Likewise.
23135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23136 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23137 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23138 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23140 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23142 * elf/dl-open.c: Fix typos.
23143 * iconvdata/gbbig5.c: Likewise.
23144 * iconvdata/iso-2022-jp.c: Likewise.
23145 * iconv/gconv_int.h: Likewise.
23146 * iconv/loop.c: Likewise.
23147 * nis/rpcsvc/nis.h: Likewise.
23148 * resolv/ns_name.c: Likewise.
23149 * stdio-common/vfscanf.c: Likewise.
23150 * streams/stropts.h: Likewise.
23151 * sunrpc/rpc_thread.c: Likewise.
23152 * sysdeps/i386/strpbrk.S: Likewise.
23153 * sysdeps/ieee754/k_standard.c: Likewise.
23154 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23156 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23157 * sysdeps/mach/hurd/profil.c: Likewise.
23158 * sysdeps/s390/dl-procinfo.h: Likewise.
23159 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23160 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23161 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23162 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23163 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23165 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23167 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23170 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23172 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23173 aix specific files.
23174 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23175 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23177 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23178 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23179 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23180 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23181 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23183 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23184 Roland McGrath <roland@hack.frob.com>
23186 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23187 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23189 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23191 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23192 __executable_start symbol instead of _start.
23194 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23196 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23197 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23199 * sysdeps/gnu/ldsodefs.h: ... this new file.
23201 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23202 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23203 instead of ELFOSABI_LINUX.
23205 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23206 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23207 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23208 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23210 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23211 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23214 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23215 (ibm_extended_long_double): Add ieee_nan member.
23216 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23217 (do_test): New function.
23219 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23221 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23222 functions, renamed from truncdfsf_test, trunctfsf_test,
23224 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23226 (do_test): Run all these.
23228 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23230 * argp/argp-help.c: Fix typos.
23231 * argp/argp-parse.c: Likewise.
23232 * debug/backtracesyms.c: Likewise.
23233 * elf/elf.h: Likewise.
23234 * malloc/malloc.c: Likewise.
23235 * nis/nis_print.c: Likewise.
23236 * resolv/res_comp.c: Likewise.
23237 * stdlib/stdlib.h: Likewise.
23238 * sunrpc/clnt_tcp.c: Likewise.
23239 * sunrpc/clnt_udp.c: Likewise.
23240 * sunrpc/clnt_unix.c: Likewise.
23241 * sysdeps/unix/bsd/ptsname.c: Likewise.
23242 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23243 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23250 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23252 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23254 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23257 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23260 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23261 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23262 ($(objpfx)bug-dl-leaf): New rule.
23263 ($(objpfx)bug-dl-leaf.so): Likewise.
23264 ($(objpfx)bug-dl-leaf.out): Likewise.
23265 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23266 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23267 * dlfcn/bug-dl-leaf.c: New test.
23268 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23269 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23270 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23271 (dlclose): Likewise.
23272 (dlmopen): Likewise.
23274 2013-08-27 Roland McGrath <roland@hack.frob.com>
23276 * include/netdb.h [!_ISOMAC]:
23277 Don't include <tls.h>.
23278 (h_errno, __libc_h_errno): Move declaration and macros out of
23281 * include/resolv.h [_RESOLV_H_]:
23282 Don't include <tls.h>.
23283 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23284 * resolv/res_libc.c: Don't include <tls.h>.
23285 (_res): Use __attribute__ ((nocommon)) in place of
23286 __attribute__ ((section (".bss"))).
23288 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23289 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23291 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23293 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23294 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23296 * resolv/res_mkquery.c: Include <sys/time.h>.
23298 * inet/ifreq.c: Moved to ...
23299 * sysdeps/unix/ifreq.c: ... here.
23300 * inet/ifreq.c: New file, true stub version.
23302 * socket/sa_len.c: New file.
23303 * socket/Makefile (aux): Add it.
23304 * sysdeps/unix/sysv/linux/Makefile
23305 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23306 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23307 and #include <socket/sa_len.c>.
23308 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23309 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23311 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23312 * bits/socket.h: ... here.
23314 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23315 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23316 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23318 2013-08-27 Andreas Schwab <schwab@suse.de>
23321 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23322 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23323 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23324 * string/test-strcasecmp.c (test_main): Run tests in several
23326 * string/test-strncasecmp.c (test_main): Likewise.
23328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23329 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23330 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23332 (__strncasecmp_ssse3) [PIC]: Likewise.
23334 2013-08-26 Roland McGrath <roland@hack.frob.com>
23336 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23338 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23339 instead of explicitly declaring xdecrypt.
23340 * nis/nss_nis/nis-publickey.c: Likewise.
23342 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23345 * nscd/aicache.c: Include res_hconf.h.
23346 (addhstaiX): Initialize res_hconf.
23348 2013-08-26 Andreas Schwab <schwab@suse.de>
23350 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23351 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23353 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23355 * nscd/aicache.c (addhstaiX): Fix indentation.
23357 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23359 * configure.ac: Quote $build_pt_chown test.
23360 * configure: Regenerated.
23362 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23365 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23366 * math/s_cexpf.c (__cexpf): Likewise.
23367 * math/s_cexpl.c (__cexpl): Likewise.
23368 * math/libm-test.inc (cexp_test_data): Correct expected return
23369 value for NaN + i0. Add another test.
23371 2013-08-22 David S. Miller <davem@davemloft.net>
23373 * po/ca.po: Update Catalan translation from translation project.
23374 * po/uk.po: Add Ukrainian translations from translation project.
23376 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23379 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23380 is infinite, not alongside NaN test.
23381 * math/s_fdimf.c (__fdimf): Likewise.
23382 * math/s_fdiml.c (__fdiml): Likewise.
23383 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23384 errno is unchanged.
23386 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23388 * argp/argp-help.c: Fix typos.
23389 * crypt/speeds.c: Likewise.
23390 * csu/check_fds.c: Likewise.
23391 * elf/dl-load.c: Likewise.
23392 * elf/dl-open.c: Likewise.
23393 * elf/reldep3.c: Likewise.
23394 * elf/reldep.c: Likewise.
23395 * elf/sprof.c: Likewise.
23396 * iconv/iconv_charmap.c: Likewise.
23397 * iconv/skeleton.c: Likewise.
23398 * iconv/strtab.c: Likewise.
23399 * io/lockf64.c: Likewise.
23400 * libio/libioP.h: Likewise.
23401 * resolv/gai_notify.c: Likewise.
23402 * resolv/ns_name.c: Likewise.
23403 * resolv/ns_samedomain.c: Likewise.
23404 * resolv/res_send.c: Likewise.
23405 * stdlib/random.c: Likewise.
23406 * sunrpc/rpc/xdr.h: Likewise.
23407 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23409 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23410 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23411 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23415 * sysdeps/mach/hurd/check_fds.c: Likewise.
23416 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23417 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23418 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23419 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23420 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23421 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23422 * sysdeps/pthread/aio_notify.c: Likewise.
23423 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23424 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23425 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23427 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23429 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23431 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23432 version if bit_Slow_SSE4_2 is set.
23433 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23434 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23436 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23439 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23440 trampoline stack frame information.
23441 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23442 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23443 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23444 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23445 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23446 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23447 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23448 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23450 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23451 interrupting a syscall and set with option SA_SIGINFO.
23453 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23456 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23457 argument is infinite.
23458 * math/s_cprojf.c (__cprojf): Likewise.
23459 * math/s_cprojl.c (__cprojl): Likewise.
23460 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23461 * math/libm-test.inc (cproj_test_data): Add more tests.
23463 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23465 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23466 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23467 size. Use __ffs to determine corresponding shift.
23469 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23470 Roland McGrath <roland@hack.frob.com>
23472 * Makefile (INSTALL): Remove trailing blank lines from output of
23475 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23477 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23478 Align 32 bit compat elf_greg to 8 bytes.
23480 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23482 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23484 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23486 * string/strcoll_l.c (coll_seq): New structure.
23487 (get_next_seq_cached): New function.
23488 (get_next_seq): New function.
23489 (do_compare): New function.
23490 (STRCOLL): Use GNU style definition. Simplify implementation
23491 by using get_next_seq, get_next_seq_cached and do_compare.
23493 2013-08-16 Florian Weimer <fweimer@redhat.com>
23497 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23499 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23501 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23502 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23503 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23506 GETDENTS_64BIT_ALIGNED.
23507 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23508 * manual/filesys.texi (Reading/Closing Directory): Document
23509 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23511 * manual/conf.texi (Limits for Files): Add portability note to
23512 NAME_MAX, PATH_MAX.
23513 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23515 2013-08-13 Andreas Schwab <schwab@suse.de>
23518 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23520 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23521 LDBL_MAX_EXP >= 16384]: Add tests for it.
23523 2013-08-12 David S. Miller <davem@davemloft.net>
23525 * version.h (RELEASE): Set to "development".
23526 (VERSION): Set to "2.18.90".
23527 * NEWS: Add 2.19 section.
23529 2013-08-03 David S. Miller <davem@davemloft.net>
23531 * po/ko.po: Update Korean translation from translation project.
23533 2013-08-01 David S. Miller <davem@davemloft.net>
23535 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23536 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23539 2013-07-30 David S. Miller <davem@davemloft.net>
23541 * po/fr.po: Update French translation from translation project.
23543 2013-07-28 David S. Miller <davem@davemloft.net>
23545 * po/cs.po: Update Czech translation from translation project.
23547 * po/sv.po: Update Swedish translation from translation project.
23549 2013-07-27 David S. Miller <davem@davemloft.net>
23551 * po/eo.po: Update Esperanto translation from translation project.
23553 * po/vi.po: Update Vietnamese translation from translation project.
23555 * po/de.po: Update German translation from translation project.
23557 2013-07-26 David S. Miller <davem@davemloft.net>
23559 * po/bg.po: Update Bulgarian translation from translation project.
23561 * po/nl.po: Update Dutch translation from translation project.
23562 * po/pl.po: Update Polish translation from translation project.
23563 * po/ru.po: Update Russian translation from translation project.
23565 2013-07-24 David S. Miller <davem@davemloft.net>
23567 * po/libc.pot: Update.
23569 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23571 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23572 variable page size.
23573 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23574 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23575 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23577 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23579 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23581 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23582 Andreas Schwab <schwab@suse.de>
23583 Roland McGrath <roland@hack.frob.com>
23584 Joseph Myers <joseph@codesourcery.com>
23585 Carlos O'Donell <carlos@redhat.com>
23588 * config.h.in: Define HAVE_PT_CHOWN.
23589 * config.make.in (build-pt-chown): New variable.
23590 * configure.in (--enable-pt_chown): New configure option.
23591 * configure: Regenerate.
23592 * login/Makefile: Include Makeconfig. Build pt_chown only if
23593 build-pt-chown is enabled.
23594 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23595 pt_chown to fix pty ownership.
23596 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23598 * manual/install.texi (Configuring and compiling): Mention
23599 --enable-pt_chown. Add @findex for grantpt.
23600 * INSTALL: Regenerate.
23602 2013-07-20 David S. Miller <davem@davemloft.net>
23604 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23605 difference between 32-bit and 64-bit.
23607 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23610 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23611 Avoid system header dependency with -ffreestanding.
23612 ($(objpfx)bits/syscall%d): Likewise.
23614 2013-07-13 David S. Miller <davem@davemloft.net>
23616 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23617 underflows from atanl/atan2l due to bug 15319.
23618 (casinh_test_data): Likewise.
23620 2013-07-07 David S. Miller <davem@davemloft.net>
23622 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23624 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23626 * sysdeps/i386/fpu/libm-test-ulps: Update.
23627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23629 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23631 * configure.in (--enable-lock-elision): Fix message text.
23632 * INSTALL: Regenerate.
23633 * configure: Regenerate.
23635 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23639 2013-07-03 Andreas Jaeger <aj@suse.de>
23641 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23643 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23644 (ptrace_peeksiginfo_args): Add.
23645 (__ptrace_peeksiginfo_flags): Add.
23646 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23647 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23648 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23650 2013-07-03 Allan McRae <allan@archlinux.org>
23652 * sysdeps/i386/fpu/libm-test-ulps: Update.
23654 2013-07-02 David S. Miller <davem@davemloft.net>
23656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23658 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23662 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23664 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23667 2013-07-02 Andi Kleen <ak@linux.intel.com>
23669 * config.h.in (ENABLE_LOCK_ELISION): Add.
23670 * configure.in (--enable-lock-elision): Add option.
23671 * manual/install.texi: Document --enable lock elision.
23672 * configure: Regenerate
23673 * INSTALL: Regenerate.
23675 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23677 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23678 SSE4.2 strcasecmp for libc.a.
23679 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23681 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23684 * soft-fp/op-common.h (_FP_FMA): New macro.
23685 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23686 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23687 (_FP_MUL_MEAT_1_imm): ... here.
23688 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23689 (_FP_MUL_MEAT_1_wide): ... here.
23690 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23691 (_FP_MUL_MEAT_1_hard): ... here.
23692 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23693 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23694 (_FP_MUL_MEAT_2_wide): ... here.
23695 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23696 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23697 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23698 (_FP_MUL_MEAT_2_gmp): ... here.
23699 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23700 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23701 (_FP_MUL_MEAT_4_wide): ... here.
23702 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23703 (_FP_MUL_MEAT_4_gmp): ... here.
23704 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23705 (_FP_WFRACBITS_DW_S): Likewise.
23706 (_FP_WFRACXBITS_DW_S): Likewise.
23707 (_FP_HIGHBIT_DW_S): Likewise.
23708 (FP_FMA_S): Likewise.
23709 (_FP_FRAC_HIGH_DW_S): Likewise.
23710 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23711 (_FP_WFRACBITS_DW_D): Likewise.
23712 (_FP_WFRACXBITS_DW_D): Likewise.
23713 (_FP_HIGHBIT_DW_D): Likewise.
23714 (FP_FMA_D): Likewise.
23715 (_FP_FRAC_HIGH_DW_D): Likewise.
23716 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23717 (_FP_WFRACBITS_DW_E): Likewise.
23718 (_FP_WFRACXBITS_DW_E): Likewise.
23719 (_FP_HIGHBIT_DW_E): Likewise.
23720 (FP_FMA_E): Likewise.
23721 (_FP_FRAC_HIGH_DW_E): Likewise.
23722 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23723 (_FP_WFRACBITS_DW_Q): Likewise.
23724 (_FP_WFRACXBITS_DW_Q): Likewise.
23725 (_FP_HIGHBIT_DW_Q): Likewise.
23726 (FP_FMA_Q): Likewise.
23727 (_FP_FRAC_HIGH_DW_Q): Likewise.
23728 * soft-fp/fmasf4.c: New file.
23729 * soft-fp/fmadf4.c: Likewise.
23730 * soft-fp/fmatf4.c: Likewise.
23732 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23735 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23739 (index_Slow_SSE4_2): Likewise.
23740 (index_Prefer_PMINUB_for_stringop): Likewise.
23741 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23742 bit_Slow_SSE4_2 is set.
23743 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23744 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23746 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23748 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23749 rtld_global._dl_hwcap2.
23750 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23752 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23753 POWER8 feature descriptions defined in _dl_hwcap2.
23754 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23755 string handling for POWER8 feature bits.
23756 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23757 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23758 _dl_powerpc_cap_flags.
23759 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23760 * sysdeps/powerpc/rtld-global-offsets.sym
23761 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23762 _dl_hwcap2 in the rtld_global_ro structure.
23764 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23766 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23767 hardware capabilities in support of AT_HWCAP2.
23768 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23769 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23771 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23772 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23773 explicitly the unknown a_type display mechanism is used.
23774 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23775 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23777 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23778 to macro prototype for AT_HWCAP2 support.
23779 * sysdeps/i386/dl-procinfo.h: Likewise.
23780 * sysdeps/s390/dl-procinfo.h: Likewise.
23781 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23782 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23783 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23784 return -1 for unknown a_type display fallback.
23785 * sysdeps/sparc/dl-procinfo.h: Likewise.
23786 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23787 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23789 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23791 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23792 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23794 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23797 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23798 mprotect making __stack_prot writable.
23800 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23801 Joseph Myers <joseph@codesourcery.com>
23803 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23804 as being properly aligned.
23806 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23808 * dlfcn/modstatic5.c: New file.
23809 * dlfcn/tststatic5.c: New file.
23810 * dlfcn/Makefile (tests): Add tststatic5.
23811 (tests-static): Likewise.
23812 (modules-names): Add modstatic5.
23813 (tststatic5-ENV): New variable.
23814 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23817 * elf/dl-support.c (_dl_main_map): New variable.
23818 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23819 (_dl_nns, _dl_load_adds): Set to 1.
23820 (_dl_initial_searchlist): Refer to _dl_main_map.
23821 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23822 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23823 call to _dl_get_origin.
23824 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23826 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23827 * dlfcn/modstatic3.c: New file.
23828 * dlfcn/tststatic3.c: New file.
23829 * dlfcn/tststatic4.c: New file.
23830 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23831 (tests-static): Likewise.
23832 (modules-names): Add modstatic3.
23833 (tststatic3-ENV, tststatic4-ENV): New variables.
23834 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23835 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23837 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23839 * configure.in (CC): Require GCC version 4.4 or later.
23840 * configure: Regenerated.
23841 * manual/install.texi (Tools for Compilation): Update GCC version
23843 * INSTALL: Regenerated.
23845 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23848 * string/test-memcmp.c (check2): New.
23849 (main): Call check2.
23851 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23853 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23856 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23858 (dl_open_worker) [!SHARED]: ... here.
23860 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23862 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23864 2013-06-25 Richard Henderson <rth@redhat.com>
23866 * locale/programs/locarchive.c: Include <libc-internal.h>
23868 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23870 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23871 trailing whitespace removed.
23873 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23876 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23877 * locale/programs/locarchive.c: Include libc-mmap.h.
23878 (prepare_address_space): Take two new outputs (the mmap base and len).
23879 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23881 (create_archive): Declare new mmap base and len values for
23882 prepare_address_space, and store the result in ah.
23883 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23884 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23885 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23886 Declare new mmap base and len values for
23887 prepare_address_space, and store the result in new_ah.
23888 (open_archive): Declare new mmap base and len values for
23889 prepare_address_space, and store the result in ah.
23890 (close_archive): If ah->mmap_base is not NULL, use that and
23891 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23892 * sysdeps/generic/libc-mmap.h: New file.
23894 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23896 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23897 (ALIGN_UP): Likewise.
23898 (PTR_ALIGN_DOWN): Likewise.
23899 (PTR_ALIGN_UP): Likewise.
23901 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23903 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23904 entry mapped to PPC_PLATFORM_POWER8.
23905 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23907 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23908 (_dl_string_platform): Add case for exporting platform position for
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23911 search path to sysdeps/powerpc/powerpc32/power8 directory.
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23913 search path to sysdeps/powerpc/powerpc64/power8 directory.
23914 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23915 power7 directories.
23916 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23917 power7 directories.
23919 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23921 * INSTALL: Regenerate.
23923 * nscd/connections.c (nscd_init): Fix comment.
23925 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23927 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23930 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23931 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23933 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23935 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23937 (DL_DST_REQ_STATIC): Remove macro.
23939 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23942 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23943 with a shift of 0 bits.
23945 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23947 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23950 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23953 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23955 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23957 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23958 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23959 accepts -fno-tree-loop-distribute-patterns.
23960 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23961 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23963 * string/memset.c (memset): Likewise.
23964 * string/test-memmove.c (simple_memmove): Disable loop transformation
23966 * string/test-memset.c (simple_memset): Likewise.
23967 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23968 * benchtests/bench-memset.c (simple_memset): Likewise.
23969 * configure: Regenerated.
23971 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23973 * math/test-misc.c (main): Ignore fesetround failure when failures
23974 of subsequent rounding tests would be ignored.
23977 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23978 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23979 * math/fegetenv.c (__fegetenv): Return 0.
23980 * math/fegetexcept.c (fegetexcept): Return 0.
23981 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23983 * math/feholdexcpt.c (feholdexcept): Return 0.
23984 * math/fesetenv.c (__fesetenv): Return 0.
23985 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23986 argument FE_TONEAREST.
23987 * math/feupdateenv.c (__feupdateenv): Return 0.
23988 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23990 2013-06-18 Roland McGrath <roland@hack.frob.com>
23992 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23993 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23994 ($(objpfx)rtld-%.os rules): Use them.
23996 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23998 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24001 2013-06-17 Roland McGrath <roland@hack.frob.com>
24003 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24004 length of target pattern, then descending length of dependency pattern.
24005 * configure.in (AWK): Require gawk 3.1.2 or newer.
24006 * manual/install.texi (Tools for Compilation): Say that we do.
24007 * configure: Regenerated.
24009 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24010 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24011 * scripts/sysd-rules.awk: ... this new script.
24012 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24013 than a glob-style pattern.
24015 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24017 * math/test-misc.c (main): Do not treat incorrectly rounded
24018 conversions as failure unless ROUNDING_TESTS passes.
24020 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24023 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24024 restore exception state around main square root computation, then
24025 check for inexactness explicitly.
24027 * math/libm-test.inc (fma_test_data): Add another test.
24029 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24031 * manual/threads.texi (Non-POSIX Extensions): New document
24032 node. Document pthread_getattr_default_np and
24033 pthread_setattr_default_np.
24035 * Versions.def (libpthread): Add GLIBC_2.18.
24036 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24045 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24056 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24059 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24061 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24062 H.J. Lu <hjl.tools@gmail.com>
24065 * sysdeps/x86_64/rtld-memset.c: Remove file.
24066 * sysdeps/x86_64/rtld-memset.S: New file.
24068 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24070 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24071 (test_in_one_mode): Take arguments for whether the rounding mode
24072 is supported for each floating-point type.
24073 (do_test): Pass new arguments to test_in_one_mode using
24076 2013-06-13 Roland McGrath <roland@hack.frob.com>
24078 * posix/tst-waitid.c (do_test): Distinguish different instances of
24079 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24080 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24081 before entering the kernel for waitpid.
24083 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24085 * NEWS: Fix note on clock function precision. Text by Roland
24088 2013-06-13 Roland McGrath <roland@hack.frob.com>
24090 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24091 it into place only when and if the sanity check passes.
24093 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24095 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24096 output for whether conversion result is exact. Take argument
24097 indicating whether type is IBM long double.
24098 (round_for_all): Change need_exact field to ibm_ld.
24099 * stdlib/tst-strtod-round.c (struct exactness): New type.
24100 (struct test): Change bool ld_ok field to struct exactness exact.
24101 (TEST): Update all definitions for change to field.
24102 (tests): Regenerate array contents.
24103 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24104 field value. Check for IBM long double here.
24105 (do_test): Update calls to test_in_one_mode.
24107 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24110 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24111 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24113 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24116 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24117 generated by the compiler on loop optimizations.
24118 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24119 general definitions.
24121 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24123 * math/bug-nextafter.c: Include <math-tests.h>.
24124 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24126 * math/bug-nexttoward.c: Include <math-tests.h>.
24127 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24129 * math/test-misc.c: Include <math-tests.h>.
24130 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24133 2013-06-12 Andreas Jaeger <aj@suse.de>
24135 * po/ia.po: Update Interlingua translation from translation
24138 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24140 * include/fenv.h: Include stdbool.h.
24141 (struct rm_ctx): New structure.
24142 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24144 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24145 (SET_RESTORE_ROUNDF): Likewise.
24146 (SET_RESTORE_ROUNDL): Likewise.
24147 (SET_RESTORE_ROUND_NOEX): Likewise.
24148 (SET_RESTORE_ROUND_NOEXF): Likewise.
24149 (SET_RESTORE_ROUND_NOEXL): Likewise.
24150 (SET_RESTORE_ROUND_53BIT): Likewise.
24151 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24152 (libc_feresetround_noexf_ctx): Likewise.
24153 (libc_feresetround_noexl_ctx): Likewise.
24154 (libc_feholdsetround_53bit_ctx): Likewise.
24155 (libc_feresetround_53bit_ctx): Likewise.
24156 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24157 (libc_feholdexcept_setround_sse_ctx): New function.
24158 (libc_fesetenv_sse_ctx): Likewise.
24159 (libc_feupdateenv_sse_ctx): Likewise.
24160 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24161 (libc_feholdexcept_setround_387_ctx): Likewise.
24162 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24163 (libc_feholdsetround_387_prec_ctx): Likewise.
24164 (libc_feholdsetround_387_ctx): Likewise.
24165 (libc_feholdsetround_387_53bit_ctx): Likewise.
24166 (libc_feholdsetround_sse_ctx): Likewise.
24167 (libc_feresetround_sse_ctx): Likewise.
24168 (libc_feresetround_387_ctx): Likewise.
24169 (libc_feupdateenv_387_ctx): Likewise.
24170 (libc_feholdexcept_setroundf_ctx): Define macro.
24171 (libc_fesetenvf_ctx): Likewise.
24172 (libc_feupdateenvf_ctx): Likewise.
24173 (libc_feholdsetroundf_ctx): Likewise.
24174 (libc_feresetroundf_ctx): Likewise.
24175 (libc_feholdexcept_setround_ctx): Likewise.
24176 (libc_fesetenv_ctx): Likewise.
24177 (libc_feupdateenv_ctx): Likewise.
24178 (libc_feholdsetround_ctx): Likewise.
24179 (libc_feresetround_ctx): Likewise.
24180 (libc_feholdexcept_setroundl_ctx): Likewise.
24181 (libc_feupdateenvl_ctx): Likewise.
24182 (libc_feholdsetroundl_ctx): Likewise.
24183 (libc_feresetroundl_ctx): Likewise.
24184 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24185 (libc_feresetround_53bit_ctx): Likewise.
24187 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24189 * locale/iso-639.def: Convert to UTF-8.
24191 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24193 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24194 (EXCEPTION_TESTS_double): Likewise.
24195 (EXCEPTION_TESTS_long_double): Likewise.
24196 (EXCEPTION_TESTS): Likewise.
24197 * math/libm-test.inc (test_exceptions): Only test exceptions if
24198 EXCEPTION_TESTS (FLOAT).
24200 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24202 * benchtests/Makefile (string-bench): Add strcpy_chk and
24204 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24205 * benchtests/bench-stpcpy_chk.c: New file.
24206 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24207 * benchtests/bench-strcpy_chk.c: New file.
24208 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24210 (do_test): Likewise.
24212 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24214 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24215 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24216 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24217 with tabs where appropriate.
24218 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24220 [PPC_PLATFORM_PPC440]: Likewise.
24221 [PPC_PLATFORM_PPC464]: Likewise.
24222 [PPC_PLATFORM_PPC476]: Likewise.
24223 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24224 ppc464, and ppc476 platform strings merging from ports/
24227 2013-06-11 Andreas Schwab <schwab@suse.de>
24230 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24231 (from_ucs4_idx): Regenerate.
24232 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24233 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24234 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24235 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24236 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24237 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24238 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24239 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24240 from FROM_LOOP and TO_LOOP specific macros.
24241 (BODY): Handle combining characters.
24242 * iconvdata/BIG5HKSCS.irreversible: Update.
24243 * iconvdata/BIG5HKSCS.precomposed: New file.
24244 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24246 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24248 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24250 * include/sys/time.h: Fix indentation and add copyright header.
24252 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24253 (do_test): Likewise.
24254 * string/test-memchr.c (do_one_test): Likewise.
24255 (do_test): Likewise.
24256 * string/test-memcmp.c (do_one_test): Likewise.
24257 (do_test): Likewise.
24258 * string/test-memcpy.c (do_one_test): Likewise.
24259 (do_test): Likewise.
24260 * string/test-memmem.c (do_one_test): Likewise.
24261 (do_test): Likewise.
24262 (do_random_tests): Likewise.
24263 * string/test-memmove.c (do_one_test): Likewise.
24264 (do_test): Likewise.
24265 * string/test-memset.c (do_one_test): Likewise.
24266 (do_test): Likewise.
24267 * string/test-rawmemchr.c (do_one_test): Likewise.
24268 (do_test): Likewise.
24269 * string/test-strcasecmp.c (do_one_test): Likewise.
24270 (do_test): Likewise.
24271 * string/test-strcasestr.c (do_one_test): Likewise.
24272 (do_test): Likewise.
24273 * string/test-strcat.c (do_one_test): Likewise.
24274 (do_test): Likewise.
24275 * string/test-strchr.c (do_one_test): Likewise.
24276 (do_test): Likewise.
24277 * string/test-strcmp.c (do_one_test): Likewise.
24278 (do_test): Likewise.
24279 * string/test-strcpy.c (do_one_test): Likewise.
24280 (do_test): Likewise.
24281 * string/test-string.h: Likewise.
24282 (test_init): Likewise.
24283 * string/test-strlen.c (do_one_test): Likewise.
24284 (do_test): Likewise.
24285 * string/test-strncasecmp.c (do_one_test): Likewise.
24286 (do_test): Likewise.
24287 * string/test-strncat.c (do_one_test): Likewise.
24288 (do_test): Likewise.
24289 * string/test-strncmp.c (do_one_test): Likewise.
24290 (do_test_limit): Likewise.
24291 (do_test): Likewise.
24292 * string/test-strncpy.c (do_one_test): Likewise.
24293 (do_test): Likewise.
24294 * string/test-strnlen.c (do_one_test): Likewise.
24295 (do_test): Likewise.
24296 * string/test-strpbrk.c (do_one_test): Likewise.
24297 (do_test): Likewise.
24298 * string/test-strrchr.c (do_one_test): Likewise.
24299 (do_test): Likewise.
24300 * string/test-strspn.c (do_one_test): Likewise.
24301 (do_test): Likewise.
24302 * string/test-strstr.c (do_one_test): Likewise.
24303 (do_test): Likewise.
24305 * benchtests/Makefile (string-bench): Add string benchmarks.
24306 * benchtests/bench-bcopy-ifunc.c: New file.
24307 * benchtests/bench-bcopy.c: New file.
24308 * benchtests/bench-bzero-ifunc.c: New file.
24309 * benchtests/bench-bzero.c: New file.
24310 * benchtests/bench-memccpy-ifunc.c: New file.
24311 * benchtests/bench-memccpy.c: New file.
24312 * benchtests/bench-memchr-ifunc.c: New file.
24313 * benchtests/bench-memchr.c: New file.
24314 * benchtests/bench-memcmp-ifunc.c: New file.
24315 * benchtests/bench-memcmp.c: New file.
24316 * benchtests/bench-memmem-ifunc.c: New file.
24317 * benchtests/bench-memmem.c: New file.
24318 * benchtests/bench-memmove-ifunc.c: New file.
24319 * benchtests/bench-memmove.c: New file.
24320 * benchtests/bench-mempcpy-ifunc.c: New file.
24321 * benchtests/bench-mempcpy.c: New file.
24322 * benchtests/bench-memset-ifunc.c: New file.
24323 * benchtests/bench-memset.c: New file.
24324 * benchtests/bench-rawmemchr-ifunc.c: New file.
24325 * benchtests/bench-rawmemchr.c: New file.
24326 * benchtests/bench-stpcpy-ifunc.c: New file.
24327 * benchtests/bench-stpcpy.c: New file.
24328 * benchtests/bench-stpncpy-ifunc.c: New file.
24329 * benchtests/bench-stpncpy.c: New file.
24330 * benchtests/bench-strcasecmp-ifunc.c: New file.
24331 * benchtests/bench-strcasecmp.c: New file.
24332 * benchtests/bench-strcasestr-ifunc.c: New file.
24333 * benchtests/bench-strcasestr.c: New file.
24334 * benchtests/bench-strcat-ifunc.c: New file.
24335 * benchtests/bench-strcat.c: New file.
24336 * benchtests/bench-strchr-ifunc.c: New file.
24337 * benchtests/bench-strchr.c: New file.
24338 * benchtests/bench-strchrnul-ifunc.c: New file.
24339 * benchtests/bench-strchrnul.c: New file.
24340 * benchtests/bench-strcmp-ifunc.c: New file.
24341 * benchtests/bench-strcmp.c: New file.
24342 * benchtests/bench-strcpy-ifunc.c: New file.
24343 * benchtests/bench-strcpy.c: New file.
24344 * benchtests/bench-strcspn-ifunc.c: New file.
24345 * benchtests/bench-strcspn.c: New file.
24346 * benchtests/bench-strlen-ifunc.c: New file.
24347 * benchtests/bench-strlen.c: New file.
24348 * benchtests/bench-strncasecmp-ifunc.c: New file.
24349 * benchtests/bench-strncasecmp.c: New file.
24350 * benchtests/bench-strncat-ifunc.c: New file.
24351 * benchtests/bench-strncat.c: New file.
24352 * benchtests/bench-strncmp-ifunc.c: New file.
24353 * benchtests/bench-strncmp.c: New file.
24354 * benchtests/bench-strncpy-ifunc.c: New file.
24355 * benchtests/bench-strncpy.c: New file.
24356 * benchtests/bench-strnlen-ifunc.c: New file.
24357 * benchtests/bench-strnlen.c: New file.
24358 * benchtests/bench-strpbrk-ifunc.c: New file.
24359 * benchtests/bench-strpbrk.c: New file.
24360 * benchtests/bench-strrchr-ifunc.c: New file.
24361 * benchtests/bench-strrchr.c: New file.
24362 * benchtests/bench-strspn-ifunc.c: New file.
24363 * benchtests/bench-strspn.c: New file.
24364 * benchtests/bench-strstr-ifunc.c: New file.
24365 * benchtests/bench-strstr.c: New file.
24367 * benchtests/Makefile: Disable parallel execution of targets.
24368 (string-bench): Add memcpy.
24369 (benchset): New variable to store a list of benchmark sets.
24370 (bench-func): Renamed from bench.
24371 (bench-set): New target.
24372 (bench): Depend on bench-func and bench-set.
24373 * benchtests/README: Add section on benchmark sets.
24374 * benchtests/bench-memcpy-ifunc.c: New file.
24375 * benchtests/bench-memcpy.c: New file.
24376 * benchtests/bench-string.h: New file.
24378 2013-06-11 Andreas Schwab <schwab@suse.de>
24381 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24382 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24383 values in the triple.
24384 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24385 terminator in the group key.
24387 2013-06-11 Andreas Jaeger <aj@suse.de>
24389 * po/zh_TW.po: Update Chinese (traditional) translation from
24390 translation project.
24392 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24394 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24395 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24396 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24397 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24398 (clock_getcpuclockid): Likewise.
24399 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24400 Add weak_alias and libc_hidden_def.
24401 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24402 * rt/clock_gettime.c (clock_gettime): Rename to
24403 __clock_gettime. Add weak_alias and libc_hidden_def.
24404 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24405 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24406 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24407 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24408 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24410 * rt/clock_settime.c (clock_settime): Rename to
24411 __clock_settime. Add weak_alias and libc_hidden_def.
24412 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24414 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24416 * mach/err_boot.sub: Remove trailing whitespace.
24417 * mach/err_ipc.sub: Likewise.
24418 * mach/err_mach.sub: Likewise.
24420 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24421 (ROUNDING_TESTS_double): Likewise.
24422 (ROUNDING_TESTS_long_double): Likewise.
24423 (ROUNDING_TESTS): Likewise.
24424 * math/libm-test.inc: Include <math-tests.h>.
24425 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24426 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24427 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24428 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24430 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24432 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24435 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24437 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24438 otherwise empty TRANS lines.
24439 * sysdeps/gnu/errlist.c: Regenerated.
24441 * catgets/gencat.c (error_print): Use (void) in function
24443 * crypt/crypt_util.c (__init_des): Likewise.
24444 * crypt/speeds.c (Stop): Likewise.
24446 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24447 * inet/ruserpass.c (token): Likewise.
24448 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24449 * intl/localealias.c (extend_alias_table): Likewise.
24450 * intl/plural-exp.c (init_germanic_plural): Likewise.
24451 * libio/fcloseall.c (__fcloseall): Likewise.
24452 * libio/genops.c (_IO_flush_all): Likewise.
24453 (_IO_flush_all_linebuffered): Likewise.
24454 (_IO_cleanup): Likewise.
24455 (_IO_iter_begin): Likewise.
24456 (_IO_iter_end): Likewise.
24457 (_IO_list_lock): Likewise.
24458 (_IO_list_unlock): Likewise.
24459 (_IO_list_resetlock): Likewise.
24460 * libio/getchar.c (getchar): Likewise.
24461 * libio/getchar_u.c (getchar_unlocked): Likewise.
24462 * libio/getwchar.c (getwchar): Likewise.
24463 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24464 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24465 * login/getpt.c (__getpt): Likewise.
24466 * login/tst-utmp.c (main): Likewise.
24467 * malloc/hooks.c (__malloc_check_init): Likewise.
24468 * malloc/malloc.c (__malloc_stats): Likewise.
24469 * malloc/mtrace.c (tr_break): Likewise.
24470 (mtrace): Likewise.
24471 (muntrace): Likewise.
24472 * misc/fstab.c (endfsent): Likewise.
24473 * misc/getclktck.c (__getclktck): Likewise.
24474 * misc/getdtsz.c (__getdtablesize): Likewise.
24475 * misc/gethostid.c (gethostid): Likewise.
24476 * misc/getpagesize.c (__getpagesize): Likewise.
24477 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24478 (__get_nprocs): Likewise.
24479 (__get_phys_pages): Likewise.
24480 (__get_avphys_pages): Likewise.
24481 * misc/getttyent.c (getttyent): Likewise.
24482 (setttyent): Likewise.
24483 (endttyent): Likewise.
24484 * misc/getusershell.c (getusershell): Likewise.
24485 (endusershell): Likewise.
24486 (setusershell): Likewise.
24487 (initshells): Likewise.
24488 * misc/hsearch.c (__hdestroy): Likewise.
24489 * misc/sync.c (sync): Likewise.
24490 * misc/syslog.c (closelog_internal): Likewise.
24491 (closelog): Likewise.
24492 * misc/ttyslot.c (ttyslot): Likewise.
24493 * misc/vhangup.c (vhangup): Likewise.
24494 * posix/fork.c (__fork): Likewise.
24495 * posix/getegid.c (__getegid): Likewise.
24496 * posix/geteuid.c (__geteuid): Likewise.
24497 * posix/getgid.c (__getgid): Likewise.
24498 * posix/getpid.c (__getpid): Likewise.
24499 * posix/getppid.c (__getppid): Likewise.
24500 * posix/getuid.c (__getuid): Likewise.
24501 * posix/pause.c (pause): Likewise.
24502 * posix/setpgrp.c (setpgrp): Likewise.
24503 * posix/setsid.c (__setsid): Likewise.
24504 * posix/test-vfork.c (noop): Likewise.
24505 * resolv/gethnamaddr.c (_endhtent): Likewise.
24506 (_gethtent): Likewise.
24507 (ht_endhostent): Likewise.
24508 (gethostent): Likewise.
24509 (dns_service): Likewise.
24510 * stdlib/drand48.c (drand48): Likewise.
24511 * stdlib/lrand48.c (lrand48): Likewise.
24512 * stdlib/mrand48.c (mrand48): Likewise.
24513 * stdlib/rand.c (rand): Likewise.
24514 * stdlib/random.c (__random): Likewise.
24515 * stdlib/setenv.c (clearenv): Likewise.
24516 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24517 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24518 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24519 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24520 (__get_nprocs): Likewise.
24521 (__get_phys_pages): Likewise.
24522 (__get_avphys_pages): Likewise.
24523 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24524 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24525 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24526 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24527 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24528 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24529 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24530 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24531 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24532 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24533 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24534 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24535 * sysdeps/posix/clock.c (clock): Likewise.
24536 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24537 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24538 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24539 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24540 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24541 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24542 (__get_nprocs_conf): Likewise.
24543 (__get_phys_pages): Likewise.
24544 (__get_avphys_pages): Likewise.
24545 * time/clock.c (clock): Likewise.
24546 * time/tzset.c (__tzname_max): Likewise.
24548 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24550 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24551 (__bswap_32): Do not use "register".
24552 * crypt/crypt.c (_ufc_doit_r): Likewise.
24553 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24554 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24555 * gmon/gmon.c (__monstartup): Likewise.
24556 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24557 * hurd/hurdmalloc.c (more_memory): Likewise.
24558 (malloc): Likewise.
24560 (realloc): Likewise.
24561 (malloc_fork_prepare): Likewise.
24562 (malloc_fork_parent): Likewise.
24563 (malloc_fork_child): Likewise.
24564 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24565 (_svcauth_des): Likewise.
24566 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24567 * inet/inet_net.c (inet_network): Likewise.
24568 * inet/inet_netof.c (inet_netof): Likewise.
24569 * inet/rcmd.c (__validuser2_sa): Likewise.
24570 * io/fts.c (fts_open): Likewise.
24571 (fts_load): Likewise.
24572 (fts_close): Likewise.
24573 (fts_read): Likewise.
24574 (fts_children): Likewise.
24575 (fts_build): Likewise.
24576 (fts_stat): Likewise.
24577 (fts_sort): Likewise.
24578 (fts_alloc): Likewise.
24579 (fts_lfree): Likewise.
24580 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24581 (_IO_file_xsgetn): Likewise.
24582 (_IO_file_xsgetn_mmap): Likewise.
24583 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24584 (_IO_cookie_write): Likewise.
24585 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24586 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24587 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24588 * malloc/obstack.c (_obstack_begin): Likewise.
24589 (_obstack_begin_1): Likewise.
24590 (_obstack_newchunk): Likewise.
24591 (_obstack_allocated_p): Likewise.
24592 (obstack_free): Likewise.
24593 (_obstack_memory_used): Likewise.
24594 * misc/getttyent.c (getttynam): Likewise.
24595 (getttyent): Likewise.
24598 * misc/getusershell.c (initshells): Likewise.
24599 * misc/syslog.c (__vsyslog_chk): Likewise.
24600 * misc/ttyslot.c (ttyslot): Likewise.
24601 * nis/nis_hash.c (__nis_hash): Likewise.
24602 * posix/fnmatch_loop.c (FCT): Likewise.
24603 * posix/getconf.c (print_all): Likewise.
24605 * posix/getopt.c (exchange): Likewise.
24606 * posix/glob.c (globfree): Likewise.
24607 (prefix_array): Likewise.
24608 (__glob_pattern_type): Likewise.
24609 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24610 (NS_GET32): Likewise.
24611 (NS_PUT16): Likewise.
24612 (NS_PUT32): Likewise.
24613 * resolv/gethnamaddr.c (getanswer): Likewise.
24614 (gethostbyname2): Likewise.
24615 (gethostbyaddr): Likewise.
24616 (_gethtent): Likewise.
24617 (_gethtbyname2): Likewise.
24618 (_gethtbyaddr): Likewise.
24619 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24620 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24621 * resolv/res_init.c (__res_vinit): Likewise.
24622 (net_mask): Likewise.
24623 * resolv/res_mkquery.c (outchar): Likewise.
24625 * stdio-common/printf_fp.c (outchar): Likewise.
24627 * stdio-common/printf_fphex.c (outchar): Likewise.
24629 * stdio-common/printf_size.c (outchar): Likewise.
24631 * stdio-common/test_rdwr.c (main): Likewise.
24632 * stdio-common/tfformat.c (matches): Likewise.
24633 * stdio-common/vfprintf.c (outchar): Likewise.
24634 (printf_unknown): Likewise.
24635 (buffered_vfprintf): Likewise.
24636 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24637 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24638 (ReadFile): Likewise.
24639 * stdlib/qsort.c (SWAP): Likewise.
24640 (_quicksort): Likewise.
24641 * stdlib/setenv.c (__add_to_environ): Likewise.
24642 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24643 * stdlib/strtol_l.c (__strtol_l): Likewise.
24644 * stdlib/tst-strtod.c (main): Likewise.
24645 * stdlib/tst-strtol.c (main): Likewise.
24646 * stdlib/tst-strtoll.c (main): Likewise.
24647 * string/bits/string2.h (__strcmp_cc): Likewise.
24648 (__strcmp_cg): Likewise.
24649 (__strcspn_c1): Likewise.
24650 (__strcspn_c2): Likewise.
24651 (__strcspn_c3): Likewise.
24652 (__strspn_c1): Likewise.
24653 (__strspn_c2): Likewise.
24654 (__strspn_c3): Likewise.
24655 (__strsep_1c): Likewise.
24656 (__strsep_2c): Likewise.
24657 (__strsep_3c): Likewise.
24658 * string/memccpy.c (__memccpy): Likewise.
24659 * string/stpcpy.c (__stpcpy): Likewise.
24660 * string/strcmp.c (strcmp): Likewise.
24661 * string/strrchr.c (strrchr): Likewise.
24662 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24664 * sysdeps/mach/hurd/getcwd.c
24665 (_hurd_canonicalize_directory_name_internal): Likewise.
24666 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24667 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24668 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24669 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24670 Likewise, in both definitions.
24671 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24673 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24674 64] (__bswap_64): Likewise.
24675 * time/test_time.c (main): Likewise.
24676 * time/tzfile.c (__tzfile_read): Likewise.
24677 (__tzfile_compute): Likewise.
24678 * time/tzset.c (__tzset_parse_tz): Likewise.
24679 (tzset_internal): Likewise.
24680 (compute_change): Likewise.
24681 * wcsmbs/wcscat.c (__wcscat): Likewise.
24682 * wcsmbs/wcschr.c (wcschr): Likewise.
24683 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24684 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24685 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24686 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24687 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24688 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24689 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24690 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24691 * wcsmbs/wmemset.c (wmemset): Likewise.
24693 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24695 * scripts/config.guess: Update to version 2013-05-16.
24696 * scripts/config.sub: Update to version 2013-04-24.
24697 * scripts/install-sh: Update to version 2011-11-20.07.
24698 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24699 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24701 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24703 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24704 * elf/sln.c: Likewise.
24705 * hurd/hurd/ioctl.h: Likewise.
24706 * hurd/hurdmalloc.c: Likewise.
24707 * hurd/xattr.c: Likewise.
24708 * include/shlib-compat.h: Likewise.
24709 * inet/ruserpass.c: Likewise.
24710 * libio/iofgets_u.c: Likewise.
24711 * libio/iofgetws_u.c: Likewise.
24712 * locale/programs/ld-identification.c: Likewise.
24713 * locale/programs/ld-time.c: Likewise.
24714 * mach/msg-destroy.c: Likewise.
24715 * nss/nss_files/files-netgrp.c: Likewise.
24716 * resolv/res_data.c: Likewise.
24717 * soft-fp/op-1.h: Likewise.
24718 * soft-fp/op-2.h: Likewise.
24719 * soft-fp/op-4.h: Likewise.
24720 * soft-fp/op-common.h: Likewise.
24721 * stdio-common/printf_fphex.c: Likewise.
24722 * stdlib/strtod_l.c: Likewise.
24723 * sunrpc/rpc/clnt.h: Likewise.
24724 * sysdeps/generic/framestate.c: Likewise.
24725 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24726 * sysdeps/i386/bsd-setjmp.S: Likewise.
24727 * sysdeps/i386/__longjmp.S: Likewise.
24728 * sysdeps/i386/setjmp.S: Likewise.
24729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24731 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24747 * sysdeps/ieee754/support.c: Likewise.
24748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24749 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24750 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24751 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24752 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24753 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24754 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24755 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24756 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24757 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24758 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24759 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24760 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24761 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24762 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24763 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24764 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24767 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24769 * posix/transbug.c: Remove executable mode.
24771 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24773 * crypt/speeds.c: Remove trailing whitespace.
24774 * dlfcn/default.c: Likewise.
24775 * elf/ifuncdep2.c: Likewise.
24776 * elf/ifuncmain1.c: Likewise.
24777 * elf/ifuncmain1vis.c: Likewise.
24778 * elf/testobj.h: Likewise.
24779 * elf/tst-stackguard1.c: Likewise.
24780 * gmon/sys/gmon.h: Likewise.
24781 * hurd/hurdmsg.c: Likewise.
24782 * hurd/new-fd.c: Likewise.
24783 * hurd/ports-get.c: Likewise.
24784 * iconvdata/ibm1008_420.c: Likewise.
24785 * inet/tst-getni1.c: Likewise.
24786 * inet/tst-getni2.c: Likewise.
24787 * libio/ioungetc.c: Likewise.
24788 * libio/wfiledoalloc.c: Likewise.
24789 * manual/libm-err-tab.pl: Likewise.
24790 * math/w_dremf.c: Likewise.
24791 * misc/ftruncate.c: Likewise.
24792 * posix/bug-glob2.c: Likewise.
24793 * posix/tst-pcre.c: Likewise.
24794 * posix/wait4.c: Likewise.
24795 * resolv/README: Likewise.
24796 * resolv/res_debug.h: Likewise.
24797 * resolv/tst-inet_ntop.c: Likewise.
24798 * setjmp/bug269-setjmp.c: Likewise.
24799 * soft-fp/extended.h: Likewise.
24800 * soft-fp/op-1.h: Likewise.
24801 * soft-fp/op-2.h: Likewise.
24802 * soft-fp/op-4.h: Likewise.
24803 * soft-fp/op-8.h: Likewise.
24804 * soft-fp/testit.c: Likewise.
24805 * stdio-common/bug16.c: Likewise.
24806 * stdlib/random.c: Likewise.
24807 * sunrpc/rpcsvc/rquota.x: Likewise.
24808 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24814 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24815 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24816 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24817 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24823 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24824 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24826 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24829 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24830 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24831 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24836 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24837 * sysdeps/ieee754/s_lib_version.c: Likewise.
24838 * sysdeps/mach/hurd/check_fds.c: Likewise.
24839 * sysdeps/mach/hurd/getsockname.c: Likewise.
24840 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24841 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24842 * sysdeps/powerpc/bits/link.h: Likewise.
24843 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24844 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24845 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24846 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24847 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24848 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24849 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24850 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24851 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24852 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24853 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24854 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24855 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24856 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24857 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24858 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24862 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24863 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24864 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24865 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24866 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24867 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24868 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24869 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24870 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24871 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24872 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24873 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24874 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24875 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24876 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24877 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24878 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24879 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24880 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24881 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24882 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24883 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24884 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24885 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24886 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24887 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24888 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24889 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24890 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24891 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24892 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24893 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24894 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24895 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24896 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24897 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24898 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24899 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24900 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24901 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24902 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24903 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24904 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24905 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24906 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24907 * sysdeps/powerpc/sysdep.h: Likewise.
24908 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24909 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24910 * sysdeps/sh/dl-trampoline.S: Likewise.
24911 * sysdeps/sh/memset.S: Likewise.
24912 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24913 * sysdeps/sh/strlen.S: Likewise.
24914 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24915 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24916 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24917 * sysdeps/sparc/sparc32/rem.S: Likewise.
24918 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24919 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24920 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24921 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24922 * sysdeps/sparc/sparc32/urem.S: Likewise.
24923 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24924 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24925 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24926 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24927 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24928 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24929 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24930 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24931 * sysdeps/unix/bsd/times.c: Likewise.
24932 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24933 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24937 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24938 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24939 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24940 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24941 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24942 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24943 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24944 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24946 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24947 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24948 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24949 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24950 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24951 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24952 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24953 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24954 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24955 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24956 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24957 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24958 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24959 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24960 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24961 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24962 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24963 * sysdeps/x86_64/strcspn.S: Likewise.
24965 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24967 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24968 generated file. Regenerate properly from gen-translit.pl.
24969 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24970 locale/C-translit.h.
24972 2013-06-05 Andreas Schwab <schwab@suse.de>
24975 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24976 week as 6 instead of -1.
24977 * time/tst-strptime.c (day_tests): Add test case.
24979 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24981 * sysdeps/generic/math_private.h
24982 (libc_feholdexcept_setround_53bit): Replace with
24983 libc_feholdsetround_53bit.
24984 (libc_feupdateenv_53bit): Replace with
24985 libc_feresetround_53bit.
24986 (SET_RESTORE_ROUND_53BIT): Adjust.
24988 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24990 * string/test-strchrnul.c: Add copyright header.
24992 * posix/tst-getaddrinfo4.c: Increase test timeout.
24994 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24997 * math/libm-test.inc (MAX_EXP): Remove
24999 (ulp): Use MIN_EXP - MANT_DIG.
25000 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25002 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25004 * po/be.po: Revert last change.
25005 * po/zh_CN.po: Likewise.
25006 * po/header.pot: Likewise.
25008 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25010 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25011 link-libc-deps to empty as target-specific variable.
25012 * Makerules (link-libc-args): New variable.
25013 (libc-for-link): Likewise.
25014 (link-libc-deps): Likewise.
25015 (lib%.so): Depend on $(link-libc-deps). Link with
25017 (build-module): Link with $(link-libc-args).
25018 (build-module-asneeded): Likewise.
25019 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25021 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25022 target-specific variable.
25023 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25024 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25025 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25027 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25029 ($(objpfx)libpcprofile.so): Likewise.
25030 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25032 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25033 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25034 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25036 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25037 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25038 * login/Makefile ($(objpfx)libutil.so): Likewise.
25039 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25040 * math/Makefile ($(objpfx)libm.so): Likewise.
25041 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25042 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25043 variable instead of depending directly on libc.
25044 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25045 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25047 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25049 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25050 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25051 ($(objpfx)libanl.so): Likewise.
25052 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25054 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25056 * sysdeps/i386/fpu/Makefile: Remove file.
25057 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25058 ($(objpfx)libm.so): Remove dependency on ld.so.
25060 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25063 * nis/yp_xdr.c (XDRMAXNAME): Define.
25064 (XDRMAXRECORD): Define.
25065 (xdr_domainname): Use XDRMAXNAME.
25066 (xdr_mapname): Likewise.
25067 (xdr_peername): Likewise.
25068 (xdr_keydat): Use XDRMAXRECORD.
25069 (xdr_valdat): Likewise.
25071 2013-05-30 Jeff Law <law@redhat.com>
25074 * manual/errno.texi (ESTALE): Update to account for more than
25075 just NFS file systems.
25076 * sysdeps/gnu/errlist.c: Regenerated.
25078 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25081 * elf/Makefile (tests): Add tst-null-argv.
25082 (modules-names): Add tst-null-argv-lib.
25083 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25084 (tst-null-argv-ENV): Set environment for tst-null-argv.
25085 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25086 (RTLD_PROGNAME): New macro.
25087 * elf/tst-null-argv.c: New test case.
25088 * elf/tst-null-argv-lib.c: Library for test case.
25089 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25090 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25091 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25092 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25093 * elf/dl-init.c (call_init): Likewise.
25094 (_dl_init): Likewise.
25095 * elf/dl-load.c (print_search_path): Likewise.
25096 (_dl_map_object): Likewise.
25097 * elf/dl-lookup.c (do_lookup_x): Likewise.
25098 (add_dependency): Likewise.
25099 (_dl_lookup_symbol_x): Likewise.
25100 (_dl_debug_bindings): Likewise.
25101 * elf/dl-open.c (_dl_show_scope): Likewise.
25102 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25103 * elf/dl-version.c (match_symbol): Likewise.
25104 (_dl_check_map_versions): Likewise.
25105 * elf/rtld.c (dl_main): Likewise.
25106 (print_unresolved): Use RTLD_PROGNAME.
25107 (print_missing_version): Likewise.
25108 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25109 (elf_machine_rela): Likewise.
25110 * sysdeps/powerpc/powerpc32/dl-machine.c
25111 (__process_machine_rela): Likewise.
25112 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25114 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25116 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25118 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25123 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25125 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25127 * po/be.po: Add descriptive title.
25128 * po/zh_CN.po: Likewise.
25129 * po/header.pot: Likewise.
25131 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25133 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25135 (enlarge_archive): Likewise.
25137 2013-05-28 Ben North <ben@redfrontdoor.org>
25139 * manual/arith.texi (frexp): It is the magnitude of the return
25140 value which lies in [0.5, 1), not the return value itself.
25142 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25146 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25148 * stdio-common/bug26.c (main): Correct fscanf template.
25150 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25151 declare _dl_skip_args.
25153 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25156 * manual/platform.texi: Add missing @end deftypefun.
25158 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25161 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25162 bit of mantissa of 2^16382.
25163 * math/libm-test.inc (hypot_test_data): Add more tests.
25165 * math/libm-test.inc: Add drem and pow10 to list of tested
25167 (pow10_test): New function.
25168 (drem_test): Likewise.
25169 (drem_test_tonearest): Likewise.
25170 (drem_test_towardzero): Likewise.
25171 (drem_test_downward): Likewise.
25172 (drem_test_upward): Likewise.
25173 (main): Call the new functions.
25175 * math/libm-test.inc (finite_test_data): Remove.
25176 (finite_test): Run tests from isfinite_test_data.
25177 (gamma_test_data): Remove.
25178 (gamma_test): Run tests from lgamma_test_data.
25179 * sysdeps/i386/fpu/libm-test-ulps: Update.
25180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25184 * manual/platform.texi: Add PowerPC PPR function set documentation.
25185 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25188 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25190 * math/libm-test.inc (MAX_EXP): Define.
25192 (ulp): New function.
25193 (check_float_internal): Use ULPDIFF.
25194 (cpow_test): Disable failing test.
25195 (check_ulp): Test ulp() implemetnation.
25196 (main): Call check_ulp before starting tests.
25198 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25200 * math/gen-libm-test.pl (generate_testfile): Do not handle
25201 START_DATA and END_DATA.
25202 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25204 (acos_tonearest_test_data): Likewise.
25205 (acos_towardzero_test_data): Likewise.
25206 (acos_downward_test_data): Likewise.
25207 (acos_upward_test_data): Likewise.
25208 (acosh_test_data): Likewise.
25209 (asin_test_data): Likewise.
25210 (asin_tonearest_test_data): Likewise.
25211 (asin_towardzero_test_data): Likewise.
25212 (asin_downward_test_data): Likewise.
25213 (asin_upward_test_data): Likewise.
25214 (asinh_test_data): Likewise.
25215 (atan_test_data): Likewise.
25216 (atanh_test_data): Likewise.
25217 (atan2_test_data): Likewise.
25218 (cabs_test_data): Likewise.
25219 (cacos_test_data): Likewise.
25220 (cacosh_test_data): Likewise.
25221 (carg_test_data): Likewise.
25222 (casin_test_data): Likewise.
25223 (casinh_test_data): Likewise.
25224 (catan_test_data): Likewise.
25225 (catanh_test_data): Likewise.
25226 (cbrt_test_data): Likewise.
25227 (ccos_test_data): Likewise.
25228 (ccosh_test_data): Likewise.
25229 (ceil_test_data): Likewise.
25230 (cexp_test_data): Likewise.
25231 (cimag_test_data): Likewise.
25232 (clog_test_data): Likewise.
25233 (clog10_test_data): Likewise.
25234 (conj_test_data): Likewise.
25235 (copysign_test_data): Likewise.
25236 (cos_test_data): Likewise.
25237 (cos_tonearest_test_data): Likewise.
25238 (cos_towardzero_test_data): Likewise.
25239 (cos_downward_test_data): Likewise.
25240 (cos_upward_test_data): Likewise.
25241 (cosh_test_data): Likewise.
25242 (cosh_tonearest_test_data): Likewise.
25243 (cosh_towardzero_test_data): Likewise.
25244 (cosh_downward_test_data): Likewise.
25245 (cosh_upward_test_data): Likewise.
25246 (cpow_test_data): Likewise.
25247 (cproj_test_data): Likewise.
25248 (creal_test_data): Likewise.
25249 (csin_test_data): Likewise.
25250 (csinh_test_data): Likewise.
25251 (csqrt_test_data): Likewise.
25252 (ctan_test_data): Likewise.
25253 (ctan_tonearest_test_data): Likewise.
25254 (ctan_towardzero_test_data): Likewise.
25255 (ctan_downward_test_data): Likewise.
25256 (ctan_upward_test_data): Likewise.
25257 (ctanh_test_data): Likewise.
25258 (ctanh_tonearest_test_data): Likewise.
25259 (ctanh_towardzero_test_data): Likewise.
25260 (ctanh_downward_test_data): Likewise.
25261 (ctanh_upward_test_data): Likewise.
25262 (erf_test_data): Likewise.
25263 (erfc_test_data): Likewise.
25264 (exp_test_data): Likewise.
25265 (exp_tonearest_test_data): Likewise.
25266 (exp_towardzero_test_data): Likewise.
25267 (exp_downward_test_data): Likewise.
25268 (exp_upward_test_data): Likewise.
25269 (exp10_test_data): Likewise.
25270 (exp2_test_data): Likewise.
25271 (expm1_test_data): Likewise.
25272 (fabs_test_data): Likewise.
25273 (fdim_test_data): Likewise.
25274 (finite_test_data): Likewise.
25275 (floor_test_data): Likewise.
25276 (fma_test_data): Likewise.
25277 (fma_towardzero_test_data): Likewise.
25278 (fma_downward_test_data): Likewise.
25279 (fma_upward_test_data): Likewise.
25280 (fmax_test_data): Likewise.
25281 (fmin_test_data): Likewise.
25282 (fmod_test_data): Likewise.
25283 (fpclassify_test_data): Likewise.
25284 (frexp_test_data): Likewise.
25285 (gamma_test_data): Likewise.
25286 (hypot_test_data): Likewise.
25287 (ilogb_test_data): Likewise.
25288 (isfinite_test_data): Likewise.
25289 (isgreater_test_data): Likewise.
25290 (isgreaterequal_test_data): Likewise.
25291 (isinf_test_data): Likewise.
25292 (isless_test_data): Likewise.
25293 (islessequal_test_data): Likewise.
25294 (islessgreater_test_data): Likewise.
25295 (isnan_test_data): Likewise.
25296 (isnormal_test_data): Likewise.
25297 (issignaling_test_data): Likewise.
25298 (isunordered_test_data): Likewise.
25299 (j0_test_data): Likewise.
25300 (j1_test_data): Likewise.
25301 (jn_test_data): Likewise.
25302 (ldexp_test_data): Likewise.
25303 (lgamma_test_data): Likewise.
25304 (lrint_test_data): Likewise.
25305 (lrint_tonearest_test_data): Likewise.
25306 (lrint_towardzero_test_data): Likewise.
25307 (lrint_downward_test_data): Likewise.
25308 (lrint_upward_test_data): Likewise.
25309 (llrint_test_data): Likewise.
25310 (llrint_tonearest_test_data): Likewise.
25311 (llrint_towardzero_test_data): Likewise.
25312 (llrint_downward_test_data): Likewise.
25313 (llrint_upward_test_data): Likewise.
25314 (log_test_data): Likewise.
25315 (log10_test_data): Likewise.
25316 (log1p_test_data): Likewise.
25317 (log2_test_data): Likewise.
25318 (logb_test_data): Likewise.
25319 (logb_downward_test_data): Likewise.
25320 (lround_test_data): Likewise.
25321 (llround_test_data): Likewise.
25322 (modf_test_data): Likewise.
25323 (nearbyint_test_data): Likewise.
25324 (nextafter_test_data): Likewise.
25325 (nexttoward_test_data): Likewise.
25326 (pow_test_data): Likewise.
25327 (pow_tonearest_test_data): Likewise.
25328 (pow_towardzero_test_data): Likewise.
25329 (pow_downward_test_data): Likewise.
25330 (pow_upward_test_data): Likewise.
25331 (remainder_test_data): Likewise.
25332 (remainder_tonearest_test_data): Likewise.
25333 (remainder_towardzero_test_data): Likewise.
25334 (remainder_downward_test_data): Likewise.
25335 (remainder_upward_test_data): Likewise.
25336 (remquo_test_data): Likewise.
25337 (rint_test_data): Likewise.
25338 (rint_tonearest_test_data): Likewise.
25339 (rint_towardzero_test_data): Likewise.
25340 (rint_downward_test_data): Likewise.
25341 (rint_upward_test_data): Likewise.
25342 (round_test_data): Likewise.
25343 (scalb_test_data): Likewise.
25344 (scalbn_test_data): Likewise.
25345 (scalbln_test_data): Likewise.
25346 (signbit_test_data): Likewise.
25347 (sin_test_data): Likewise.
25348 (sin_tonearest_test_data): Likewise.
25349 (sin_towardzero_test_data): Likewise.
25350 (sin_downward_test_data): Likewise.
25351 (sin_upward_test_data): Likewise.
25352 (sincos_test_data): Likewise.
25353 (sinh_test_data): Likewise.
25354 (sinh_tonearest_test_data): Likewise.
25355 (sinh_towardzero_test_data): Likewise.
25356 (sinh_downward_test_data): Likewise.
25357 (sinh_upward_test_data): Likewise.
25358 (sqrt_test_data): Likewise.
25359 (tan_test_data): Likewise.
25360 (tan_tonearest_test_data): Likewise.
25361 (tan_towardzero_test_data): Likewise.
25362 (tan_downward_test_data): Likewise.
25363 (tan_upward_test_data): Likewise.
25364 (tanh_test_data): Likewise.
25365 (tgamma_test_data): Likewise.
25366 (trunc_test_data): Likewise.
25367 (y0_test_data): Likewise.
25368 (y1_test_data): Likewise.
25369 (yn_test_data): Likewise.
25370 (significand_test_data): Likewise.
25372 * math/gen-libm-test.pl (@functions): Remove variable.
25373 (generate_testfile): Don't handle START and END lines.
25374 * math/libm-test.inc (START): New macro.
25376 (END_COMPLEX): Likewise.
25377 (acos_test): Use END macro without arguments.
25378 (acos_test_tonearest): Likewise.
25379 (acos_test_towardzero): Likewise.
25380 (acos_test_downward): Likewise.
25381 (acos_test_upward): Likewise.
25382 (acosh_test): Likewise.
25383 (asin_test): Likewise.
25384 (asin_test_tonearest): Likewise.
25385 (asin_test_towardzero): Likewise.
25386 (asin_test_downward): Likewise.
25387 (asin_test_upward): Likewise.
25388 (asinh_test): Likewise.
25389 (atan_test): Likewise.
25390 (atanh_test): Likewise.
25391 (atan2_test): Likewise.
25392 (cabs_test): Likewise.
25393 (cacos_test): Use END_COMPLEX macro without arguments.
25394 (cacosh_test): Likewise.
25395 (carg_test): Use END macro without arguments.
25396 (casin_test): Use END_COMPLEX macro without arguments.
25397 (casinh_test): Likewise.
25398 (catan_test): Likewise.
25399 (catanh_test): Likewise.
25400 (cbrt_test): Use END macro without arguments.
25401 (ccos_test): Use END_COMPLEX macro without arguments.
25402 (ccosh_test): Likewise.
25403 (ceil_test): Use END macro without arguments.
25404 (cexp_test): Use END_COMPLEX macro without arguments.
25405 (cimag_test): Use END macro without arguments.
25406 (clog_test): Use END_COMPLEX macro without arguments.
25407 (clog10_test): Likewise.
25408 (conj_test): Likewise.
25409 (copysign_test): Use END macro without arguments.
25410 (cos_test): Likewise.
25411 (cos_test_tonearest): Likewise.
25412 (cos_test_towardzero): Likewise.
25413 (cos_test_downward): Likewise.
25414 (cos_test_upward): Likewise.
25415 (cosh_test): Likewise.
25416 (cosh_test_tonearest): Likewise.
25417 (cosh_test_towardzero): Likewise.
25418 (cosh_test_downward): Likewise.
25419 (cosh_test_upward): Likewise.
25420 (cpow_test): Use END_COMPLEX macro without arguments.
25421 (cproj_test): Likewise.
25422 (creal_test): Use END macro without arguments.
25423 (csin_test): Use END_COMPLEX macro without arguments.
25424 (csinh_test): Likewise.
25425 (csqrt_test): Likewise.
25426 (ctan_test): Likewise.
25427 (ctan_test_tonearest): Likewise.
25428 (ctan_test_towardzero): Likewise.
25429 (ctan_test_downward): Likewise.
25430 (ctan_test_upward): Likewise.
25431 (ctanh_test): Likewise.
25432 (ctanh_test_tonearest): Likewise.
25433 (ctanh_test_towardzero): Likewise.
25434 (ctanh_test_downward): Likewise.
25435 (ctanh_test_upward): Likewise.
25436 (erf_test): Use END macro without arguments.
25437 (erfc_test): Likewise.
25438 (exp_test): Likewise.
25439 (exp_test_tonearest): Likewise.
25440 (exp_test_towardzero): Likewise.
25441 (exp_test_downward): Likewise.
25442 (exp_test_upward): Likewise.
25443 (exp10_test): Likewise.
25444 (exp2_test): Likewise.
25445 (expm1_test): Likewise.
25446 (fabs_test): Likewise.
25447 (fdim_test): Likewise.
25448 (finite_test): Likewise.
25449 (floor_test): Likewise.
25450 (fma_test): Likewise.
25451 (fma_test_towardzero): Likewise.
25452 (fma_test_downward): Likewise.
25453 (fma_test_upward): Likewise.
25454 (fmax_test): Likewise.
25455 (fmin_test): Likewise.
25456 (fmod_test): Likewise.
25457 (fpclassify_test): Likewise.
25458 (frexp_test): Likewise.
25459 (gamma_test): Likewise.
25460 (hypot_test): Likewise.
25461 (ilogb_test): Likewise.
25462 (isfinite_test): Likewise.
25463 (isgreater_test): Likewise.
25464 (isgreaterequal_test): Likewise.
25465 (isinf_test): Likewise.
25466 (isless_test): Likewise.
25467 (islessequal_test): Likewise.
25468 (islessgreater_test): Likewise.
25469 (isnan_test): Likewise.
25470 (isnormal_test): Likewise.
25471 (issignaling_test): Likewise.
25472 (isunordered_test): Likewise.
25473 (j0_test): Likewise.
25474 (j1_test): Likewise.
25475 (jn_test): Likewise.
25476 (ldexp_test): Likewise.
25477 (lgamma_test): Likewise.
25478 (lrint_test): Likewise.
25479 (lrint_test_tonearest): Likewise.
25480 (lrint_test_towardzero): Likewise.
25481 (lrint_test_downward): Likewise.
25482 (lrint_test_upward): Likewise.
25483 (llrint_test): Likewise.
25484 (llrint_test_tonearest): Likewise.
25485 (llrint_test_towardzero): Likewise.
25486 (llrint_test_downward): Likewise.
25487 (llrint_test_upward): Likewise.
25488 (log_test): Likewise.
25489 (log10_test): Likewise.
25490 (log1p_test): Likewise.
25491 (log2_test): Likewise.
25492 (logb_test): Likewise.
25493 (logb_test_downward): Likewise.
25494 (lround_test): Likewise.
25495 (llround_test): Likewise.
25496 (modf_test): Likewise.
25497 (nearbyint_test): Likewise.
25498 (nextafter_test): Likewise.
25499 (nexttoward_test): Likewise.
25500 (pow_test): Likewise.
25501 (pow_test_tonearest): Likewise.
25502 (pow_test_towardzero): Likewise.
25503 (pow_test_downward): Likewise.
25504 (pow_test_upward): Likewise.
25505 (remainder_test): Likewise.
25506 (remainder_test_tonearest): Likewise.
25507 (remainder_test_towardzero): Likewise.
25508 (remainder_test_downward): Likewise.
25509 (remainder_test_upward): Likewise.
25510 (remquo_test): Likewise.
25511 (rint_test): Likewise.
25512 (rint_test_tonearest): Likewise.
25513 (rint_test_towardzero): Likewise.
25514 (rint_test_downward): Likewise.
25515 (rint_test_upward): Likewise.
25516 (round_test): Likewise.
25517 (scalb_test): Likewise.
25518 (scalbn_test): Likewise.
25519 (scalbln_test): Likewise.
25520 (signbit_test): Likewise.
25521 (sin_test): Likewise.
25522 (sin_test_tonearest): Likewise.
25523 (sin_test_towardzero): Likewise.
25524 (sin_test_downward): Likewise.
25525 (sin_test_upward): Likewise.
25526 (sincos_test): Likewise.
25527 (sinh_test): Likewise.
25528 (sinh_test_tonearest): Likewise.
25529 (sinh_test_towardzero): Likewise.
25530 (sinh_test_downward): Likewise.
25531 (sinh_test_upward): Likewise.
25532 (sqrt_test): Likewise.
25533 (tan_test): Likewise.
25534 (tan_test_tonearest): Likewise.
25535 (tan_test_towardzero): Likewise.
25536 (tan_test_downward): Likewise.
25537 (tan_test_upward): Likewise.
25538 (tanh_test): Likewise.
25539 (tgamma_test): Likewise.
25540 (trunc_test): Likewise.
25541 (y0_test): Likewise.
25542 (y1_test): Likewise.
25543 (yn_test): Likewise.
25544 (significand_test): Likewise.
25546 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25549 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25551 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25554 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25555 __ppc_mdoio and __ppc_mdoom.
25556 * manual/platform.texi: Document new functions __ppc_yield,
25557 __ppc_mdoio and __ppc_mdoom.
25559 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25561 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25562 (main): Mention "tls" pseudo-hwcap is legacy.
25563 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25565 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25567 * math/gen-libm-test.pl (parse_args): Output only string of
25568 arguments as text for test name, not full call or descriptions of
25569 tests for extra outputs.
25570 (generate_testfile): Do not pass function name to parse_args.
25571 Generate this_func variable from START.
25572 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25574 (struct test_ff_f_data): Likewise.
25575 (test_ff_f_data_nexttoward): Likewise.
25576 (struct test_fi_f_data): Likewise.
25577 (struct test_fl_f_data): Likewise.
25578 (struct test_if_f_data): Likewise.
25579 (struct test_fff_f_data): Likewise.
25580 (struct test_c_f_data): Likewise.
25581 (struct test_f_f1_data): Likewise. Remove field extra_name.
25582 (struct test_fF_f1_data): Likewise.
25583 (struct test_ffI_f1_data): Likewise.
25584 (struct test_c_c_data): Rename test_name field to arg_str.
25585 (struct test_cc_c_data): Likewise.
25586 (struct test_f_i_data): Likewise.
25587 (struct test_ff_i_data): Likewise.
25588 (struct test_f_l_data): Likewise.
25589 (struct test_f_L_data): Likewise.
25590 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25592 (COMMON_TEST_SETUP): New macro.
25593 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25594 (COMMON_TEST_CLEANUP): Likewise.
25595 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25596 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25598 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25599 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25601 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25602 (RUN_TEST_fff_f): Take argument string. Call new setup and
25604 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25605 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25607 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25608 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25610 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25611 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25613 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25614 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25616 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25617 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25619 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25620 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25622 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25623 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25625 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25626 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25628 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25629 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25631 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25632 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25634 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25635 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25637 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25638 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25640 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25641 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25643 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25644 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25646 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25647 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25649 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25651 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25653 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25654 to _sifields.sigfault.
25655 (si_addr_lsb): Define new macro.
25656 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25657 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25660 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25663 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25665 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25667 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25668 loading the domain.
25670 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25672 * math/gen-libm-test.pl (parse_args): Do not include expected
25673 result in test name.
25674 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25676 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25677 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25678 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25681 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25683 * benchtests/Makefile: Sort function entries.
25685 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25686 tanh, asinh, acosh, atanh.
25687 * benchtests/acos-inputs: New file.
25688 * benchtests/acosh-inputs: New file.
25689 * benchtests/asin-inputs: New file.
25690 * benchtests/asinh-inputs: New file.
25691 * benchtests/atanh-inputs: New file.
25692 * benchtests/cosh-inputs: New file.
25693 * benchtests/log-inputs: New file.
25694 * benchtests/sinh-inputs: New file.
25695 * benchtests/tanh-inputs: New file.
25697 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25700 * posix/tst-getaddrinfo4.c: New test.
25701 * posix/Makefile (tests): Add it.
25703 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25706 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25707 when no services were used.
25708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25709 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25711 2013-05-21 Andreas Schwab <schwab@suse.de>
25714 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25715 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25717 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25718 redundant variable declarations and reallocation of buffer when
25719 parsing as IPv6 address. Always set NSS status when called from
25720 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25721 buffer too small. Correct computation of needed size.
25722 * nss/Makefile (tests): Add test-digits-dots.
25723 * nss/test-digits-dots.c: New test.
25725 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25727 * benchtests/Makefile: Remove instructions for adding
25729 * benchtests/README: New file to explain how to execute and
25730 enhance the benchmark tests.
25732 2013-05-21 Andreas Schwab <schwab@suse.de>
25735 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25736 * setjmp/tst-sigsetjmp.c: New test.
25738 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25740 * sysdeps/x86_64/memset.S (memset): New implementation.
25741 (__bzero): Likewise.
25742 (__memset_tail): New function.
25744 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25746 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25747 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25748 __memcpy_sse2_unaligned ifunc selection.
25749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25750 Add memcpy-sse2-unaligned.S.
25751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25752 Add: __memcpy_sse2_unaligned.
25754 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25757 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25758 math_force_eval before restoring floating-point envrionment.
25759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25762 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25764 (__nearbyintl): Use math_force_eval before restoring
25765 floating-point environment.
25766 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25768 * math/gen-libm-test.pl (special_functions): Remove.
25769 (parse_args): Don't handle TEST_extra. Handle functions with no
25771 * math/libm-test.inc (struct test_sincos_data): Replace with
25772 struct test_fFF_11_data.
25773 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25774 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25775 (sincos_test_data): Change element type to struct
25776 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25777 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25778 RUN_TEST_LOOP_sincos.
25779 * math/README.libm-test: Don't mention special handling of
25780 individual functions.
25781 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25782 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25783 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25784 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25785 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25788 * math/gen-libm-test.pl (get_variable): Remove function.
25789 (parse_args): Don't show pointer parameters to call in test
25790 names. Use "extra output N" in test names for extra outputs
25791 rather than naming variables.
25793 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25796 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25797 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25798 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25800 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25802 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25805 * math/gen-libm-test.pl (@tests): Remove variable.
25806 ($count): Likewise.
25807 (new_test): Remove function.
25808 (show_exceptions): New function.
25809 (special_functions): Use show_exceptions instead of new_test.
25810 (parse_args): Likewise.
25811 (generate_testfile): Pass only function name in generated call to
25812 print_max_error or print_complex_max_error.
25813 (get_ulps): Do not handle complex tests specially.
25814 (output_test): Rename to ...
25815 (get_all_ulps_for_test): ... this. Return a string rather than
25816 printing to a file. Require ulps to be present.
25817 (output_ulps): Generate arrays rather than #defines.
25818 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25819 (struct ulp_data): New type.
25820 (BUILD_COMPLEX_ULP): Remove macro.
25821 (compare_ulp_data): New function.
25822 (find_ulps): Likewise.
25823 (find_test_ulps): Likewise.
25824 (find_function_ulps): Likewise.
25825 (find_complex_function_ulps): Likewise.
25826 (print_max_error): Determine allowed ulps using
25827 find_function_ulps.
25828 (print_complex_max_error): Determine allowed ulps using
25829 find_complex_function_ulps.
25830 (check_float_internal): Determine max ulps using find_test_ulps.
25831 (check_float): Do not take max_ulp parameter. Update call to
25832 check_float_internal.
25833 (check_complex): Likewise.
25834 (check_int): Do not take max_ulp parameter.
25835 (check_long): Likewise.
25836 (check_bool): Likewise.
25837 (check_longlong): Likewise.
25838 (struct test_f_f_data): Remove max_ulp field.
25839 (struct test_ff_f_data): Likewise.
25840 (struct test_ff_f_data_nexttoward): Likewise.
25841 (struct test_fi_f_data): Likewise.
25842 (struct test_fl_f_data): Likewise.
25843 (struct test_if_f_data): Likewise.
25844 (struct test_fff_f_data): Likewise.
25845 (struct test_c_f_data): Likewise.
25846 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25847 (struct test_fF_f1_data): Likewise.
25848 (struct test_ffI_f1_data): Likewise.
25849 (struct test_c_c_data): Remove max_ulp field.
25850 (struct test_cc_c_data): Likewise.
25851 (struct test_f_i_data): Likewise.
25852 (struct test_ff_i_data): Likewise.
25853 (struct test_f_l_data): Likewise.
25854 (struct test_f_L_data): Likewise.
25855 (struct test_sincos_data): Likewise.
25856 (RUN_TEST_f_f): Do not handle ulps.
25857 (RUN_TEST_LOOP_f_f): Likewise.
25858 (RUN_TEST_2_f): Likewise.
25859 (RUN_TEST_LOOP_2_f): Likewise.
25860 (RUN_TEST_fff_f): Likewise.
25861 (RUN_TEST_LOOP_fff_f): Likewise.
25862 (RUN_TEST_c_f): Likewise.
25863 (RUN_TEST_LOOP_c_f): Likewise.
25864 (RUN_TEST_f_f1): Likewise.
25865 (RUN_TEST_LOOP_f_f1): Likewise.
25866 (RUN_TEST_fF_f1): Likewise.
25867 (RUN_TEST_LOOP_fF_f1): Likewise.
25868 (RUN_TEST_fI_f1): Likewise.
25869 (RUN_TEST_LOOP_fI_f1): Likewise.
25870 (RUN_TEST_ffI_f1): Likewise.
25871 (RUN_TEST_LOOP_ffI_f1): Likewise.
25872 (RUN_TEST_c_c): Likewise.
25873 (RUN_TEST_LOOP_c_c): Likewise.
25874 (RUN_TEST_cc_c): Likewise.
25875 (RUN_TEST_LOOP_cc_c): Likewise.
25876 (RUN_TEST_f_i): Likewise.
25877 (RUN_TEST_LOOP_f_i): Likewise.
25878 (RUN_TEST_f_i_tg): Likewise.
25879 (RUN_TEST_LOOP_f_i_tg): Likewise.
25880 (RUN_TEST_ff_i_tg): Likewise.
25881 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25882 (RUN_TEST_f_b): Likewise.
25883 (RUN_TEST_LOOP_f_b): Likewise.
25884 (RUN_TEST_f_b_tg): Likewise.
25885 (RUN_TEST_LOOP_f_b_tg): Likewise.
25886 (RUN_TEST_f_l): Likewise.
25887 (RUN_TEST_LOOP_f_l): Likewise.
25888 (RUN_TEST_f_L): Likewise.
25889 (RUN_TEST_LOOP_f_L): Likewise.
25890 (RUN_TEST_sincos): Likewise.
25891 (RUN_TEST_LOOP_sincos): Likewise.
25893 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25897 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25898 main case of finite arguments, set rounding mode to FE_TONEAREST
25899 and discard exceptions.
25900 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25902 (remainder_tonearest_test_data): New variable.
25903 (remainder_test_tonearest): New function.
25904 (remainder_towardzero_test_data): New variable.
25905 (remainder_test_towardzero): New function.
25906 (remainder_downward_test_data): New variable.
25907 (remainder_test_downward): New function.
25908 (remainder_upward_test_data): New variable.
25909 (remainder_test_upward): New function.
25910 (main): Call the new test functions.
25912 * math/libm-test.inc (struct test_f_f1_data): Remove field
25914 (struct test_fF_f1_data): Likewise.
25915 (struct test_ffI_f1_data): Likewise.
25916 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25917 based on value of EXTRA_EXPECTED.
25918 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25919 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25920 EXTRA_VAR based on value of EXTRA_EXPECTED.
25921 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25922 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25923 EXTRA_VAR based on value of EXTRA_EXPECTED.
25924 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25925 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25926 EXTRA_VAR based on value of EXTRA_EXPECTED.
25927 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25928 * math/gen-libm-test.pl (parse_args): Don't output initializers
25929 for extra output values.
25931 * math/libm-test.inc (check_int): Expect result to be exactly
25932 equal to expected value and do not handle ulps.
25933 (check_long): Likewise.
25934 (check_longlong): Likewise.
25936 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25938 (cimag_test_data): Likewise.
25939 (conj_test_data): Likewise.
25940 (copysign_test_data): Likewise.
25941 (cproj_test_data): Likewise.
25942 (creal_test_data): Likewise.
25943 (fabs_test_data): Likewise.
25944 (fdim_test_data): Likewise.
25945 (finite_test_data): Likewise.
25946 (floor_test_data): Likewise.
25947 (fmax_test_data): Likewise.
25948 (fmin_test_data): Likewise.
25949 (fmod_test_data): Likewise.
25950 (fpclassify_test_data): Likewise.
25951 (frexp_test_data): Likewise.
25952 (ilogb_test_data): Likewise.
25953 (isfinite_test_data): Likewise.
25954 (isgreater_test_data): Likewise.
25955 (isgreaterequal_test_data): Likewise.
25956 (isinf_test_data): Likewise.
25957 (isless_test_data): Likewise.
25958 (islessequal_test_data): Likewise.
25959 (islessgreater_test_data): Likewise.
25960 (isnan_test_data): Likewise.
25961 (isnormal_test_data): Likewise.
25962 (issignaling_test_data): Likewise.
25963 (isunordered_test_data): Likewise.
25964 (ldexp_test_data): Likewise.
25965 (lrint_test_data): Likewise.
25966 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25967 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25968 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25969 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25970 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25971 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25973 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25974 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25975 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25976 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25978 (lrint_downward_test_data): Test for "inexact" exceptions.
25979 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25980 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25981 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25983 (lrint_upward_test_data): Test for "inexact" exceptions.
25984 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25986 (llrint_test_data): Test for "inexact" exceptions.
25987 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25988 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25989 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25990 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25991 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25992 (llrint_downward_test_data): Test for "inexact" exceptions.
25993 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25994 (llrint_upward_test_data): Test for "inexact" exceptions.
25995 (logb_test_data): Likewise.
25996 (logb_downward_test_data): Likewise.
25997 (nextafter_test_data): Likewise.
25998 (nexttoward_test_data): Likewise.
25999 (remainder_test_data): Likewise.
26000 (remquo_test_data): Likewise.
26001 (scalbn_test_data): Likewise.
26002 (scalbln_test_data): Likewise.
26003 (signbit_test_data): Likewise.
26004 (sqrt_test_data): Likewise.
26005 (significand_test_data): Likewise.
26007 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26010 * benchtests/bench-modf.c (struct args): Mark arg0 as
26012 * scripts/bench.pl: Mark members of struct args as volatile.
26014 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26017 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26018 negative infinity on POWER6 or lower.
26019 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26021 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26024 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26025 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26026 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26027 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26028 (_FP_SETQNAN): New macro.
26029 (_FP_SETQNAN_SEMIRAW): Likewise.
26030 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26031 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26032 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26033 (FP_EXTEND): Use _FP_FRAC_SNANP.
26034 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26035 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26037 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26039 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26042 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26044 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26045 with DIVIDE_BY_ZERO_EXCEPTION.
26046 (gamma_test_data): Likewise.
26047 (lgamma_test_data): Likewise.
26048 (log_test_data): Likewise.
26049 (log10_test_data): Likewise.
26050 (log2_test_data): Likewise.
26051 (tgamma_test_data): Likewise.
26053 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26054 (acos_test_tonearest): Likewise.
26055 (acos_test_towardzero): Likewise.
26056 (acos_test_downward): Likewise.
26057 (acos_test_upward): Likewise.
26058 (acosh_test): Likewise.
26059 (asin_test): Likewise.
26060 (asin_test_tonearest): Likewise.
26061 (asin_test_towardzero): Likewise.
26062 (asin_test_downward): Likewise.
26063 (asin_test_upward): Likewise.
26064 (asinh_test): Likewise.
26065 (atan_test): Likewise.
26066 (atanh_test): Likewise.
26067 (atan2_test): Likewise.
26068 (cabs_test): Likewise.
26069 (cacos_test): Likewise.
26070 (cacosh_test): Likewise.
26071 (casin_test): Likewise.
26072 (casinh_test): Likewise.
26073 (catan_test): Likewise.
26074 (catanh_test): Likewise.
26075 (cbrt_test): Likewise.
26076 (ccos_test): Likewise.
26077 (ccosh_test): Likewise.
26078 (cexp_test): Likewise.
26079 (clog_test): Likewise.
26080 (clog10_test): Likewise.
26081 (cos_test): Likewise.
26082 (cos_test_tonearest): Likewise.
26083 (cos_test_towardzero): Likewise.
26084 (cos_test_downward): Likewise.
26085 (cos_test_upward): Likewise.
26086 (cosh_test): Likewise.
26087 (cosh_test_tonearest): Likewise.
26088 (cosh_test_towardzero): Likewise.
26089 (cosh_test_downward): Likewise.
26090 (cosh_test_upward): Likewise.
26091 (cpow_test): Likewise.
26092 (csin_test): Likewise.
26093 (csinh_test): Likewise.
26094 (csqrt_test): Likewise.
26095 (ctan_test): Likewise.
26096 (ctan_test_tonearest): Likewise.
26097 (ctan_test_towardzero): Likewise.
26098 (ctan_test_downward): Likewise.
26099 (ctan_test_upward): Likewise.
26100 (ctanh_test): Likewise.
26101 (ctanh_test_tonearest): Likewise.
26102 (ctanh_test_towardzero): Likewise.
26103 (ctanh_test_downward): Likewise.
26104 (ctanh_test_upward): Likewise.
26105 (erf_test): Likewise.
26106 (erfc_test): Likewise.
26107 (exp_test): Likewise.
26108 (exp_test_tonearest): Likewise.
26109 (exp_test_towardzero): Likewise.
26110 (exp_test_downward): Likewise.
26111 (exp_test_upward): Likewise.
26112 (exp10_test): Likewise.
26113 (exp2_test): Likewise.
26114 (expm1_test): Likewise.
26115 (fmod_test): Likewise.
26116 (gamma_test): Likewise.
26117 (hypot_test): Likewise.
26118 (j0_test): Likewise.
26119 (j1_test): Likewise.
26120 (jn_test): Likewise.
26121 (lgamma_test): Likewise.
26122 (log_test): Likewise.
26123 (log10_test): Likewise.
26124 (log1p_test): Likewise.
26125 (log2_test): Likewise.
26126 (logb_test_downward): Likewise.
26127 (pow_test): Likewise.
26128 (pow_test_tonearest): Likewise.
26129 (pow_test_towardzero): Likewise.
26130 (pow_test_downward): Likewise.
26131 (pow_test_upward): Likewise.
26132 (remainder_test): Likewise.
26133 (remquo_test): Likewise.
26134 (sin_test): Likewise.
26135 (sin_test_tonearest): Likewise.
26136 (sin_test_towardzero): Likewise.
26137 (sin_test_downward): Likewise.
26138 (sin_test_upward): Likewise.
26139 (sincos_test): Likewise.
26140 (sinh_test): Likewise.
26141 (sinh_test_tonearest): Likewise.
26142 (sinh_test_towardzero): Likewise.
26143 (sinh_test_downward): Likewise.
26144 (sinh_test_upward): Likewise.
26145 (sqrt_test): Likewise.
26146 (tan_test): Likewise.
26147 (tan_test_tonearest): Likewise.
26148 (tan_test_towardzero): Likewise.
26149 (tan_test_downward): Likewise.
26150 (tan_test_upward): Likewise.
26151 (tanh_test): Likewise.
26152 (tgamma_test): Likewise.
26153 (y0_test): Likewise.
26154 (y1_test): Likewise.
26155 (yn_test): Likewise.
26157 * math/gen-libm-test.pl (adjust_arg): Remove function.
26158 (special_function): Remove argument $in_func. Only handle
26159 generating output for tables of tests, not inside functions.
26160 (parse_args): Likewise.
26161 (generate_testfile): Remove variable $in_func. Update call to
26163 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26164 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26165 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26166 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26167 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26168 (MAX_VALUE_INIT): Rename macro to max_value.
26169 (MIN_VALUE_INIT): Rename macro to min_value.
26170 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26171 (plus_zero): Remove variable.
26172 (minus_zero): Likewise.
26173 (plus_infty): Likewise.
26174 (minus_infty): Likewise.
26175 (qnan_value): Likewise.
26176 (max_value): Likewise.
26177 (min_value): Likewise.
26178 (min_subnorm_value): Likewise.
26180 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26182 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26183 uint64_t or uint32_t usage.
26184 * crypt/sha256-block.c: Likewise.
26185 * crypt/sha256-crypt.c: Likewise.
26186 * crypt/sha256.c: Likewise.
26187 * crypt/sha512-block.c: Likewise.
26188 * crypt/sha512-crypt.c: Likewise.
26189 * crypt/sha512.c: Likewise.
26190 * debug/backtrace-tst.c: Likewise.
26191 * debug/pcprofiledump.c: Likewise.
26192 * elf/cache.c: Likewise.
26193 * elf/dl-cache.c: Likewise.
26194 * elf/dl-misc.c: Likewise.
26195 * elf/dl-profile.c: Likewise.
26196 * elf/dl-support.c: Likewise.
26197 * elf/ldconfig.c: Likewise.
26198 * elf/sprof.c: Likewise.
26199 * iconv/dummy-repertoire.c: Likewise.
26200 * iconv/iconv_charmap.c: Likewise.
26201 * iconv/skeleton.c: Likewise.
26202 * iconvdata/8bit-generic.c: Likewise.
26203 * iconvdata/cp737.h: Likewise.
26204 * iconvdata/cp775.h: Likewise.
26205 * iconvdata/ibm1008.h: Likewise.
26206 * iconvdata/ibm1025.h: Likewise.
26207 * iconvdata/ibm1046.h: Likewise.
26208 * iconvdata/ibm1097.h: Likewise.
26209 * iconvdata/ibm1112.h: Likewise.
26210 * iconvdata/ibm1122.h: Likewise.
26211 * iconvdata/ibm1123.h: Likewise.
26212 * iconvdata/ibm1124.h: Likewise.
26213 * iconvdata/ibm1129.h: Likewise.
26214 * iconvdata/ibm1130.h: Likewise.
26215 * iconvdata/ibm1132.h: Likewise.
26216 * iconvdata/ibm1133.h: Likewise.
26217 * iconvdata/ibm1137.h: Likewise.
26218 * iconvdata/ibm1140.h: Likewise.
26219 * iconvdata/ibm1141.h: Likewise.
26220 * iconvdata/ibm1142.h: Likewise.
26221 * iconvdata/ibm1143.h: Likewise.
26222 * iconvdata/ibm1144.h: Likewise.
26223 * iconvdata/ibm1145.h: Likewise.
26224 * iconvdata/ibm1146.h: Likewise.
26225 * iconvdata/ibm1147.h: Likewise.
26226 * iconvdata/ibm1148.h: Likewise.
26227 * iconvdata/ibm1149.h: Likewise.
26228 * iconvdata/ibm1153.h: Likewise.
26229 * iconvdata/ibm1154.h: Likewise.
26230 * iconvdata/ibm1155.h: Likewise.
26231 * iconvdata/ibm1156.h: Likewise.
26232 * iconvdata/ibm1157.h: Likewise.
26233 * iconvdata/ibm1158.h: Likewise.
26234 * iconvdata/ibm1160.h: Likewise.
26235 * iconvdata/ibm1161.h: Likewise.
26236 * iconvdata/ibm1162.h: Likewise.
26237 * iconvdata/ibm1163.h: Likewise.
26238 * iconvdata/ibm1164.h: Likewise.
26239 * iconvdata/ibm1166.h: Likewise.
26240 * iconvdata/ibm1167.h: Likewise.
26241 * iconvdata/ibm12712.h: Likewise.
26242 * iconvdata/ibm1390.h: Likewise.
26243 * iconvdata/ibm1399.h: Likewise.
26244 * iconvdata/ibm16804.h: Likewise.
26245 * iconvdata/ibm4517.h: Likewise.
26246 * iconvdata/ibm4899.h: Likewise.
26247 * iconvdata/ibm4909.h: Likewise.
26248 * iconvdata/ibm4971.h: Likewise.
26249 * iconvdata/ibm5347.h: Likewise.
26250 * iconvdata/ibm803.h: Likewise.
26251 * iconvdata/ibm856.h: Likewise.
26252 * iconvdata/ibm901.h: Likewise.
26253 * iconvdata/ibm902.h: Likewise.
26254 * iconvdata/ibm9030.h: Likewise.
26255 * iconvdata/ibm9066.h: Likewise.
26256 * iconvdata/ibm921.h: Likewise.
26257 * iconvdata/ibm922.h: Likewise.
26258 * iconvdata/ibm9448.h: Likewise.
26259 * iconvdata/isiri-3342.h: Likewise.
26260 * iconvdata/jis0201.h: Likewise.
26261 * include/link.h: Likewise.
26262 * include/netdb.h: Likewise.
26263 * inet/check_native.c: Likewise.
26264 * inet/check_pf.c: Likewise.
26265 * inet/getipv4sourcefilter.c: Likewise.
26266 * inet/getnameinfo.c: Likewise.
26267 * inet/getsourcefilter.c: Likewise.
26268 * inet/htonl.c: Likewise.
26269 * inet/setipv4sourcefilter.c: Likewise.
26270 * inet/setsourcefilter.c: Likewise.
26271 * inet/test-inet6_opt.c: Likewise.
26272 * inet/tst-network.c: Likewise.
26273 * locale/C-collate.c: Likewise.
26274 * locale/C-ctype.c: Likewise.
26275 * locale/C-time.c: Likewise.
26276 * locale/C-translit.h: Likewise.
26277 * locale/loadarchive.c: Likewise.
26278 * locale/programs/3level.h: Likewise.
26279 * locale/programs/charmap.c: Likewise.
26280 * locale/programs/charmap.h: Likewise.
26281 * locale/programs/ld-address.c: Likewise.
26282 * locale/programs/ld-collate.c: Likewise.
26283 * locale/programs/ld-ctype.c: Likewise.
26284 * locale/programs/ld-identification.c: Likewise.
26285 * locale/programs/ld-measurement.c: Likewise.
26286 * locale/programs/ld-messages.c: Likewise.
26287 * locale/programs/ld-monetary.c: Likewise.
26288 * locale/programs/ld-name.c: Likewise.
26289 * locale/programs/ld-numeric.c: Likewise.
26290 * locale/programs/ld-paper.c: Likewise.
26291 * locale/programs/ld-telephone.c: Likewise.
26292 * locale/programs/ld-time.c: Likewise.
26293 * locale/programs/linereader.c: Likewise.
26294 * locale/programs/locale.c: Likewise.
26295 * locale/programs/locarchive.c: Likewise.
26296 * locale/programs/locfile.h: Likewise.
26297 * locale/programs/repertoire.c: Likewise.
26298 * locale/programs/simple-hash.c: Likewise.
26299 * locale/programs/simple-hash.h: Likewise.
26300 * malloc/memusage.c: Likewise.
26301 * malloc/memusagestat.c: Likewise.
26302 * nis/nis_defaults.c: Likewise.
26303 * nis/nis_hash.c: Likewise.
26304 * nis/nis_print.c: Likewise.
26305 * nis/nis_xdr.c: Likewise.
26306 * nscd/connections.c: Likewise.
26307 * nscd/hstcache.c: Likewise.
26308 * nscd/nscd_gethst_r.c: Likewise.
26309 * nscd/nscd_getserv_r.c: Likewise.
26310 * nscd/nscd_helper.c: Likewise.
26311 * nscd/servicescache.c: Likewise.
26312 * nss/makedb.c: Likewise.
26313 * nss/nss_db/db-XXX.c: Likewise.
26314 * nss/nss_db/db-initgroups.c: Likewise.
26315 * nss/nss_db/db-netgrp.c: Likewise.
26316 * nss/nss_files/files-network.c: Likewise.
26317 * nss/nss_files/files-parse.c: Likewise.
26318 * posix/bug-regex5.c: Likewise.
26319 * posix/fnmatch_loop.c: Likewise.
26320 * posix/regcomp.c: Likewise.
26321 * posix/regexec.c: Likewise.
26322 * posix/tst-rfc3484-2.c: Likewise.
26323 * posix/tst-rfc3484-3.c: Likewise.
26324 * posix/tst-rfc3484.c: Likewise.
26325 * resolv/nss_dns/dns-canon.c: Likewise.
26326 * resolv/nss_dns/dns-network.c: Likewise.
26327 * resolv/res_init.c: Likewise.
26328 * resolv/res_mkquery.c: Likewise.
26329 * resolv/tst-aton.c: Likewise.
26330 * stdlib/cxa_atexit.c: Likewise.
26331 * stdlib/cxa_finalize.c: Likewise.
26332 * stdlib/gen-fpioconst.c: Likewise.
26333 * stdlib/strtol_l.c: Likewise.
26334 * string/tst-endian.c: Likewise.
26335 * sunrpc/auth_des.c: Likewise.
26336 * sunrpc/clnt_udp.c: Likewise.
26337 * sunrpc/rtime.c: Likewise.
26338 * sunrpc/svcauth_des.c: Likewise.
26339 * sunrpc/xdr.c: Likewise.
26340 * sunrpc/xdr_intXX_t.c: Likewise.
26341 * sunrpc/xdr_rec.c: Likewise.
26342 * sysdeps/generic/ldconfig.h: Likewise.
26343 * sysdeps/generic/ldsodefs.h: Likewise.
26344 * sysdeps/generic/memusage.h: Likewise.
26345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26348 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26355 * sysdeps/posix/getaddrinfo.c: Likewise.
26356 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26357 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26358 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26359 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26360 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26361 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26362 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26363 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26364 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26365 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26366 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26367 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26368 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26369 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26370 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26371 * sysdeps/x86_64/dl-tls.h: Likewise.
26372 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26373 * time/alt_digit.c: Likewise.
26374 * time/era.c: Likewise.
26375 * wcsmbs/tst-c16c32-1.c: Likewise.
26377 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26379 * math/libm-test.inc (struct test_sincos_data): New type.
26380 (RUN_TEST_LOOP_sincos): New macro.
26381 (sincos_test_data): New variable.
26382 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26384 2013-05-16 Richard Henderson <rth@redhat.com>
26386 * math/atest-exp2.c (LIMB64): New macro.
26387 (CONSTSZ): New macro.
26388 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26390 (print_mpn_fp): ... to function scope.
26391 (read_mpn_hex): Remove.
26392 (get_log2): Remove.
26393 (exp2_mpn): Use mp_log2.
26394 (main): Use mp_exp1.
26396 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26398 * math/libm-test.inc: Remove comment about not testing "inexact"
26400 (INEXACT_EXCEPTION): New macro.
26401 (NO_INEXACT_EXCEPTION): Likewise.
26402 (INVALID_EXCEPTION_OK): Update value.
26403 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26404 (OVERFLOW_EXCEPTION_OK): Likewise.
26405 (UNDERFLOW_EXCEPTION_OK): Likewise.
26406 (IGNORE_ZERO_INF_SIGN): Likewise.
26407 (ERRNO_UNCHANGED): Likewise.
26408 (ERRNO_EDOM): Likewise.
26409 (ERRNO_ERANGE): Likewise.
26410 (test_exceptions): Handle testing "inexact" exceptions.
26411 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26412 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26413 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26414 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26416 (rint_towardzero_test_data): Likewise.
26417 (rint_downward_test_data): Likewise.
26418 (rint_upward_test_data): Likewise.
26420 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26421 with OVERFLOW_EXCEPTION.
26422 (exp10_test_data): Likewise.
26423 (exp2_test_data): Likewise.
26424 (expm1_test_data): Likewise.
26425 (lgamma_test_data): Likewise.
26426 (pow_test_data): Likewise.
26427 (tgamma_test_data): Likewise.
26428 (yn_test_data): Remove duplicate test of overflow.
26430 * math/libm-test.inc (struct test_cc_c_data): New type.
26431 (RUN_TEST_LOOP_cc_c): New macro.
26432 (cpow_test_data): New variable.
26433 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26435 * math/libm-test.inc (struct test_f_L_data): New type.
26436 (RUN_TEST_LOOP_f_L): New macro.
26437 (llrint_test_data): New variable.
26438 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26439 (llrint_tonearest_test_data): New variable.
26440 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26441 (llrint_towardzero_test_data): New variable.
26442 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26443 (llrint_downward_test_data): New variable.
26444 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26445 (llrint_upward_test_data): New variable.
26446 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26447 (llround_test_data): New variable.
26448 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26450 2013-05-13 Peter Collingbourne <pcc@google.com>
26452 * math/atest-exp2.c (get_log2): Remove const attribute.
26454 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26456 * math/libm-test.inc (struct test_f_l_data): New type.
26457 (RUN_TEST_LOOP_f_l): New macro.
26458 (lrint_test_data): New variable.
26459 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26460 (lrint_tonearest_test_data): New variable.
26461 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26462 (lrint_towardzero_test_data): New variable.
26463 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26464 (lrint_downward_test_data): New variable.
26465 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26466 (lrint_upward_test_data): New variable.
26467 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26468 (lround_test_data): New variable.
26469 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26471 2013-05-15 Peter Collingbourne <pcc@google.com>
26473 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26474 (EXTRACT_WORDS64) Use where appropriate.
26475 (INSERT_WORDS64) Likewise.
26477 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26478 constraints with x constraints.
26479 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26481 * malloc/obstack.c (_obstack_compat): Add initializer.
26483 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26486 si_trapno and add si_addr_lsb to _sifields.sigfault.
26487 (si_trapno): Remove macro.
26488 (si_addr_lsb): Define new macro.
26489 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26491 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26493 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26494 instead of TEST_f_l.
26495 (llrint_test_tonearest): Likewise.
26496 (llrint_test_towardzero): Likewise.
26497 (llrint_test_downward): Likewise.
26498 (llrint_test_upward): Likewise.
26499 (llround_test): Likewise.
26501 * math/libm-test.inc (struct test_f_i_data): Add comment.
26502 (RUN_TEST_LOOP_f_b): New macro.
26503 (RUN_TEST_LOOP_f_b_tg): Likewise.
26504 (finite_test_data): New variable.
26505 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26506 (isfinite_test_data): New variable.
26507 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26508 (isinf_test_data): New variable.
26509 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26510 (isnan_test_data): New variable.
26511 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26512 (isnormal_test_data): New variable.
26513 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26514 (issignaling_test_data): New variable.
26515 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26516 (signbit_test_data): New variable.
26517 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26519 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26520 with INVALID_EXCEPTION.
26521 (acosh_test_data): Likewise.
26522 (asin_test_data): Likewise.
26523 (atanh_test_data): Likewise.
26524 (fmod_test_data): Likewise.
26525 (log_test_data): Likewise.
26526 (log10_test_data): Likewise.
26527 (log2_test_data): Likewise.
26528 (pow_test_data): Likewise.
26529 (sqrt_test_data): Likewise.
26530 (y0_test_data): Likewise.
26531 (y1_test_data): Likewise.
26532 (yn_test_data): Likewise.
26534 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26537 * math/libm-test.inc (struct test_ff_i_data): New type.
26538 (RUN_TEST_LOOP_ff_i_tg): New macro.
26539 (isgreater_test_data): New variable.
26540 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26541 (isgreaterequal_test_data): New variable.
26542 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26543 (isless_test_data): New variable.
26544 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26545 (islessequal_test_data): New variable.
26546 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26547 (islessgreater_test_data): New variable.
26548 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26549 (isunordered_test_data): New variable.
26550 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26552 2013-05-14 David S. Miller <davem@davemloft.net>
26554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26556 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26558 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26560 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26562 (struct test_f_i_data): Change type of max_ulp to int.
26564 * math/libm-test.inc (test_ffI_f1_data): New type.
26565 (RUN_TEST_LOOP_ffI_f1): New macro.
26566 (remquo_test_data): New variable.
26567 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26569 * setjmp/tst-setjmp-fp.c: New file.
26570 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26571 (link-libm): New variable.
26572 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26574 * math/libm-test.inc (struct test_f_i_data): New type.
26575 (RUN_TEST_LOOP_f_i): New macro.
26576 (RUN_TEST_LOOP_f_i_tg): Likewise.
26577 (fpclassify_test_data): New variable.
26578 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26579 (ilogb_test_data): New variable.
26580 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26582 * math/libm-test.inc (scalbln_test): Correct function name in END
26585 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26586 (RUN_TEST_LOOP_fI_f1): New macro.
26587 (frexp_test_data): New variable.
26588 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26590 * math/libm-test.inc (struct test_fF_f1_data): New type.
26591 (RUN_TEST_LOOP_fF_f1): New macro.
26592 (modf_test_data): New variable.
26593 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26595 * math/libm-test.inc (struct test_f_f1_data): New type.
26596 (RUN_TEST_LOOP_f_f1): New macro.
26597 (gamma_test_data): New variable.
26598 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26599 (lgamma_test_data): New variable.
26600 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26602 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26604 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26605 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26606 (main): Comment "tls" pseudo-hwcap.
26608 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26610 * math/libm-test.inc (struct test_fl_f_data): New type.
26611 (RUN_TEST_LOOP_fl_f): New variable.
26612 (scalbln_test_data): New variable.
26613 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26615 * math/libm-test.inc (struct test_fi_f_data): New type.
26616 (RUN_TEST_LOOP_fi_f): New macro.
26617 (ldexp_test_data): New variable.
26618 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26619 (scalbn_test_data): New variable.
26620 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26622 * math/libm-test.inc (struct test_c_f_data): New type.
26623 (RUN_TEST_LOOP_c_f): New macro.
26624 (cabs_test_data): New variable.
26625 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26626 (carg_test_data): New variable.
26627 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26628 (cimag_test_data): New variable.
26629 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26630 (creal_test_data): New variable.
26631 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26633 * math/libm-test.inc (struct test_if_f_data): New type.
26634 (RUN_TEST_LOOP_if_f): New macro.
26635 (jn_test_data): New variable.
26636 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26637 (yn_test_data): New variable.
26638 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26640 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26642 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26644 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26645 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26647 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26649 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26650 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26651 (bench-deps): Add bench-timing.h.
26652 * benchtests-bench-skeleton.c: Include bench-timing.h.
26653 (main): Use TIMING_* macros instead of clock_gettime.
26654 * benchtests/bench-timing.h: New file.
26657 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26658 Renamed from _LIB_VERSION.
26659 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26661 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26663 * math/libm-test.inc (struct test_fff_f_data): New type.
26664 (RUN_TEST_LOOP_fff_f): New macro.
26665 (fma_test_data): New variable.
26666 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26667 (fma_towardzero_test_data): New variable.
26668 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26669 (fma_downward_test_data): New variable.
26670 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26671 (fma_upward_test_data): New variable.
26672 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26674 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26675 (struct test_c_c_data): New type.
26676 (RUN_TEST_LOOP_c_c): New macro.
26677 (cacos_test_data): New variable.
26678 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26679 (cacosh_test_data): New variable.
26680 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26681 (casin_test_data): New variable.
26682 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26683 (casinh_test_data): New variable.
26684 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26685 (catan_test_data): New variable.
26686 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26687 (catanh_test_data): New variable.
26688 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26689 (ccos_test_data): New variable.
26690 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26691 (ccosh_test_data): New variable.
26692 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26693 (cexp_test_data): New variable.
26694 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26695 (clog_test_data): New variable.
26696 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26697 (clog10_test_data): New variable.
26698 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26699 (conj_test_data): New variable.
26700 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26701 (cproj_test_data): New variable.
26702 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26703 (csin_test_data): New variable.
26704 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26705 (csinh_test_data): New variable.
26706 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26707 (csqrt_test_data): New variable.
26708 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26709 (ctan_test_data): New variable.
26710 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26711 (ctan_tonearest_test_data): New variable.
26712 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26713 (ctan_towardzero_test_data): New variable.
26714 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26715 (ctan_downward_test_data): New variable.
26716 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26717 (ctan_upward_test_data): New variable.
26718 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26719 (ctanh_test_data): New variable.
26720 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26721 (ctanh_tonearest_test_data): New variable.
26722 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26723 (ctanh_towardzero_test_data): New variable.
26724 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26725 (ctanh_downward_test_data): New variable.
26726 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26727 (ctanh_upward_test_data): New variable.
26728 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26729 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26732 * math/libm-test.inc (struct test_ff_f_data): New type.
26733 (struct test_ff_f_data_nexttoward): Likewise.
26734 (RUN_TEST_LOOP_2_f): New macro.
26735 (RUN_TEST_LOOP_ff_f): Likewise.
26736 (atan2_test_data): New variable.
26737 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26738 (copysign_test_data): New variable.
26739 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26740 (fdim_test_data): New variable.
26741 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26742 (fmax_test_data): New variable.
26743 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26744 (fmin_test_data): New variable.
26745 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26746 (fmod_test_data): New variable.
26747 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26748 (hypot_test_data): New variable.
26749 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26750 (nextafter_test_data): New variable.
26751 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26752 (nexttoward_test_data): New variable.
26753 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26754 (pow_test_data): New variable.
26755 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26756 (pow_tonearest_test_data): New variable.
26757 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26758 (pow_towardzero_test_data): New variable.
26759 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26760 (pow_downward_test_data): New variable.
26761 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26762 (pow_upward_test_data): New variable.
26763 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26764 (remainder_test_data): New variable.
26765 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26766 (scalb_test_data): New variable.
26767 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26768 * sysdeps/i386/fpu/libm-test-ulps: Update.
26770 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26772 * math/libm-test.inc (fma_test): Use max_value instead of local
26774 (nextafter_test): Likewise.
26776 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26777 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26778 (acos_downward_test_data): New variable.
26779 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26780 (acos_upward_test_data): New variable.
26781 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26782 (acosh_test_data): New variable.
26783 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26784 (asin_test_data): New variable.
26785 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26786 (asin_tonearest_test_data): New variable.
26787 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26788 (asin_towardzero_test_data): New variable.
26789 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26790 (asin_downward_test_data): New variable.
26791 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26792 (asin_upward_test_data): New variable.
26793 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26794 (asinh_test_data): New variable.
26795 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26796 (atan_test_data): New variable.
26797 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26798 (atanh_test_data): New variable.
26799 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26800 (cbrt_test_data): New variable.
26801 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26802 (ceil_test_data): New variable.
26803 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26804 (cos_test_data): New variable.
26805 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26806 (cos_tonearest_test_data): New variable.
26807 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26808 (cos_towardzero_test_data): New variable.
26809 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26810 (cos_downward_test_data): New variable.
26811 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26812 (cos_upward_test_data): New variable.
26813 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26814 (cosh_test_data): New variable.
26815 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26816 (cosh_tonearest_test_data): New variable.
26817 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26818 (cosh_towardzero_test_data): New variable.
26819 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26820 (cosh_downward_test_data): New variable.
26821 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26822 (cosh_upward_test_data): New variable.
26823 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26824 (erf_test_data): New variable.
26825 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26826 (erfc_test_data): New variable.
26827 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26828 (exp_test_data): New variable.
26829 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26830 (exp_tonearest_test_data): New variable.
26831 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26832 (exp_towardzero_test_data): New variable.
26833 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26834 (exp_downward_test_data): New variable.
26835 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26836 (exp_upward_test_data): New variable.
26837 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26838 (exp10_test_data): New variable.
26839 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26840 (exp2_test_data): New variable.
26841 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26842 (expm1_test_data): New variable.
26843 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26844 (fabs_test_data): New variable.
26845 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26846 (floor_test_data): New variable.
26847 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26848 (j0_test_data): New variable.
26849 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26850 (j1_test_data): New variable.
26851 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26852 (log_test_data): New variable.
26853 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26854 (log10_test_data): New variable.
26855 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26856 (log1p_test_data): New variable.
26857 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26858 (log2_test_data): New variable.
26859 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26860 (logb_test_data): New variable.
26861 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26862 (logb_downward_test_data): New variable.
26863 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26864 (nearbyint_test_data): New variable.
26865 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26866 (rint_test_data): New variable.
26867 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26868 (rint_tonearest_test_data): New variable.
26869 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26870 (rint_towardzero_test_data): New variable.
26871 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26872 (rint_downward_test_data): New variable.
26873 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26874 (rint_upward_test_data): New variable.
26875 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26876 (round_test_data): New variable.
26877 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26878 (sin_test_data): New variable.
26879 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26880 (sin_tonearest_test_data): New variable.
26881 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26882 (sin_towardzero_test_data): New variable.
26883 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26884 (sin_downward_test_data): New variable.
26885 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26886 (sin_upward_test_data): New variable.
26887 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26888 (sinh_test_data): New variable.
26889 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26890 (sinh_tonearest_test_data): New variable.
26891 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26892 (sinh_towardzero_test_data): New variable.
26893 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26894 (sinh_downward_test_data): New variable.
26895 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26896 (sinh_upward_test_data): New variable.
26897 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26898 (sqrt_test_data): New variable.
26899 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26900 (tan_test_data): New variable.
26901 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26902 (tan_tonearest_test_data): New variable.
26903 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26904 (tan_towardzero_test_data): New variable.
26905 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26906 (tan_downward_test_data): New variable.
26907 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26908 (tan_upward_test_data): New variable.
26909 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26910 (tanh_test_data): New variable.
26911 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26912 (tgamma_test_data): New variable.
26913 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26914 (trunc_test_data): New variable.
26915 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26916 (y0_test_data): New variable.
26917 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26918 (y1_test_data): New variable.
26919 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26920 (significand_test_data): New variable.
26921 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26923 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26926 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26928 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26930 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26932 2013-05-10 Andreas Jaeger <aj@suse.de>
26935 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26936 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26938 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26940 * math/gen-libm-test.pl (adjust_arg): New function.
26941 (special_functions): Handle generating output in both functions
26943 (parse_args): Likewise.
26944 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26945 $in_func argument to parse_args.
26946 * math/libm-test.inc (struct test_f_f_data): New type.
26947 (IF_ROUND_INIT_): New macro.
26948 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26949 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26950 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26951 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26952 (ROUND_RESTORE_): Likewise.
26953 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26954 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26955 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26956 (ROUND_RESTORE_FE_UPWARD): Likewise.
26957 (RUN_TEST_LOOP_f_f): New macro.
26958 (acos_test_data): New variable.
26959 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26960 (acos_tonearest_test_data): New variable.
26961 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26963 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26965 * benchtests/bench-skeleton.c (startup): Fix coding style.
26967 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26970 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26971 negative infinity argument.
26972 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26973 negative infinity argument.
26974 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26975 negative infinity argument.
26976 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26979 2013-05-10 Florian Weimer <fweimer@redhat.com>
26981 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26982 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26983 * iconv/iconv_prog.c (main): Likewise.
26984 * locale/programs/charmap-dir.c (charmap_readdir)
26985 (fopen_uncompressed): Likewise.
26986 * locale/programs/locfile.c (siblings_uncached)
26987 (write_locale_data): Use lstat64 instead of lstat.
26988 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26991 2013-05-10 Andreas Jaeger <aj@suse.de>
26994 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26996 Include <locale.h>.
26998 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27000 * elf/dl-close.c (_dl_close_worker): Add comments.
27002 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27007 (__ieee754_rem_pio2l): Update comments.
27010 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27012 (__ieee754_rem_pio2l): Update comments.
27014 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27015 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27017 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27020 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27021 (M_PI_34_LOG10El): Likewise.
27022 (M_PI2_LOG10El): Likewise.
27023 (M_PI4_LOG10El): Likewise.
27024 (M_PI_LOG10El): Likewise.
27026 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27030 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27032 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27033 (MINUS_ZERO_INIT): Likewise.
27034 (PLUS_INFTY_INIT): Likewise.
27035 (MINUS_INFTY_INIT): Likewise.
27036 (QNAN_VALUE_INIT): Likewise.
27037 (MAX_VALUE_INIT): Likewise.
27038 (MIN_VALUE_INIT): Likewise.
27039 (MIN_SUBNORM_VALUE_INIT): Likewise.
27040 (plus_zero): Initialize with PLUS_ZERO_INIT.
27041 (minus_zero): Initialize with MINUS_ZERO_INIT.
27042 (plus_infty): Initialize with PLUS_INFTY_INIT.
27043 (minus_infty): Initialize with MINUS_INFTY_INIT.
27044 (qnan_value): Initialize with QNAN_VALUE_INIT.
27045 (max_value): Initialize with MAX_VALUE_INIT.
27046 (min_value): Initialize with MIN_VALUE_INIT.
27047 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27049 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27050 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27051 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27052 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27054 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27055 (RUN_TEST_2_f): Likewise.
27056 (RUN_TEST_ff_f): Likewise.
27057 (RUN_TEST_fi_f): Likewise.
27058 (RUN_TEST_fl_f): Likewise.
27059 (RUN_TEST_fff_f): Likewise.
27060 (RUN_TEST_c_f): Likewise.
27061 (RUN_TEST_f_f1): Likewise.
27062 (RUN_TEST_fF_f1): Likewise.
27063 (RUN_TEST_fI_f1): Likewise.
27064 (RUN_TEST_ffI_f1): Likewise.
27065 (RUN_TEST_c_c): Likewise.
27066 (RUN_TEST_cc_c): Likewise.
27067 (RUN_TEST_f_i): Likewise.
27068 (RUN_TEST_f_i_tg): Likewise.
27069 (RUN_TEST_ff_i_tg): Likewise.
27070 (RUN_TEST_f_b): Likewise.
27071 (RUN_TEST_f_b_tg): Likewise.
27072 (RUN_TEST_f_l): Likewise.
27073 (RUN_TEST_f_L): Likewise.
27074 (RUN_TEST_sincos): Likewise.
27075 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27076 whether to show exceptions. Do not include ");\n" in return
27078 (special_functions): Output call to RUN_TEST_sincos instead of
27079 check_float calls. Update calls to new_test.
27080 (parse_args): Output call to single RUN_TEST_* macro instead of
27081 check_* calls and other assignments. Update calls to new_test.
27087 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27088 input to result for tgamma overflow.
27089 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27090 (gamma_coeff): New variable.
27091 (NCOEFF): New macro.
27092 (gamma_positive): New function.
27093 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27094 underflow here. Use gamma_positive instead of exp (lgamma) for
27096 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27097 (gamma_coeff): New variable.
27098 (NCOEFF): New macro.
27099 (gammaf_positive): New function.
27100 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27101 underflow here. Use gamma_positive instead of exp (lgamma) for
27103 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27104 (gamma_coeff): New variable.
27105 (NCOEFF): New macro.
27106 (gammal_positive): New function.
27107 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27108 underflow here. Use gamma_positive instead of exp (lgamma) for
27110 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27111 (gamma_coeff): New variable.
27112 (NCOEFF): New macro.
27113 (gammal_positive): New function.
27114 (__ieee754_gammal_r): Handle positive infinity, overflow and
27115 underflow here. Handle NaN the same as positive infinity. Remove
27116 check x < 0xffffffff for negative integers. Use gamma_positive
27117 instead of exp (lgamma) for other arguments.
27118 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27119 (gamma_coeff): New variable.
27120 (NCOEFF): New macro.
27121 (gammal_positive): New function.
27122 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27123 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27124 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27125 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27126 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27127 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27128 * sysdeps/generic/math_private.h (__gamma_productf): New
27130 (__gamma_product): Likewise.
27131 (__gamma_productl): Likewise.
27132 * math/Makefile (libm-calls): Add gamma_product.
27133 * math/libm-test.inc (tgamma_test): Add more tests.
27134 * sysdeps/i386/fpu/libm-test-ulps: Update.
27135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27137 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27139 * benchtests/bench-skeleton.c (main): Preheat CPU.
27141 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27143 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27145 2013-05-07 Roland McGrath <roland@hack.frob.com>
27147 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27148 and _dl_skip_args_internal.
27150 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27152 * manual/message.texi (Message Translation): Talk about users.
27153 Message to key mapping impacts design.
27155 2013-05-06 Roland McGrath <roland@hack.frob.com>
27157 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27159 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27161 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27162 * sysdeps/wordsize-64/glob64.c: ... here.
27164 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27165 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27168 * debug/getlogin_r_chk.c: Moved to ...
27169 * login/getlogin_r_chk.c: ... here.
27170 * debug/Makefile (routines): Move getlogin_r_chk to ...
27171 * login/Makefile (routines): ... here.
27172 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27173 * login/Versions (libc: GLIBC_2.4): ... here.
27175 * io/poll.c (__poll): Renamed from poll.
27176 Add libc_hidden_def.
27177 (poll): Define as weak alias.
27179 * debug/ptsname_r_chk.c: Moved to ...
27180 * login/ptsname_r_chk.c: ... here.
27181 * debug/Makefile (routines): Move ptsname_r_chk to ...
27182 * login/Makefile (routines): ... here.
27183 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27184 * login/Versions (libc: GLIBC_2.4): ... here.
27186 * posix/getlogin.c: Moved to ...
27187 * login/getlogin.c: ... here.
27188 * posix/getlogin_r.c: Moved to ...
27189 * login/getlogin_r.c: ... here.
27190 * posix/getlogin_r.c: Moved to ...
27191 * login/getlogin_r.c: ... here.
27192 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27193 * login/Makefile (routines): ... here.
27194 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27195 * login/Versions (libc: GLIBC_2.0): ... here.
27197 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27198 (setrlimit): Define as weak alias.
27200 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27201 Call __ names for open, ftruncate, and close.
27202 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27203 (truncate): Define as weak alias.
27205 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27207 * math/gen-libm-test.pl (parse_args): Initialize x before each
27208 test of frexp, modf and remquo.
27210 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27211 test signgam value.
27213 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27217 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27221 2013-05-06 Roland McGrath <roland@hack.frob.com>
27223 * elf/dl-writev.h: New file.
27224 * elf/dl-misc.c: Include it.
27225 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27226 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27228 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27230 * math/libm-test.inc (noXFails): Remove variable.
27231 (noXPasses): Likewise.
27232 (BUILD_COMPLEX_INT): Remove macro.
27233 (print_screen): Remove xfail argument.
27234 (print_screen_max_error): Likewise.
27235 (update_stats): Likewise.
27236 (print_max_error): Likewise. Update calls to other affected
27238 (print_complex_max_error): Likewise.
27239 (test_single_exception): Update calls to print_screen.
27240 (test_single_errno): Likewise.
27241 (check_float_internal): Remove xfail argument. Update calls to
27242 other affected functions.
27243 (check_float): Likewise.
27244 (check_complex): Likewise.
27245 (check_int): Likewise.
27246 (check_long): Likewise.
27247 (check_bool): Likewise.
27248 (check_longlong): Likewise.
27249 (main): Don't print noXFails and noXPasses.
27250 * math/gen-libm-test.pl (top level): Don't mention expected
27251 failure handling in comment.
27252 (new_test): Don't handle expected failures.
27253 (parse_args): Don't mention expected failure handling in comment.
27254 (generate_testfile): Don't handle expected failures.
27255 (parse_ulps): Likewise.
27256 (print_ulps_file): Likewise.
27257 (get_failure): Remove function.
27258 (output_test): Don't handle expected failures.
27259 * make/README.libm-test: Don't mention expected failure handling.
27261 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27262 (minus_zero): Likewise.
27263 (plus_infty): Likewise.
27264 (minus_infty): Likewise.
27265 (qnan_value): Likewise.
27266 (max_value): Likewise.
27267 (min_value): Likewise.
27268 (min_subnorm_value): Likewise.
27269 (initialize): Do not initialize those variables dynamically.
27271 2013-05-03 Roland McGrath <roland@hack.frob.com>
27273 * io/open.c (__open_2): Moved to ...
27274 * io/open_2.c: ... this new file.
27275 * io/open64.c (__open64_2): Moved to ...
27276 * io/open64_2.c: ... this new file.
27277 * io/openat.c (__openat_2): Moved to ...
27278 * io/openat_2.c: ... this new file.
27279 * io/openat64.c (__openat64_2): Moved to ...
27280 * io/openat64_2.c: ... this new file.
27281 * io/Makefile (routines): Add them.
27282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27283 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27284 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27285 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27286 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27287 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27288 (__openat64): Add hidden_ver.
27289 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27290 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27292 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27293 Separately conditionalize setting of GLRO(dl_sysinfo) so
27294 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27295 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27297 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27299 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27300 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27302 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27303 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27304 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27305 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27306 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27308 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27310 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27311 test signgam value.
27313 * math/libm-test.inc (hypot_test): Do not use
27314 IGNORE_ZERO_INF_SIGN.
27316 2013-05-03 Andreas Jaeger <aj@suse.de>
27318 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27320 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27321 (PF_MAX): Adjust for VSOCK change.
27323 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27327 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27330 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27331 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27332 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27334 2013-05-02 David S. Miller <davem@davemloft.net>
27336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27338 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27340 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27342 2013-05-01 Roland McGrath <roland@hack.frob.com>
27344 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27346 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27349 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27350 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27351 Use __attribute__ ((__gnu_inline__)).
27352 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27353 Don't use __attribute__ ((__gnu_inline__)).
27355 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27358 * math/s_catan.c (__catan): Handle small real or imaginary part of
27359 input specially to avoid spurious underflow.
27360 * math/s_catanf.c (__catanf): Likewise.
27361 * math/s_catanh.c (__catanh): Likewise.
27362 * math/s_catanhf.c (__catanhf): Likewise.
27363 * math/s_catanhl.c (__catanhl): Likewise.
27364 * math/s_catanl.c (__catanl): Likewise.
27365 * math/libm-test.inc (catan_test): Add more tests.
27366 (catanh_test): Likewise.
27367 * sysdeps/i386/fpu/libm-test-ulps: Update.
27368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27370 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27374 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27377 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27378 accurately for denominator in atan2.
27379 * math/s_catanf.c (__catanf): Likewise.
27380 * math/s_catanh.c (__catanh): Likewise.
27381 * math/s_catanhf.c (__catanhf): Likewise.
27382 * math/s_catanhl.c (__catanhl): Likewise.
27383 * math/s_catanl.c (__catanl): Likewise.
27384 * math/libm-test.inc (catan_test): Add more tests.
27385 (catanh_test): Likewise.
27386 * sysdeps/i386/fpu/libm-test-ulps: Update.
27387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27389 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27391 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27393 * benchtests/Makefile (bench): Remove slow benchmarks.
27394 * benchtests/atan-inputs: Add slow benchmark inputs.
27395 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27396 (BENCH_FUNC): Accept variant offset.
27398 * benchtests/bench-skeleton.c (main): Run benchmark for each
27400 * benchtests/cos-inputs: Add slow benchmark inputs.
27401 * benchtests/exp-inputs: Likewise.
27402 * benchtests/pow-inputs: Likewise.
27403 * benchtests/sin-inputs: Likewise.
27404 * benchtests/slowatan-inputs: Remove.
27405 * benchtests/slowatan.c: Remove.
27406 * benchtests/slowcos-inputs: Remove.
27407 * benchtests/slowcos.c: Remove.
27408 * benchtests/slowexp-inputs: Remove.
27409 * benchtests/slowexp.c: Remove.
27410 * benchtests/slowpow-inputs: Remove.
27411 * benchtests/slowpow.c: Remove.
27412 * benchtests/slowsin-inputs: Remove.
27413 * benchtests/slowsin.c: Remove.
27414 * benchtests/slowtan-inputs: Remove.
27415 * benchtests/slowtan.c: Remove.
27416 * benchtests/tan-inputs: Add slow benchmark inputs.
27417 * scripts/bench.pl: Parse comments and directives.
27419 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27421 ($(objpfx)bench-%.c): Remove *-ITER.
27422 * benchtests/bench-modf.c: Remove definition of ITER.
27423 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27424 (main): Loop for DURATION seconds instead of fixed number of
27426 * scripts/bench.pl: Don't expect iterations in parameters.
27428 2013-04-29 Roland McGrath <roland@hack.frob.com>
27430 * io/fchdir.c (__fchdir): Renamed from fchdir.
27431 (fchdir): Define as weak alias.
27433 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27435 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27436 (ERRNO_EDOM): Likewise.
27437 (ERRNO_ERANGE): Likewise.
27438 (noErrnoTests): New variable.
27439 (init_max_error): Set errno to 0.
27440 (test_single_errno): New function.
27441 (test_errno): Likewise.
27442 (check_float_internal): Call test_errno. Set errno to 0.
27443 (check_complex): Refer to errno tests in comment.
27444 (check_int): Call test_errno. Set errno to 0.
27445 (check_long): Likewise.
27446 (check_bool): Likewise.
27447 (check_longlong): Likewise.
27448 (cos_test): Use ERRNO_* flags for errno tests instead of
27450 (expm1_test): Likewise.
27451 (fmod_test): Likewise.
27452 (ilogb_test): Likewise.
27453 (lgamma_test): Likewise.
27454 (pow_test): Likewise.
27455 (remainder_test): Likewise.
27456 (sin_test): Likewise.
27457 (tan_test): Likewise.
27458 (yn_test): Likewise.
27459 (initialize): Set errno to 0.
27460 (main): Print number of errno tests.
27461 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27463 2013-04-29 Andreas Jaeger <aj@suse.de>
27466 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27470 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27471 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27475 * stdlib/random.c (__initstate): Return NULL if
27479 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27480 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27483 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27487 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27489 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27490 of individual tests.
27491 (casin_test): Likewise.
27492 (casinh_test): Likewise.
27494 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27497 * math/s_catan.c (__catan): Handle arguments with large real or
27498 imaginary part separately without squaring.
27499 * math/s_catanf.c (__catanf): Likewise.
27500 * math/s_catanh.c (__catanh): Likewise.
27501 * math/s_catanhf.c (__catanhf): Likewise.
27502 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27504 (__catanhl): Handle arguments with large real or imaginary part
27505 separately without squaring.
27506 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27508 (__catanl): Handle arguments with large real or imaginary part
27509 separately without squaring.
27510 * math/libm-test.inc (catan_test): Add more tests.
27511 (catanh_test): Likewise.
27512 * sysdeps/i386/fpu/libm-test-ulps: Update.
27513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27515 2013-04-27 Andreas Jaeger <aj@suse.de>
27518 * stdlib/stdlib.h: Update guards for qecvt.
27519 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27522 2013-04-27 Allan McRae <allan@archlinux.org>
27524 * sysdeps/i386/fpu/libm-test-ulps: Update.
27526 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27529 * math/s_catan.c: Include <float.h>.
27530 (__catan): Ensure underflow exception occurs for underflowed
27532 * math/s_catanf.c: Include <float.h>.
27533 (__catanf): Ensure underflow exception occurs for underflowed
27535 * math/s_catanh.c: Include <float.h>.
27536 (__catanh): Ensure underflow exception occurs for underflowed
27538 * math/s_catanhf.c: Include <float.h>.
27539 (__catanhf): Ensure underflow exception occurs for underflowed
27541 * math/s_catanhl.c: Include <float.h>.
27542 (__catanhl): Ensure underflow exception occurs for underflowed
27544 * math/s_catanl.c: Include <float.h>.
27545 (__catanl): Ensure underflow exception occurs for underflowed
27547 * math/libm-test.inc (catan_test): Add more tests.
27548 (catanh_test): Likewise.
27551 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27552 underflowed result.
27553 * math/s_ccoshf.c (__ccoshf): Likewise.
27554 * math/s_ccoshl.c (__ccoshl): Likewise.
27555 * math/s_csin.c (__csin): Likewise.
27556 * math/s_csinf.c (__csinf): Likewise.
27557 * math/s_csinh.c (__csinh): Likewise.
27558 * math/s_csinhf.c (__csinhf): Likewise.
27559 * math/s_csinhl.c (__csinhl): Likewise.
27560 * math/s_csinl.c (__csinl): Likewise.
27561 * math/libm-test.inc (ccos_test): Add more tests.
27562 (ccosh_test): Likewise.
27563 (csin_test): Likewise.
27564 (csinh_test): Likewise.
27566 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27568 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27569 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27570 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27571 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27572 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27573 powerpc/power5+/fpu folders.
27574 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27577 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27581 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27583 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27584 additions to variable.
27585 [$(config-machine) = x86_64] (modules-names): Likewise.
27586 ($(objpfx)tst-audit3): Remove dependency.
27587 ($(objpfx)tst-audit3.out): Likewise.
27588 ($(objpfx)tst-audit4): Likewise.
27589 ($(objpfx)tst-audit4.out): Likewise.
27590 ($(objpfx)tst-audit5): Likewise.
27591 ($(objpfx)tst-audit5.out): Likewise.
27592 ($(objpfx)tst-audit6): Likewise.
27593 ($(objpfx)tst-audit6.out): Likewise.
27594 ($(objpfx)tst-audit7): Likewise.
27595 ($(objpfx)tst-audit7.out): Likewise.
27596 (tst-audit3-ENV): Remove variable.
27597 (tst-audit4-ENV): Likewise.
27598 (tst-audit5-ENV): Likewise.
27599 (tst-audit6-ENV): Likewise.
27600 (tst-audit7-ENV): Likewise.
27601 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27602 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27603 addition to variable.
27604 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27605 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27606 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27607 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27608 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27609 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27610 tst-audit3, tst-audit4 and tst-audit5.
27611 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27612 tst-audit6 and tst-audit7.
27613 [$(subdir) = elf] (modules-names): Add audit modules for those
27615 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27616 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27617 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27618 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27619 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27620 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27621 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27622 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27623 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27624 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27625 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27626 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27627 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27628 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27629 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27630 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27632 [$(subdir) = elf && $(config-cflags-avx) = yes]
27633 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27634 [$(subdir) = elf && $(config-cflags-avx) = yes]
27635 (CFLAGS-tst-auditmod4a.c): Likewise.
27636 [$(subdir) = elf && $(config-cflags-avx) = yes]
27637 (CFLAGS-tst-auditmod4b.c): Likewise.
27638 [$(subdir) = elf && $(config-cflags-avx) = yes]
27639 (CFLAGS-tst-auditmod6b.c): Likewise.
27640 [$(subdir) = elf && $(config-cflags-avx) = yes]
27641 (CFLAGS-tst-auditmod6c.c): Likewise.
27642 [$(subdir) = elf && $(config-cflags-avx) = yes]
27643 (CFLAGS-tst-auditmod7b.c): Likewise.
27644 * elf/tst-audit3.c: Move to ...
27645 * sysdeps/x86_64/tst-audit3.c: ... here.
27646 * elf/tst-audit4.c: Move to ...
27647 * sysdeps/x86_64/tst-audit4.c: ... here.
27648 * elf/tst-audit5.c: Move to ...
27649 * sysdeps/x86_64/tst-audit5.c: ... here.
27650 * elf/tst-audit6.c: Move to ...
27651 * sysdeps/x86_64/tst-audit6.c: ... here.
27652 * elf/tst-audit7.c: Move to ...
27653 * sysdeps/x86_64/tst-audit7.c: ... here.
27654 * elf/tst-auditmod3a.c: Move to ...
27655 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27656 * elf/tst-auditmod3b.c: Move to ...
27657 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27658 * elf/tst-auditmod4a.c: Move to ...
27659 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27660 * elf/tst-auditmod4b.c: Move to ...
27661 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27662 * elf/tst-auditmod5a.c: Move to ...
27663 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27664 * elf/tst-auditmod5b.c: Move to ...
27665 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27666 * elf/tst-auditmod6a.c: Move to ...
27667 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27668 * elf/tst-auditmod6b.c: Move to ...
27669 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27670 * elf/tst-auditmod6c.c: Move to ...
27671 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27672 * elf/tst-auditmod7a.c: Move to ...
27673 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27674 * elf/tst-auditmod7b.c: Move to ...
27675 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27677 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27680 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27681 define unconditionally.
27682 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27683 define unconditionally.
27684 (INT8_C, INT16_C, etc.): Likewise.
27686 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27688 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27689 __ehdr_start with hidden visibility.
27691 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27693 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27695 * math/libm-test.inc (cos_test): Use accurate hex constants.
27696 (sincost_test): Likewise.
27698 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27700 * math/libm-test.inc (catan_test): Add more tests.
27701 (catanh_test): Likewise.
27703 * math/s_catanf.c (__catanf): Use suffixed floating-point
27705 * math/s_catanhf.c (__catanhf): Likewise.
27706 * math/s_catanhl.c (__catanhl): Likewise.
27707 * math/s_catanl.c (__catanl): Likewise.
27710 * math/s_catan.c (__catan): Calculate imaginary part of result
27711 with log1p not log unless computing log of number close to 0.
27712 * math/s_catanf.c (__catanf): Likewise.
27713 * math/s_catanl.c (__catanl): Likewise.
27714 * math/s_catanh.c (__catanh): Calculate real part of result with
27715 log1p not log unless computing log of number close to 0.
27716 * math/s_catanhf.c (__catanhf): Likewise.
27717 * math/s_catanhl.c (__catanhl): Likewise.
27718 * math/libm-test.inc (catan_test): Add more tests.
27719 (catanh_test): Likewise.
27720 * sysdeps/i386/fpu/libm-test-ulps: Update.
27721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27723 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27725 * benchtests/Makefile: Mention files in which fast and slow
27726 paths of math functions are implemented.
27728 2013-04-23 Roland McGrath <roland@hack.frob.com>
27730 * sysdeps/posix/timespec_get.c: New file.
27732 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27734 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27736 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27738 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27739 powerpc/power5/fpu folders.
27740 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27741 * benchtests/Makefile: Add modf testcase.
27742 * benchtests/bench-modf.c: New file: Benchmark test for mo
27744 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27747 * time/Makefile (tests): Add tst-strptime-whitespace.
27748 * time/strptime_l.c (get_number): Use ISSPACE.
27749 (__strptime_internal): Likewise.
27750 * time/tst-strptime-whitespace.c: New test case.
27752 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27754 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27756 (_nss_files_init): Set it here.
27758 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27760 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27761 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27764 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27766 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27768 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27770 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27773 2013-04-21 David S. Miller <davem@davemloft.net>
27775 * po/ru.po: Update Russion translation from translation project.
27777 2013-04-17 Adam Conrad <adconrad@0c3.net>
27779 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27782 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27784 * configure.in: Remove i386 configure warning. Remove i386 case.
27785 * configure: Regenerate.
27786 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27787 Add example to error message.
27788 * sysdeps/i386/configure: Regenerate.
27790 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27792 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27794 * benchtests/cos-inputs: New file.
27795 * benchtests/slowcos-inputs: New file.
27796 * benchtests/slowcos.c: New file.
27797 * benchtests/slowtan-inputs: New file.
27798 * benchtests/slowtan.c: New file.
27799 * benchtests/tan-inputs: New file.
27801 2013-04-16 Roland McGrath <roland@hack.frob.com>
27803 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27806 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27808 * benchtests/Makefile: Include cppflags-iterator.mk to add
27809 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27811 * Makefile.in (bench-clean): New target.
27812 * benchtests/Makefile (bench-clean): Likewise.
27814 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27816 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27818 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27820 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27822 2013-04-15 Andreas Schwab <schwab@suse.de>
27824 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27825 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27826 * nscd/pwdcache.c (cache_addpw): Likewise.
27827 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27830 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27832 * benchtests/Makefile (bench): Write all output to
27833 bench-out.tmp together.
27835 2013-04-15 Andreas Schwab <schwab@suse.de>
27837 * nscd/nscd.c (main): Don't fork again after closing files.
27839 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27841 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27843 * benchtests/Rules (bench-deps): Collect dependencies into a
27844 single variable. Add Makefile to dependencies.
27845 ($(objpfx)bench-%.c): Depend on bench-deps.
27847 2013-04-12 Roland McGrath <roland@hack.frob.com>
27848 Xavier Roche <roche+kml2@exalead.com>
27851 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27852 just that it's a file descriptor.
27853 * manual/llio.texi (Synchronizing AIO Operations): Update description
27854 for EBADF error from aio_fsync.
27856 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27858 * Rules (bench): Move target definition...
27859 * benchtests/Makefile: ... here.
27861 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27863 * math/libm-test.inc (cos_test): Fix PI/2 test.
27864 (sincos_test): Likewise.
27865 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27866 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27868 2013-04-11 Andreas Schwab <schwab@suse.de>
27871 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27872 accept exponent character only when digits were seen.
27873 * stdio-common/Makefile (tests): Add bug26.
27874 * stdio-common/bug26.c: New file.
27877 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27880 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27882 * Makeconfig (rtld-prefix): Define built linker prefix.
27883 * Rules (run-bench): Use it.
27884 * math/Makefile (run-regen-ulps): Likewise.
27886 * Rules (bench): Remove eval.
27888 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27889 Roland McGrath <roland@hack.frob.com>
27890 Ondrej Bilka <neleai@seznam.cz>
27893 * time/getdate.c: Include ctype.h and alloca.h.
27894 (__getdate_r): Trim leading and trailing spaces of input.
27895 * time/tst-getdate.c (tests): Add tests with leading and
27898 2013-04-08 Roland McGrath <roland@hack.frob.com>
27901 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27902 when computing value.
27904 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27906 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27907 Use testrun.sh to run libm tests.
27910 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27912 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27915 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27917 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27919 * Makefile.in (regen-ulps): New target.
27920 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27921 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27922 [ifneq (no,$(PERL)] (regen-ulps): New target.
27923 [ifeq (no,$(PERL)] (regen-ulps): New target.
27924 * math/libm-test.inc (ulps_file_name): Define.
27925 (output_dir): New variable.
27926 (options): Add "output-dir" option.
27927 (parse_opt): Handle 'o' case.
27928 (main): If output_dir is non-NULL use it as a prefix
27930 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27932 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27934 [BZ #10060, #10062]
27935 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27936 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27937 fail configure if __sync_val_compare_and_swap is not inlined.
27938 * sysdeps/i386/configure: Regenerate.
27939 * configure.in: Build for i686 when configured for i386.
27940 * configure: Regenerate.
27941 * README: Remove i386 reference.
27943 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27945 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27948 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27950 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27951 (lmsnanval): New variables.
27952 (F): Add conversion tests.
27953 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27954 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27956 * stdio-common/tstdiomisc.c (F): Properly collect individual
27959 [BZ #14686, #15336]
27960 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27961 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27962 Instead, use input NaN values or generate a qNaN by arithmetic
27963 operation. Also fix bugs to comply with the standard.
27964 * math/libm-test.inc (remainder_test): Add more tests.
27966 [BZ #15335, #15342]
27967 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27969 input NaN values or generate a qNaN by arithmetic operation.
27971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27974 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27977 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27980 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27981 underflowed result.
27982 * math/s_cexpf.c (__cexpf): Likewise.
27983 * math/s_cexpl.c (__cexpl): Likewise.
27984 * math/libm-test.inc (cexp_test): Add more tests.
27986 2013-04-03 Andreas Schwab <schwab@suse.de>
27989 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27990 order arrays from heap if bigger than alloca cutoff.
27992 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27994 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27995 (SNAN_TESTS_double): Refer to GCC PR56831.
27996 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27999 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28001 * Rules (bench): Move bench.out after the run is complete.
28003 * Rules (bench): Echo currently running benchmark.
28005 * benchtests/Makefile (bench): Add atan and slowatan.
28006 * benchtests/atan-inputs: New file.
28007 * benchtests/slowatan-inputs: New file.
28008 * benchtests/slowatan.c: New file.
28010 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28011 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28015 * sysdeps/unix/sysv/linux/kernel-features.h
28016 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28017 __ASSUME_XFS_RESTRICTED_CHOWN.
28018 * sysdeps/unix/sysv/linux/pathconf.c
28019 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28020 Save and restore errno.
28022 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28025 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28026 arguments using __kernel_casinh.
28027 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28028 arguments using __kernel_casinhf.
28029 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28030 arguments using __kernel_casinhl.
28031 * math/libm-test.inc (cacosh_test): Add more tests.
28032 * sysdeps/i386/fpu/libm-test-ulps: Update.
28033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28035 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28037 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28040 * bench/Makefile (bench): Add sin and slowsin.
28041 * benchtests/sin-inputs: New file.
28042 * benchtests/slowsin-inputs: New file.
28043 * benchtests/slowsin.c: New file.
28045 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28046 (bench): Add slowexp and slowpow.
28047 (exp-ITER): Increase iterations.
28048 (pow-ITER): Likewise.
28049 * benchtests/exp-inputs: Change input.
28050 * benchtests/pow-inputs: Likewise.
28051 * benchtests/slowexp-inputs: New file.
28052 * benchtests/slowexp.c: New file.
28053 * benchtests/slowpow-inputs: New file.
28054 * benchtests/slowpow.c: New file.
28056 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28058 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28060 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28061 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28062 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28063 * benchtests/Makefile: Add rint benchtest.
28064 * benchtests/rint-inputs: Input for rint benchtest.
28066 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28068 * Versions.def (libm): Add GLIBC_2.18.
28069 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28070 hidden libm prototypes.
28071 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28072 * math/Makefile (libm-calls): Add s_issignaling.
28073 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28074 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28075 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28077 * math/math.h [__USE_GNU] (issignaling): New macro.
28078 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28079 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28080 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28081 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28084 * manual/arith.texi (issignaling): New section.
28085 * manual/libm-err-tab.pl (@all_functions): Update comment.
28086 * math/gen-libm-test.pl (parse_args): Apply special handling for
28088 * math/libm-test.inc (print_float, issignaling_test): New
28090 (check_float_internal): Add issignaling checks.
28091 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28092 default definition.
28093 * sysdeps/powerpc/math-tests.h: New file.
28094 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28096 * math/test-snan.c (TEST_FUNC): Likewise.
28098 2013-03-30 David S. Miller <davem@davemloft.net>
28100 * po/de.po: Update from translation team.
28102 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28105 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28106 imaginary part less than 1.0 and real part less than 0.5
28108 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28109 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28110 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28111 (cacos_test): Add more tests.
28112 (casin_test): Likewise.
28113 (casinh_test): Likewise.
28114 * sysdeps/i386/fpu/libm-test-ulps: Update.
28115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28117 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28119 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28120 ONE with its value.
28122 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28123 (__pow_mp): Replace ONE and MONE with their values.
28124 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28125 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28127 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28128 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28129 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28131 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28133 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28134 (__pow_mp): Replace ZERO and MZERO with their values.
28135 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28137 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28140 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28143 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28145 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28147 2013-03-28 Roland McGrath <roland@hack.frob.com>
28149 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28150 Declare with __attribute__ ((weak)).
28151 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28152 Call __call_tls_dtors only if it's not NULL.
28154 2013-03-28 Roland McGrath <roland@hack.frob.com>
28156 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28157 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28158 magic __ehdr_start linker symbol if it's defined.
28159 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28160 them up here if it was already done.
28162 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28163 (_dl_aux_init): Use const in cast when setting it.
28164 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28165 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28166 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28168 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28170 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28171 * csu/libc-tls.c: Nor here.
28172 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28174 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28175 (__libc_message): Never call vsyslog.
28177 2013-03-28 Alan Modra <amodra@gmail.com>
28179 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28181 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28184 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28187 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28191 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28194 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28195 Don't add gid passed as argument.
28197 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28199 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28202 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28203 imaginary part between 1.0 and 1.5 and real part less than 0.5
28205 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28206 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28207 * math/libm-test.inc (cacos_test): Add more tests.
28208 (casin_test): Likewise.
28209 (casinh_test): Likewise.
28210 * sysdeps/i386/fpu/libm-test-ulps: Update.
28211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28213 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28215 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28218 (denorm): Likewise.
28219 (__dbl_mp): Likewise.
28220 (add_magnitudes): Likewise.
28221 (sub_magnitudes): Likewise.
28229 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28231 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28232 (__dubcos): Likewise.
28233 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28234 (__ieee754_acos): Likewise.
28235 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28236 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28237 (__exp1): Likewise.
28238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28239 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28241 (my_log2): Likewise.
28242 (checkint): Likewise.
28243 * sysdeps/ieee754/dbl-64/e_remainder.c
28244 (__ieee754_remainder): Likewise.
28245 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28246 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28247 (bsloww): Likewise.
28248 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28250 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28251 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28252 MANTISSA_STORE_T to store computations on mantissa. Use
28253 macros for rounding and division.
28254 (denorm): Likewise.
28255 (__dbl_mp): Likewise.
28256 (add_magnitudes): Likewise.
28257 (sub_magnitudes): Likewise.
28260 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28261 powers of two in terms of TWOPOW macro.
28262 (mp_no): Make type of mantissa as MANTISSA_T.
28263 [!RADIXI]: Define RADIXI.
28264 [!TWO52]: Define TWO52.
28265 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28267 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28269 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28270 llroundl symbol when building for PPC32.
28272 2013-03-24 Mark H Weaver <mhw@netris.org>
28274 * manual/arith.texi (Normalization Functions): Fix prototypes for
28275 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28277 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28281 high value to check if expl overflow.
28282 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28283 to check for underflow and overflow.
28284 * math/libm-test.inc: Add exp test.
28286 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28289 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28292 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28294 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28297 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28299 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28300 wrap blocks consisting of several statements.
28302 * sysdeps/generic/math-tests.h: New file.
28303 * sysdeps/i386/fpu/math-tests.h: Likewise.
28304 * math/test-snan.c: Include it.
28305 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28307 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28311 (__ieee754_j0l): Do not improve calculations using cos of twice
28312 input for inputs above LDBL_MAX / 2.0L.
28313 (__ieee754_y0l): Likewise.
28314 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28315 (__ieee754_j1l): Do not improve calculations using cos of twice
28316 input for inputs above LDBL_MAX / 2.0L.
28317 (__ieee754_y1l): Likewise.
28318 * math/libm-test.inc (j0_test): Add another test.
28319 (j1_test): Likewise.
28320 (y0_test): Likewise.
28321 (y1_test): Likewise.
28322 * sysdeps/i386/fpu/libm-test-ulps: Update.
28324 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28326 * Rules ($(objpfx)bench-%.c): Include code from a C source
28329 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28332 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28333 imaginary part 1.0 and real part less than 0.5 specially.
28334 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28335 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28336 * math/libm-test.inc (cacos_test): Add more tests.
28337 (casin_test): Likewise.
28338 (casinh_test): Likewise.
28339 * sysdeps/i386/fpu/libm-test-ulps: Update.
28340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28342 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28344 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28345 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28347 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28349 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28350 * config.make.in (config-cflags-sse4): Remove variable.
28351 (config-cflags-avx): Likewise.
28352 (config-cflags-sse2avx): Likewise.
28353 (config-cflags-novzeroupper): Likewise.
28354 (config-asflags-i686): Likewise.
28355 (have-mfma4): Likewise.
28356 (have-as-vis3): Likewise.
28358 * configure.in (MIG): Do not AC_SUBST.
28359 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28360 (libc_cv_cc_sse4): Do not AC_SUBST.
28361 (libc_cv_cc_avx): Likewise.
28362 (libc_cv_cc_sse2avx): Likewise.
28363 (libc_cv_cc_novzeroupper): Likewise.
28364 (libc_cv_cc_fma4): Likewise.
28365 (libc_cv_as_i686): Likewise.
28366 (libc_cv_sparc_as_vis3): Likewise.
28367 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28369 (config-asflags-i686): Likewise.
28370 (config-cflags-avx): Likewise.
28371 (config-cflags-sse2avx): Likewise.
28372 (have-mfma4): Likewise.
28373 (config-cflags-novzeroupper): Likewise.
28374 * sysdeps/mach/configure.in (MIG): Likewise.
28375 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28376 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28378 (config-cflags-avx): Likewise.
28379 (config-cflags-sse2avx): Likewise.
28380 (have-mfma4): Likewise.
28381 (config-cflags-novzeroupper): Likewise.
28382 * configure: Regenerated.
28383 * sysdeps/i386/configure: Likewise.
28384 * sysdeps/mach/configure: Likewise.
28385 * sysdeps/sparc/configure: Likewise.
28386 * sysdeps/x86_64/configure: Likewise.
28388 2013-03-20 Roland McGrath <roland@hack.frob.com>
28391 * locale/programs/localedef.c (options): Put N_ translation marker
28392 on argument names, not just descriptions.
28394 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28396 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28398 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28401 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28403 2013-03-19 Roland McGrath <roland@hack.frob.com>
28405 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28406 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28407 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28408 [!BEFORE_ABORT] (before_abort): New function.
28409 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28410 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28411 (writev_for_fatal): New function.
28412 (WRITEV_FOR_FATAL): New macro; call that.
28413 (backtrace_and_maps): New function.
28414 (BEFORE_ABORT): New macro; call that.
28415 (struct str_list): Type removed.
28416 (__libc_message, __libc_fatal): Functions removed.
28417 Include <sysdeps/posix/libc_fatal.c> instead.
28419 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28421 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28423 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28426 2013-03-19 Andreas Schwab <schwab@suse.de>
28428 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28429 * sysdeps/gnu/configure: Regenerate.
28431 * configure.in: Substitute libc_cv_rtlddir.
28432 * configure: Regenerate.
28433 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28434 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28435 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28436 * elf/Makefile (install-others, CFLAGS-interp.c)
28437 (ldso_install, common-ldd-rewrite): Likewise.
28438 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28439 $(inst_slibdir)/$(rtld-installed-name).
28440 * scripts/rellns-sh: Add -p option.
28441 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28444 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28446 * manual/nptl.texi: Renamed to ...
28447 * manual/threads.texi: ... this.
28448 * manual/Makefile (chapters): Update.
28450 2013-03-18 Roland McGrath <roland@hack.frob.com>
28453 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28454 on argument names, not just descriptions.
28455 * malloc/memusagestat.c (options): Likewise.
28456 * nss/getent.c (options): Likewise.
28458 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28461 * iconv/iconv_prog.c (options): Put N_ translation marker
28462 on argument names, not just descriptions.
28463 * iconv/iconvconfig.c (options): Likewise.
28465 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28467 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28468 implementation which is faster on all x86_64 architectures.
28469 Tested on AMD, Intel Nehalem, SNB, IVB.
28470 * sysdeps/x86_64/strnlen.S: Likewise.
28472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28473 Remove all multiarch strlen and strnlen versions.
28474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28475 Remove strlen and strnlen related parts.
28477 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28478 Inline strlen part.
28479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28481 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28482 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28483 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28484 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28485 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28486 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28488 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28490 * manual/memory.texi (Malloc Tunable Parameters):
28491 Sort parameters alphabetically. Add comments for missing entries.
28493 2013-03-17 David S. Miller <davem@davemloft.net>
28495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28497 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28500 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28501 for arguments at most half maximum finite value.
28502 * math/libm-test.inc (j0_test): Add more tests.
28503 (j1_test): Likewise.
28504 (y0_test): Likewise.
28505 (y1_test): Likewise.
28506 * sysdeps/i386/fpu/libm-test-ulps: Update.
28507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28510 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28511 1 / x and functions P and Q for arguments above 0x1p256L.
28512 (__ieee754_y0l): Likewise.
28513 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28514 (__ieee754_y1l): Likewise.
28515 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28516 (j1_test): Likewise.
28517 (y0_test): Likewise.
28518 (y1_test): Likewise.
28520 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28522 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28525 2013-03-15 Roland McGrath <roland@hack.frob.com>
28527 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28528 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28529 zero since it's initialized to EXEC_PAGESIZE.
28531 * sysdeps/unix/sysv/linux/ldsodefs.h
28532 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28533 * sysdeps/generic/ldsodefs.h: ... here.
28535 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28537 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28539 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28541 * math/test-snan.c: Renamed from
28542 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28543 * math/Makefile (tests): Add test-snan.
28544 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28547 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28548 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28550 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28551 __builtin_nan family of functions.
28552 * math/libm-test.inc (initialize): Initialize qnan_value with
28553 __builtin_nan family of functions.
28554 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28556 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28558 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28559 storage class. Initialize qNaN_var and sNaN_var with
28560 __builtin_nan and __builtin_nans families of functions,
28563 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28564 (sqrt_test): Remove duplicate test with qNaN input.
28565 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28566 (round_test, signbit_test, significand_test): Note missing +/-Inf
28567 as well as qNaN tests.
28569 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28570 qNaN_var. Fix a few strings, too.
28571 * math/libm-test.inc (nan_value): Rename to qnan_value.
28572 * math/gen-libm-test.pl (%beautify): Adjust to that.
28573 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28574 * math/test-misc.c (main): Likewise.
28575 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28576 to __qnan_bytes, and __qnan_union, respectively.
28577 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28579 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28580 and lqnanval, respectively.
28581 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28582 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28583 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28584 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28586 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28587 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28590 * math/test-misc.c (main): Fix copy'n'pastos.
28591 * misc/tst-efgcvt.c (special): Likewise.
28593 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28594 Remove declarations.
28596 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28598 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28599 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28600 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28601 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28603 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28605 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28606 macro to return vdso values correctly in IFUNC implementations.
28607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28608 Optimization by using IFUNC.
28610 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28611 Richard Henderson <rth@redhat.com>
28612 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28614 * Makefile.in (bench): New target.
28615 * NEWS: Mention the benchmark framework.
28616 * Rules (bench): Likewise.
28617 (binaries-bench): Generate binaries for functions to
28619 * benchtests/Makefile: New makefile for benchmark tests.
28620 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28622 * benchtests/exp-inputs: New input file for EXP function.
28623 * benchtests/pow-inputs: New input file for POW function.
28624 * scripts/bench.pl: New script to generate source files for
28625 benchmark programs.
28627 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28629 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28630 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28631 computations on mantissa. Use macros for rounding and
28633 (denorm): Likewise.
28634 (__dbl_mp): Likewise.
28635 (add_magnitudes): Likewise.
28636 (sub_magnitudes): Likewise.
28639 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28640 powers of two in terms of TWOPOW macro.
28641 (mp_no): Make type of mantissa as MANTISSA_T.
28642 [!RADIXI]: Define RADIXI.
28643 [!TWO52]: Define TWO52.
28644 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28646 * manual/nptl.texi (cindex): Modify threads to pthreads.
28648 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28650 * sysdeps/x86_64/preconfigure: Regenerated.
28652 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28655 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28657 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28658 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28660 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28661 * math/libm-test.inc (j0_test): Do not allow one spurious
28662 underflow exception.
28663 (y1_test): Likewise.
28665 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28667 * manual/Makefile (chapters): Add nptl.
28668 * manual/debug.texi (Debugging Support): Add link to Threads
28670 * manual/nptl.texi: New file.
28672 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28674 2013-03-14 Petr Baudis <pasky@ucw.cz>
28676 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28677 for non-NULL pointer before the memory validity test. Pointed
28678 out by Holger Brunck <holger.brunck@keymile.com>.
28680 2013-03-13 Andreas Schwab <schwab@suse.de>
28682 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28685 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28687 * timezone/zic.c: Update from tzcode 2013b.
28689 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28691 * manual/install.texi (Configuring and compiling):
28692 Mention i686 and i586.
28693 * INSTALL: Regenerate.
28695 2013-03-12 Roland McGrath <roland@hack.frob.com>
28697 * sysdeps/init_array/elf-init.c: New file.
28699 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28700 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28702 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28703 __gmon_start__ as global, but as static with a .preinit_array pointer.
28704 * sysdeps/init_array/gmon-start.c: New file. Use that.
28705 * sysdeps/init_array/crti.S: New file, empty except for comments.
28706 * sysdeps/init_array/crtn.S: Likewise.
28708 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28710 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28713 Remove Prefer_SSE_for_memop.
28714 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28715 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28716 HAS_PREFER_SSE_FOR_MEMOP.
28717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28720 Remove bzero, memset ifunc support.
28721 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28722 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28723 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28726 2013-03-11 Andreas Schwab <schwab@suse.de>
28729 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28732 (GLIBC_2.16): Remove pthread_atfork.
28734 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28736 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28737 (ptestcases.h): Likewise.
28739 2013-03-08 Roland McGrath <roland@hack.frob.com>
28741 * Makeconfig ($(common-objpfx)config.status): Depend on
28742 sysdeps/*/preconfigure{,.in} too.
28744 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28746 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28747 (__free_hook): Use void * instead of __malloc_ptr_t.
28748 (__malloc_hook): Likewise.
28749 (__realloc_hook): Likewise.
28750 (__memalign_hook): Likewise.
28751 (__after_morecore_hook): Likewise.
28752 * malloc/arena.c (save_malloc_hook): Likewise.
28753 (save_free_hook): Likewise.
28754 * malloc/hooks.c (malloc_hook_ini): Likewise.
28755 (realloc_hook_ini): Likewise.
28756 (memalign_hook_ini): Likewise.
28757 * malloc/malloc.c (malloc_hook_ini): Likewise.
28758 (realloc_hook_ini): Likewise.
28759 (memalign_hook_ini): Likewise.
28760 (__free_hook): Likewise.
28761 (__malloc_hook): Likewise.
28762 (__realloc_hook): Likewise.
28763 (__memalign_hook): Likewise.
28764 (__libc_malloc): Likewise.
28765 (__libc_free): Likewise.
28766 (__libc_realloc): Likewise.
28767 (__libc_memalign): Likewise.
28768 (__libc_valloc): Likewise.
28769 (__libc_pvalloc): Likewise.
28770 (__libc_calloc): Likewise.
28771 (__posix_memalign): Likewise.
28772 * malloc/morecore.c (__sbrk): Likewise.
28773 (__default_morecore): Likewise.
28775 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28777 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28778 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28779 __malloc_ptrdiff_t.
28781 * malloc/malloc.h (__malloc_size_t): Remove macro.
28782 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28784 (old_memalign_hook): Likewise.
28785 (old_realloc_hook): Likewise.
28786 (struct hdr): Likewise.
28788 (mallochook): Likewise.
28789 (memalignhook): Likewise.
28790 (reallochook): Likewise.
28791 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28792 (tr_old_realloc_hook): Likewise.
28793 (tr_old_memalign_hook): Likewise.
28794 (tr_mallochook): Likewise.
28795 (tr_reallochook): Likewise.
28796 (tr_memalignhook): Likewise.
28798 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28801 default_ldbl_pack and using as default implementation.
28802 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28804 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28805 redundant definition.
28806 (ldbl_insert_mantissa): Likewise.
28807 (ldbl_canonicalize): Likewise.
28808 (ldbl_nearbyint): Likewise.
28809 (ldbl_pack): Rename to ldbl_pack_ppc.
28810 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28811 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28812 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28814 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28817 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28818 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28819 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28821 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28822 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28823 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28825 2013-03-07 Andreas Jaeger <aj@suse.de>
28827 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28830 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28832 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28833 Include mpa.h and declare __MPEXP.
28834 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28836 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28837 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28838 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28839 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28840 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28842 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28843 (__slowpow): Use long double EXPL and LOGL functions to
28845 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28846 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28847 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28849 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28853 intermediate variable to calculate exponent.
28855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28859 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28860 [!NO__SQR]: Define __sqr.
28861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28862 and NO__SQR. Remove all code except __mul and __sqr. Include
28863 sysdeps/ieee754/dbl-64/mpa.c.
28864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28867 * posix/Makefile (tests): Add tst-pathconf.
28868 * posix/tst-pathconf.c: New test case.
28869 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28871 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28873 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28875 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28877 2013-03-06 Andreas Jaeger <aj@suse.de>
28879 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28880 definition via __MAP_ANONYMOUS.
28882 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28883 it's not part of Linux headers.
28885 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28886 (MAP_HUGE_MASK): Define.
28888 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28890 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28893 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28894 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28896 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28897 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28899 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28901 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28902 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28903 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28904 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28905 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28906 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28912 Handle f2fs and efivarfs.
28914 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28917 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28918 (EFIVARFS_MAGIC): Add.
28919 (F2FS_LINK_MAX): Add.
28921 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28923 * stdio-common/vfprintf.c: Replace __builtin_expect with
28926 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28929 * sysdeps/generic/bp-sym.h: Remove file.
28930 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28931 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28932 <bp-sym.h> and <bp-asm.h>.
28933 (__longjmp): Don't use BP_SYM.
28934 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28936 (memcpy): Don't use BP_SYM.
28937 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28938 <bp-sym.h> and <bp-asm.h>.
28939 (memcpy): Don't use BP_SYM.
28940 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28942 (memcpy): Don't use BP_SYM.
28943 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28945 (memset): Don't use BP_SYM.
28946 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28947 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28948 (__bzero): Don't use BP_SYM.
28949 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28950 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28951 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28952 <bp-sym.h> and <bp-asm.h>.
28953 (memcmp): Don't use BP_SYM. Remove comment about bounded
28955 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28956 <bp-sym.h> and <bp-asm.h>.
28957 (memcpy): Don't use BP_SYM.
28958 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28959 <bp-sym.h> and <bp-asm.h>.
28960 (memset): Don't use BP_SYM.
28961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28963 (__bzero): Don't use BP_SYM.
28964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28967 <bp-sym.h> and <bp-asm.h>.
28968 (strncmp): Don't use BP_SYM. Remove comment about bounded
28970 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28971 <bp-sym.h> and <bp-asm.h>.
28972 (memcpy): Don't use BP_SYM.
28973 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28974 <bp-sym.h> and <bp-asm.h>.
28975 (memset): Don't use BP_SYM.
28976 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28977 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28978 (__bzero): Don't use BP_SYM.
28979 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28980 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28981 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28982 <bp-sym.h> and <bp-asm.h>.
28983 (__memchr): Don't use BP_SYM.
28984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28985 <bp-sym.h> and <bp-asm.h>.
28986 (memcmp): Don't use BP_SYM. Remove comment about bounded
28988 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28989 <bp-sym.h> and <bp-asm.h>.
28990 (memcpy): Don't use BP_SYM.
28991 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28992 <bp-sym.h> and <bp-asm.h>.
28993 (__mempcpy): Don't use BP_SYM.
28994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28995 <bp-sym.h> and <bp-asm.h>.
28996 (__memrchr): Don't use BP_SYM.
28997 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28998 <bp-sym.h> and <bp-asm.h>.
28999 (memset): Don't use BP_SYM.
29000 (__bzero): Likewise.
29001 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29002 <bp-sym.h> and <bp-asm.h>.
29003 (__rawmemchr): Don't use BP_SYM.
29004 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29005 <bp-sym.h> and <bp-asm.h>.
29006 (__STRCMP): Don't use BP_SYM.
29007 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29008 <bp-sym.h> and <bp-asm.h>.
29009 (strchr): Don't use BP_SYM.
29010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29011 <bp-sym.h> and <bp-asm.h>.
29012 (__strchrnul): Don't use BP_SYM.
29013 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29014 <bp-sym.h> and <bp-asm.h>.
29015 (strlen): Don't use BP_SYM.
29016 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29017 <bp-sym.h> and <bp-asm.h>.
29018 (strncmp): Don't use BP_SYM. Remove comment about bounded
29020 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29021 <bp-sym.h> and <bp-asm.h>.
29022 (__strnlen): Don't use BP_SYM.
29023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29024 <bp-sym.h> and <bp-asm.h>.
29025 (__GI__setjmp): Don't use BP_SYM.
29026 (_setjmp): Likewise.
29027 (__sigsetjmp): Likewise.
29028 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29029 (L(start_addresses)): Don't use BP_SYM.
29030 (_start): Likewise.
29031 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29033 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29034 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29035 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29036 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29037 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29039 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29040 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29041 about bounded pointers.
29042 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29043 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29044 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29046 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29047 about bounded pointers. Remove GKM FIXME comments.
29048 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29049 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29051 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29052 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29053 Remove GKM FIXME comments.
29054 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29055 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29056 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29058 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29059 about bounded pointers. Remove GKM FIXME comment.
29060 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29062 (strncmp): Don't use BP_SYM. Remove comment about bounded
29064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29065 <bp-sym.h> and <bp-asm.h>.
29066 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29068 <bp-sym.h> and <bp-asm.h>.
29069 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29072 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29074 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29077 2013-03-05 David S. Miller <davem@davemloft.net>
29079 * po/es.po: Update from translation team.
29081 2013-03-05 Andreas Jaeger <aj@suse.de>
29083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29084 <bits/mman-linux.h>.
29085 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29087 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29088 <bits/mman-linux.h> to end of file.
29089 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29092 <bits/mman-linux.h> to end of file.
29093 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29095 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29096 <bits/mman-linux.h> to end of file.
29098 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29099 (MCL_CURRENT, MCL_FUTURE): Define here.
29101 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29106 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29108 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29110 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29111 fourth parameter needed for rt_sigprocmask syscall.
29112 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29113 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29114 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29115 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29116 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29117 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29119 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29122 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29123 comment about bounded pointers.
29124 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29125 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29127 2013-03-04 Andreas Jaeger <aj@suse.de>
29129 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29130 common definitions.
29132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29133 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29134 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29135 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29136 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29139 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29143 __ieee754_sqrl instead of __sqrl.
29145 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29147 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29148 * sysdeps/powerpc/fpu_control.h: ... here.
29149 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29150 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29151 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29152 * sysdeps/powerpc/bits/mathinline.h: ... here.
29154 2013-03-01 Roland McGrath <roland@hack.frob.com>
29156 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29157 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29158 to just [NEED_DL_SYSINFO_DSO].
29159 * elf/dl-support.c: Likewise.
29160 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29161 * elf/rtld.c (dl_main): Likewise.
29162 * elf/setup-vdso.h (setup_vdso): Likewise.
29163 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29164 * sysdeps/unix/sysv/linux/dl-sysdep.c
29165 (_dl_discover_osversion): Likewise.
29167 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29169 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29170 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29172 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29174 * NEWS: Mention libm performance improvements and non-x86 PI
29177 * csu/libc-start.c (__pthread_initialize_minimal): Change
29178 function arguments.
29179 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29181 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29184 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29185 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29186 <bp-sym.h> and <bp-asm.h>.
29187 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29188 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29190 (memcpy): Don't use BP_SYM.
29191 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29193 (__mpn_add_n): Don't use BP_SYM.
29194 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29195 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29197 (__mpn_addmul_1): Don't use BP_SYM.
29198 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29199 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29201 (_setjmp): Don't use BP_SYM.
29202 (__novmx_setjmp): Likewise.
29203 (__GI__setjmp): Likewise.
29204 (__vmx_setjmp): Likewise.
29205 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29207 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29208 (__bzero): Don't use BP_SYM.
29209 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29210 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29211 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29212 <bp-sym.h> and <bp-asm.h>.
29213 (memcpy): Don't use BP_SYM.
29214 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29215 <bp-sym.h> and <bp-asm.h>.
29216 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29217 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29218 <bp-sym.h> and <bp-asm.h>.
29219 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29220 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29222 (__mpn_lshift): Don't use BP_SYM.
29223 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29224 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29226 (memset): Don't use BP_SYM.
29227 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29228 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29229 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29231 (__mpn_mul_1): Don't use BP_SYM.
29232 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29234 <bp-sym.h> and <bp-asm.h>.
29235 (memcmp): Don't use BP_SYM.
29236 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29237 <bp-sym.h> and <bp-asm.h>.
29238 (memcpy): Don't use BP_SYM.
29239 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29240 <bp-sym.h> and <bp-asm.h>.
29241 (memset): Don't use BP_SYM.
29242 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29243 <bp-sym.h> and <bp-asm.h>.
29244 (strncmp): Don't use BP_SYM.
29245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29246 <bp-sym.h> and <bp-asm.h>.
29247 (memcpy): Don't use BP_SYM.
29248 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29249 <bp-sym.h> and <bp-asm.h>.
29250 (memset): Don't use BP_SYM.
29251 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29252 <bp-sym.h> and <bp-asm.h>.
29253 (__memchr): Don't use BP_SYM.
29254 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29255 <bp-sym.h> and <bp-asm.h>.
29256 (memcmp): Don't use BP_SYM.
29257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29258 <bp-sym.h> and <bp-asm.h>.
29259 (memcpy): Don't use BP_SYM.
29260 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29261 <bp-sym.h> and <bp-asm.h>.
29262 (__mempcpy): Don't use BP_SYM.
29263 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29264 <bp-sym.h> and <bp-asm.h>.
29265 (__memrchr): Don't use BP_SYM.
29266 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29267 <bp-sym.h> and <bp-asm.h>.
29268 (memset): Don't use BP_SYM.
29269 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29270 <bp-sym.h> and <bp-asm.h>.
29271 (__rawmemchr): Don't use BP_SYM.
29272 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29273 <bp-sym.h> and <bp-asm.h>.
29274 (__STRCMP): Don't use BP_SYM.
29275 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29276 <bp-sym.h> and <bp-asm.h>.
29277 (strchr): Don't use BP_SYM.
29278 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29279 <bp-sym.h> and <bp-asm.h>.
29280 (__strchrnul): Don't use BP_SYM.
29281 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29282 <bp-sym.h> and <bp-asm.h>.
29283 (strlen): Don't use BP_SYM.
29284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29285 <bp-sym.h> and <bp-asm.h>.
29286 (strncmp): Don't use BP_SYM.
29287 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29288 <bp-sym.h> and <bp-asm.h>.
29289 (__strnlen): Don't use BP_SYM.
29290 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29292 (__mpn_rshift): Don't use BP_SYM.
29293 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29294 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29295 <bp-sym.h> and <bp-asm.h>.
29296 (__sigsetjmp): Don't use BP_SYM.
29297 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29298 (L(start_addresses)): Don't use BP_SYM.
29299 (_start): Likewise.
29300 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29302 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29303 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29304 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29305 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29307 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29308 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29309 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29310 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29312 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29314 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29315 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29317 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29319 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29320 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29321 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29323 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29325 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29327 (strncmp): Don't use BP_SYM,
29328 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29330 (__mpn_sub_n): Don't use BP_SYM.
29331 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29332 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29334 (__mpn_submul_1): Don't use BP_SYM.
29335 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29337 <bp-sym.h> and <bp-asm.h>.
29338 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29340 <bp-sym.h> and <bp-asm.h>.
29341 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29344 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29347 Use ZK to minimize writes to Z.
29348 (sub_magnitudes): Simplify code a bit.
29349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29350 Use ZK to minimize writes to Z.
29351 (sub_magnitudes): Simplify code a bit.
29353 2013-02-27 Roland McGrath <roland@hack.frob.com>
29355 * csu/gmon-start.c: Add special exception to license text.
29357 2013-02-27 Richard Henderson <rth@redhat.com>
29359 * scripts/config.guess: Update from config.git.
29360 * scripts/config.sub: Likewise.
29362 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29364 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29366 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29368 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29370 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29372 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29374 2013-02-26 Roland McGrath <roland@hack.frob.com>
29376 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29377 [$(build-shared = yes].
29379 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29381 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29382 (__mul): Reduce iterations for calculating mantissa.
29384 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29386 (__mpranred): Likewise.
29389 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29390 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29392 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29394 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29395 Define __attribute__.
29397 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29399 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29401 * posix/regex_internal.h (__attribute): Remove.
29402 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29403 (re_string_context_at): Likewise.
29404 (bitset_not): Use __attribute__ and mark function as possibly
29406 (bitset_merge): Likewise.
29407 (bitset_mask): Likewise.
29408 (re_string_char_size_at): Likewise.
29409 (re_string_wchar_at): Likewise.
29410 (re_string_elem_size_at): Likewise.
29412 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29414 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29418 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29422 (denorm): Likewise.
29423 (__dbl_mp): Likewise.
29424 (add_magnitudes): Likewise.
29425 (sub_magnitudes): Likewise.
29429 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29432 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29435 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29439 up changes with default code.
29440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29443 2013-02-24 Allan McRae <allan@archlinux.org>
29445 * manual/socket.texi (The Internet Namespace): Order menu items
29446 to match that in the file.
29448 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29449 node listing of the info page menu.
29451 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29454 * sysdeps/i386/bp-asm.h: Remove file.
29455 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29456 (PARMS): Do not use macros from bp-asm.h.
29460 (__mpn_add_n): Do not use BP_SYM
29461 * sysdeps/i386/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/bsd-_setjmp.S: Do not include "bp-sym.h" and
29469 (PARMS): Do not use macros from bp-asm.h.
29470 (SIGMSK): Likewise.
29471 (_setjmp): Likewise. Do not use BP_SYM.
29472 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29474 (PARMS): Do not use macros from bp-asm.h.
29475 (SIGMSK): Likewise.
29476 (setjmp): Likewise. Do not use BP_SYM.
29477 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29479 (PARMS): Do not use macros from bp-asm.h.
29480 (__frexp): Do not use BP_SYM.
29482 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29484 (PARMS): Do not use macros from bp-asm.h.
29485 (__frexpf): Do not use BP_SYM.
29486 (frexpf): Likewise.
29487 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29489 (PARMS): Do not use macros from bp-asm.h.
29490 (__frexpl): Do not use BP_SYM.
29491 (frexpl): Likewise.
29492 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29494 (PARMS): Do not use macros from bp-asm.h.
29495 (__remquo): Do not use BP_SYM.
29496 (remquo): Likewise.
29497 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29499 (PARMS): Do not use macros from bp-asm.h.
29500 (__remquof): Do not use BP_SYM.
29501 (remquof): Likewise.
29502 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29504 (PARMS): Do not use macros from bp-asm.h.
29505 (__remquol): Do not use BP_SYM.
29506 (remquol): Likewise.
29507 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29509 (PARMS): Do not use macros from bp-asm.h.
29512 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29513 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29515 (PARMS): Do not use macros from bp-asm.h.
29516 (strlen): Do not use BP_SYM.
29517 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29519 (PARMS): Do not use macros from bp-asm.h.
29523 (__mpn_add_n): Do not use BP_SYM.
29524 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29526 (PARMS): Do not use macros from bp-asm.h.
29529 (__mpn_addmul_1): Do not use BP_SYM.
29530 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29533 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29535 (PARMS): Do not use macros from bp-asm.h.
29538 (__mpn_lshift): Do not use BP_SYM.
29539 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29541 (PARMS): Do not use macros from bp-asm.h.
29545 (memcpy): Likewise. Do not use BP_SYM.
29546 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29547 libc_hidden_def and weak_alias.
29548 (mempcpy): Do not use BP_SYM in weak_alias.
29549 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29551 (PARMS): Do not use macros from bp-asm.h.
29554 [!BZERO_P] (CHR): Likewise.
29555 (memset): Likewise. Do not use BP_SYM.
29556 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29558 (PARMS): Do not use macros from bp-asm.h.
29561 (__mpn_mul_1): Do not use BP_SYM.
29562 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29564 (PARMS): Do not use macros from bp-asm.h.
29567 (__mpn_rshift): Do not use BP_SYM.
29568 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29570 (PARMS): Do not use macros from bp-asm.h.
29573 (strchr): Likewise. Do not use BP_SYM.
29574 (index): Do not use BP_SYM in weak_alias.
29575 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29577 (PARMS): Do not use macros from bp-asm.h.
29580 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29581 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29583 (PARMS): Do not use macros from bp-asm.h.
29584 (strlen): Do not use BP_SYM.
29585 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29587 (PARMS): Do not use macros from bp-asm.h.
29591 (__mpn_sub_n): Do not use BP_SYM.
29592 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29594 (PARMS): Do not use macros from bp-asm.h.
29597 (__mpn_submul_1): Do not use BP_SYM.
29598 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29600 (PARMS): Do not use macros from bp-asm.h.
29604 (__mpn_add_n): Do not use BP_SYM.
29605 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29608 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29610 (PARMS): Do not use macros from bp-asm.h.
29613 (memcmp): Do not use BP_SYM.
29614 (bcmp): Do not use BP_SYM in weak_alias.
29615 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29617 (PARMS): Do not use macros from bp-asm.h.
29621 (memcpy): Likewise. Do not use BP_SYM.
29622 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29624 (PARMS): Do not use macros from bp-asm.h.
29628 (memmove): Likewise. Do not use BP_SYM.
29629 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29631 (PARMS): Do not use macros from bp-asm.h.
29635 (__mempcpy): Likewise. Do not use BP_SYM.
29636 (mempcpy): Do not use BP_SYM in weak_alias.
29637 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29639 (PARMS): Do not use macros from bp-asm.h.
29642 [!BZERO_P] (CHR): Likewise.
29643 (memset): Likewise. Do not use BP_SYM.
29644 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29646 (PARMS): Do not use macros from bp-asm.h.
29648 (strcmp): Do not use BP_SYM.
29649 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29651 (PARMS): Do not use macros from bp-asm.h.
29654 [USE_AS_STRTOK_R] (SAVE): Likewise.
29655 (FUNCTION): Likewise. Do not use BP_SYM.
29656 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29658 (strtok_r): Likewise.
29659 (__GI___strtok_r): Likewise.
29660 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29661 (PARMS): Do not use macros from bp-asm.h.
29664 (__mpn_lshift): Do not use BP_SYM.
29665 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29666 (PARMS): Do not use macros from bp-asm.h.
29669 (__memchr): Do not use BP_SYM.
29670 (memchr): Do not use BP_SYM in weak_alias.
29671 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29672 (PARMS): Do not use macros from bp-asm.h.
29675 (memcmp): Do not use BP_SYM.
29676 (bcmp): Do not use BP_SYM in weak_alias.
29677 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29678 (PARMS): Do not use macros from bp-asm.h.
29681 (__mpn_mul_1): Do not use BP_SYM.
29682 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29684 (PARMS): Do not use macros from bp-asm.h.
29687 (__rawmemchr): Do not use BP_SYM.
29688 (rawmemchr): Do not use BP_SYM in weak_alias.
29689 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29690 (PARMS): Do not use macros from bp-asm.h.
29693 (__mpn_rshift): Do not use BP_SYM.
29694 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29695 (PARMS): Do not use macros from bp-asm.h.
29696 (SIGMSK): Likewise.
29697 (__sigsetjmp): Likewise. Do not use BP_SYM.
29698 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29699 (_start): Do not use BP_SYM.
29700 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29701 (PARMS): Do not use macros from bp-asm.h.
29704 (__stpcpy): Likewise. Do not use BP_SYM.
29705 (stpcpy): Do not use BP_SYM in weak_alias.
29706 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29708 (PARMS): Do not use macros from bp-asm.h.
29712 (__stpncpy): Likewise. Do not use BP_SYM.
29713 (stpncpy): Do not use BP_SYM in weak_alias.
29714 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29715 (PARMS): Do not use macros from bp-asm.h.
29718 (strchr): Likewise. Do not use BP_SYM.
29719 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29721 (PARMS): Do not use macros from bp-asm.h.
29724 (__strchrnul): Likewise. Do not use BP_SYM.
29725 (strchrnul): Do not use BP_SYM in weak_alias.
29726 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29728 (PARMS): Do not use macros from bp-asm.h.
29730 (strcspn): Do not use BP_SYM.
29731 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29733 (PARMS): Do not use macros from bp-asm.h.
29736 (strpbrk): Likewise. Do not use BP_SYM.
29737 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29739 (PARMS): Do not use macros from bp-asm.h.
29742 (strrchr): Likewise. Do not use BP_SYM.
29743 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29744 (PARMS): Do not use macros from bp-asm.h.
29746 (strspn): Do not use BP_SYM.
29747 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29748 (PARMS): Do not use macros from bp-asm.h.
29752 (FUNCTION): Likewise. Do not use BP_SYM.
29753 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29755 (strtok_r): Likewise.
29756 (__GI___strtok_r): Likewise.
29757 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29758 (PARMS): Do not use macros from bp-asm.h.
29762 (__mpn_sub_n): Do not use BP_SYM.
29763 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29765 (PARMS): Do not use macros from bp-asm.h.
29768 (__mpn_submul_1): Do not use BP_SYM.
29769 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29771 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29773 (PARMS): Do not use macros from bp-asm.h.
29778 (__clone): Do not use BP_SYM.
29779 (clone): Do not use BP_SYM in weak_alias.
29780 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29782 (PARMS): Do not use macros from bp-asm.h.
29784 (__mmap64): Do not use BP_SYM.
29785 (mmap64): Do not use BP_SYM in weak_alias.
29786 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29787 <bp-sym.h> and <bp-asm.h>.
29788 (PARMS): Do not use macros from bp-asm.h.
29789 (__posix_fadvise64_l64): Do not use BP_SYM.
29790 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29791 (PARMS): Do not use macros from bp-asm.h.
29793 (semtimedop): Do not use BP_SYM.
29794 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29797 2013-02-21 Allan McRae <allan@archlinux.org>
29799 * manual/message.texi (Charset conversion in gettext):
29800 Move @end statement to beginning of line.
29802 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29809 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29810 (denorm): Likewise.
29811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29814 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29816 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29817 tail-call to the resolved function if pltexit isn't needed.
29819 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29822 or Y being zero as being unlikely.
29823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29826 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29828 * manual/nss.texi (System Databases and Name Service Switch):
29829 Remove frobnicate @pxref.
29831 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29833 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29834 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29836 2013-02-20 Petr Machata <pmachata@redhat.com>
29838 * elf/elf.h (R_ARM_TARGET1): New macro.
29839 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29840 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29841 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29842 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29843 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29844 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29845 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29846 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29847 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29848 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29849 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29850 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29851 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29852 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29853 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29854 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29855 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29856 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29857 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29858 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29859 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29860 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29861 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29862 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29863 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29864 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29865 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29866 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29867 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29868 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29869 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29870 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29871 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29872 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29873 (R_ARM_THM_GOT_BREL12): Likewise.
29874 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29875 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29876 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29877 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29878 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29879 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29880 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29881 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29882 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29884 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29886 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29887 __attribute_used__ to __attribute__ ((unused)).
29889 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29891 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29894 comment formatting.
29895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29897 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29900 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29902 (ENTER): Remove both macro definitions.
29904 (CHECK_BOUNDS_LOW): Likewise.
29905 (CHECK_BOUNDS_HIGH): Likewise.
29906 (CHECK_BOUNDS_BOTH): Likewise.
29907 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29908 (RETURN_BOUNDED_POINTER): Likewise.
29909 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29910 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29911 (POP_ERRNO_LOCATION_RETURN): Likewise.
29912 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29913 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29914 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29916 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29917 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29918 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29919 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29920 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29921 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29922 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29923 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29924 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29925 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29926 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29927 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29928 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29929 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29931 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29932 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29934 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29935 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29936 * sysdeps/i386/i586/memset.S (memset): Likewise.
29937 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29938 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29939 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29941 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29942 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29943 Change uses of L(2) to L(out).
29944 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29945 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29946 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29947 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29948 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29950 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29951 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29953 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29954 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29955 (RETURN): Do not use macro LEAVE.
29956 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29957 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29958 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29959 * sysdeps/i386/i686/memset.S (memset): Likewise.
29960 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29961 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29962 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29963 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29965 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29966 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29967 L(1_2) and L(1_3) into L(1).
29968 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29969 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29970 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29971 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29972 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29973 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29974 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29975 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29976 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29978 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29980 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29981 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29982 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29983 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29984 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29985 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29986 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29987 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29988 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29989 * sysdeps/i386/strspn.S (strspn): Likewise.
29990 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29992 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29993 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29994 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29995 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29996 L(1_3) into L(1_1).
29997 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29998 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29999 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30001 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30003 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30005 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30008 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30010 * math/atest-exp.c (exp_mpn): Remove ROUND.
30011 * math/atest-exp2.c (exp_mpn): Likewise.
30012 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30014 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30015 * stdlib/tst-tls-atexit-lib.c: Likewise.
30016 * stdlib/tst-tls-atexit.c: Likewise.
30018 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30020 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30021 and __attribute_alloc_size__.
30023 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30025 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30026 __attribute_alloc_size__.
30027 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30028 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30030 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30032 * include/programs/xmalloc.h: New file.
30033 * catgets/gencat.c: Include it.
30034 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30035 * elf/pldd.c: Likewise.
30036 * iconv/iconv_charmap.c: Likewise.
30037 * iconv/iconvconfig.c: Likewise.
30038 * iconv/strtab.c: Likewise.
30039 * locale/programs/locale.c: Likewise.
30040 * locale/programs/localedef.h: Likewise.
30041 * locale/programs/simple-hash.c: Likewise.
30042 * nscd/nscd.h: Likewise.
30043 * nss/makedb.c: Likewise.
30044 * sysdeps/generic/ldconfig.h: Likewise.
30046 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30048 * Versions.def: Add GLIBC_2.18.
30049 * include/link.h (struct link_map): New member l_tls_dtor_count.
30050 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30051 (__call_tls_dtors): Likewise.
30052 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30053 __cxa_thread_atexit_impl.
30054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30070 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30071 (tests): Add test case tst-tls-atexit.
30072 (modules-names): Add shared library for tst-tls-atexit.
30073 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30074 (GLIBC_PRIVATE): Add __call_tls_dtors.
30075 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30077 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30078 * stdlib/tst-tls-atexit.c: New test case.
30079 * stdlib/tst-tls-atexit-lib.c: New test case.
30081 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30083 * elf/Versions (ld): Add _dl_find_dso_for_object.
30084 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30085 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30086 (dl_open_worker): Use _dl_find_dso_for_object.
30087 * elf/dl-sym.c (do_sym): Likewise.
30088 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30090 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30092 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30093 Syntactic changes only.
30094 (_dl_runtime_profile): Do a tail-call to the resolved function.
30096 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30099 * sysdeps/x86_64/bp-asm.h: Remove file.
30100 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30101 <bp-sym.h> and <bp-asm.h>.
30102 (__clone): Do not use BP_SYM.
30103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30104 <bp-sym.h> and <bp-asm.h>.
30105 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30106 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30108 (_setjmp): Do not use BP_SYM.
30109 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30111 (setjmp): Do not use BP_SYM.
30112 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30114 (mempcpy): Do not use BP_SYM in weak_alias.
30115 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30117 (strchr): Do not use BP_SYM.
30118 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30120 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30121 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30122 (_start): Do not use BP_SYM.
30123 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30125 (strcat): Do not use BP_SYM.
30126 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30128 (STRCMP): Do not use BP_SYM.
30129 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30131 (STRCPY): Do not use BP_SYM.
30132 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30134 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30136 (FUNCTION): Do not use BP_SYM.
30137 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30139 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30141 2013-02-17 Andreas Jaeger <aj@suse.de>
30143 * time/Versions: Sort entries.
30144 * string/Versions: Likewise.
30145 * resolv/Versions: Likewise.
30146 * posix/Versions: Likewise.
30147 * iconv/Versions: Likewise.
30148 * elf/Versions: Likewise.
30149 * wcsmbs/Versions: Likewise.
30151 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30153 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30154 loop termination condition.
30156 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30157 variable to calculate EZ.
30160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30161 the lower precision input.
30163 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30166 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30167 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30168 (run-via-rtld-prefix): Do not handle %-bp tests.
30169 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30170 (all-object-suffixes): Remove .ob.
30171 (bppfx): Remove variable.
30172 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30173 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30174 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30175 [$(build-bounded) = yes] (libtype.ob): Likewise.
30176 * Makerules (elide-routines.ob): Remove variable.
30177 (do-tests-clean): Do not handle *-bp.out.
30178 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30179 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30180 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30181 (tests): Do not include $(tests-bp.out).
30182 (xtests): Do not include $(xtests-bp.out).
30183 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30184 [$(build-bounded) = yes] ($(addprefix
30185 $(objpfx),$(binaries-bounded))): Remove rule.
30186 ($(objpfx)%-bp.out): Remove rule.
30187 * config.make.in (build-bounded): Remove variable.
30188 * crypt/Makefile [$(build-bounded) = yes]
30189 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30190 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30191 append to variable.
30192 [$(build-bounded) = yes] (install-lib): Likewise.
30193 [$(build-bounded) = yes] (generated): Likewise.
30194 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30196 * intl/Makefile [$(build-bounded) = yes]
30197 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30198 * math/Makefile [$(build-bounded) = yes]
30199 ($(tests:%=$(objpfx)%-bp): Likewise.
30200 * misc/Makefile [$(build-bounded) = yes]
30201 ($(objpfx)tst-tsearch-bp): Likewise.
30202 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30203 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30205 * string/Makefile (o-objects.ob): Remove variable.
30206 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30207 (CFLAGS-.ob): Remove variable.
30208 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30209 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30210 both definitions of variable.
30211 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30212 (ASFLAGS-.ob): Remove variable.
30214 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30217 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30218 Remove __BOUNDED_POINTERS__ from condition.
30219 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30220 * string/bits/string2.h [!__NO_STRING_INLINES &&
30221 !__BOUNDED_POINTERS__]: Likewise.
30222 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30224 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30225 Remove conditional code.
30226 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30227 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30228 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30232 * csu/libc-start.c: Do not include <bp-sym.h>.
30233 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30234 * elf/dl-open.c: Do not include <bp-sym.h>.
30235 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30236 * math/fegetenv.c: Do not include <bp-sym.h>.
30237 (fegetenv): Do not use BP_SYM in versioned symbols.
30238 * nptl/sysdeps/pthread/bits/libc-lockP.h
30239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30242 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30244 (__pthread_mutex_destroy): Likewise.
30245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30246 (__pthread_mutex_lock): Likewise.
30247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30248 (__pthread_mutex_trylock): Likewise.
30249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30250 (__pthread_mutex_unlock): Likewise.
30251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30252 (__pthread_mutexattr_init): Likewise.
30253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30254 (__pthread_mutexattr_destroy): Likewise.
30255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30256 (__pthread_mutexattr_settype): Likewise.
30257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30258 (__pthread_rwlock_init): Likewise.
30259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30260 (__pthread_rwlock_destroy): Likewise.
30261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30262 (__pthread_rwlock_rdlock): Likewise.
30263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30264 (__pthread_rwlock_tryrdlock): Likewise.
30265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30266 (__pthread_rwlock_wrlock): Likewise.
30267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30268 (__pthread_rwlock_trywrlock): Likewise.
30269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30270 (__pthread_rwlock_unlock): Likewise.
30271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30272 (__pthread_key_create): Likewise.
30273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30274 (__pthread_setspecific): Likewise.
30275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30276 (__pthread_getspecific): Likewise.
30277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30280 (_pthread_cleanup_push_defer): Likewise.
30281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30282 (_pthread_cleanup_pop_restore): Likewise.
30283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30284 (pthread_setcancelstate): Likewise.
30285 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30287 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30288 (memchr): Do not use BP_SYM in weak_alias.
30289 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30290 (fegetenv): Do not use BP_SYM in versioned symbols.
30291 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30292 (fesetenv): Do not use BP_SYM in versioned symbols.
30293 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30294 (feupdateenv): Do not use BP_SYM in versioned symbols.
30295 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30296 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30297 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30298 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30299 (open64): Do not use BP_SYM in weak_alias.
30300 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30301 (fegetenv): Do not use BP_SYM in versioned symbols.
30302 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30303 (fesetenv): Do not use BP_SYM in versioned symbols.
30304 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30305 (feupdateenv): Do not use BP_SYM in versioned symbols.
30306 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30307 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30308 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30309 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30310 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30311 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30312 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30314 (__libc_start_main): Do not use BP_SYM.
30316 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30319 redundant return line.
30321 (denorm): Likewise.
30322 (dbl_mp): Likewise.
30323 (sub_magnitudes): Likewise.
30329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30331 (denorm): Likewise.
30332 (dbl_mp): Likewise.
30333 (sub_magnitudes): Likewise.
30340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30342 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30343 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30346 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30347 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30349 of __mul for squares.
30350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30357 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30360 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30362 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30363 prototype or function definition. Rename ubp_* variables and
30364 parameters. Remove argv definitions conditional on
30365 [__BOUNDED_POINTERS__].
30366 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30367 * elf/dl-runtime.c (_dl_fixup): Likewise.
30368 * include/set-hooks.h (RUN_HOOK): Likewise.
30369 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30371 * string/strcpy.c (strcpy): Do not use __unbounded.
30372 * sysdeps/generic/frame.h (struct layout): Likewise.
30373 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30374 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30375 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30376 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30377 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30378 (__backtrace): Likewise.
30379 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30381 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30382 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30383 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30385 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30386 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30387 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30388 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30389 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30390 Do not use __unbounded.
30391 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30392 Rename __unboundedrlimits parameter to rlimits in prototype.
30393 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30394 Do not use __unbounded.
30395 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30396 not use __ptrvalue.
30397 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30398 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30399 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30400 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30401 __ptrvalue or __unbounded.
30402 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30403 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30405 (__new_msgctl): Do not use __ptrvalue.
30406 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30408 (__libc_msgrcv): Do not use __ptrvalue.
30409 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30410 startup_info): Do not use __unbounded.
30411 (__libc_start_main): Likewise. Rename ubp_* variables and
30412 parameters. Remove argv definitions conditional on
30413 [__BOUNDED_POINTERS__].
30414 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30416 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30418 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30420 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30422 (__new_shmctl): Do not use __ptrvalue.
30423 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30424 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30426 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30427 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30428 (__libc_sigaction): Likewise.
30429 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30430 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30432 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30434 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30436 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30438 * string/mempcpy.c: Implement by calling memcpy.
30440 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30447 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30448 values in the mantissa.
30450 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30451 minimize writes to Z.
30452 (sub_magnitudes): Simplify code a bit.
30454 2013-02-12 Roland McGrath <roland@hack.frob.com>
30456 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30457 from the message. The linker prefixes all warnings with that already.
30459 2013-02-12 Andreas Schwab <schwab@suse.de>
30462 * posix/regexec.c (extend_buffers): Add parameter min_len.
30463 (check_matching): Pass minimum needed length.
30464 (clean_state_log_if_needed): Likewise.
30465 (get_subexp): Likewise.
30466 * posix/Makefile (tests): Add bug-regex34.
30467 (bug-regex34-ENV): Define.
30468 * posix/bug-regex34.c: New file.
30471 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30472 elements compare against the byte sequence of it, not its name.
30473 * posix/Makefile (tests): Add bug-regex35.
30474 (bug-regex35-ENV): Define.
30475 * posix/bug-regex35.c: New file.
30477 2013-02-11 Tom de Vries <tom@codesourcery.com>
30479 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30481 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30482 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30483 (CHECK_EOL): Add undef.
30485 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30487 * bits/stdlib-bsearch.h: New file.
30488 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30489 * stdlib/stdlib.h: Likewise.
30491 2013-02-11 Roland McGrath <roland@hack.frob.com>
30493 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30494 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30496 * manual/search.texi (Array Search Function): Add missing const in
30498 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30499 declaration to use rlim_t.
30500 (Basic Scheduling Functions): Remove erroneous const from
30501 sched_getparam prototype. Remove erroneous * from
30502 sched_get_priority_max and sched_get_priority_min prototypes.
30503 (Resource Usage): Fix summary @comment on vtimes to refer to
30504 sys/vtimes.h rather than vtimes.h.
30505 Add missing *s in vtimes prototype.
30506 (Limits on Resources): Fix ulimit prototype to return long int.
30507 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30508 prototypes to use long int rather than double.
30509 (BSD Random): Fix initstate and setstate to use char *, not void *.
30510 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30511 prototype to make second argument 'struct aiocb64 *const[]'.
30512 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30513 (Status of AIO Operations): Remove erroneous const in aio_return and
30514 aio_return64 prototypes.
30515 (Synchronizing I/O): Fix sync prototype to return void.
30516 * manual/startup.texi (Suboptions): Remove an erroneous const in
30517 getsubopt prototype.
30518 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30519 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30520 use size_t rather than int.
30521 (Scanning All Users): Likewise for getpwent_r.
30522 (Setting Groups): Add missing const to setgroups prototype.
30523 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30524 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30525 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30526 'const void *' rather than 'const char *'.
30527 (Host Address Functions): Likewise for inet_ntop.
30528 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30529 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30530 ssize_t for return value.
30531 (Sending Data): Likewise for send, sendto, sendmsg.
30532 (Socket Option Functions): Add a missing const in setsockopt prototype.
30533 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30534 use wchar_t for the argument.
30535 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30536 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30538 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30539 double/float/long double for second argument.
30540 Fix return types of significand, significandf, significandl.
30541 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30542 argument in fchmod prototype.
30543 (File Owner): Use uid_t and gid_t in fchown prototype.
30544 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30545 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30546 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30547 use 'const struct dirent **' as argument types to CMP function pointer
30549 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30550 (File Times): Fix summary magic @comment for struct utimbuf and utime
30551 to refer to utime.h, not time.h.
30552 * manual/string.texi (Argz Functions): Add missing const in
30553 argz_extract and argz_next prototypes.
30554 (Finding Tokens in a String): Likewise for basename.
30555 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30556 (Copying and Concatenation): Fix typo in wmemmove prototype.
30557 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30558 (Signal Stack): Remove erroneous const in sigstack prototype.
30559 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30561 (Simple Calendar Time): Likewise for stime.
30562 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30564 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30565 say sys/sysctl.h instead.
30566 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30567 and vsyslog prototypes.
30569 2013-02-11 Tom de Vries <tom@codesourcery.com>
30571 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30574 2013-02-11 Roland McGrath <roland@hack.frob.com>
30576 * misc/sys/mman.h: Fix typo in mremap comment.
30578 2013-02-08 Roland McGrath <roland@hack.frob.com>
30580 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30581 the '\0' terminator.
30583 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30586 * debug/segfault.c: Don't include <bp-checks.h>.
30587 * sysdeps/generic/bp-checks.h: Remove file.
30588 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30589 (__GETDENTS): Don't use CHECK_N.
30590 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30591 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30592 (__getgroups): Don't use CHECK_N.
30593 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30594 (setgroups): Don't use CHECK_N.
30595 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30596 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30597 (__libc_msgrcv): Don't use CHECK_N.
30598 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30599 (__libc_msgsnd): Don't use CHECK_N.
30600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30602 (__libc_pread): Don't use CHECK_N.
30603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30604 include <bp-checks.h>.
30605 (__libc_pread64): Don't use CHECK_N.
30606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30607 include <bp-checks.h>.
30608 (__libc_pwrite): Don't use CHECK_N.
30609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30610 include <bp-checks.h>.
30611 (__libc_pwrite64): Don't use CHECK_N.
30612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30614 (__libc_pread): Don't use CHECK_N.
30615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30616 include <bp-checks.h>.
30617 (__libc_pread64): Don't use CHECK_N.
30618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30619 include <bp-checks.h>.
30620 (__libc_pwrite): Don't use CHECK_N.
30621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30622 include <bp-checks.h>.
30623 (__libc_pwrite64): Don't use CHECK_N.
30624 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30625 (do_pread): Don't use CHECK_N.
30626 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30627 (do_pread64): Don't use CHECK_N.
30628 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30629 (do_pwrite): Don't use CHECK_N.
30630 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30631 (do_pwrite64): Don't use CHECK_N.
30632 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30633 (__libc_readv): Don't use CHECK_N.
30634 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30635 (semop): Don't use CHECK_N.
30636 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30638 (semtimedop): Don't use CHECK_N.
30639 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30640 (__libc_pread): Don't use CHECK_N.
30641 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30643 (__libc_pread64): Don't use CHECK_N.
30644 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30646 (__libc_pwrite): Don't use CHECK_N.
30647 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30649 (__libc_pwrite64): Don't use CHECK_N.
30650 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30652 (__libc_msgrcv): Don't use CHECK_N.
30653 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30654 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30655 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30656 (__libc_writev): Don't use CHECK_N.
30658 2013-02-08 Roland McGrath <roland@hack.frob.com>
30660 * string/strcpy.c: Removed unused variable.
30662 * Makeconfig (+sysdep-includes): Define with := rather than =.
30663 Use an existing include/ subdir of each sysdeps dir before it.
30665 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30667 * nscd/connection.c (register_traced_file): Comment function.
30668 [HAVE_INOTIFY] (union __inev): Define.
30669 [HAVE_INOTIFY] (inotify_check_files): New function.
30670 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30671 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30673 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30675 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30677 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30678 loaded if not already and that a failure is permanent.
30680 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30683 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30684 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30686 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30689 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30690 (CHECK_1_NULL_OK): Likewise.
30691 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30692 (__fxstat): Do not use CHECK_1.
30693 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30695 (___fxstat64): Do not use CHECK_1.
30696 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30698 (__fxstatat): Do not use CHECK_1.
30699 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30701 (__fxstatat64): Do not use CHECK_1.
30702 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30704 (__fxstat): Do not use CHECK_1.
30705 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30707 (__fxstatat): Do not use CHECK_1.
30708 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30710 (__getresgid): Do not use CHECK_1.
30711 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30713 (__getresuid): Do not use CHECK_1.
30714 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30716 (__lxstat): Do not use CHECK_1.
30717 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30719 (__old_msgctl): Do not use CHECK_1.
30720 (__new_msgctl): Likewise.
30721 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30723 (__new_setrlimit): Do not use CHECK_1.
30724 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30726 (__old_shmctl): Do not use CHECK_1.
30727 (__new_shmctl): Likewise.
30728 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30730 (__xstat): Do not use CHECK_1.
30731 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30732 (__lxstat): Do not use CHECK_1.
30733 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30735 (___lxstat64): Do not use CHECK_1.
30736 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30737 (__old_msgctl): Do not use CHECK_1.
30738 (__new_msgctl): Likewise.
30739 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30741 (__gettimeofday): Do not use CHECK_1.
30742 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30743 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30744 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30746 (__gettimeofday): Do not use CHECK_1.
30747 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30748 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30749 (__new_shmctl): Do not use CHECK_1.
30750 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30752 (do_sigtimedwait): Do not use CHECK_1.
30753 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30755 (do_sigwaitinfo): Do not use CHECK_1.
30756 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30758 (msgctl): Do not use CHECK_1.
30759 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30761 (shmctl): Do not use CHECK_1.
30762 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30763 (ustat): Do not use CHECK_1.
30764 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30766 (__fxstat): Do not use CHECK_1.
30767 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30769 (__fxstatat): Do not use CHECK_1.
30770 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30772 (__lxstat): Do not use CHECK_1.
30773 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30775 (__xstat): Do not use CHECK_1.
30776 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30777 (__xstat): Do not use CHECK_1.
30778 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30779 (___xstat64): Do not use CHECK_1.
30782 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30784 (CHECK_BOUNDS_HIGH): Likewise.
30785 * string/strcpy.c: Do not include <bp-checks.h>.
30786 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30788 2013-02-07 Roland McGrath <roland@hack.frob.com>
30790 * nscd/nscd-client.h (__nscd_drop_map_ref):
30791 Add __attribute__ ((unused)).
30792 * nis/nss-nisplus.h (niserr2nss): Likewise.
30794 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30795 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30797 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30798 Remove inline keyword.
30799 * include/rounding-mode.h (round_away): Likewise.
30800 * libio/wfileops.c (adjust_wide_data): Likewise.
30801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30802 (__m128i_strloadu_tolower): Likewise.
30803 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30804 (__m128i_strloadu_tolower): Likewise.
30805 * time/mktime.c (ydhms_diff): Likewise.
30806 * locale/elem-hash.h (elem_hash): Likewise.
30807 * locale/setlocale.c (setdata): Likewise.
30808 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30809 (re_string_wchar_at): Likewise.
30810 (bitset_not, bitset_merge, bitset_mask): Likewise.
30811 [!(__GNUC__ > 3)] (inline): Remove macro.
30812 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30813 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30814 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30815 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30816 * string/memcmp.c (memcmp_bytes): Likewise.
30817 * locale/programs/locarchive.c (compute_hashval): Likewise.
30818 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30819 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30820 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30821 * nss/getent.c (print_rpc, print_protocols): Likewise.
30822 (print_passwd, print_group, print_aliases): Likewise.
30823 * nis/nss-nisplus.h (niserr2nss): Likewise.
30824 * nscd/connections.c (restart_p): Likewise.
30825 Change return type to bool.
30827 2013-02-05 Roland McGrath <roland@hack.frob.com>
30829 * Makeconfig (all-Depend-files): Add existing
30830 $(sorted-subdirs:=/Depend) files.
30831 (all-subdirs): Remove nss.
30832 * sysdeps/unix/inet/Subdirs: Add it here instead.
30833 * hesiod/Depend: New file.
30835 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30836 instead of calling alloca.
30838 * io/lseek.c (__lseek): Rename to __libc_lseek.
30839 Define __lseek as an alias.
30841 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30843 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30845 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30846 else clause and remove check for non-standard endianness.
30848 2013-02-04 David S. Miller <davem@davemloft.net>
30850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30852 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30855 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30856 (__ubp_memchr): Remove prototype.
30857 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30858 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30859 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30860 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30861 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30863 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30864 (__ubp_memchr): Likewise.
30865 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30866 (__ubp_memchr): Likewise.
30867 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30868 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30869 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30872 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30873 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30874 (__getcwd): Do not use CHECK_STRING.
30875 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30877 (__real_chown): Do not use CHECK_STRING.
30878 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30880 (fchownat): Do not use CHECK_STRING.
30881 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30883 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30885 (__lchown): Do not use CHECK_STRING.
30886 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30887 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30888 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30889 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30891 include <bp-checks.h>.
30892 (truncate64): Do not use CHECK_STRING.
30893 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30895 (__real_chown): Do not use CHECK_STRING.
30896 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30898 (__lchown): Do not use CHECK_STRING.
30899 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30901 (__chown): Do not use CHECK_STRING.
30902 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30904 (truncate64): Do not use CHECK_STRING.
30905 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30907 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30908 (__xmknod): Do not use CHECK_STRING.
30909 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30911 (__xmknodat): Do not use CHECK_STRING.
30912 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30913 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30915 2013-02-04 Andreas Schwab <schwab@suse.de>
30918 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30919 * include/netdb.h: Likewise for h_errno.
30920 * elf/tst-stackguard1.c: Include <tls.h>.
30922 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30924 * elf/link.h (struct link_map): Extend the l_addr comment.
30925 * include/link.h (struct link_map): Likewise.
30927 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30930 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30931 (BOUNDED_1): Remove macro.
30932 * debug/backtrace.c: Don't include <bp-checks.h>.
30933 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30934 (__backtrace): Likewise.
30935 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30937 (__backtrace): Don't use BOUNDED_1.
30938 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30940 (__backtrace): Don't use BOUNDED_1.
30941 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30942 (__backtrace): Don't use BOUNDED_1.
30943 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30944 (shmat): Don't use BOUNDED_N.
30946 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30949 * sysdeps/generic/bp-start.h: Remove file.
30950 * csu/libc-start.c: Don't include <bp-start.h>.
30951 (LIBC_START_MAIN): Set up __environ directly instead of using
30952 INIT_ARGV_and_ENVIRON.
30953 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30957 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30959 (CHECK_FCNTL): Likewise.
30960 (CHECK_N_PAGES): Likewise.
30963 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30965 (CHECK_SIGSET_NULL_OK): Likewise.
30966 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30968 (sigpending): Don't use CHECK_SIGSET.
30969 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30971 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30972 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30974 (do_sigsuspend): Don't use CHECK_SIGSET.
30975 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30977 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30978 (do_sigwait): Don't use CHECK_SIGSET.
30979 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30981 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30982 include <bp-checks.h>.
30983 (sigpending): Don't use CHECK_SIGSET.
30984 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30985 include <bp-checks.h>.
30986 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30987 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30989 (sigpending): Don't use CHECK_SIGSET.
30990 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30992 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30995 * sysdeps/generic/bp-semctl.h: Remove file.
30996 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30997 <bp-checks.h> and <bp-semctl.h>.
30998 (__old_semctl): Don't use CHECK_SEMCTL.
30999 (__new_semctl): Likewise.
31000 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31002 (__old_semctl): Don't use CHECK_SEMCTL.
31003 (__new_semctl): Likewise.
31004 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31005 <bp-checks.h> and <bp-semctl.h>.
31006 (__old_semctl): Don't use CHECK_SEMCTL.
31007 (__new_semctl): Likewise.
31008 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31009 <bp-checks.h> and <bp-semctl.h>.
31010 (semctl): Don't use CHECK_SEMCTL.
31013 * Makerules (elide-bp-thunks): Remove variable.
31014 (elide-routines.oS): Don't use $(elide-bp-thunks).
31015 (elide-routines.os): Likewise.
31016 (elide-routines.o): Likewise.
31017 (elide-routines.op): Likewise.
31018 (elide-routines.og): Likewise.
31019 (objects): Don't use $(bp-thunks).
31020 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31022 (common-generated): Do not add s-proto-bp.d.
31023 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31026 Do not generate makefile rules for bounded-pointer thunks.
31027 * sysdeps/generic/bp-thunks.h: Remove file.
31028 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31029 * sysdeps/unix/s-proto-bp.S: Likewise.
31032 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31033 parts of result separately when argument is not close to line from
31034 -i to i and one part of argument is small.
31035 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31036 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31037 * math/libm-test.inc (cacos_test): Add more tests.
31038 (casin_test): Likewise.
31039 (casinh_test): Likewise.
31040 * sysdeps/i386/fpu/libm-test-ulps: Update.
31041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31043 2013-01-31 David S. Miller <davem@davemloft.net>
31045 * po/de.po: Update from translation team.
31047 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31049 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31051 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31053 * configure.in (_AC_PROG_CC_C89): New definition.
31054 * configure: Regenerate.
31056 * configure.in (AC_PROG_CPP): New definition.
31057 * configure: Regenerate.
31059 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31061 * debug/tst-backtrace.h: New file.
31062 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31063 (ret): Remove variable.
31065 (FAIL): Remove macro.
31066 (NO_INLINE): Likewise.
31067 (fn1): Use match function instead of strstr.
31068 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31069 (ret): Remove variable.
31071 (FAIL): Remove macro.
31072 (NO_INLINE): Likewise.
31073 (fn): Use match function instead of strstr.
31074 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31075 (ret): Remove variable.
31077 (FAIL): Remove macro.
31078 (NO_INLINE): Likewise.
31079 (handle_signal): Use match function instead of strstr.
31080 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31081 (ret): Remove variable.
31083 (FAIL): Remove macro.
31084 (NO_INLINE): Likewise.
31085 (handle_signal): Use match function instead of strstr.
31087 2013-01-23 Roland McGrath <roland@hack.frob.com>
31089 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31091 2013-01-23 David S. Miller <davem@davemloft.net>
31093 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31094 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31095 argument of CAS if possible.
31096 * sysdeps/sparc/sparc64/bits/atomic.h
31097 (__arch_compare_and_exchange_val_32_acq): Likewise.
31098 (__arch_compare_and_exchange_val_64_acq): Likewise.
31100 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31102 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31103 * sysdeps/posix/ulimit.c: ... this.
31104 Include <limits.h>.
31105 * sysdeps/unix/bsd/ulimit.c: Remove file.
31107 2013-01-23 Adam Conrad <adconrad@0c3.net>
31109 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31110 (LDFLAGS-tst-array5): Likewise.
31112 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31115 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31116 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31117 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31118 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31120 2013-01-21 David S. Miller <davem@davemloft.net>
31122 * sysdeps/sparc/backtrace.c: New file.
31123 * sysdeps/sparc/sparc32/backtrace.h: New file.
31124 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31125 * sysdeps/sparc/sparc64/backtrace.h: New file.
31126 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31127 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31130 2013-01-21 Andreas Schwab <schwab@suse.de>
31133 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31136 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31142 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31143 Mark Mitchell <mark@codesourcery.com>
31144 Tom de Vries <tom@codesourcery.com>
31145 Paul Pluzhnikov <ppluzhnikov@google.com>
31147 * debug/tst-backtrace2.c: New file.
31148 * debug/tst-backtrace3.c: Likewise.
31149 * debug/tst-backtrace4.c: Likewise.
31150 * debug/tst-backtrace5.c: Likewise.
31151 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31152 (CFLAGS-tst-backtrace3.c): Likewise.
31153 (CFLAGS-tst-backtrace4.c): Likewise.
31154 (CFLAGS-tst-backtrace5.c): Likewise.
31155 (LDFLAGS-tst-backtrace2): Likewise.
31156 (LDFLAGS-tst-backtrace3): Likewise.
31157 (LDFLAGS-tst-backtrace4): Likewise.
31158 (LDFLAGS-tst-backtrace5): Likewise.
31159 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31160 tst-backtrace4 and tst-backtrace5.
31162 2013-01-18 Anton Blanchard <anton@samba.org>
31163 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31165 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31166 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31167 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31168 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31170 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31171 "+r" and remove output regs list as redundant. Add explicit inline
31172 asm to specify register of return val to work around compiler codegen
31173 bug. Remove (int) cast on return value. Add return type parameter to
31174 use in macro so that this macro does not truncate return value for
31176 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31177 pass to INTERNAL_VSYSCALL_NCS.
31178 (INLINE_VSYSCALL): Add 'long int' as return type to
31179 INTERNAL_VSYSCALL_NCS macro invocation.
31180 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31181 INTERNAL_VSYSCALL_NCS macro invocation.
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31184 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31187 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31188 Fix application of SIMD FP exception mask.
31190 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31191 mp_no from a power of two.
31192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31193 __mpexp_twomm1. Use __pow_mp.
31195 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31198 2013-01-17 David S. Miller <davem@davemloft.net>
31200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31202 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31205 * include/complex.h: Condition contents on [!_COMPLEX_H].
31206 (__kernel_casinhf): New prototype.
31207 (__kernel_casinh): Likewise.
31208 (__kernel_casinhl): Likewise.
31209 * math/Makefile (libm_calls): Add k_casinh.
31210 * math/k_casinh.c: New file.
31211 * math/k_casinhf.c: Likewise.
31212 * math/k_casinhl.c: Likewise.
31213 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31214 finite nonzero arguments.
31215 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31216 finite nonzero arguments.
31217 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31218 finite nonzero arguments.
31219 * math/s_casinh.c: Do not include <float.h>.
31220 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31221 * math/s_casinhf.c: Do not include <float.h>.
31222 (__casinhf): Move code for finite nonzero arguments to
31224 * math/s_casinhl.c: Do not include <float.h>.
31225 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31227 (__casinhl): Move code for finite nonzero arguments to
31229 * math/libm-test.inc (cacos_test): Add more tests.
31230 * sysdeps/i386/fpu/libm-test-ulps: Update.
31231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31233 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31235 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31236 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31237 [!HAVE_MREMAP]: Remove [defined linux] case.
31238 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31240 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31242 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31244 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31246 * elf/elf.h (R_386_SIZE32): New relocation.
31247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31249 (elf_machine_rela): Likewise.
31250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31251 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31253 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31255 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31256 (FP_FAST_FMA): Do not define.
31257 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31258 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31259 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31260 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31261 !_SOFT_FLOAT]: Likewise.
31262 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31263 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31265 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31266 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31267 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31268 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31269 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31270 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31273 2013-01-16 Andreas Schwab <schwab@suse.de>
31276 * include/stdlib.h (__mktemp): Add declaration.
31277 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31278 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31280 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31282 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31284 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31285 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31286 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31288 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31289 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31293 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31294 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31295 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31297 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31298 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31300 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31302 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31304 2013-01-15 David S. Miller <davem@davemloft.net>
31306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31307 trunc{,f} to libm-sysdep_routes.
31308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31318 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31319 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31320 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31321 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31322 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31323 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31326 nearbyint{,f} to libm-sysdep_routes.
31327 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31338 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31343 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31344 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31345 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31347 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31348 libc_feholdexcept and libc_fesetenv.
31350 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31352 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31354 2013-01-14 David S. Miller <davem@davemloft.net>
31356 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31357 (SPARC_ASM_VIS2_IFUNC): Likewise.
31358 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31360 use of 'siam' instruction.
31361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31367 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31389 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31394 routines to libm-sysdep_routines.
31395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31398 fdim/fdimf to libm-sysdep_routines.
31399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31407 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31408 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31409 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31410 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31412 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31414 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31415 to optimize copies.
31417 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31422 local variable MPTWO.
31423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31426 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31428 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31431 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31433 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31435 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31437 * manual/pattern.texi (glob_t): Document gl_flags.
31438 (glob64_t): Likewise.
31440 2013-01-11 David S. Miller <davem@davemloft.net>
31442 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31443 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31444 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31445 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31446 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31447 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31448 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31449 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31450 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31451 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31452 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31453 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31454 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31456 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31457 sparc V9 rather than using V8 code.
31458 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31459 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31461 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31463 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31466 2013-01-11 Roland McGrath <roland@hack.frob.com>
31468 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31469 not in the main loop.
31470 * configure: Regenerated.
31472 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31474 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31475 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31477 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31478 [!__GLIBC_HAVE_LONG_LONG] case.
31479 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31480 condition to just #else.
31481 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31482 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31483 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31484 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31486 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31487 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31488 #elif condition to just #else.
31489 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31490 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31491 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31492 #elif condition to just #else.
31494 2013-01-11 Steve Ellcey <sellcey@mips.com>
31496 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31497 (EF_MIPS_ARCH_64): Fix value.
31498 (EF_MIPS_ARCH_32R2): New.
31499 (EF_MIPS_ARCH_64R2): New.
31501 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31503 * Makeconfig (+link-pie-before-libc): New.
31504 (+link-pie-after-libc): Likewise.
31505 (+link-pie-tests): Likewise.
31506 (+link-pie): Rewritten.
31507 (link-before-libc): Remove $(config-LDFLAGS).
31508 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31509 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31510 (config-LDFLAGS): Renamed to ...
31511 (rtld-LDFLAGS): This.
31512 (rtld-tests-LDFLAGS): New macro.
31513 (link-libc-rpath-link): Likewise.
31514 (link-libc-tests-rpath-link): Likewise.
31515 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31516 (link-libc): Prepand $(link-libc-rpath-link).
31517 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31518 (test-program-prefix): New macro.
31519 (test-via-rtld-prefix): Likewise.
31520 (test-program-cmd): Likewise.
31521 (host-test-program-cmd): Likewise.
31522 * Makefile ($(common-objpfx)testrun.sh): Replace
31523 $(run-program-prefix) with $(test-program-prefix).
31524 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31526 ($(common-objpfx)shlib.lds): Likewise.
31527 (build-module-helper): Likewise.
31528 ($(common-objpfx)format.lds): Likewise.
31529 * Rules (binaries-pie-tests): New.
31530 (binaries-pie-notests): Likewise.
31531 (binaries-pie): Rewritten.
31532 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31533 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31534 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31535 (make-test-out): Replace $(host-built-program-cmd) with
31536 $(host-test-program-cmd).
31537 * config.make.in (build-hardcoded-path-in-tests): New variable.
31538 * configure.in (--enable-hardcoded-path-in-tests): New configure
31540 (hardcoded_path_in_tests): New AC_SUBST.
31541 * configure: Regenerated.
31542 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31543 $(built-program-cmd) with $(test-program-cmd).
31544 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31545 (test_program_cmd): This.
31546 * elf/Makefile ($(objpfx)order.out): Run test with
31547 $(test-program-prefix).
31548 ($(objpfx)order2.out): Likewise.
31549 ($(objpfx)tst-initorder.out): Likewise.
31550 ($(objpfx)tst-initorder2.out): Likewise.
31551 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31552 $(test-program-cmd).
31553 ($(objpfx)tst-array1-static.out): Likewise.
31554 ($(objpfx)tst-array2.out): Likewise.
31555 ($(objpfx)tst-array3.out): Likewise.
31556 ($(objpfx)tst-array4.out): Likewise.
31557 ($(objpfx)tst-array5.out): Likewise.
31558 ($(objpfx)tst-array5-static.out): Likewise.
31559 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31560 $(test-program-cmd).
31561 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31562 $(run-program-prefix) with $(test-program-prefix).
31563 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31564 (test_program_prefix): This.
31565 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31566 $(run-program-prefix) with $(test-program-prefix).
31567 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31568 (test_program_prefix): This.
31569 * iconvdata/tst-tables.sh: Likewise.
31570 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31571 $(run-program-prefix) with $(test-program-prefix).
31572 ($(objpfx)tst-translit.out): Likewise.
31573 ($(objpfx)tst-gettext2.out): Likewise.
31574 ($(objpfx)tst-gettext4.out): Likewise.
31575 ($(objpfx)tst-gettext6.out): Likewise.
31576 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31577 (test_program_prefix): This.
31578 * intl/tst-gettext2.sh: Likewise.
31579 * intl/tst-gettext4.sh Likewise.
31580 * intl/tst-gettext6.sh: Likewise.
31581 * intl/tst-translit.sh: Likewise.
31582 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31583 with $(test-program-cmd).
31584 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31585 $(run-program-prefix) with $(test-program-prefix).
31586 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31587 (test_program_prefix): This.
31588 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31589 $(run-program-prefix) with $(test-program-prefix).
31590 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31591 (test_program_prefix): This.
31592 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31593 * posix/Makefile ($(objpfx)globtest.out): Replace
31594 $(run-via-rtld-prefix) and $(test-wrapper) with
31595 $(test-program-prefix) and $(test-via-rtld-prefix).
31596 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31597 $(test-program-prefix).
31598 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31599 $(host-test-program-cmd).
31600 (tst-spawn-ARGS): Likewise.
31601 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31602 $(test-program-prefix).
31603 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31604 (test_via_rtld_prefix): This.
31605 (test_wrapper): Renamed to ...
31606 (test_program_prefix): This.
31607 (run_program_prefix): Replaced by test_program_prefix.
31608 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31609 (test_program_prefix): This.
31610 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31611 with $(host-test-program-cmd).
31612 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31613 $(run-program-prefix) with $(test-program-prefix).
31614 ($(objpfx)tst-printf.out): Likewise.
31615 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31616 $(test-program-cmd).
31617 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31618 (test_program_prefix): This.
31619 * stdio-common/tst-unbputc.sh: Likewise.
31620 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31621 $(run-program-prefix) with $(test-program-prefix).
31622 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31623 (test_program_prefix): This.
31624 * string/Makefile ($(objpfx)tst-svc.out): Replace
31625 $(built-program-cmd) with $(test-program-cmd).
31627 2013-01-11 Andreas Jaeger <aj@suse.de>
31630 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31631 value. Sync with Linux 3.7.
31633 2013-01-10 David S. Miller <davem@davemloft.net>
31635 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31636 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31637 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31639 2013-01-10 Roland McGrath <roland@hack.frob.com>
31641 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31643 * configure: Regenerated.
31645 2013-01-10 David S. Miller <davem@davemloft.net>
31647 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31648 sparc V9 rather than using V8 code.
31649 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31650 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31652 2013-01-10 Roland McGrath <roland@hack.frob.com>
31654 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31655 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31656 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31657 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31658 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31659 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31660 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31661 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31662 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31663 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31664 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31665 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31666 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31667 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31668 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31669 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31670 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31671 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31672 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31673 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31674 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31675 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31676 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31677 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31678 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31679 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31680 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31682 2013-01-10 David S. Miller <davem@davemloft.net>
31684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31686 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31688 * posix/Makefile (tests-static): New variable.
31689 (tests): Add $(tests-static).
31690 (tst-exec-static-ARGS): New variable.
31691 (tst-spawn-static-ARGS): Likewise.
31692 * posix/tst-exec-static.c: New file.
31693 * posix/tst-spawn-static.c: Likewise.
31694 * posix/tst-exec.c: Support run directly.
31695 * posix/tst-spawn.c: Likewise.
31697 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31699 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31701 * math/bits/mathcalls.h (llrint): Likewise.
31702 (llround): Likewise.
31703 * stdlib/stdlib.h (struct drand48_data): Likewise.
31704 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31705 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31706 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31708 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31710 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31711 (elf_greg_t): Likewise.
31712 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31713 (__jmp_buf): Likewise.
31714 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31716 (llrint): Likewise, for all definitions.
31717 (llrintl): Likewise.
31719 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31720 Remove [__GNUC__] condition.
31721 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31722 condition to just [__USE_ISOC99].
31723 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31725 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31728 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31729 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31731 (_POSIX_V6_ILP32_OFF32): Likewise.
31732 (_XBS5_ILP32_OFF32): Likewise.
31733 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31734 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31736 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31738 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31741 doubles __mpexp_twomm1. Adjust usage.
31742 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31745 2013-01-10 Andreas Schwab <schwab@suse.de>
31748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31749 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31751 2013-01-09 David S. Miller <davem@davemloft.net>
31754 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31755 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31756 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31757 (TCP_FASTOPEN): Define.
31758 (tcp_repair_opt): New structure.
31759 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31761 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31762 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31763 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31764 (tcp_cookie_transactions): New structure.
31766 2013-01-09 Anton Blanchard <anton@samba.org>
31768 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31769 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31770 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31771 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31773 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31775 * include/features.h (__USE_ANSI): Remove.
31777 2013-01-09 Roland McGrath <roland@hack.frob.com>
31779 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31781 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31783 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31785 * sysdeps/s390/fpu/libm-test-ulps: Update.
31787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31789 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31793 (denorm): Likewise.
31794 (__mp_dbl): Likewise.
31795 (__dbl_mp): Likewise.
31796 (add_magnitudes): Likewise.
31797 (sub_magnitudes): Likewise.
31803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31807 (denorm): Likewise.
31808 (__mp_dbl): Likewise.
31809 (__dbl_mp): Likewise.
31810 (add_magnitudes): Likewise.
31811 (sub_magnitudes): Likewise.
31817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31821 (denorm): Likewise.
31822 (__mp_dbl): Likewise.
31823 (__dbl_mp): Likewise.
31824 (add_magnitudes): Likewise.
31825 (sub_magnitudes): Likewise.
31832 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31834 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31835 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31836 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31837 2 && __USE_EXTERN_INLINES]: Likewise.
31839 2013-01-08 Andreas Jaeger <aj@suse.de>
31842 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31844 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31845 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31847 2013-01-07 Anton Blanchard <anton@samba.org>
31849 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31850 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31851 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31852 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31853 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31854 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31855 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31856 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31859 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31860 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31862 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31863 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31864 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31865 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31866 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31867 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31869 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31870 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31872 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31873 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31874 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31875 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31876 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31878 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31879 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31882 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31883 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31884 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31885 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31886 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31887 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31888 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31889 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31891 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31893 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31895 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31896 (__MALLOC_PMT): Likewise.
31897 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31898 [__GNUC__], only on [_LIBC].
31899 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31900 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31901 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31902 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31903 forward declaration.
31904 (realloc_hook_ini): Likewise.
31905 (memalign_hook_ini): Likewise.
31906 (__libc_memalign): Do not use __MALLOC_PMT in variable
31908 (__libc_valloc): Likewise.
31909 (__libc_pvalloc): Likewise.
31910 (__libc_calloc): Likewise.
31911 (__posix_memalign): Likewise.
31914 * math/s_casinh.c: Include <float.h>.
31915 (__casinh): Do not do computation with squaring and square root
31916 for large arguments.
31917 * math/s_casinhf.c: Include <float.h>.
31918 (__casinhf): Do not do computation with squaring and square root
31919 for large arguments.
31920 * math/s_casinhl.c: Include <float.h>.
31921 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31922 (__casinhl): Do not do computation with squaring and square root
31923 for large arguments.
31924 * math/libm-test.inc (casin_test): Add more tests.
31925 (casinh_test): Likewise.
31926 * sysdeps/i386/fpu/libm-test-ulps: Update.
31927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31929 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31931 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31932 (__x86_64_raw_data_cache_size): Likewise.
31933 (__x86_64_data_cache_size_half): Likewise.
31934 (__x86_64_raw_data_cache_size_half): Likewise.
31935 (__x86_64_shared_cache_size): Likewise.
31936 (__x86_64_raw_shared_cache_size): Likewise.
31937 (__x86_64_shared_cache_size_half): Likewise.
31938 (__x86_64_raw_shared_cache_size_half): Likewise.
31939 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31941 (__x86_data_cache_size): This.
31942 (__x86_64_raw_data_cache_size): Renamed to ...
31943 (__x86_raw_data_cache_size): This.
31944 (__x86_64_data_cache_size_half): Renamed to ...
31945 (__x86_data_cache_size_half): This.
31946 (__x86_64_raw_data_cache_size_half): Renamed to ...
31947 (__x86_raw_data_cache_size_half): This.
31948 (__x86_64_shared_cache_size): Renamed to ...
31949 (__x86_shared_cache_size): This.
31950 (__x86_64_raw_shared_cache_size): Renamed to ...
31951 (__x86_raw_shared_cache_size): This.
31952 (__x86_64_shared_cache_size_half): Renamed to ...
31953 (__x86_shared_cache_size_half): This.
31954 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31955 (__x86_raw_shared_cache_size_half): This.
31956 * sysdeps/x86_64/memcpy.S: Updated.
31957 * sysdeps/x86_64/memset.S: Likewise.
31958 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31962 2013-01-04 David S. Miller <davem@davemloft.net>
31964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31966 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31968 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31969 1 to avoid redefinition warning.
31970 (__USE_GNU): Don't define.
31971 (init_signaling_nan): Protoize.
31973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31975 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31977 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31979 (__cpymn): Likewise.
31980 (norm): Remove commented code.
31981 (denorm): Likewise.
31982 (__mp_dbl): Likewise.
31984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31985 (__cpymn): Likewise.
31986 (norm): Remove commented code.
31987 (denorm): Likewise.
31988 (__mp_dbl): Likewise.
31991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31992 mp_no value for 1.0 and 2.0.
31993 (norm): Use RADIXI instead of radixi.d.
31994 (denorm): Likewise.
31995 (__mul): Use 0.0 instead of zero.d.
31996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31997 mp_no value for 1.0 and 2.0.
31998 (norm): Use RADIXI instead of radixi.d.
31999 (denorm): Likewise.
32000 (__mul): Use 0.0 instead of zero.d.
32002 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32005 * math/s_casinh.c (__casinh): Reduce finite argument to first
32006 quadrant then set signs of results at the end.
32007 * math/s_casinhf.c (__casinhf): Likewise.
32008 * math/s_casinhl.c (__casinhl): Likewise.
32009 * math/libm-test.inc (casin_test): Add more tests.
32010 (casinh_test): Likewise.
32011 * sysdeps/i386/fpu/libm-test-ulps: Update.
32012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32014 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32016 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32018 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32020 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32022 (denorm): Likewise.
32023 (__mp_dbl): Likewise.
32026 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32027 and adjust the header comment.
32029 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32030 variable name from declaration.
32032 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32035 Initialize COMMON_CPUID_INDEX_7 element.
32036 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32037 (CPUID_RTM): Likewise.
32038 (HAS_RTM): Likewise.
32039 (COMMON_CPUID_INDEX_7): New enum.
32041 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32044 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32045 size is zero, record memory as freed.
32047 2013-01-03 Andreas Jaeger <aj@suse.de>
32049 * po/ia.po: Add new Interlingua translation.
32051 2012-01-03 Allan McRae <allan@archlinux.org>
32053 * locale/programs/localedef.c: Fix description of '--posix' flag.
32055 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32057 * NEWS: Update dates in second copyright notice.
32058 * README: Update copyright dates in example.
32059 * manual/libc.texinfo: Update copyright dates.
32060 * scripts/test-installation.pl: Update copyright date in --version
32063 * hurd/ctty-input.c: Fix copyright notice formatting.
32064 * hurd/ctty-output.c: Likewise.
32065 * hurd/dtable.c: Likewise.
32066 * hurd/hurd-raise.c: Likewise.
32067 * hurd/hurdprio.c: Likewise.
32068 * hurd/msgportdemux.c: Likewise.
32069 * misc/sys/file.h: Likewise.
32070 * misc/sys/ioctl.h: Likewise.
32071 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32072 * sysdeps/mach/hurd/chdir.c: Likewise.
32073 * sysdeps/mach/hurd/fchdir.c: Likewise.
32074 * sysdeps/mach/hurd/rename.c: Likewise.
32075 * sysdeps/mach/hurd/rmdir.c: Likewise.
32076 * sysdeps/mach/hurd/seekdir.c: Likewise.
32077 * sysdeps/mach/hurd/setsid.c: Likewise.
32078 * sysdeps/posix/wait3.c: Likewise.
32080 * All files with FSF copyright notices: Update copyright dates
32081 using scripts/update-copyrights.
32082 * intl/plural.c: Regenerated.
32083 * locale/programs/charmap-kw.h: Likewise.
32084 * locale/programs/locfile-kw.h: Likewise.
32086 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32088 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32091 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32092 calculation loop and add branch prediction.
32094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32095 check access beyond bounds of m1np.
32097 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32099 (__inv): Remove local variable MPTWO to use the global
32101 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32102 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32104 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32105 MP3HALFS static const.
32107 2013-01-01 David S. Miller <davem@davemloft.net>
32109 * po/ca.po: Update from translation team.
32111 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32113 * scripts/update-copyrights: New file.
32114 * Makeconfig: Reformat copyright notice.
32115 * ctype/ctype.h: Likewise.
32116 * debug/swprintf_chk.c: Likewise.
32117 * elf/dl-cache.c: Likewise.
32118 * elf/dl-debug.c: Likewise.
32119 * elf/dl-object.c: Likewise.
32120 * grp/initgroups.c: Likewise.
32121 * hurd/Makefile: Likewise.
32122 * hurd/hurd/signal.h: Likewise.
32123 * hurd/hurdfault.c: Likewise.
32124 * hurd/hurdioctl.c: Likewise.
32125 * hurd/hurdlookup.c: Likewise.
32126 * hurd/intr-msg.c: Likewise.
32127 * iconv/gconv_open.c: Likewise.
32128 * libio/swprintf.c: Likewise.
32129 * locale/lc-ctype.c: Likewise.
32130 * locale/nl_langinfo.c: Likewise.
32131 * mach/Machrules: Likewise.
32132 * mach/Makefile: Likewise.
32133 * malloc/obstack.h: Likewise.
32134 * manual/Makefile: Likewise.
32135 * manual/tsort.awk: Likewise.
32136 * misc/bits/stab.def: Likewise.
32137 * nis/nis_print_group_entry.c: Likewise.
32138 * nis/nis_table.c: Likewise.
32139 * nis/nss_compat/compat-pwd.c: Likewise.
32140 * nis/nss_compat/compat-spwd.c: Likewise.
32141 * po/Makefile: Likewise.
32142 * posix/fnmatch.c: Likewise.
32143 * posix/regex.h: Likewise.
32144 * resolv/Makefile: Likewise.
32145 * resolv/nss_dns/dns-network.c: Likewise.
32146 * resolv/res_hconf.c: Likewise.
32147 * scripts/gen-sorted.awk: Likewise.
32148 * soft-fp/soft-fp.h: Likewise.
32149 * stdio-common/printf.h: Likewise.
32150 * stdlib/monetary.h: Likewise.
32151 * stdlib/random.c: Likewise.
32152 * stdlib/random_r.c: Likewise.
32153 * sysdeps/generic/Makefile: Likewise.
32154 * sysdeps/gnu/Makefile: Likewise.
32155 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32159 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32162 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32165 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32167 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32168 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32169 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32170 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32171 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32172 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32173 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32174 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32175 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32176 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32177 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32178 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32179 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32181 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32182 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32183 * sysdeps/mach/hurd/errnos.awk: Likewise.
32184 * sysdeps/mach/hurd/fork.c: Likewise.
32185 * sysdeps/mach/hurd/getcwd.c: Likewise.
32186 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32187 * sysdeps/mach/hurd/mmap.c: Likewise.
32188 * sysdeps/mach/hurd/utimes.c: Likewise.
32189 * sysdeps/mach/hurd/xmknod.c: Likewise.
32190 * sysdeps/posix/profil.c: Likewise.
32191 * sysdeps/posix/readdir_r.c: Likewise.
32192 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32193 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32194 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32195 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32197 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32198 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32199 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32201 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32202 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32203 * sysdeps/pthread/lio_listio.c: Likewise.
32204 * sysdeps/sparc/dl-procinfo.h: Likewise.
32205 * sysdeps/unix/i386/sysdep.S: Likewise.
32206 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32207 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32208 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32209 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32211 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32212 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32213 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32214 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32215 * sysdeps/wordsize-32/divdi3.c: Likewise.
32216 * time/sys/time.h: Likewise.
32217 * wcsmbs/Makefile: Likewise.
32219 2013-01-01 David S. Miller <davem@davemloft.net>
32221 * po/fr.po: Update from translation team.
32223 * catgets/gencat.c: Update copyright year.
32224 * csu/version.c: Likewise.
32225 * debug/catchsegv.sh: Likewise.
32226 * debug/pcprofiledump.c: Likewise.
32227 * debug/xtrace.sh: Likewise.
32228 * elf/ldconfig.c: Likewise.
32229 * elf/ldd.bash.in: Likewise.
32230 * elf/pldd.c: Likewise.
32231 * elf/sotruss.ksh: Likewise.
32232 * elf/sprof.c: Likewise.
32233 * iconv/iconv_prog.c: Likewise.
32234 * iconv/iconvconfig.c: Likewise.
32235 * locale/programs/locale.c: Likewise.
32236 * locale/programs/localedef.c: Likewise.
32237 * login/programs/pt_chown.c: Likewise.
32238 * malloc/memusage.sh: Likewise.
32239 * malloc/memusagestat.c: Likewise.
32240 * malloc/mtrace.pl: Likewise.
32241 * nscd/nscd.c: Likewise.
32242 * nss/getent.c: Likewise.
32243 * nss/makedb.c: Likewise.
32244 * posix/getconf.c: Likewise.
32246 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32248 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32251 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32253 * math/bits/mathcalls.h (modf): Use __nonnull.
32255 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32257 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32258 (split): Use macro CN instead of the bare value.
32259 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32261 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32262 instead of the bare value.
32263 (power1): Likewise.
32265 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32267 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32271 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32273 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32274 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32275 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32276 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32278 2012-12-28 Andreas Jaeger <aj@suse.de>
32280 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32281 values are from Linux 3.7.
32283 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32284 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32286 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32288 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32291 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32293 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32294 variables with preprocessor constants.
32295 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32296 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32297 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32299 2012-12-27 Bruno Haible <bruno@clisp.org>
32302 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32305 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32308 and use variable directly.
32309 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32311 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32313 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32316 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32318 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32319 include directive. Remove local variable MPONE.
32320 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32321 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32324 2012-12-25 David S. Miller <davem@davemloft.net>
32326 * version.h (RELEASE): Set to "development".
32327 (VERSION): Set to "2.17.90".
32328 * NEWS: Add 2.18 section.
32330 2012-12-21 David S. Miller <davem@davemloft.net>
32332 * po/hr.po: Update from translation team.
32334 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32336 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32338 2012-12-19 Steve Ellcey <sellcey@mips.com>
32340 * NEWS: Mention new memcpy for MIPS.
32342 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32344 * manual/contrib.texi (Contributors): Spelling correction.
32346 2012-12-15 David S. Miller <davem@davemloft.net>
32348 * po/ru.po: Update from translation team.
32350 2012-12-13 David S. Miller <davem@davemloft.net>
32352 * NEWS: Mention IFUNC testsuite enhancements.
32354 * po/pl.po: Update from translation team.
32355 * po/bg.po: Likewise.
32357 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32358 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32360 2012-12-11 David S. Miller <davem@davemloft.net>
32362 * po/sv.po: Update from translation team.
32364 * po/vi.po: Update from translation team.
32366 * po/cs.po: Update from translation team.
32368 * po/de.po: Update from translation team.
32369 * po/eo.po: Likewise.
32370 * po/nl.po: Likewise.
32372 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32375 * manual/argp.texi (Argp Helper Functions): Move node to follow
32376 Argp Parsing State.
32379 * manual/conf.texi (Limits on File System Capacity): Mention if
32380 terminating null is included in the max size.
32382 2012-12-10 Andreas Jaeger <aj@suse.de>
32384 * po/cs.po: Update from translation team.
32386 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32388 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32389 void pointer and cast to uintptr_t.
32390 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32392 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32393 * sysdeps/s390/s390-64/memset.S: Likewise.
32395 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32398 * menual/message.texi (Message Translation): Fix typos.
32399 (Helper programs for gettext): Likewise.
32401 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32404 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32407 2012-12-07 David S. Miller <davem@davemloft.net>
32409 * po/libc.pot: Update.
32411 2012-12-07 Richard Henderson <rth@redhat.com>
32414 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32415 normal/normal case to before the switch.
32416 (_FP_DIV): Likewise.
32418 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32419 Mike Frysinger <vapier@gentoo.org>
32421 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32422 check for __NR_fadvise64_64.
32424 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32426 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32427 0, not just to plain "0" as a statement.
32428 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32431 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32433 * NEWS: Use sourceware.org in Bugzilla URL.
32435 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32438 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32440 * stdio-common/tst-put-error.c (do_test): Add newline to the
32441 padded test to ensure flush.
32443 2012-12-05 Jeff Law <law@redhat.com>
32445 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32447 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32449 * README: Don't refer to ports add-on as distributed separately.
32450 Mention AArch64 in list of systems supported in the ports add-on.
32452 * LICENSES: Add more non-FSF copyright and license notices.
32454 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32457 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32459 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32460 10000 as width of padded output.
32462 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32464 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32467 variable LX with __attribute__ ((unused)).
32468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32470 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32471 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32472 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32473 with __attribute__ ((unused)).
32475 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32477 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32479 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32481 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32482 (CFLAGS-nldbl-acos.c): New variable.
32483 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32484 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32485 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32486 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32487 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32488 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32489 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32490 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32491 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32492 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32493 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32494 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32495 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32496 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32497 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32498 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32499 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32500 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32501 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32502 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32503 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32504 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32505 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32506 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32507 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32508 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32509 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32510 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32511 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32512 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32513 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32514 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32515 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32516 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32517 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32518 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32519 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32520 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32521 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32522 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32523 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32524 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32525 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32526 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32527 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32528 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32529 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32530 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32531 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32532 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32533 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32534 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32535 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32536 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32537 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32538 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32539 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32540 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32541 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32542 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32543 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32544 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32545 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32546 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32547 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32548 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32549 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32550 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32551 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32552 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32553 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32554 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32555 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32556 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32557 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32558 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32559 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32560 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32561 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32562 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32563 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32564 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32565 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32566 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32567 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32568 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32569 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32570 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32571 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32572 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32573 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32574 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32575 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32576 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32577 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32578 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32579 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32582 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32585 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32586 whole low double instead of just low 47 bits when splitting values
32589 2012-12-03 Allan McRae <allan@archlinux.org>
32591 * manual/stdio.texi (Predefined Printf Handlers): Remove
32592 @hsep and @vsep usage.
32594 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32596 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32597 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32599 2012-12-03 Jeff Law <law@redhat.com>
32601 * time/sys/time.h (settimeofday): Do not mark TV argument
32604 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32606 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32607 when currently writing and seek to current position when not.
32608 * libio/Makefile (tests): Remove bug-fclose1.
32609 * libio/bug-fclose1.c: Delete.
32611 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32613 * manual/arith.texi (feenableexcept): Fix typo.
32614 (fedisableexcept): Likewise.
32616 2012-11-30 Roland McGrath <roland@hack.frob.com>
32618 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32619 second, differently-typed declaration, rather than a cast.
32621 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32623 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32624 * include/rpc/svc.h: ... here.
32626 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32629 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32630 depending n and resplen2 to catch cases where answer
32633 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32635 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32636 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32638 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32640 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32642 2012-11-29 Roland McGrath <roland@hack.frob.com>
32644 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32646 2012-11-28 Jeff Law <law@redhat.com>
32649 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32650 dataset_temporary. Track alloca usage into alloca_used.
32651 If dataset is large allocate and release it via malloc/free.
32653 2012-06-04 Florian Weimer <fweimer@redhat.com>
32656 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32658 2012-11-28 David S. Miller <davem@davemloft.net>
32660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32662 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32665 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32666 of pi/2 rounded to nearest to 64 bits.
32667 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32668 nearest to 64 bits.
32669 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32672 2012-11-28 Jeff Law <law@redhat.com>
32673 Martin Osvald <mosvald@redhat.com>
32676 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32677 * sunrpc/svc.c: Include time.h.
32678 (__svc_accept_failed): New function.
32679 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32680 any reason other than EINTR, call __svc_accept_failed.
32681 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32682 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32684 2012-11-28 Andreas Schwab <schwab@suse.de>
32686 * scripts/abilist.awk: Also handle indirect functions in .opd
32689 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32692 * sysdeps/x86/fpu/powl_helper.c: New file.
32693 * sysdeps/x86/fpu/Makefile: Likewise.
32694 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32696 (__ieee754_powl): Use __powl_helper for finite arguments except
32697 integer exponents below 8.
32698 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32700 (__ieee754_powl): Use __powl_helper for finite arguments except
32701 integer exponents below 8.
32702 * math/libm-test.inc (pow_test): Add more tests and enable some
32703 previously disabled tests.
32704 * sysdeps/i386/fpu/libm-test-ulps: Update.
32705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32707 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32708 Carlos O'Donell <carlos_odonell@mentor.com>
32710 * nss/makedb.c (is_prime): Assert that input is odd and greater
32711 than 4. Note that fact in a comment too.
32712 (next_prime): Add 4 to input.
32714 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32717 * libio/Makefile (tests): Add test case tst-fwrite-error.
32718 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32719 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32720 * libio/tst-fwrite-error.c: New test case.
32722 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32724 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32725 before casting to void *.
32726 * include/libc-internal.h (__pointer_type): New macro.
32727 (__integer_if_pointer_type_sub): Likewise.
32728 (__integer_if_pointer_type): Likewise.
32729 (cast_to_integer): Likewise.
32730 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32731 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32732 before casting to atomic64_t.
32733 (atomic_exchange_acq): Likewise.
32734 (__arch_exchange_and_add_body): Likewise.
32735 (__arch_add_body): Likewise.
32736 (atomic_add_negative): Likewise.
32737 (atomic_add_zero): Likewise.
32739 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32741 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32742 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32743 (add_fdes): Likewise.
32744 (linear_search_fdes): Likewise.
32745 (binary_search_unencoded_fdes): Likewise.
32747 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32749 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32751 2012-11-24 Adam Conrad <adconrad@0c3.net>
32753 * configure.in: Autodetect C++ header directories.
32754 * configure: Regenerated.
32756 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32758 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32760 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32764 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32766 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32767 LDBL_MANT_DIG == 106]: Disable some tests.
32768 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32770 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32774 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32775 input for small inputs. Return +/- pi/2 for large inputs.
32776 * math/libm-test.inc (atan_test): Add more tests.
32778 * sysdeps/generic/unwind-dw2-fde-glibc.c
32779 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32780 __attribute__ ((unused)).
32783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32784 x * y if x and y are nonzero and z is zero.
32787 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32788 nonzero exponents with absolute value below 0x1p-117 to +/-
32792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32793 up arguments below 2**-450, not just those below 2**-500.
32794 * math/libm-test.inc (hypot_test): Add another test.
32797 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32798 Return a+b for ratio over 2**120, not 2**60.
32799 * math/libm-test.inc (hypot_test): Add another test.
32801 * math/libm-test.inc (clog_test): Use
32802 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32803 (clog10_test): Likewise.
32806 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32808 2012-11-22 Andreas Schwab <schwab@suse.de>
32810 * sysdeps/i386/fpu/libm-test-ulps: Update.
32812 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32814 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32815 printf output with newline.
32817 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32820 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32821 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32822 -z nodlopen, -z initfirst and -z execstack support.
32823 * configure: Regenerated.
32825 * elf/elf.h (DF_1_NODIRECT): New macro.
32826 (DF_1_IGNMULDEF): Likewise.
32827 (DF_1_NOKSYMS): Likewise.
32828 (DF_1_NOHDR): Likewise.
32829 (DF_1_EDITED): Likewise.
32830 (DF_1_NORELOC): Likewise.
32831 (DF_1_SYMINTPOSE): Likewise.
32832 (DF_1_GLOBAUDIT): Likewise.
32833 (DF_1_SINGLETON): Likewise.
32834 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32835 DT_1_SUPPORTED_MASK bits.
32836 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32838 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32840 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32842 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32844 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32847 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32848 (sendmmsg): Move declarations...
32849 * socket/sys/socket.h: ... here.
32850 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32851 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32853 * socket/recvmmsg.c: ... this new file.
32854 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32855 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32856 definition of __sendmmsg hidden.
32857 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32858 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32859 Move ENOSYS stub into and include it from...
32860 * socket/sendmmsg.c: ... this new file.
32861 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32862 (sysdep_routines): Move recvmmsg and sendmmsg...
32863 * socket/Makefile (routines): ... here.
32864 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32865 (GLIBC_PRIVATE): Add __sendmmsg.
32866 * include/sys/socket.h (__sendmmsg): Add declarations.
32867 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32870 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32872 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32873 variable I1 with __attribute__ ((unused)).
32874 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32876 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32878 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32879 DUMMY variables with __attribute__ ((unused)).
32881 * bits/byteswap.h: Include <bits/types.h>.
32882 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32884 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32886 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32887 string_t. Do not manually set errno.
32888 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32889 length with __strnlen. Make sure to both set errno and return it on
32892 2012-11-19 David S. Miller <davem@davemloft.net>
32894 With help from Joseph Myers.
32895 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32896 very large arguments properly.
32897 * math/libm-test.inc (atan_test): New tests.
32898 (atan2_test): New tests.
32899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32902 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32905 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32908 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32909 [POSIX] (EADDRNOTAVAIL): Likewise.
32910 [POSIX] (EAFNOSUPPORT): Likewise.
32911 [POSIX] (EALREADY): Likewise.
32912 [POSIX] (ECONNABORTED): Likewise.
32913 [POSIX] (ECONNREFUSED): Likewise.
32914 [POSIX] (ECONNRESET): Likewise.
32915 [POSIX] (EDESTADDRREQ): Likewise.
32916 [POSIX] (EDQUOT): Likewise.
32917 [POSIX] (EHOSTUNREACH): Likewise.
32918 [POSIX] (EIDRM): Likewise.
32919 [POSIX] (EISCONN): Likewise.
32920 [POSIX] (ELOOP): Likewise.
32921 [POSIX] (EMULTIHOP): Likewise.
32922 [POSIX] (ENETDOWN): Likewise.
32923 [POSIX] (ENETUNREACH): Likewise.
32924 [POSIX] (ENOBUFS): Likewise.
32925 [POSIX] (ENODATA): Likewise.
32926 [POSIX] (ENOLINK): Likewise.
32927 [POSIX] (ENOMSG): Likewise.
32928 [POSIX] (ENOPROTOOPT): Likewise.
32929 [POSIX] (ENOSR): Likewise.
32930 [POSIX] (ENOSTR): Likewise.
32931 [POSIX] (ENOTCONN): Likewise.
32932 [POSIX] (ENOTSOCK): Likewise.
32933 [POSIX] (EOPNOTSUPP): Likewise.
32934 [POSIX] (EOVERFLOW): Likewise.
32935 [POSIX] (EPROTO): Likewise.
32936 [POSIX] (EPROTONOSUPPORT): Likewise.
32937 [POSIX] (EPROTOTYPE): Likewise.
32938 [POSIX] (ESTALE): Likewise.
32939 [POSIX] (ETIME): Likewise.
32940 [POSIX] (ETXTBSY): Likewise.
32941 [POSIX] (EWOULDBLOCK): Likewise.
32942 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32943 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32944 [POSIX] (SEEK_CUR): Likewise.
32945 [POSIX] (SEEK_END): Likewise.
32946 [POSIX || UNIX98] (mode_t): Do not require.
32947 [POSIX] (off_t): Likewise.
32948 [POSIX] (pid_t): Likewise.
32949 [POSIX] (sys/stat.h): Do not allow header.
32950 [POSIX] (unistd.h): Likewise.
32951 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32952 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32953 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32954 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32956 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32957 sigevent): Specify elements.
32958 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32960 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32961 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32963 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32964 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32965 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32966 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32967 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32968 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32969 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32970 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32972 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32973 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32974 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32975 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32976 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32978 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32980 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32982 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32984 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32985 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32986 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32987 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32988 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32989 Specify lower bound on value.
32990 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32991 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32992 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32993 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32994 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32995 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32996 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32997 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32999 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33001 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33002 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33003 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33004 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33005 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33006 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33007 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33008 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33009 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33010 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33011 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33012 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33013 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33014 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33015 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33016 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33018 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33020 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33021 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33022 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33023 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33024 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33025 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33027 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33028 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33029 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33030 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33031 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33032 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33033 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33035 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33036 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33038 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33039 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33040 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33041 specify as optional.
33042 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33043 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33044 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33045 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33046 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33047 [XPG3] (NL_LANGMAX): Likewise.
33048 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33049 [POSIX || XPG3] (NL_NMAX): Likewise.
33050 [POSIX || XPG3] (NL_SETMAX): Likewise.
33051 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33052 [XPG3] (NZERO): Likewise.
33053 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33054 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33055 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33056 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33057 (REG_ERANGE): Expect.
33058 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33060 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33061 Use (void) in prototype.
33062 [POSIX] (*_t): Allow.
33063 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33064 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33065 (WRDE_BADVAL): Expect.
33067 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33069 [XPG3 || XPG4] (O_RSYNC): Likewise.
33070 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33072 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33073 [XPG3 || XPG4] (sigqueue): Likewise.
33074 [XPG3 || XPG4] (sigtimedwait): Likewise.
33075 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33076 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33077 [XPG3 || XPG4] (vsnprintf): Likewise.
33078 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33080 [XPG3 || XPG4] (blksize_t): Likewise.
33081 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33083 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33084 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33085 [XPG3 || XPG4] (struct itimerspec): Likewise.
33086 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33087 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33088 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33089 [XPG3 || XPG4] (clockid_t): Likewise.
33090 [XPG3 || XPG4] (timer_t): Likewise.
33091 [XPG3 || XPG4] (clock_getres): Likewise.
33092 [XPG3 || XPG4] (clock_gettime): Likewise.
33093 [XPG3 || XPG4] (clock_settime): Likewise.
33094 [XPG3 || XPG4] (nanosleep): Likewise.
33095 [XPG3 || XPG4] (timer_create): Likewise.
33096 [XPG3 || XPG4] (timer_delete): Likewise.
33097 [XPG3 || XPG4] (timer_gettime): Likewise.
33098 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33099 [XPG3 || XPG4] (timer_settime): Likewise.
33100 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33101 [XPG3 || XPG4] (getlogin_r): Likewise.
33102 [XPG3 || XPG4] (pread): Likewise.
33103 [XPG3 || XPG4] (pthread_atfork): Likewise.
33104 [XPG3 || XPG4] (pwrite): Likewise.
33107 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33110 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33112 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33113 finalizing MALLSTREAM.
33115 * sysdeps/mach/hurd/syncfs.c: New file.
33117 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33120 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33121 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33122 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33123 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33124 (_nss_dns_gethostbyname4_r): Likewise.
33125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33126 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33128 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33131 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33133 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33135 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33136 * elf/cache.c (print_entry): Print ",AArch64" for
33139 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33140 * elf/cache.c (print_entry): Print ",hard-float" for
33143 2012-11-18 David S. Miller <davem@davemloft.net>
33145 With help from Joseph Myers.
33146 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33148 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33150 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33151 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33153 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33154 * math/libm-test.inc (y0_test): New tests.
33155 (y1_test): New tests.
33156 * sysdeps/i386/fpu/libm-test-ulps: Update.
33157 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33160 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33162 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33164 * configure: Regenerated.
33166 2012-11-17 David S. Miller <davem@davemloft.net>
33169 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33170 nonzero exponents with absolute value below 0x1p-128 to +/-
33173 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33175 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33177 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33179 * posix/getconf-speclist.c: New file.
33180 * posix/posix-envs.def: Likewise.
33181 * posix/confstr.c (START_ENV_GROUP): New macro.
33182 (END_ENV_GROUP): Likewise.
33183 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33184 (KNOWN_PRESENT_ENV_STRING): Likewise.
33185 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33186 (UNKNOWN_ENVIRONMENT): Likewise.
33187 (confstr): Include posix-envs.def instead of handling
33188 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33189 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33190 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33191 (END_ENV_GROUP): Likewise.
33192 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33193 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33194 (UNKNOWN_ENVIRONMENT): Likewise.
33195 (__sysconf): Include posix-envs.def instead of handling associated
33196 cases directly here.
33197 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33198 preprocessing getconf-speclist.c rather than running getconf or
33199 generating empty file.
33201 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33203 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33205 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33208 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33210 2012-11-16 David S. Miller <davem@davemloft.net>
33212 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33213 smaller than LDBL_EPSILON/2.0L, just return xm1.
33215 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33217 * elf/tst-array1.c (init): Set constructor priority to 1000.
33218 (fini): Set destructor priority to 1000.
33219 * elf/tst-array2dep.c: Likewise.
33221 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33224 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33225 (_IO_new_file_xsputn): Also return EOF if none of the input
33226 data was written when overflow failed.
33227 * libio/iopadn.c (_IO_padn): Likewise.
33228 * libio/iowpadn.c (_IO_wpadn): Likewise.
33229 * stdio-common/tst-put-error.c: Add copyright notice.
33230 (do_test): Add case for printing padded string.
33231 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33232 _IO_padn returned error.
33233 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33234 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33237 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33239 * libio/libioP.h: Add comment note that the references to C++
33240 bits are now obsolete.
33242 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33244 * math/libm-test.inc (check_complex): Use asprintf.
33246 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33248 * debug/pcprofiledump.c (print_version): Update copyright year.
33249 * malloc/memusagestat.c (print_version): Likewise.
33251 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33254 * elf/Makefile (tests): Add tst-audit8.
33255 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33256 ($(objpfx)tst-audit8.out): New target.
33257 (tst-audit8-ENV): New variable.
33258 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33259 audit if l_reloc_result is NULL.
33260 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33261 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33262 * elf/tst-audit8.c: New file.
33264 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33266 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33267 * misc/Makefile (CFLAGS-select.c): Define.
33268 * posix/Makefile (CFLAGS-pause.c): Define.
33270 2012-11-13 David S. Miller <davem@davemloft.net>
33272 * crypt/Makefile: Move test targets after toplevel Rules
33273 inclusion. Grab any necessary sysdep routines when linking.
33274 * crypt/md5.c (md5_process_block): Remove define, we will always
33275 name it __md5_process_block.
33276 (md5_finish_ctx): Update md5_process_block call.
33277 (md5_stream): Likewise.
33278 (md5_process_bytes): Likewise.
33279 (md5_process_block): Rename to __md5_process_block and move to ...
33280 * crypt/md5-block.c: ... here.
33281 * crypt/sha256.c (sha256_process_block): Move to ...
33282 * crypt/sha256-block.c: ... here.
33283 * crypt/sha512.c (sha512_process_block): Move to ...
33284 * crypt/sha512-block.c: ... here.
33285 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33287 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33288 * sysdeps/sparc/sparc64/multiarch/Makefile
33289 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33291 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33292 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33294 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33295 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33296 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33297 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33298 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33299 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33300 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33301 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33302 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33304 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33305 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33307 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33309 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33311 * timezone/tzselect.ksh: Update from tzcode git revision
33312 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33313 * timezone/zdump.c: Likewise.
33314 * timezone/zic.c: Likewise.
33315 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33316 in TZVERSION setting, not $(PKGVERSION).
33317 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33318 REPORT_BUGS_TO settings.
33321 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33324 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33326 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33327 detection to immediately after _FP_ROUND().
33328 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33331 2012-11-11 David S. Miller <davem@davemloft.net>
33333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33335 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33336 __close rather than their public counterparts.
33338 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33340 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33342 [UNIX98] (sem_timedwait): Do not expect.
33343 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33344 [XPG4 || UNIX98] (sockatmark): Do not expect.
33345 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33346 (clock_getcpuclockid): Do not expect.
33347 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33348 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33350 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33351 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33352 [UNIX98] (vwscanf): Likewise.
33353 [UNIX98] (vswscanf): Likewise.
33355 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33357 * timezone/version.h: Remove file.
33358 * timezone/README: Do not refer to version.h.
33359 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33360 $(objpfx)version.h.
33361 ($(objpfx)zdump.o): Likewise.
33362 ($(objpfx)version.h): New target.
33364 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33366 * timezone/README: Don't mention modification to tzselect.ksh.
33367 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33368 work on unmodified tzselect.ksh. Substitute version numbers in
33371 * Makefile (format-me): Remove.
33372 (INSTALL): Adjust indentation. Use commands directly instead of
33373 using $(format-me).
33375 * aclocal.m4 (ACX_PKGVERSION): New macro.
33376 (ACX_BUGURL): Likewise.
33377 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33378 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33379 (REPORT_BUGS_TO): Likewise.
33380 * configure: Regenerated.
33381 * config.h.in (PKGVERSION): New macro.
33382 (REPORT_BUGS_TO): Likewise.
33383 * config.make.in (PKGVERSION): New variable.
33384 (PKGVERSION_TEXI): Likewise.
33385 (REPORT_BUGS_TO): Likewise.
33386 (REPORT_BUGS_TEXI): Likewise.
33387 * Makefile (format-me): Use -I$(common-objpfx)manual.
33388 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33389 ($(common-objpfx)manual/%): New target.
33390 (manual/%): Remove target.
33391 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33392 (print_version): Use PKGVERSION.
33393 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33394 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33395 and REPORT_BUGS_TO.
33396 ($(objpfx)xtrace): Likewise.
33397 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33398 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33399 (print_version): Use PKGVERSION.
33400 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33401 (do_version): Use PKGVERSION.
33402 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33404 (common-ldd-rewrite): Likewise.
33405 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33406 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33407 (print_version): Use PKGVERSION.
33408 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33409 * elf/pldd.c (argp_program_bug_address): Remove variable.
33410 (more_help): New function.
33411 (argp): Use more_help.
33412 (print_version): Use PKGVERSION.
33413 * elf/sln.c (main): Use PKGVERSION.
33414 (usage): Use REPORT_BUGS_TO.
33415 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33416 (top level): Use PKGVERSION.
33417 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33418 (print_version): Use PKGVERSION.
33419 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33420 (print_version): Use PKGVERSION.
33421 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33422 (print_version): Use PKGVERSION.
33423 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33424 (print_version): Use PKGVERSION.
33425 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33426 (print_version): Use PKGVERSION.
33427 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33428 (print_version): Use PKGVERSION.
33429 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33431 ($(objpfx)memusage): Likewise.
33432 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33433 (do_version): Use PKGVERSION.
33434 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33435 (print_version): Use PKGVERSION.
33436 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33437 ($PKGVERSION): New variable.
33438 ($REPORT_BUGS_TO): Likewise.
33439 (usage): Use $REPORT_BUGS_TO.
33440 (top level): Use $PKGVERSION.
33441 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33442 ($(objpfx)pkgvers.texi): New rule.
33443 ($(objpfx)stamp-pkgvers): Likewise.
33444 * manual/install.texi: Include pkgvers.texi.
33445 (--with-pkgversion): Document new configure option.
33446 (--with-bugurl): Likewise.
33447 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33448 than necessarily for this particular distribution. Use
33449 REPORT_BUGS_TO for where to report bugs.
33450 * INSTALL: Regenerated.
33451 * manual/libc.texinfo: Include pkgvers.texi.
33452 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33453 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33454 (print_version): Use PKGVERSION.
33455 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33456 (print_version): Use PKGVERSION.
33457 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33458 (print_version): Use PKGVERSION.
33459 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33460 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33462 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33463 (print_version): Use PKGVERSION.
33464 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33465 (print_version): Use PKGVERSION.
33466 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33469 * timezone/checktab.awk: Update from tzcode 2012i.
33470 * timezone/ialloc.c: Likewise.
33471 * timezone/private.h: Likewise.
33472 * timezone/scheck.c: Likewise.
33473 * timezone/tzfile.h: Likewise.
33474 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33475 (TZVERSION): Hardcode tzcode version number.
33476 * timezone/zdump.c: Update from tzcode 2012i.
33477 * timezone/zic.c: Likewise.
33478 * timezone/version.h: New file.
33479 * timezone/README: Describe version.h. Update upstream location.
33482 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33483 (mktemp): Enable declaration.
33484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33501 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33502 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33503 for copies of such integer values.
33504 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33505 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33507 2012-11-09 Andreas Jaeger <aj@suse.de>
33509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33510 definitions and declarations that are provided by
33511 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33513 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33515 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33516 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33517 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33520 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33522 * elf/elf.h: Update comment before AArch64 relocations.
33524 2012-11-07 David S. Miller <davem@davemloft.net>
33526 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33527 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33528 (__start_context): Declare.
33529 (__makecontext_ret): Delete.
33530 (__makecontext): Hook up __start_context instead of
33532 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33533 (sysdep_routines): Add __start_context when in stdlib.
33535 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33537 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33538 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33539 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33541 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33542 (READELF): New variable. Use it instead of hardcoded "readelf".
33544 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33546 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33547 * sysdeps/x86/Makefile: Here.
33548 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33549 * sysdeps/x86/tst-xmmymm.sh: This.
33551 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33553 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33555 [UNIX98] (pthread_barrier_t): Do not expect.
33556 [UNIX98] (pthread_barrierattr_t): Likewise.
33557 [UNIX98] (pthread_spinlock_t): Likewise.
33558 [UNIX98] (pthread_barrier_destroy): Likewise.
33559 [UNIX98] (pthread_barrier_init): Likewise.
33560 [UNIX98] (pthread_barrier_wait): Likewise.
33561 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33562 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33563 [UNIX98] (pthread_barrierattr_init): Likewise.
33564 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33565 [UNIX98] (pthread_getcpuclockid): Likewise.
33566 [UNIX98] (pthread_mutex_timedlock): Likewise.
33567 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33568 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33569 [UNIX98] (pthread_sigmask): Likewise.
33570 [UNIX98] (pthread_spin_destroy): Likewise.
33571 [UNIX98] (pthread_spin_init): Likewise.
33572 [UNIX98] (pthread_spin_lock): Likewise.
33573 [UNIX98] (pthread_spin_trylock): Likewise.
33574 [UNIX98] (pthread_spin_unlock): Likewise.
33575 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33577 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33579 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33580 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33581 [XPG3 || XPG4] (pthread_key_t): Likewise.
33582 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33583 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33584 [XPG3 || XPG4] (pthread_once_t): Likewise.
33585 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33586 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33587 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33588 [XPG3 || XPG4] (pthread_t): Likewise.
33590 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33592 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33594 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33595 Change function return type to int.
33597 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33598 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33599 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33600 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33601 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33602 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33603 [!POSIX] (posix_madvise): Likewise.
33604 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33606 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33607 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33608 (mode_t): Likewise.
33609 (posix_mem_offset): Likewise.
33610 (posix_typed_mem_get_info): Likewise.
33611 (posix_typed_mem_open): Likewise.
33613 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33614 Change condition to [XOPEN2K8].
33616 * conform/conformtest.pl: Preprocess allow-header data with -x c
33617 instead of from stdin.
33618 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33619 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33620 [C99-based standards] (cerfc): Likewise.
33621 [C99-based standards] (cexp2): Likewise.
33622 [C99-based standards] (cexpm1): Likewise.
33623 [C99-based standards] (clog10): Likewise.
33624 [C99-based standards] (clog1p): Likewise.
33625 [C99-based standards] (clog2): Likewise.
33626 [C99-based standards] (clgamma): Likewise.
33627 [C99-based standards] (ctgamma): Likewise.
33628 [C99-based standards] (cerff): Likewise.
33629 [C99-based standards] (cerfcf): Likewise.
33630 [C99-based standards] (cexp2f): Likewise.
33631 [C99-based standards] (cexpm1f): Likewise.
33632 [C99-based standards] (clog10f): Likewise.
33633 [C99-based standards] (clog1pf): Likewise.
33634 [C99-based standards] (clog2f): Likewise.
33635 [C99-based standards] (clgammaf): Likewise.
33636 [C99-based standards] (ctgammaf): Likewise.
33637 [C99-based standards] (cerfl): Likewise.
33638 [C99-based standards] (cerfcl): Likewise.
33639 [C99-based standards] (cexp2l): Likewise.
33640 [C99-based standards] (cexpm1l): Likewise.
33641 [C99-based standards] (clog10l): Likewise.
33642 [C99-based standards] (clog1pl): Likewise.
33643 [C99-based standards] (clog2l): Likewise.
33644 [C99-based standards] (clgammal): Likewise.
33645 [C99-based standards] (ctgammal): Likewise.
33646 * conform/data/inttypes.h-data [C99-based standards]: Include
33647 stdint.h-data. Remove all expectations for stdint.h contents.
33648 [C99-based standards] (PRI*): Do not allow.
33649 [C99-based standards] (SCN*): Likewise.
33650 [C99-based standards] (*_t): Likewise.
33651 [C99-based-standards] (PRId8): Expect macro.
33652 [C99-based-standards] (PRIi8): Likewise.
33653 [C99-based-standards] (PRIo8): Likewise.
33654 [C99-based-standards] (PRIu8): Likewise.
33655 [C99-based-standards] (PRIx8): Likewise.
33656 [C99-based-standards] (PRIX8): Likewise.
33657 [C99-based-standards] (SCNd8): Likewise.
33658 [C99-based-standards] (SCNi8): Likewise.
33659 [C99-based-standards] (SCNo8): Likewise.
33660 [C99-based-standards] (SCNu8): Likewise.
33661 [C99-based-standards] (SCNx8): Likewise.
33662 [C99-based-standards] (PRIdLEAST8): Likewise.
33663 [C99-based-standards] (PRIiLEAST8): Likewise.
33664 [C99-based-standards] (PRIoLEAST8): Likewise.
33665 [C99-based-standards] (PRIuLEAST8): Likewise.
33666 [C99-based-standards] (PRIxLEAST8): Likewise.
33667 [C99-based-standards] (PRIXLEAST8): Likewise.
33668 [C99-based-standards] (SCNdLEAST8): Likewise.
33669 [C99-based-standards] (SCNiLEAST8): Likewise.
33670 [C99-based-standards] (SCNoLEAST8): Likewise.
33671 [C99-based-standards] (SCNuLEAST8): Likewise.
33672 [C99-based-standards] (SCNxLEAST8): Likewise.
33673 [C99-based-standards] (PRIdFAST8): Likewise.
33674 [C99-based-standards] (PRIiFAST8): Likewise.
33675 [C99-based-standards] (PRIoFAST8): Likewise.
33676 [C99-based-standards] (PRIuFAST8): Likewise.
33677 [C99-based-standards] (PRIxFAST8): Likewise.
33678 [C99-based-standards] (PRIXFAST8): Likewise.
33679 [C99-based-standards] (SCNdFAST8): Likewise.
33680 [C99-based-standards] (SCNiFAST8): Likewise.
33681 [C99-based-standards] (SCNoFAST8): Likewise.
33682 [C99-based-standards] (SCNuFAST8): Likewise.
33683 [C99-based-standards] (SCNxFAST8): Likewise.
33684 [C99-based-standards] (PRId16): Likewise.
33685 [C99-based-standards] (PRIi16): Likewise.
33686 [C99-based-standards] (PRIo16): Likewise.
33687 [C99-based-standards] (PRIu16): Likewise.
33688 [C99-based-standards] (PRIx16): Likewise.
33689 [C99-based-standards] (PRIX16): Likewise.
33690 [C99-based-standards] (SCNd16): Likewise.
33691 [C99-based-standards] (SCNi16): Likewise.
33692 [C99-based-standards] (SCNo16): Likewise.
33693 [C99-based-standards] (SCNu16): Likewise.
33694 [C99-based-standards] (SCNx16): Likewise.
33695 [C99-based-standards] (PRIdLEAST16): Likewise.
33696 [C99-based-standards] (PRIiLEAST16): Likewise.
33697 [C99-based-standards] (PRIoLEAST16): Likewise.
33698 [C99-based-standards] (PRIuLEAST16): Likewise.
33699 [C99-based-standards] (PRIxLEAST16): Likewise.
33700 [C99-based-standards] (PRIXLEAST16): Likewise.
33701 [C99-based-standards] (SCNdLEAST16): Likewise.
33702 [C99-based-standards] (SCNiLEAST16): Likewise.
33703 [C99-based-standards] (SCNoLEAST16): Likewise.
33704 [C99-based-standards] (SCNuLEAST16): Likewise.
33705 [C99-based-standards] (SCNxLEAST16): Likewise.
33706 [C99-based-standards] (PRIdFAST16): Likewise.
33707 [C99-based-standards] (PRIiFAST16): Likewise.
33708 [C99-based-standards] (PRIoFAST16): Likewise.
33709 [C99-based-standards] (PRIuFAST16): Likewise.
33710 [C99-based-standards] (PRIxFAST16): Likewise.
33711 [C99-based-standards] (PRIXFAST16): Likewise.
33712 [C99-based-standards] (SCNdFAST16): Likewise.
33713 [C99-based-standards] (SCNiFAST16): Likewise.
33714 [C99-based-standards] (SCNoFAST16): Likewise.
33715 [C99-based-standards] (SCNuFAST16): Likewise.
33716 [C99-based-standards] (SCNxFAST16): Likewise.
33717 [C99-based-standards] (PRId32): Likewise.
33718 [C99-based-standards] (PRIi32): Likewise.
33719 [C99-based-standards] (PRIo32): Likewise.
33720 [C99-based-standards] (PRIu32): Likewise.
33721 [C99-based-standards] (PRIx32): Likewise.
33722 [C99-based-standards] (PRIX32): Likewise.
33723 [C99-based-standards] (SCNd32): Likewise.
33724 [C99-based-standards] (SCNi32): Likewise.
33725 [C99-based-standards] (SCNo32): Likewise.
33726 [C99-based-standards] (SCNu32): Likewise.
33727 [C99-based-standards] (SCNx32): Likewise.
33728 [C99-based-standards] (PRIdLEAST32): Likewise.
33729 [C99-based-standards] (PRIiLEAST32): Likewise.
33730 [C99-based-standards] (PRIoLEAST32): Likewise.
33731 [C99-based-standards] (PRIuLEAST32): Likewise.
33732 [C99-based-standards] (PRIxLEAST32): Likewise.
33733 [C99-based-standards] (PRIXLEAST32): Likewise.
33734 [C99-based-standards] (SCNdLEAST32): Likewise.
33735 [C99-based-standards] (SCNiLEAST32): Likewise.
33736 [C99-based-standards] (SCNoLEAST32): Likewise.
33737 [C99-based-standards] (SCNuLEAST32): Likewise.
33738 [C99-based-standards] (SCNxLEAST32): Likewise.
33739 [C99-based-standards] (PRIdFAST32): Likewise.
33740 [C99-based-standards] (PRIiFAST32): Likewise.
33741 [C99-based-standards] (PRIoFAST32): Likewise.
33742 [C99-based-standards] (PRIuFAST32): Likewise.
33743 [C99-based-standards] (PRIxFAST32): Likewise.
33744 [C99-based-standards] (PRIXFAST32): Likewise.
33745 [C99-based-standards] (SCNdFAST32): Likewise.
33746 [C99-based-standards] (SCNiFAST32): Likewise.
33747 [C99-based-standards] (SCNoFAST32): Likewise.
33748 [C99-based-standards] (SCNuFAST32): Likewise.
33749 [C99-based-standards] (SCNxFAST32): Likewise.
33750 [C99-based-standards] (PRId64): Likewise.
33751 [C99-based-standards] (PRIi64): Likewise.
33752 [C99-based-standards] (PRIo64): Likewise.
33753 [C99-based-standards] (PRIu64): Likewise.
33754 [C99-based-standards] (PRIx64): Likewise.
33755 [C99-based-standards] (PRIX64): Likewise.
33756 [C99-based-standards] (SCNd64): Likewise.
33757 [C99-based-standards] (SCNi64): Likewise.
33758 [C99-based-standards] (SCNo64): Likewise.
33759 [C99-based-standards] (SCNu64): Likewise.
33760 [C99-based-standards] (SCNx64): Likewise.
33761 [C99-based-standards] (PRIdLEAST64): Likewise.
33762 [C99-based-standards] (PRIiLEAST64): Likewise.
33763 [C99-based-standards] (PRIoLEAST64): Likewise.
33764 [C99-based-standards] (PRIuLEAST64): Likewise.
33765 [C99-based-standards] (PRIxLEAST64): Likewise.
33766 [C99-based-standards] (PRIXLEAST64): Likewise.
33767 [C99-based-standards] (SCNdLEAST64): Likewise.
33768 [C99-based-standards] (SCNiLEAST64): Likewise.
33769 [C99-based-standards] (SCNoLEAST64): Likewise.
33770 [C99-based-standards] (SCNuLEAST64): Likewise.
33771 [C99-based-standards] (SCNxLEAST64): Likewise.
33772 [C99-based-standards] (PRIdFAST64): Likewise.
33773 [C99-based-standards] (PRIiFAST64): Likewise.
33774 [C99-based-standards] (PRIoFAST64): Likewise.
33775 [C99-based-standards] (PRIuFAST64): Likewise.
33776 [C99-based-standards] (PRIxFAST64): Likewise.
33777 [C99-based-standards] (PRIXFAST64): Likewise.
33778 [C99-based-standards] (SCNdFAST64): Likewise.
33779 [C99-based-standards] (SCNiFAST64): Likewise.
33780 [C99-based-standards] (SCNoFAST64): Likewise.
33781 [C99-based-standards] (SCNuFAST64): Likewise.
33782 [C99-based-standards] (SCNxFAST64): Likewise.
33783 [C99-based-standards] (PRIdMAX): Likewise.
33784 [C99-based-standards] (PRIiMAX): Likewise.
33785 [C99-based-standards] (PRIoMAX): Likewise.
33786 [C99-based-standards] (PRIuMAX): Likewise.
33787 [C99-based-standards] (PRIxMAX): Likewise.
33788 [C99-based-standards] (PRIXMAX): Likewise.
33789 [C99-based-standards] (SCNdMAX): Likewise.
33790 [C99-based-standards] (SCNiMAX): Likewise.
33791 [C99-based-standards] (SCNoMAX): Likewise.
33792 [C99-based-standards] (SCNuMAX): Likewise.
33793 [C99-based-standards] (SCNxMAX): Likewise.
33794 [C99-based-standards] (PRIdPTR): Likewise.
33795 [C99-based-standards] (PRIiPTR): Likewise.
33796 [C99-based-standards] (PRIoPTR): Likewise.
33797 [C99-based-standards] (PRIuPTR): Likewise.
33798 [C99-based-standards] (PRIxPTR): Likewise.
33799 [C99-based-standards] (PRIXPTR): Likewise.
33800 [C99-based-standards] (SCNdPTR): Likewise.
33801 [C99-based-standards] (SCNiPTR): Likewise.
33802 [C99-based-standards] (SCNoPTR): Likewise.
33803 [C99-based-standards] (SCNuPTR): Likewise.
33804 [C99-based-standards] (SCNxPTR): Likewise.
33805 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33807 * conform/data/stdint.h-data: Update comments to clarify
33809 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33811 [C99-based standards] (INT8_MAX): Likewise.
33812 [C99-based standards] (INT16_MIN): Likewise.
33813 [C99-based standards] (INT16_MAX): Likewise.
33814 [C99-based standards] (INT32_MIN): Likewise.
33815 [C99-based standards] (INT32_MAX): Likewise.
33816 [C99-based standards] (INT64_MIN): Likewise.
33817 [C99-based standards] (INT64_MAX): Likewise.
33818 [C99-based standards] (UINT8_MAX): Likewise.
33819 [C99-based standards] (UINT16_MAX): Likewise.
33820 [C99-based standards] (UINT32_MAX): Likewise.
33821 [C99-based standards] (UINT64_MAX): Likewise.
33822 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33823 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33824 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33825 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33826 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33827 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33828 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33829 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33830 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33831 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33832 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33833 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33834 [C99-based standards] (INT_FAST8_MIN): Likewise.
33835 [C99-based standards] (INT_FAST8_MAX): Likewise.
33836 [C99-based standards] (INT_FAST16_MIN): Likewise.
33837 [C99-based standards] (INT_FAST16_MAX): Likewise.
33838 [C99-based standards] (INT_FAST32_MIN): Likewise.
33839 [C99-based standards] (INT_FAST32_MAX): Likewise.
33840 [C99-based standards] (INT_FAST64_MIN): Likewise.
33841 [C99-based standards] (INT_FAST64_MAX): Likewise.
33842 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33843 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33844 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33845 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33846 [C99-based standards] (INTPTR_MIN): Likewise.
33847 [C99-based standards] (INTPTR_MAX): Likewise.
33848 [C99-based standards] (UINTPTR_MAX): Likewise.
33849 [C99-based standards] (INTMAX_MIN): Likewise.
33850 [C99-based standards] (INTMAX_MAX): Likewise.
33851 [C99-based standards] (UINTMAX_MAX): Likewise.
33852 [C99-based standards] (PTRDIFF_MIN): Likewise.
33853 [C99-based standards] (PTRDIFF_MAX): Likewise.
33854 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33855 [C99-based standards] (SIZE_MAX): Likewise.
33856 [C99-based standards] (WCHAR_MAX): Likewise.
33857 [C99-based standards] (WINT_MAX): Likewise.
33858 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33859 constraint on value.
33860 [C99-based standards] (WCHAR_MIN): Likewise.
33861 [C99-based standards] (WINT_MIN): Likewise.
33862 [C99-based standards] (*_t): Allow.
33863 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33864 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33865 Include math.h-data and complex.h-data. Remove all expectations
33866 of math.h and complex.h contents.
33867 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33869 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33870 (struct tm): Expect tag.
33871 [C99-based-standards] (wcstof): Expect function.
33872 [C99-based-standards] (wcstold): Likewise.
33873 [C99-based-standards] (wcstoll): Likewise.
33874 [C99-based-standards] (wcstoull): Likewise.
33875 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33876 macro-int-constant. Specify type.
33877 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33878 constraint on value.
33879 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33881 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33883 [ISO C standards]: Do not allow headers.
33884 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33885 wcs[abcdefghijklmnopqrstuvwxyz]*.
33886 [ISO C standards] (*_t): Do not allow.
33887 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33889 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33890 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33892 [ISO C standards]: Do not allow headers.
33893 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33894 is[abcdefghijklmnopqrstuvwxyz]*.
33895 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33896 to[abcdefghijklmnopqrstuvwxyz]*.
33897 [ISO C standards] (*_t): Do not allow.
33898 * conform/data/stdalign.h-data: New file.
33899 * conform/data/stdbool.h-data: Likewise.
33900 * conform/data/stdnoreturn.h-data: Likewise.
33902 2012-11-07 Roland McGrath <roland@hack.frob.com>
33905 * manual/filesys.texi (Directory Entries): Typo fix.
33906 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33908 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33910 * elf/elf.h (EM_AARCH64): New macro.
33911 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33912 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33913 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33914 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33915 (R_AARCH64_TLSDESC): Likewise.
33916 (NT_ARM_TLS): Likewise.
33917 (NT_ARM_HW_BREAK): Likewise.
33918 (NT_ARM_HW_WATCH): Likewise.
33920 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33923 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33924 (__ieee754_powl): Saturate nonzero exponents with absolute value
33925 below 0x1p-79 to +/- 0x1p-79.
33926 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33927 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33928 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33929 nonzero exponents with absolute value below 0x1p-32 to +/-
33931 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33932 (__ieee754_powl): Saturate nonzero exponents with absolute value
33933 below 0x1p-79 to +/- 0x1p-79.
33934 * math/libm-test.inc (pow_test): Add more tests.
33936 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33938 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33939 _dl_s390_cap_flags with kernel. Increase string length.
33940 (_dl_s390_platforms): Add z196 and zEC12.
33942 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33944 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33945 Change XOPEN21K to XOPEN2K.
33947 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33949 * string/memmove.c: Use memcpy when possible.
33951 2012-11-06 Andreas Jaeger <aj@suse.de>
33953 * po/eo.po: Update from translation team.
33955 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33959 exponent and small x and y exponents, scale x or y up. Increase
33960 by 2 the exponent used in scaling up.
33961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33963 * math/libm-test.inc (fma_test): Add more tests.
33964 (fma_test_towardzero): Likewise.
33965 (fma_test_downward): Likewise.
33966 (fma_test_upward): Likewise.
33968 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33971 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33975 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33976 namespace for names of struct fields.
33977 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33979 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33980 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33982 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33985 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33987 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33989 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33993 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33996 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34000 definitely overflow as x * y not x * y + z.
34001 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34002 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34003 * math/libm-test.inc (fma_test): Add more tests.
34004 (fma_test_towardzero): Likewise.
34005 (fma_test_downward): Likewise.
34006 (fma_test_upward): Likewise.
34008 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34012 * include/stub-tag.h: Remove file.
34013 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34015 * manual/maint.texi (Porting): Don't reference it.
34016 * Makerules ($(objpfx)stubs): Likewise.
34017 * dirent/closedir.c: Don't include <stub-tag.h>.
34018 * dirent/dirfd.c: Likewise.
34019 * dirent/fdopendir.c: Likewise.
34020 * dirent/getdents.c: Likewise.
34021 * dirent/getdents64.c: Likewise.
34022 * dirent/opendir.c: Likewise.
34023 * dirent/readdir.c: Likewise.
34024 * dirent/readdir64.c: Likewise.
34025 * dirent/readdir64_r.c: Likewise.
34026 * dirent/readdir_r.c: Likewise.
34027 * dirent/rewinddir.c: Likewise.
34028 * dirent/seekdir.c: Likewise.
34029 * dirent/telldir.c: Likewise.
34030 * gmon/profil.c: Likewise.
34031 * grp/setgroups.c: Likewise.
34032 * inet/if_index.c: Likewise.
34033 * io/access.c: Likewise.
34034 * io/chdir.c: Likewise.
34035 * io/chmod.c: Likewise.
34036 * io/chown.c: Likewise.
34037 * io/close.c: Likewise.
34038 * io/dup.c: Likewise.
34039 * io/dup2.c: Likewise.
34040 * io/dup3.c: Likewise.
34041 * io/euidaccess.c: Likewise.
34042 * io/faccessat.c: Likewise.
34043 * io/fchdir.c: Likewise.
34044 * io/fchmod.c: Likewise.
34045 * io/fchmodat.c: Likewise.
34046 * io/fchown.c: Likewise.
34047 * io/fchownat.c: Likewise.
34048 * io/fcntl.c: Likewise.
34049 * io/flock.c: Likewise.
34050 * io/fstatfs.c: Likewise.
34051 * io/fstatfs64.c: Likewise.
34052 * io/fstatvfs.c: Likewise.
34053 * io/fstatvfs64.c: Likewise.
34054 * io/futimens.c: Likewise.
34055 * io/fxstat.c: Likewise.
34056 * io/fxstat64.c: Likewise.
34057 * io/fxstatat.c: Likewise.
34058 * io/fxstatat64.c: Likewise.
34059 * io/getcwd.c: Likewise.
34060 * io/isatty.c: Likewise.
34061 * io/lchmod.c: Likewise.
34062 * io/lchown.c: Likewise.
34063 * io/link.c: Likewise.
34064 * io/linkat.c: Likewise.
34065 * io/lseek.c: Likewise.
34066 * io/lseek64.c: Likewise.
34067 * io/lxstat64.c: Likewise.
34068 * io/mkdir.c: Likewise.
34069 * io/mkdirat.c: Likewise.
34070 * io/mkfifo.c: Likewise.
34071 * io/mkfifoat.c: Likewise.
34072 * io/open.c: Likewise.
34073 * io/open64.c: Likewise.
34074 * io/openat.c: Likewise.
34075 * io/openat64.c: Likewise.
34076 * io/pipe.c: Likewise.
34077 * io/pipe2.c: Likewise.
34078 * io/poll.c: Likewise.
34079 * io/posix_fadvise.c: Likewise.
34080 * io/posix_fadvise64.c: Likewise.
34081 * io/posix_fallocate.c: Likewise.
34082 * io/posix_fallocate64.c: Likewise.
34083 * io/read.c: Likewise.
34084 * io/readlink.c: Likewise.
34085 * io/readlinkat.c: Likewise.
34086 * io/rmdir.c: Likewise.
34087 * io/sendfile.c: Likewise.
34088 * io/sendfile64.c: Likewise.
34089 * io/statfs.c: Likewise.
34090 * io/statfs64.c: Likewise.
34091 * io/statvfs.c: Likewise.
34092 * io/statvfs64.c: Likewise.
34093 * io/symlink.c: Likewise.
34094 * io/symlinkat.c: Likewise.
34095 * io/ttyname.c: Likewise.
34096 * io/ttyname_r.c: Likewise.
34097 * io/umask.c: Likewise.
34098 * io/unlink.c: Likewise.
34099 * io/unlinkat.c: Likewise.
34100 * io/utime.c: Likewise.
34101 * io/utimensat.c: Likewise.
34102 * io/write.c: Likewise.
34103 * io/xmknod.c: Likewise.
34104 * io/xmknodat.c: Likewise.
34105 * io/xstat.c: Likewise.
34106 * io/xstat64.c: Likewise.
34107 * login/getpt.c: Likewise.
34108 * login/grantpt.c: Likewise.
34109 * login/unlockpt.c: Likewise.
34110 * math/e_acoshl.c: Likewise.
34111 * math/e_acosl.c: Likewise.
34112 * math/e_asinl.c: Likewise.
34113 * math/e_atan2l.c: Likewise.
34114 * math/e_atanhl.c: Likewise.
34115 * math/e_coshl.c: Likewise.
34116 * math/e_expl.c: Likewise.
34117 * math/e_fmodl.c: Likewise.
34118 * math/e_gammal_r.c: Likewise.
34119 * math/e_hypotl.c: Likewise.
34120 * math/e_j0l.c: Likewise.
34121 * math/e_j1l.c: Likewise.
34122 * math/e_jnl.c: Likewise.
34123 * math/e_lgammal_r.c: Likewise.
34124 * math/e_log10l.c: Likewise.
34125 * math/e_log2l.c: Likewise.
34126 * math/e_logl.c: Likewise.
34127 * math/e_powl.c: Likewise.
34128 * math/e_rem_pio2l.c: Likewise.
34129 * math/e_sinhl.c: Likewise.
34130 * math/e_sqrtl.c: Likewise.
34131 * math/fclrexcpt.c: Likewise.
34132 * math/fedisblxcpt.c: Likewise.
34133 * math/feenablxcpt.c: Likewise.
34134 * math/fegetenv.c: Likewise.
34135 * math/fegetexcept.c: Likewise.
34136 * math/fegetround.c: Likewise.
34137 * math/feholdexcpt.c: Likewise.
34138 * math/fesetenv.c: Likewise.
34139 * math/fesetround.c: Likewise.
34140 * math/feupdateenv.c: Likewise.
34141 * math/fgetexcptflg.c: Likewise.
34142 * math/fraiseexcpt.c: Likewise.
34143 * math/fsetexcptflg.c: Likewise.
34144 * math/ftestexcept.c: Likewise.
34145 * math/k_cosl.c: Likewise.
34146 * math/k_rem_pio2l.c: Likewise.
34147 * math/k_sinl.c: Likewise.
34148 * math/k_tanl.c: Likewise.
34149 * math/s_asinhl.c: Likewise.
34150 * math/s_atanl.c: Likewise.
34151 * math/s_cbrtl.c: Likewise.
34152 * math/s_erfl.c: Likewise.
34153 * math/s_expm1l.c: Likewise.
34154 * math/s_log1pl.c: Likewise.
34155 * math/s_tanhl.c: Likewise.
34156 * misc/acct.c: Likewise.
34157 * misc/brk.c: Likewise.
34158 * misc/chflags.c: Likewise.
34159 * misc/chroot.c: Likewise.
34160 * misc/fchflags.c: Likewise.
34161 * misc/fgetxattr.c: Likewise.
34162 * misc/flistxattr.c: Likewise.
34163 * misc/fremovexattr.c: Likewise.
34164 * misc/fsetxattr.c: Likewise.
34165 * misc/fsync.c: Likewise.
34166 * misc/ftruncate.c: Likewise.
34167 * misc/futimes.c: Likewise.
34168 * misc/futimesat.c: Likewise.
34169 * misc/getdomain.c: Likewise.
34170 * misc/getdtsz.c: Likewise.
34171 * misc/gethostid.c: Likewise.
34172 * misc/gethostname.c: Likewise.
34173 * misc/getloadavg.c: Likewise.
34174 * misc/getpagesize.c: Likewise.
34175 * misc/getsysstats.c: Likewise.
34176 * misc/getxattr.c: Likewise.
34177 * misc/gtty.c: Likewise.
34178 * misc/ioctl.c: Likewise.
34179 * misc/lgetxattr.c: Likewise.
34180 * misc/listxattr.c: Likewise.
34181 * misc/llistxattr.c: Likewise.
34182 * misc/lremovexattr.c: Likewise.
34183 * misc/lsetxattr.c: Likewise.
34184 * misc/lutimes.c: Likewise.
34185 * misc/madvise.c: Likewise.
34186 * misc/mincore.c: Likewise.
34187 * misc/mlock.c: Likewise.
34188 * misc/mlockall.c: Likewise.
34189 * misc/mmap.c: Likewise.
34190 * misc/mprotect.c: Likewise.
34191 * misc/msync.c: Likewise.
34192 * misc/munlock.c: Likewise.
34193 * misc/munlockall.c: Likewise.
34194 * misc/munmap.c: Likewise.
34195 * misc/preadv.c: Likewise.
34196 * misc/preadv64.c: Likewise.
34197 * misc/ptrace.c: Likewise.
34198 * misc/pwritev.c: Likewise.
34199 * misc/pwritev64.c: Likewise.
34200 * misc/readv.c: Likewise.
34201 * misc/reboot.c: Likewise.
34202 * misc/remap_file_pages.c: Likewise.
34203 * misc/removexattr.c: Likewise.
34204 * misc/revoke.c: Likewise.
34205 * misc/select.c: Likewise.
34206 * misc/setdomain.c: Likewise.
34207 * misc/setegid.c: Likewise.
34208 * misc/seteuid.c: Likewise.
34209 * misc/sethostid.c: Likewise.
34210 * misc/sethostname.c: Likewise.
34211 * misc/setregid.c: Likewise.
34212 * misc/setreuid.c: Likewise.
34213 * misc/setxattr.c: Likewise.
34214 * misc/sstk.c: Likewise.
34215 * misc/stty.c: Likewise.
34216 * misc/swapoff.c: Likewise.
34217 * misc/swapon.c: Likewise.
34218 * misc/sync.c: Likewise.
34219 * misc/syncfs.c: Likewise.
34220 * misc/syscall.c: Likewise.
34221 * misc/truncate.c: Likewise.
34222 * misc/ualarm.c: Likewise.
34223 * misc/usleep.c: Likewise.
34224 * misc/ustat.c: Likewise.
34225 * misc/utimes.c: Likewise.
34226 * misc/vhangup.c: Likewise.
34227 * misc/writev.c: Likewise.
34228 * posix/_exit.c: Likewise.
34229 * posix/alarm.c: Likewise.
34230 * posix/execve.c: Likewise.
34231 * posix/fexecve.c: Likewise.
34232 * posix/fork.c: Likewise.
34233 * posix/fpathconf.c: Likewise.
34234 * posix/getaddrinfo.c: Likewise.
34235 * posix/getegid.c: Likewise.
34236 * posix/geteuid.c: Likewise.
34237 * posix/getgid.c: Likewise.
34238 * posix/getgroups.c: Likewise.
34239 * posix/getlogin.c: Likewise.
34240 * posix/getlogin_r.c: Likewise.
34241 * posix/getpgid.c: Likewise.
34242 * posix/getpid.c: Likewise.
34243 * posix/getppid.c: Likewise.
34244 * posix/getresgid.c: Likewise.
34245 * posix/getresuid.c: Likewise.
34246 * posix/getsid.c: Likewise.
34247 * posix/getuid.c: Likewise.
34248 * posix/glob64.c: Likewise.
34249 * posix/nanosleep.c: Likewise.
34250 * posix/pathconf.c: Likewise.
34251 * posix/pause.c: Likewise.
34252 * posix/posix_madvise.c: Likewise.
34253 * posix/pread.c: Likewise.
34254 * posix/pread64.c: Likewise.
34255 * posix/pwrite.c: Likewise.
34256 * posix/pwrite64.c: Likewise.
34257 * posix/sched_getaffinity.c: Likewise.
34258 * posix/sched_getp.c: Likewise.
34259 * posix/sched_gets.c: Likewise.
34260 * posix/sched_primax.c: Likewise.
34261 * posix/sched_primin.c: Likewise.
34262 * posix/sched_rr_gi.c: Likewise.
34263 * posix/sched_setaffinity.c: Likewise.
34264 * posix/sched_setp.c: Likewise.
34265 * posix/sched_sets.c: Likewise.
34266 * posix/sched_yield.c: Likewise.
34267 * posix/setgid.c: Likewise.
34268 * posix/setlogin.c: Likewise.
34269 * posix/setpgid.c: Likewise.
34270 * posix/setresgid.c: Likewise.
34271 * posix/setresuid.c: Likewise.
34272 * posix/setsid.c: Likewise.
34273 * posix/setuid.c: Likewise.
34274 * posix/sleep.c: Likewise.
34275 * posix/spawni.c: Likewise.
34276 * posix/sysconf.c: Likewise.
34277 * posix/times.c: Likewise.
34278 * posix/wait.c: Likewise.
34279 * posix/wait3.c: Likewise.
34280 * posix/wait4.c: Likewise.
34281 * posix/waitpid.c: Likewise.
34282 * resolv/gai_sigqueue.c: Likewise.
34283 * resource/getpriority.c: Likewise.
34284 * resource/getrlimit.c: Likewise.
34285 * resource/getrusage.c: Likewise.
34286 * resource/nice.c: Likewise.
34287 * resource/setpriority.c: Likewise.
34288 * resource/setrlimit.c: Likewise.
34289 * resource/ulimit.c: Likewise.
34290 * rt/aio_cancel.c: Likewise.
34291 * rt/aio_fsync.c: Likewise.
34292 * rt/aio_read.c: Likewise.
34293 * rt/aio_sigqueue.c: Likewise.
34294 * rt/aio_suspend.c: Likewise.
34295 * rt/aio_write.c: Likewise.
34296 * rt/clock_getres.c: Likewise.
34297 * rt/clock_gettime.c: Likewise.
34298 * rt/clock_nanosleep.c: Likewise.
34299 * rt/clock_settime.c: Likewise.
34300 * rt/lio_listio.c: Likewise.
34301 * rt/mq_close.c: Likewise.
34302 * rt/mq_getattr.c: Likewise.
34303 * rt/mq_notify.c: Likewise.
34304 * rt/mq_open.c: Likewise.
34305 * rt/mq_receive.c: Likewise.
34306 * rt/mq_send.c: Likewise.
34307 * rt/mq_setattr.c: Likewise.
34308 * rt/mq_timedreceive.c: Likewise.
34309 * rt/mq_timedsend.c: Likewise.
34310 * rt/mq_unlink.c: Likewise.
34311 * rt/shm_open.c: Likewise.
34312 * rt/shm_unlink.c: Likewise.
34313 * rt/timer_create.c: Likewise.
34314 * rt/timer_delete.c: Likewise.
34315 * rt/timer_getoverr.c: Likewise.
34316 * rt/timer_gettime.c: Likewise.
34317 * rt/timer_settime.c: Likewise.
34318 * setjmp/__longjmp.c: Likewise.
34319 * setjmp/setjmp.c: Likewise.
34320 * signal/kill.c: Likewise.
34321 * signal/killpg.c: Likewise.
34322 * signal/raise.c: Likewise.
34323 * signal/sigaction.c: Likewise.
34324 * signal/sigaltstack.c: Likewise.
34325 * signal/sigblock.c: Likewise.
34326 * signal/sigignore.c: Likewise.
34327 * signal/sigintr.c: Likewise.
34328 * signal/signal.c: Likewise.
34329 * signal/sigpause.c: Likewise.
34330 * signal/sigpending.c: Likewise.
34331 * signal/sigqueue.c: Likewise.
34332 * signal/sigreturn.c: Likewise.
34333 * signal/sigset.c: Likewise.
34334 * signal/sigsetmask.c: Likewise.
34335 * signal/sigstack.c: Likewise.
34336 * signal/sigsuspend.c: Likewise.
34337 * signal/sigtimedwait.c: Likewise.
34338 * signal/sigvec.c: Likewise.
34339 * signal/sigwait.c: Likewise.
34340 * signal/sigwaitinfo.c: Likewise.
34341 * signal/sysv_signal.c: Likewise.
34342 * socket/accept.c: Likewise.
34343 * socket/accept4.c: Likewise.
34344 * socket/bind.c: Likewise.
34345 * socket/connect.c: Likewise.
34346 * socket/getpeername.c: Likewise.
34347 * socket/getsockname.c: Likewise.
34348 * socket/getsockopt.c: Likewise.
34349 * socket/isfdtype.c: Likewise.
34350 * socket/listen.c: Likewise.
34351 * socket/recv.c: Likewise.
34352 * socket/recvfrom.c: Likewise.
34353 * socket/recvmsg.c: Likewise.
34354 * socket/send.c: Likewise.
34355 * socket/sendmsg.c: Likewise.
34356 * socket/sendto.c: Likewise.
34357 * socket/setsockopt.c: Likewise.
34358 * socket/shutdown.c: Likewise.
34359 * socket/sockatmark.c: Likewise.
34360 * socket/socket.c: Likewise.
34361 * socket/socketpair.c: Likewise.
34362 * stdio-common/ctermid.c: Likewise.
34363 * stdio-common/cuserid.c: Likewise.
34364 * stdio-common/remove.c: Likewise.
34365 * stdio-common/rename.c: Likewise.
34366 * stdio-common/renameat.c: Likewise.
34367 * stdio-common/tempname.c: Likewise.
34368 * stdlib/getcontext.c: Likewise.
34369 * stdlib/makecontext.c: Likewise.
34370 * stdlib/setcontext.c: Likewise.
34371 * stdlib/swapcontext.c: Likewise.
34372 * stdlib/system.c: Likewise.
34373 * streams/fattach.c: Likewise.
34374 * streams/fdetach.c: Likewise.
34375 * streams/getmsg.c: Likewise.
34376 * streams/getpmsg.c: Likewise.
34377 * streams/putmsg.c: Likewise.
34378 * streams/putpmsg.c: Likewise.
34379 * sysdeps/unix/bsd/getpt.c: Likewise.
34380 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34381 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34382 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34385 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34386 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34387 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34388 * sysvipc/msgctl.c: Likewise.
34389 * sysvipc/msgget.c: Likewise.
34390 * sysvipc/msgrcv.c: Likewise.
34391 * sysvipc/msgsnd.c: Likewise.
34392 * sysvipc/semctl.c: Likewise.
34393 * sysvipc/semget.c: Likewise.
34394 * sysvipc/semop.c: Likewise.
34395 * sysvipc/semtimedop.c: Likewise.
34396 * sysvipc/shmat.c: Likewise.
34397 * sysvipc/shmctl.c: Likewise.
34398 * sysvipc/shmdt.c: Likewise.
34399 * sysvipc/shmget.c: Likewise.
34400 * termios/tcdrain.c: Likewise.
34401 * termios/tcflow.c: Likewise.
34402 * termios/tcflush.c: Likewise.
34403 * termios/tcgetattr.c: Likewise.
34404 * termios/tcgetpgrp.c: Likewise.
34405 * termios/tcsendbrk.c: Likewise.
34406 * termios/tcsetattr.c: Likewise.
34407 * termios/tcsetpgrp.c: Likewise.
34408 * time/adjtime.c: Likewise.
34409 * time/clock.c: Likewise.
34410 * time/getitimer.c: Likewise.
34411 * time/gettimeofday.c: Likewise.
34412 * time/setitimer.c: Likewise.
34413 * time/settimeofday.c: Likewise.
34414 * time/stime.c: Likewise.
34415 * time/time.c: Likewise.
34417 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34419 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34422 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34424 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34426 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34430 FE_TONEAREST before applying Dekker multiplication and Knuth
34431 addition. Clear inexact exceptions and check for exact zero
34432 results afterwards.
34433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34436 * math/libm-test.inc (fma_test): Add more tests.
34437 (fma_test_towardzero): Likewise.
34438 (fma_test_downward): Likewise.
34439 (fma_test_upward): Likewise.
34440 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34442 (libc_fesetround): New macro.
34443 (libc_fesetroundf): Likewise.
34444 (libc_fesetroundl): Likewise.
34445 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34447 (libc_fesetround_387): Likewise.
34448 (libc_fesetroundf): New macro.
34449 (libc_fesetround): Likewise.
34450 (libc_fesetroundl): Likewise.
34451 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34453 (libc_fesetroundf): New macro.
34454 (libc_fesetround): Likewise.
34455 (libc_fesetroundl): Likewise.
34456 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34457 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34458 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34460 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34461 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34463 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34464 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34466 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34470 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34471 integer constant usable in #if and use that to give value to enum
34473 (FE_DIVBYZERO): Likewise.
34474 (FE_UNDERFLOW): Likewise.
34475 (FE_OVERFLOW): Likewise.
34476 (FE_INVALID): Likewise.
34477 (FE_INVALID_SNAN): Likewise.
34478 (FE_INVALID_ISI): Likewise.
34479 (FE_INVALID_IDI): Likewise.
34480 (FE_INVALID_ZDZ): Likewise.
34481 (FE_INVALID_IMZ): Likewise.
34482 (FE_INVALID_COMPARE): Likewise.
34483 (FE_INVALID_SOFTWARE): Likewise.
34484 (FE_INVALID_SQRT): Likewise.
34485 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34486 (FE_TONEAREST): Likewise.
34487 (FE_TOWARDZERO): Likewise.
34488 (FE_UPWARD): Likewise.
34489 (FE_DOWNWARD): Likewise.
34490 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34491 (FE_DIVBYZERO): Likewise.
34492 (FE_OVERFLOW): Likewise.
34493 (FE_UNDERFLOW): Likewise.
34494 (FE_INEXACT): Likewise.
34495 (FE_TONEAREST): Likewise.
34496 (FE_DOWNWARD): Likewise.
34497 (FE_UPWARD): Likewise.
34498 (FE_TOWARDZERO): Likewise.
34499 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34500 (FE_UNDERFLOW): Likewise.
34501 (FE_OVERFLOW): Likewise.
34502 (FE_DIVBYZERO): Likewise.
34503 (FE_INVALID): Likewise.
34504 (FE_TONEAREST): Likewise.
34505 (FE_TOWARDZERO): Likewise.
34506 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34507 (FE_OVERFLOW): Likewise.
34508 (FE_UNDERFLOW): Likewise.
34509 (FE_DIVBYZERO): Likewise.
34510 (FE_INEXACT): Likewise.
34511 (FE_TONEAREST): Likewise.
34512 (FE_TOWARDZERO): Likewise.
34513 (FE_UPWARD): Likewise.
34514 (FE_DOWNWARD): Likewise.
34515 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34516 (FE_DIVBYZERO): Likewise.
34517 (FE_OVERFLOW): Likewise.
34518 (FE_UNDERFLOW): Likewise.
34519 (FE_INEXACT): Likewise.
34520 (FE_TONEAREST): Likewise.
34521 (FE_DOWNWARD): Likewise.
34522 (FE_UPWARD): Likewise.
34523 (FE_TOWARDZERO): Likewise.
34525 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34527 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34529 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34531 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34532 commands. Quote $PWD.
34533 (blacklist_exports): Don't use remove_newlines. Replace "declare
34535 (remove_newlines): Remove.
34537 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34539 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34540 * stdlib/stdlib.h (atof): Moved to ...
34541 * include/bits/stdlib-float.h: Here. New file.
34542 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34543 * stdlib/bits/stdlib-float.h: New file.
34544 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34546 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34549 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34551 * conform/conformtest.pl (@headers): Add fenv.h.
34552 * conform/data/fenv.h-data: New file.
34553 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34554 include of <math/fenv.h>.
34556 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34557 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34558 && !UNIX98]. Enables tests for XOPEN2K8.
34559 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34560 POSIX2008]: Likewise.
34562 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34563 (struct rusage): Do not expect type or its members.
34566 * math/math.h (FP_NAN): Define macro to integer constant usable in
34567 #if and use that to give value to enum constant.
34568 (FP_INFINITE): Likewise.
34569 (FP_ZERO): Likewise.
34570 (FP_SUBNORMAL): Likewise.
34571 (FP_NORMAL): Likewise.
34573 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34575 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34576 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34579 2012-11-02 Roland McGrath <roland@hack.frob.com>
34581 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34582 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34583 autoconf-time if not.
34584 * configure.in: Remove AC_PREREQ.
34586 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34588 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34589 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34590 of the internal implementation.
34592 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34594 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34595 except include of <misc/sys/syslog.h>.
34597 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34600 function returns with a NULL context exit with zero.
34602 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34604 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34606 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34608 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34609 (run_program_cmd): This.
34610 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34611 (tst_langinfo): New variable. Use it.
34613 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34615 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34616 floating point opcodes.
34618 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34620 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34623 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34625 * sysdeps/mach/hurd/powerpc: Remove directory.
34626 * sysdeps/mach/powerpc: Likewise.
34628 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34630 * scripts/check-local-headers.sh: Ignore c++ headers.
34632 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34634 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34635 __libc_cleanup_region_start argument.
34637 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34642 x * y using scaling, not as x * y + z.
34643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34645 * math/libm-test.inc (fma_test): Add more tests.
34646 (fma_test_towardzero): Likewise.
34647 (fma_test_downward): Likewise.
34648 (fma_test_upward): Likewise.
34650 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34652 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34654 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34656 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34659 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34661 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34663 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34670 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34673 Fix the order of the list for glibc 2.17.
34674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34677 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34681 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34685 for low part of x being zero before using __atanl (y).
34686 * math/libm-test.inc (atan2_test): Add another test.
34688 * manual/install.texi (Configuring and compiling): Document
34689 general use of test-wrapper and test-wrapper-env.
34690 * INSTALL: Regenerated.
34692 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34693 (__fma): Do not extract and scale down low bits on after-rounding
34694 systems when result rounded to normal precision would have normal
34696 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34697 (__fmal): Do not extract and scale down low bits on after-rounding
34698 systems when result rounded to normal precision would have normal
34700 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34701 (__fmal): Do not extract and scale down low bits on after-rounding
34702 systems when result rounded to normal precision would have normal
34704 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34706 (fma_test): Add more tests.
34707 (fma_test_towardzero): Likewise.
34708 (fma_test_downward): Likewise.
34709 (fma_test_upward): Likewise.
34711 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34713 * sysdeps/i386/tininess.h: Renamed to ...
34714 * sysdeps/x86/tininess.h: This.
34715 * sysdeps/x86_64/tininess.h: Removed.
34717 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34719 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34720 input. Use $(build-program-cmd).
34721 ($(objpfx)tst-array1-static.out): Likewise.
34722 ($(objpfx)tst-array2.out): Likewise.
34723 ($(objpfx)tst-array3.out): Likewise.
34724 ($(objpfx)tst-array4.out): Likewise.
34725 ($(objpfx)tst-array5.out): Likewise.
34726 ($(objpfx)tst-array5-static.out): Likewise.
34728 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34730 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34733 * nss/nsswitch.h (nss_interface_function): Provide new
34734 macro for use with NSS functions.
34735 * grp/initgroups.c: Use new macro.
34736 * nss/getXXbyYY.c: Likewise.
34737 * nss/getXXbyYY_r.c: Likewise.
34738 * nss/getXXent.c: Likewise.
34739 * nss/getXXent_r.c: Likewise.
34740 * sysdeps/posix/getaddrinfo.c: Likewise.
34742 2012-10-30 Andreas Jaeger <aj@suse.de>
34744 * po/ru.po: Update Russion translation from translation project.
34746 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34751 result and shift together with sticky bit instead of replicating
34752 round-to-nearest rounding.
34753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34754 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34755 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34756 missing underflow exceptions.
34757 (fma_test_towardzero): Add more tests.
34758 (fma_test_downward): Likewise.
34759 (fma_test_upward): Likewise.
34762 * sysdeps/generic/tininess.h: New file.
34763 * sysdeps/i386/tininess.h: Likewise.
34764 * sysdeps/sh/tininess.h: Likewise.
34765 * sysdeps/x86_64/tininess.h: Likewise.
34766 * stdlib/tst-strtod-underflow.c: Likewise.
34767 * stdlib/tst-tininess.c: Likewise.
34768 * stdlib/strtod_l.c: Include <tininess.h>.
34769 (round_and_return): Do not set errno for exact underflow cases.
34770 Force an underflow exception when setting errno for underflow.
34771 Determine underflow based on rounding to normal precision if
34772 TININESS_AFTER_ROUNDING.
34773 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34774 ERANGE for exact underflow cases.
34775 * stdlib/Makefile (tests): Add tst-tininess and
34776 tst-strtod-underflow.
34777 ($(objpfx)tst-tininess): Use $(link-libm).
34778 ($(objpfx)tst-strtod-underflow): Likewise.
34780 2012-10-30 Andreas Jaeger <aj@suse.de>
34783 * elf/Makefile (tests): Remove conditional for have-initfini-array
34784 since this is now always required and the variable does not exist
34786 (tests-static): Likewise.
34787 (modules-names): Likewise.
34789 * po/eo.po: Add Esperanto translation from translation project.
34791 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34792 merged with constructor/destructor.
34793 (init_array): Likewise.
34794 * elf/tst-array2dep.c (fini_array): Likewise.
34795 (init_array): Likewise.
34797 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34799 * manual/message.texi: Delete @cartouche tags.
34801 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34803 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34805 * sysdeps/mach/hurd/fsync.c: Likewise.
34807 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34808 [_POSIX_REALTIME_SIGNALS]: Change condition to
34809 [_POSIX_REALTIME_SIGNALS > 0].
34811 2012-10-27 Andreas Jaeger <aj@suse.de>
34813 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34814 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34816 [__WORDSIZE != 64]: Likewise.
34818 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34820 * iconvdata/tst-table.sh: Remove ${SHELL}.
34821 * iconvdata/tst-tables.sh: Likewise.
34823 2012-10-25 David S. Miller <davem@davemloft.net>
34825 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34826 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34832 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34833 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34836 2012-10-25 Roland McGrath <roland@hack.frob.com>
34838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34839 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34842 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34843 Jim Blandy <jimb@codesourcery.com>
34845 * scripts/cross-test-ssh.sh: New file.
34846 * manual/install.texi (Configuring and compiling): Document use of
34848 * INSTALL: Regenerated.
34850 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34852 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34855 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34857 * Makeconfig (run-program-prefix): Fix comment.
34859 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34860 Jim Blandy <jimb@codesourcery.com>
34862 * Makeconfig (test-wrapper): New variable,
34863 (test-wrapper-env): Likewise.
34864 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34865 (run-built-tests): Define to yes.
34866 (run-program-prefix): Use $(test-wrapper).
34867 (built-program-cmd): Likewise.
34868 * Rules (make-test-out): Use $(test-wrapper-env) and
34869 $(host-built-program-cmd).
34870 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34871 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34873 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34874 $(test-wrapper-env) to tst-rtld-load-self.sh.
34875 ($(objpfx)order2.out): Use $(test-wrapper).
34876 ($(objpfx)tst-initorder.out): Likewise.
34877 ($(objpfx)tst-initorder2.out): Likewise.
34878 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34879 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34880 (test_wrapper_env): New variable. Use it to run ld.so.
34881 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34882 Use it to run ld.so.
34883 (test_wrapper_env): Likewise.
34884 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34885 $(test-wrapper) to run-iconv-test.sh.
34886 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34887 (ICONV): Use $test_wrapper.
34888 * posix/Makefile ($(objpfx)globtest.out): Pass
34889 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34890 globtest.sh, not $(run-program-prefix).
34891 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34892 (test_wrapper): Likewise.
34893 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34894 set together with run_via_rtld_prefix.
34895 (run_program_prefix): Define in terms of test_wrapper and
34896 run_via_rtld_prefix.
34898 2012-10-24 Roland McGrath <roland@hack.frob.com>
34900 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34901 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34905 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34906 Declare __clock_getres, __clock_gettime, __clock_settime,
34907 __clock_nanosleep, and __clock_getcpuclockid.
34908 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34909 Remove librt_hidden_def (clock_gettime).
34910 * sysdeps/unix/clock_gettime.c: Likewise.
34911 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34912 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34913 * rt/clock_getres.c: Define __clock_getres as an alias.
34914 * sysdeps/posix/clock_getres.c: Likewise.
34915 * rt/clock_settime.c: Define __clock_settime as an alias.
34916 * sysdeps/unix/clock_settime.c: Likewise.
34917 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34918 * sysdeps/unix/clock_nanosleep.c: Likewise.
34919 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34920 * rt/clock-compat.c: New file.
34921 * rt/Makefile (librt-routines): Add clock-compat and move
34922 $(clock-routines) to ...
34923 (routines): ... here, new variable.
34924 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34925 Don't add get_clockfreq here.
34926 * rt/Versions (libc: GLIBC_2.17): New version set.
34927 Add clock_* symbols here.
34928 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34930 (GLIBC_2.17): Add clock_* symbols.
34931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34933 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34942 * NEWS: Mention the move.
34944 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34945 Use __open, __read, __close rather than their public counterparts.
34946 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34947 (__get_clockfreq_via_cpuinfo): Likewise.
34948 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34949 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34951 * config.h.in (HAVE_IFUNC): New #undef.
34952 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34954 * configure: Regenerated.
34956 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34958 * configure.in: Move READELF check to start of file.
34959 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34960 libc_cv_asm_gnu_indirect_function in the process.
34961 * configure: Regenerated.
34963 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34965 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34966 send the output to /dev/null.
34967 (libc_cv_cc_with_libunwind): Likewise.
34968 (libc_cv_as_noexecstack): Likewise.
34969 * configure: Regenerate.
34971 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34973 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34975 * posix/globtest.sh (TMPDIR): Do not set.
34976 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34977 (testout): Likewise.
34979 2012-10-24 Andreas Jaeger <aj@suse.de>
34981 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34982 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34983 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34984 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34985 posix_fadvise64, posix_fallocate64.
34987 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34988 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34989 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34991 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34993 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34996 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34997 <bits/fcntl-linux.h>.
34998 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35000 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35001 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35002 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35003 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35004 [__WORDSIZE != 64]: Likewise.
35006 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35008 * Makeconfig (run-built-tests): New variable.
35009 * Rules [$(cross-compiling) = yes]: Change condition to
35010 [$(run-built-tests) = no].
35011 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35012 to [$(run-built-tests) = yes].
35013 * elf/Makefile [$(cross-compiling) = no]: Likewise
35014 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35015 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35016 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35017 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35018 * io/Makefile [$(cross-compiling) = no]: Likewise.
35019 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35020 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35021 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35022 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35023 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35024 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35025 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35026 * string/Makefile [$(cross-compiling) = no]: Likewise.
35028 * posix/Makefile ($(objpfx)globtest.out): Pass
35029 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35030 $(rtld-installed-name).
35031 * posix/globtest.sh (elf_objpfx): Remove variable.
35032 (rtld_installed_name): Likewise.
35033 (library_path): Likewise.
35034 (run_program_prefix): New variable. Use for running globtest
35037 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35038 Joseph Myers <joseph@codesourcery.com>
35040 * Makeconfig (host-built-program-cmd): New variable.
35041 * elf/Makefile (tst-stackguard1-ARGS): Use
35042 $(host-built-program-cmd).
35043 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35044 (tst-spawn-ARGS): Likewise.
35045 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35047 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35048 Jim Blandy <jimb@codesourcery.com>
35050 * Makeconfig (run-via-rtld-prefix): New variable.
35051 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35052 (built-program-cmd): Likewise.
35054 2012-10-22 Andreas Jaeger <aj@suse.de>
35056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35057 __O_RSYNC if it exists, otherwise to O_SYNC.
35059 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35060 Joseph Myers <joseph@codesourcery.com>
35062 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35064 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35066 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35069 2012-10-22 Andreas Jaeger <aj@suse.de>
35071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35076 bits/fcntl-linux.h.
35078 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35079 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35086 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35087 Joseph Myers <joseph@codesourcery.com>
35089 * config.make.in (NM): New variable.
35091 2012-10-21 Andreas Jaeger <aj@suse.de>
35093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35094 definitions and declarations that are provided by
35095 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35097 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35100 * elf/Makefile (tests-static): Add tst-leaks1-static.
35101 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35102 ($(objpfx)tst-leaks1-static): New rule.
35103 ($(objpfx)tst-leaks1-static-mem): Likewise.
35104 (tst-leaks1-static-ENV): New macro.
35105 * elf/dl-open.c (dl_open_worker): Check the main application
35106 only if SHARED is defined.
35107 * elf/tst-leaks1-static.c: New file.
35109 2012-10-20 Andreas Jaeger <aj@suse.de>
35111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35112 generic values for Linux.
35113 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35114 and declarations that are provided by <bits/fcntl-linux.h> and
35115 include <bits/fcntl-linux.h>.
35116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35119 2012-10-20 Roland McGrath <roland@hack.frob.com>
35121 * io/fcntl.h: Move include of <bits/types.h> to the top and
35122 include it unconditionally.
35124 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35126 * wcsmbs/Makefile (tests-ifunc): New variable.
35127 (tests): Add $(tests-ifunc).
35128 * wcsmbs/test-wcschr-ifunc.c: New file.
35129 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35130 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35131 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35132 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35133 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35135 * string/Makefile (tests-ifunc): New variable.
35136 (tests): Add $(tests-ifunc).
35137 * string/test-memccpy.c (TEST_NAME): New macro.
35138 * string/test-memchr.c (TEST_NAME): Likewise.
35139 * string/test-memcmp.c (TEST_NAME): Likewise.
35140 * string/test-memcpy.c (TEST_NAME): Likewise.
35141 * string/test-memmem.c (TEST_NAME): Likewise.
35142 * string/test-memmove.c (TEST_NAME): Likewise.
35143 * string/test-memset.c (TEST_NAME): Likewise.
35144 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35145 * string/test-stpcpy.c (TEST_NAME): Likewise.
35146 * string/test-stpncpy.c (TEST_NAME): Likewise.
35147 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35148 * string/test-strcasestr.c (TEST_NAME): Likewise.
35149 * string/test-strcat.c (TEST_NAME): Likewise.
35150 * string/test-strchr.c (TEST_NAME): Likewise.
35151 * string/test-strcmp.c(TEST_NAME): Likewise.
35152 * string/test-strcpy.c (TEST_NAME): Likewise.
35153 * string/test-strcspn.c (TEST_NAME): Likewise.
35154 * string/test-strlen.c (TEST_NAME): Likewise.
35155 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35156 * string/test-strncmp.c (TEST_NAME): Likewise.
35157 * string/test-strncpy.c (TEST_NAME): Likewise.
35158 * string/test-strnlen.c (TEST_NAME): Likewise.
35159 * string/test-strpbrk.c (TEST_NAME): Likewise.
35160 * string/test-strrchr.c (TEST_NAME): Likewise.
35161 * string/test-strspn.c (TEST_NAME): Likewise.
35162 * string/test-strstr.c (TEST_NAME): Likewise.
35163 * string/test-bcopy-ifunc.c: New file.
35164 * string/test-bzero-ifunc.c: Likewise.
35165 * string/test-memccpy-ifunc.c: Likewise.
35166 * string/test-memchr-ifunc.c: Likewise.
35167 * string/test-memcmp-ifunc.c: Likewise.
35168 * string/test-memcpy-ifunc.c: Likewise.
35169 * string/test-memmem-ifunc.c: Likewise.
35170 * string/test-memmove-ifunc.c: Likewise.
35171 * string/test-mempcpy-ifunc.c: Likewise.
35172 * string/test-memset-ifunc.c: Likewise.
35173 * string/test-rawmemchr-ifunc.c: Likewise.
35174 * string/test-stpcpy-ifunc.c: Likewise.
35175 * string/test-stpncpy-ifunc.c: Likewise.
35176 * string/test-strcasecmp-ifunc.c: Likewise.
35177 * string/test-strcasestr-ifunc.c: Likewise.
35178 * string/test-strcat-ifunc.c: Likewise.
35179 * string/test-strchr-ifunc.c: Likewise.
35180 * string/test-strchrnul-ifunc.c: Likewise.
35181 * string/test-strcmp-ifunc.c: Likewise.
35182 * string/test-strcpy-ifunc.c: Likewise.
35183 * string/test-strcspn-ifunc.c: Likewise.
35184 * string/test-strlen-ifunc.c: Likewise.
35185 * string/test-strncasecmp-ifunc.c: Likewise.
35186 * string/test-strncat-ifunc.c: Likewise.
35187 * string/test-strncmp-ifunc.c: Likewise.
35188 * string/test-strncpy-ifunc.c: Likewise.
35189 * string/test-strnlen-ifunc.c: Likewise.
35190 * string/test-strpbrk-ifunc.c: Likewise.
35191 * string/test-strrchr-ifunc.c: Likewise.
35192 * string/test-strspn-ifunc.c: Likewise.
35193 * string/test-strstr-ifunc.c: Likewise.
35195 * debug/Makefile (tests-ifunc): New variable.
35196 (tests): Add $(tests-ifunc).
35197 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35198 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35199 * debug/test-stpcpy_chk-ifunc.c: New file.
35200 * debug/test-strcpy_chk-ifunc.c: Likewise.
35202 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35205 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35206 header is not read in.
35208 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35210 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35211 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35212 directly. Pass built executable to script as
35213 $(built-program-cmd).
35214 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35215 $testprogram without using LD_LIBRARY_PATH and $ldso.
35217 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35218 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35219 $(rtld-installed-name).
35220 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35221 (rtld_installed_name): Likewise.
35222 (library_path): Likewise.
35223 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35224 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35225 $(run-program-prefix) to tst-tables.sh.
35226 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35227 it to run tst-table-from and tst-table-to.
35228 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35229 Pass it to tst-table.sh.
35230 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35231 $(run-program-prefix) to tst-gettext.sh.
35232 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35234 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35236 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35237 to run tst-gettext.
35238 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35239 to run tst-gettext2.
35240 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35241 to run tst-translit.
35242 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35243 $(run-program-prefix) to tst-mtrace.sh.
35244 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35246 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35247 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35248 $(rtld-installed-name).
35249 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35250 (rtld_installed_name): Likewise.
35251 (run_program_prefix): New variable. Use it to run wordexp-test.
35253 * Makeconfig (ARCH): Remove all definitions.
35254 (machine): Likewise.
35255 [ARCH]: Remove conditional code.
35256 [!objdir]: Give error.
35257 [!objdir] (objpfx): Remove.
35258 [!objdir] (common-objpfx): Likewise.
35259 [!objdir] (common-objdir): Likewise.
35260 * configure.in (config_makefile): Remove. Hardcode Makefile in
35261 AC_CONFIG_FILES call.
35262 * configure: Regenerated.
35265 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35267 (testout): Likewise.
35269 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35270 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35271 $(rtld-installed-name).
35272 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35273 (rtld_installed_name): Likwise.
35274 (runit): Remove function.
35275 (run_getconf): New variable, Use it for running getconf binary.
35277 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35280 * string/test-memmem.c (check_result): New function.
35281 (do_one_test): Use it.
35282 (check1): New function.
35283 (test_main): Use it.
35285 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35287 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35289 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35291 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35292 (_G_LSEEK64): Likewise.
35293 (_G_MMAP64): Likewise.
35294 (_G_FSTAT64): Likewise.
35295 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35296 (_G_LSEEK64): Likewise.
35297 (_G_MMAP64): Likewise.
35298 (_G_FSTAT64): Likewise.
35299 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35300 unconditional. Call __mmap64 directly.
35301 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35302 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35303 __lseek64 directly.
35304 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35305 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35307 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35308 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35309 __lseek64 directly.
35310 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35311 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35312 __lseek64 directly.
35313 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35314 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35315 __lseek64 directly.
35316 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35317 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35318 __fxstat64 directly.
35319 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35320 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35322 (freopen64) [!_G_OPEN64]: Remove conditional code.
35323 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35325 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35326 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35328 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35329 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35331 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35332 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35334 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35335 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35337 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35338 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35340 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35341 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35343 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35345 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35348 * manual/memory.texi (Malloc Tunable Parameters): Add note
35349 about free list pointers overwriting some perturb bytes.
35350 Wording suggested by Roland McGrath.
35352 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35354 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35355 (lgamma_test): Likewise.
35356 (tgamma_test): Likewise.
35358 2012-10-16 Florian Weimer <fweimer@redhat.com>
35361 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35362 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35364 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35366 * NEWS: Mention BZ #14716.
35367 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35368 when removing AVAILABLE1_USES_J macro.
35370 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35372 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35373 (__bswap_64): __uint64_t for unsigned 64-bit int.
35375 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35377 * include/string.h (memmem): Declare libc hidden alias.
35378 * string/memmem.c (memmem): Define libc hidden alias.
35379 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35380 __read, __close instead of open, read, close.
35382 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35385 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35387 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35388 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35389 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35391 (__rawmemchr_sse2): Likewise.
35392 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35393 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35394 (__strchr_sse2): Likewise.
35395 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35396 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35397 (__strcasecmp_sse2): Likewise.
35398 (__strncasecmp_sse2): Likewise.
35399 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35400 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35401 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35402 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35403 (__strrchr_sse2): Likewise.
35404 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35406 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35407 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35408 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35409 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35410 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35411 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35412 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35413 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35414 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35415 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35416 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35417 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35418 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35419 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35420 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35421 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35422 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35423 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35424 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35425 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35426 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35427 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35428 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35429 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35430 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35431 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35432 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35433 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35434 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35435 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35437 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35439 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35440 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35441 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35442 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35444 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35446 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35447 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35448 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35449 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35451 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35469 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35483 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35485 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35493 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35494 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35495 * include/ifunc-impl-list.h: New file.
35496 * misc/ifunc-impl-list.c: Likewise.
35497 * misc/Makefile (routines): Add ifunc-impl-list.
35498 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35499 * string/test-string.h: Include <ifunc-impl-list.h>.
35500 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35501 TEST_NAME]: New variables.
35502 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35504 (test_init): Call __libc_ifunc_impl_list to initialize
35505 func_list if TEST_IFUNC and TEST_NAME are defined.
35507 * string/Makefile (strop-tests): Add bcopy and bzero.
35508 * string/test-bcopy.c: New file.
35509 * string/test-bzero.c: Likewise.
35510 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35512 * string/test-memset.c: Support bzero test if TEST_BZERO is
35514 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35516 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35518 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35521 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35523 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35524 * configure: Regenerated.
35526 * Makeconfig (+link-static-before-libc): Don't include
35527 $(link-static-libc).
35529 * libio/libio.h (_IO_pos_t): Remove.
35531 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35533 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35536 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35538 * crypt/crypt-entry.c: Include fips-private.h.
35539 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35540 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35541 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35542 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35544 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35546 * crypt/crypt-private.h: Include stdbool.h.
35547 (_ufc_setup_salt_r): Return bool.
35548 * crypt/crypt-entry.c: Include errno.h.
35549 (__crypt_r): Return NULL with EINVAL for bad salt.
35550 * crypt/crypt_util.c (bad_for_salt): New.
35551 (_ufc_setup_salt_r): Check that salt is long enough and within
35552 the specified alphabet.
35553 * crypt/badsalttest.c: New file.
35554 * crypt/Makefile (tests): Add it.
35555 ($(objpfx)badsalttest): New.
35557 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35559 * NEWS: Add entry for BZ #14602.
35561 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35563 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35565 * math/libm-test.inc: Update comment listing what functions and
35567 (isgreater_test): New function.
35568 (isgreaterequal_test): Likewise.
35569 (isless_test): Likewise.
35570 (islessequal_test): Likewise.
35571 (islessgreater_test): Likewise.
35572 (isunordered_test): Likewise.
35573 (main): Call the new functions.
35575 2012-10-09 Roland McGrath <roland@hack.frob.com>
35577 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35578 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35579 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35580 * sysdeps/i386/configure: Regenerated.
35581 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35582 * sysdeps/mach/configure: Regenerated.
35583 * sysdeps/mach/hurd/configure: Regenerated.
35584 * sysdeps/powerpc/configure: Regenerated.
35585 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35586 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35587 * sysdeps/s390/s390-32/configure: Regenerated.
35588 * sysdeps/s390/s390-64/configure: Regenerated.
35589 * sysdeps/sh/configure: Regenerated.
35590 * sysdeps/sparc/configure: Regenerated.
35591 * sysdeps/unix/sysv/linux/configure: Regenerated.
35592 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35593 * sysdeps/x86_64/configure: Regenerated.
35595 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35596 defined. Don't check if MAP is NULL.
35598 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35600 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35601 (_G_stat64): Likewise.
35602 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35603 (_G_stat64): Likewise.
35604 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35605 instead of struct _G_stat64.
35606 * libio/fileops.c (mmap_remap_check): Likewise.
35607 (decide_maybe_mmap): Likewise.
35608 (_IO_new_file_seekoff): Likewise.
35609 (_IO_file_stat): Likewise.
35610 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35612 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35613 instead of struct _G_stat64.
35614 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35616 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35619 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35621 (CHECK_EOL): New macro.
35622 (two_way_short_needle): Check beginning of haystack for EOL. Use
35624 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35625 Replace with CHECK_EOL.
35626 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35627 Replace with CHECK_EOL.
35629 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35631 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35633 * math/libm-test.inc: Update comment listing what functions and
35635 (finite_test): New function.
35636 (isinf_test): Likewise.
35637 (isnan_test): Likewise.
35638 (fpclassify_test): Test subnormal input.
35639 (isfinite_test): Likewise.
35640 (isnormal_test): Likewise.
35641 (main): Call the new functions.
35643 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35646 * Makerules (%.dynsym): Force C locale when running
35647 $(OBJDUMP) --dynamic-syms.
35649 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35651 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35654 2012-10-06 David S. Miller <davem@davemloft.net>
35656 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35657 upper 32-bits of the length value in %o2 since we use branch-on-register
35658 tests which consider the entire 64-bit register.
35660 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35662 * string/test-strstr.c (check2): Add a test for page boundary.
35664 2012-10-05 David S. Miller <davem@davemloft.net>
35666 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35667 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35669 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35671 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35672 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35673 and bzero when HWCAP_SPARC_CRYPTO is present.
35675 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35678 * string/test-strstr.c (check2): New function.
35679 (test_main): Call check2.
35681 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35683 * string/bug-strcasestr1.c (do_test): Moved to ...
35684 * string/test-strcasestr.c (check1): Here. New function.
35685 (do_one_test): Break out result checking code into ...
35686 (check_result): This. New function.
35687 (do_one_test): Call check_result.
35688 (test_main): Call check1.
35689 * string/bug-strchr1.c (do_test): Moved to ...
35690 * string/test-strchr.c (check1): Here. New function.
35691 (do_one_test): Break out result checking code into ...
35692 (check_result): This. New function.
35693 (do_one_test): Call check_result.
35694 (test_main): Call check1.
35695 * string/bug-strstr1.c (main): Moved to ...
35696 * string/test-strstr.c (check1): Here. New function.
35697 (do_one_test): Break out result checking code into ...
35698 (check_result): This. New function.
35699 (do_one_test): Call check_result.
35700 (test_main): Call check1.
35701 * string/bug-strcasestr1.c: Removed.
35702 * string/bug-strchr1.c: Likewise.
35703 * string/bug-strstr1.c: Likewise.
35705 * elf/Makefile (dl-routines): Add hwcaps.
35706 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35707 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35708 (_dl_important_hwcaps): Moved to ...
35709 * elf/dl-hwcaps.c: Here. New file.
35710 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35713 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35714 if IS_IN_rtld isn't defined.
35716 * elf/dl-support.c (_dl_sysinfo_map): New.
35717 Include "get-dynamic-info.h" and "setup-vdso.h".
35718 (_dl_non_dynamic_init): Call setup_vdso.
35719 * elf/dynamic-link.h: Don't include <assert.h>.
35720 (elf_get_dynamic_info): Moved to ...
35721 * elf/get-dynamic-info.h: Here. New file.
35722 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35723 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35724 * elf/setup-vdso.h: Here. New file.
35725 * elf/rtld.c: Include "setup-vdso.h".
35726 (dl_main): Call setup_vdso.
35728 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35730 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35731 creal in comment listing functions tested. List finite, isinf,
35732 isnan, isless, islessequal, isgreater, isgreaterequal,
35733 islessgreater, isunordered, lgamma_r and pow10 as functions and
35734 macros not tested. Mention which functions not tested are aliases
35735 for other functions. Fix typo. Note that signs of NaNs are not
35738 * scripts/config.guess: Update from config.git.
35739 * scripts/config.sub: Likewise.
35741 2012-10-04 Roland McGrath <roland@hack.frob.com>
35743 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35744 * misc/madvise.c (madvise): Renamed to __madvise.
35745 Make madvise a weak alias.
35746 * include/sys/mman.h: Declare __madvise.
35747 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35748 * sysdeps/unix/syscalls.list
35749 (madvise): Make __madvise the strong name, and madvise a weak alias.
35750 * sysdeps/unix/sysv/linux/syscalls.list
35751 (madvise, mmap): Remove redundant entries.
35752 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35753 * malloc/malloc.c (mtrim): Likewise.
35754 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35756 2012-10-03 Roland McGrath <roland@hack.frob.com>
35758 * sysdeps/mach/hurd/dl-cache.c: File removed.
35759 * config.h.in (USE_LDCONFIG): New #undef.
35760 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35761 * configure: Regenerated.
35762 * elf/Makefile (dl-routines): Add dl-cache only under
35763 [$(use-ldconfig) = yes].
35764 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35765 cache on [USE_LDCONFIG].
35766 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35768 * elf/rtld.c (dl_main): Likewise.
35770 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35772 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35773 _SC_LEVEL4_CACHE_LINESIZE.
35775 2012-10-03 Roland McGrath <roland@hack.frob.com>
35777 * sysdeps/unix/bsd/confstr.h: File removed.
35779 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35781 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35784 2012-10-02 Roland McGrath <roland@hack.frob.com>
35786 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35787 Make 'mapoff' field ElfW(Off) rather than off_t.
35789 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35791 * nscd/Makefile: Remove nscd-cflags and all its users.
35792 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35793 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35796 * malloc.c (malloc_printerr): Clarify error message.
35798 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35801 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35802 Set bit_FMA_Usable if FMA is supported.
35803 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35805 (bit_FMA4_Usable): Updated.
35806 (index_FMA_Usable): New macro.
35807 (CPUID_FMA): Likewise
35808 (HAS_FMA): Defined with bit_FMA_Usable.
35810 2012-10-01 Roland McGrath <roland@hack.frob.com>
35812 * bits/types.h (__swblk_t): Type removed.
35813 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35814 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35815 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35816 (__SWBLK_T_TYPE): Likewise.
35817 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35818 (__SWBLK_T_TYPE): Likewise.
35819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35820 (__SWBLK_T_TYPE): Likewise.
35821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35822 (__SWBLK_T_TYPE): Likewise.
35824 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35825 Honza Horak <hhorak@redhat.com>
35827 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35828 (xdr_mapname): Use YPMAXMAP as maxsize.
35829 (xdr_peername): Use YPMAXPEER as maxsize.
35830 (xdr_keydat): Use YPAXRECORD as maxsize.
35831 (xdr_valdat): Use YPMAXRECORD as maxsize.
35833 2012-10-01 Roland McGrath <roland@hack.frob.com>
35835 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35837 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35838 * csu/init-first.c: ... here.
35839 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35840 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35841 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35842 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35843 * sysdeps/i386/init-first.c: File removed.
35844 * sysdeps/sh/init-first.c: File removed.
35846 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35850 if x * y might underflow to zero and z is zero.
35851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35853 * math/libm-test.inc (min_subnorm_value): New variable.
35854 (fma_test): Add more tests.
35855 (fma_test_towardzero): Likewise.
35856 (fma_test_downward): Likewise
35857 (fma_test_upward): Likewise.
35858 (initialize): Set min_subnorm_value.
35860 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35866 mode for addition resulting in exact zero.
35867 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35870 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35871 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35872 * math/libm-test.inc (fma_test): Add more tests.
35873 (fma_test_towardzero): New function.
35874 (fma_test_downward): Likewise.
35875 (fma_test_upward): Likewise.
35876 (main): Call the new functions.
35878 2012-09-28 David S. Miller <davem@davemloft.net>
35880 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35882 2012-09-28 Roland McGrath <roland@hack.frob.com>
35884 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35885 instead of SIGALRM.
35887 * sysdeps/gnu/_G_config.h: Moved to ...
35888 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35889 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35890 * sysdeps/generic/_G_config.h: ... here.
35892 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35894 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35896 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35897 Conditionalize target on [libnss_test1.so-version].
35899 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35901 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35902 (elfobjdir): Move out of conditionals.
35904 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35905 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35906 (__nss_lookup_function): Conditionalize label remove_from_tree on
35907 [!DO_STATIC_NSS || SHARED], matching its only use.
35909 2012-09-28 David S. Miller <davem@davemloft.net>
35911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35912 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35914 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35916 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35918 when HWCAP_SPARC_CRYPTO is present.
35920 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35922 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35924 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35927 * stdio-common/vfprintf.c (process_string_arg): Revert
35930 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35932 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35934 * stdio-common/tst-sprintf.c: Include <locale.h>
35935 (main): Test sprintf's handling of incomplete multibyte
35938 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35940 * elf/dl-runtime.c (VERSYMIDX): Removed.
35941 * elf/dl-version.c (VERSYMIDX): Likewise.
35942 * elf/do-rel.h (VERSYMIDX): Likewise.
35943 (VALIDX): Likewise.
35944 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35945 * elf/rtld.c (VALIDX): Likewise.
35946 (ADDRIDX): Likewise.
35947 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35948 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35949 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35950 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35951 (VALIDX): Likewise.
35952 (ADDRIDX): Likewise.
35954 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35956 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35958 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35961 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35963 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35964 addresses are in the same scope as 192.0.2/24.
35965 * posix/gai.conf: Document new scope table defaults.
35967 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35970 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35971 for ftell. Compute offsets from write pointers instead.
35972 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35974 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35977 * libio/Makefile (tests): New test case tst-fseek.
35978 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35979 combination works in wide mode.
35980 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35981 state when the external buffer state changes.
35983 2012-09-27 David S. Miller <davem@davemloft.net>
35986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35987 pass reloc->r_addend in as the 'high' argument to
35988 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35992 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35994 * rt/tst-aio2.c: Include <pthread.h>.
35995 * rt/tst-aio3.c: Likewise.
35997 2012-09-27 Steve Ellcey <sellcey@mips.com>
35999 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36001 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36003 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36004 contents on [SHARED].
36006 2012-09-26 Marek Polacek <polacek@redhat.com>
36010 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36011 for C++ and GCC <4.3 as well as for non GCC compilers.
36013 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36017 2012-09-25 Roland McGrath <roland@hack.frob.com>
36019 * Makefile.in (all, install): Declare with .PHONY.
36020 Reported by Michael Hope <michael.hope@linaro.org>.
36022 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36024 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36025 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36027 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36029 (sydep_routines): Add the new and the internal functions.
36030 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36031 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36033 (GLIBC_2.17): Add the new function.
36034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36035 (GLIBC_2.17): Likewise.
36036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36037 (GLIBC_2.17): Likewise.
36038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36039 (GLIBC_2.17): Likewise.
36040 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36042 2012-09-25 Alan Modra <amodra@gmail.com>
36044 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36045 Add release barrier before setting once_control to say
36046 initialisation is done. Add hints on lwarx. Use macro in
36048 (clear_once_control): Add release barrier.
36050 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36053 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36055 * math/s_clog10.c (__clog10): Likewise.
36056 * math/s_clog10f.c (__clog10f): Likewise.
36057 * math/s_clog10l.c (__clog10l): Likewise.
36058 * math/s_clogf.c (__clogf): Likewise.
36059 * math/s_clogl.c (__clogl): Likewise.
36060 * math/Makefile (libm-calls): Add x2y2m1.
36061 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36062 (__x2y2m1): Likewise.
36063 (__x2y2m1l): Likewise.
36064 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36065 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36070 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36071 * sysdeps/i386/fpu/libm-test-ulps: Update.
36072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36075 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36076 int as type of variable DEPTH.
36077 (glob): Use size_t instead of int as type of variables NEWCOUNT
36080 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36082 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36083 Add s_sincosf-sse2.
36084 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36085 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36086 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36087 macros for using routine as __sincosf_ia32.
36088 Use macro for function declaration and weak_alias.
36089 * sysdeps/i386/fpu/libm-test-ulps: Update.
36091 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36094 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36095 subnormal argument.
36096 * math/s_cexpf.c (__cexpf): Likewise.
36097 * math/s_csinf.c (__csinf): Likewise.
36098 * math/s_csinhf.c (__csinhf): Likewise.
36099 * math/s_ctanf.c (__ctanf): Likewise.
36100 * math/s_ctanhf.c (__ctanhf): Likewise.
36101 * math/s_ccosh.c (__ccoshf): Likewise.
36102 * math/s_cexp.c (__cexpl): Likewise.
36103 * math/s_csin.c (__csin): Likewise.
36104 * math/s_csinh.c (__csinh): Likewise.
36105 * math/s_ctan.c (__ctan): Likewise.
36106 * math/s_ctanh.c (ctanh): Likewise.
36107 * math/s_ccoshl.c (__ccoshl): Likewise.
36108 * math/s_cexpl.c (__cexpl): Likewise.
36109 * math/s_csinl.c (__csinl): Likewise.
36110 * math/s_csinhl.c (__csinhl): Likewise.
36111 * math/s_ctanl.c (__ctanl): Likewise.
36112 * math/s_ctanhl.c (__ctanhl): Likewise.
36114 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36116 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36117 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36118 (_IO_off_t): Define to __off_t, not _G_off_t.
36119 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36120 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36121 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36122 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36123 type of __dummy and __dummy2 fields.
36124 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36125 (_G_ssize_t): Likewise.
36126 (_G_off_t): Likewise.
36127 (_G_pid_t): Likewise.
36128 (_G_uid_t): Likewise.
36129 (_G_wchar_t): Likewise.
36130 (_G_wint_t): Likewise.
36131 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36132 (_G_ssize_t): Likewise.
36133 (_G_off_t): Likewise.
36134 (_G_pid_t): Likewise.
36135 (_G_uid_t): Likewise.
36136 (_G_wchar_t): Likewise.
36137 (_G_wint_t): Likewise.
36138 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36139 (_G_ssize_t): Likewise.
36140 (_G_off_t): Likewise.
36141 (_G_pid_t): Likewise.
36142 (_G_uid_t): Likewise.
36143 (_G_wchar_t): Likewise.
36144 (_G_wint_t): Likewise.
36146 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36148 * malloc/arena.c: Include malloc-sysdep.h.
36149 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36150 is sufficient to shrink the heap or an unmap is needed.
36151 * sysdeps/generic/malloc-sysdep.h: New file. Define
36152 new function check_may_shrink_heap.
36153 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36154 new function check_may_shrink_heap.
36156 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36158 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36161 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36163 * catgets/test-gencat.sh: Add "set -e".
36164 * elf/tst-pathopt.sh: Likewise.
36165 * grp/tst_fgetgrent.sh: Likewise.
36166 * iconvdata/run-iconv-test.sh: Likewise.
36167 * intl/tst-gettext.sh: Likewise.
36168 * intl/tst-gettext2.sh: Likewise.
36169 * intl/tst-gettext4.sh: Likewise.
36170 * intl/tst-gettext6.sh: Likewise.
36171 * intl/tst-translit.sh: Likewise.
36172 * io/ftwtest-sh: Likewise.
36173 * libio/test-freopen.sh: Likewise.
36174 * malloc/tst-mtrace.sh: Likewise.
36175 * posix/globtest.sh: Likewise.
36176 * posix/tst-getconf.sh: Likewise.
36177 * posix/wordexp-tst.sh: Likewise.
36178 * stdio-common/tst-printf.sh: Likewise.
36179 * stdio-common/tst-unbputc.sh: Likewise.
36180 * stdlib/tst-fmtmsg.sh: Likewise.
36181 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36182 * catgets/Makefile: Do not specify -e option when running
36183 testsuite shell scripts.
36184 * elf/Makefile: Likewise.
36185 * grp/Makefile: Likewise.
36186 * iconvdata/Makefile: Likewise.
36187 * intl/Makefile: Likewise.
36188 * io/Makefile: Likewise.
36189 * libio/Makefile: Likewise.
36190 * malloc/Makefile: Likewise.
36191 * posix/Makefile: Likewise.
36192 * stdio-common/Makefile: Likewise.
36193 * stdlib/Makefile: Likewise.
36194 * sysdeps/x86_64/Makefile: Likewise.
36196 * io/ftwtest-sh: Add copyright header.
36197 * posix/globtest.sh: Likewise.
36198 * posix/tst-getconf.sh: Likewise.
36199 * posix/wordexp-tst.sh: Likewise.
36200 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36202 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36205 * Makeconfig (+link): Defined as $(+link-static) if
36206 $(build-shared) isn't yes.
36207 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36209 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36211 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36214 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36215 new chunk size with MALLOC_ALIGN_MASK.
36217 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36220 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36222 (__printf_fphex): Determine rounding using get_rounding_mode and
36224 * stdio-common/tst-printf-round.c (struct hex_test): New
36226 (hex_tests): New variable.
36227 (test_hex_in_one_mode): New function.
36228 (do_test): Also run tests for hex float output.
36230 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36232 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36233 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36234 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36235 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36236 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36237 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36238 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36239 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36241 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36243 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36244 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36245 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36246 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36248 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36251 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36253 * elf/tst-rtld-load-self.sh: New test.
36254 * elf/Makefile: Run it.
36256 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36258 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36259 (tst-writev-ENV): Remove.
36260 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36262 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36264 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36266 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36268 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36270 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36272 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36273 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36274 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36277 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36280 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36281 * config.make.in (have-cpp-asm-debuginfo): Removed.
36282 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36283 * configure: Regenerated.
36285 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36288 * stdio-common/printf_fp.c: Include <stdbool.h> and
36290 (___printf_fp): Determine rounding using get_rounding_mode and
36292 * stdio-common/tst-printf-round.c: New file.
36293 * stdio-common/Makefile (tests): Add tst-printf-round.
36294 (link-libm): New variable.
36295 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36297 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36300 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36301 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36303 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36306 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36308 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36309 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36310 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36311 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36313 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36316 * include/rounding-mode.h: New file.
36317 * sysdeps/generic/get-rounding-mode.h: Likewise.
36318 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36319 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36320 (MAX_VALUE): New macro.
36321 (MIN_VALUE): Likewise.
36322 (overflow_value): New function.
36323 (underflow_value): Likewise.
36324 (round_and_return): Use overflow_value and underflow_value to
36325 determine return values in overflow and underflow cases. Use
36326 round_away to determine rounding depending on rounding mode.
36327 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36328 determine return values in overflow and underflow cases.
36329 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36330 (struct test_results): New structure.
36331 (struct test): Use struct test_results to store expected results
36332 for all rounding modes.
36333 (TEST): Include expected results for all rounding modes.
36334 (test_in_one_mode): New function.
36335 (do_test): Use test_in_one_mode to compute and check results.
36336 Check results for all rounding modes.
36337 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36340 2012-12-09 Allan McRae <allan@archlinux.org>
36342 * sysdeps/i386/fpu/libm-test-ulps: Update
36344 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36346 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36347 (_G_int32_t): Likewise.
36348 (_G_uint16_t): Likewise.
36349 (_G_uint32_t): Likewise.
36350 (_G_HAVE_BOOL): Likewise.
36351 (_G_HAVE_ATEXIT): Likewise.
36352 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36353 (_G_HAVE_IO_FILE_OPEN): Likewise.
36354 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36355 (_G_int32_t): Likewise.
36356 (_G_uint16_t): Likewise.
36357 (_G_uint32_t): Likewise.
36358 (_G_HAVE_BOOL): Likewise.
36359 (_G_HAVE_ATEXIT): Likewise.
36360 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36361 (_G_HAVE_IO_FILE_OPEN): Likewise.
36362 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36363 (_G_int32_t): Likewise.
36364 (_G_uint16_t): Likewise.
36365 (_G_uint32_t): Likewise.
36366 (_G_HAVE_BOOL): Likewise.
36367 (_G_HAVE_ATEXIT): Likewise.
36368 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36369 (_G_HAVE_IO_FILE_OPEN): Likewise.
36371 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36373 * csu/libc-tls.c: Update copyright years.
36375 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36377 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36378 [!_G_USING_THUNKS]: Remove conditional code.
36379 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36380 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36382 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36383 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36384 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36385 (_G_VTABLE_LABEL_PREFIX): Likewise.
36386 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36387 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36388 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36389 (_G_VTABLE_LABEL_PREFIX): Likewise.
36390 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36391 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36392 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36393 (_G_VTABLE_LABEL_PREFIX): Likewise.
36394 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36396 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36398 * libio/Makefile: Include ../Makeconfig before tests.
36399 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36400 only if $(build-shared) is yes.
36402 * iconv/gconv_db.c: Update copyright years.
36404 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36406 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36407 unwind info if defined PIC. Fix special cases description.
36408 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36410 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36412 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36414 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36416 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36418 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36421 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36422 (LDLIBS-tst-chk4): This.
36423 (LDFLAGS-tst-chk5): Renamed to ...
36424 (LDLIBS-tst-chk5): This.
36425 (LDFLAGS-tst-chk6): Renamed to ...
36426 (LDLIBS-tst-chk6): This.
36427 (LDFLAGS-tst-lfschk4): Renamed to ...
36428 (LDLIBS-tst-lfschk4): This.
36429 (LDFLAGS-tst-lfschk5): Renamed to ...
36430 (LDLIBS-tst-lfschk5): This.
36431 (LDFLAGS-tst-lfschk6): Renamed to ...
36432 (LDLIBS-tst-lfschk6): This.
36434 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36435 on $(common-objpfx)soversions.mk.
36437 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36440 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36443 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36445 * malloc/arena.c (arena_get_retry): New function that gets
36446 another arena for the caller to try its request on.
36447 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36448 current arena cannot fulfill the request.
36449 (__libc_memalign): Likewise.
36450 (__libc_memalign): Likewise.
36451 (__libc_pvalloc): Likewise.
36452 (__libc_calloc): Likewise.
36454 2012-09-05 John Tobey <john.tobey@gmail.com>
36457 * manual/arith.texi (Operations on Complex): Fix description
36458 of carg branch cut.
36460 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36463 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36467 * manual/memory.texi (Memory): Make order of menu items match
36470 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36472 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36473 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36474 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36476 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36478 * csu/libc-tls.c (static_dtv): Renamed to ...
36479 (_dl_static_dtv): This. Make it global.
36480 (_dl_initial_dtv): Removed.
36481 (__libc_setup_tls): Updated.
36482 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36483 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36486 2012-09-06 Petr Machata <pmachata@redhat.com>
36488 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36489 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36490 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36491 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36493 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36496 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36497 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36500 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36503 * Makeconfig (link-static-before-libc): Replace $(+prector)
36505 (link-static-after-libc): Replace $(+postctor) with
36507 (link-bounded): Replace $(+prector)/$(+postctor) with
36508 $(+prectorT)/$(+postctorT).
36509 (+prectorT): New macro.
36510 (+postctorT): Likewise.
36512 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36514 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36515 (round_str): Handle values above the maximum for IBM long double
36517 * stdlib/tst-strtod-round.c (tests): Regenerated.
36519 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36521 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36523 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36524 zarch_nohighgprs around the zarch optimized routines.
36525 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36526 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36527 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36530 2012-09-05 David S. Miller <davem@davemloft.net>
36532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36534 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36535 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36536 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36537 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36540 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36542 * malloc/arena.c: Fold copyright years.
36543 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36545 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36547 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36549 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36551 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36553 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36555 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36556 change internal state upon failure.
36558 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36560 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36561 * malloc/memusage.c (mmap): Likewise.
36562 (mmap64, mremap): Likewise. Adjust name in comment.
36564 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36566 * libio/fileops.c: Fix typos in comments.
36567 * libio/oldfileops.c: Likewise.
36568 * libio/wfileops.c: Likewise.
36570 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36573 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36574 (tst-malloc-usable-ENV): Set environment for test case.
36575 * malloc/hooks.c (malloc_check_get_size): New function to get
36577 * malloc/malloc.c (musable): Use malloc_check_get_size.
36578 * malloc/tst-malloc-usable.c: New test case.
36580 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36582 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36584 2012-09-05 Allan McRae <allan@archlinux.org>
36587 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36588 determine header location.
36589 * configure: Regenerated.
36591 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36593 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36595 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36596 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36598 (test): Regenerate.
36600 2012-09-04 David S. Miller <davem@davemloft.net>
36602 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36603 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36604 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36606 2012-09-04 Florian Weimer <fweimer@redhat.com>
36608 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36611 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36613 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36616 * libio/iogetdelim.c: Include <limits.h>.
36617 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36618 + len + 1 would overflow.
36620 2012-09-03 Andreas Jaeger <aj@suse.de>
36622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36623 * sysdeps/i386/fpu/libm-test-ulps: Update.
36625 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36627 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36628 Add s_sinf-sse2, s_conf-sse2.
36630 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36631 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36632 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36633 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36635 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36636 for using routine as __sinf_ia32.
36637 Use macro for function declaration and weak_alias.
36638 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36639 for using routine as __cosf_ia32.
36640 Use macro for function declaration and weak_alias.
36642 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36643 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36645 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36646 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36649 * math/libm-test.inc (cos_test): Add more test cases.
36650 (sin_test): Likewise.
36651 (sincos_test): Likewise.
36653 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36656 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36658 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36660 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36663 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36664 first element of the GOT.
36665 (elf_machine_load_address): Return the difference between
36666 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36668 2012-09-01 Allan McRae <allan@archlinux.org>
36671 * configure.in (AWK): Require gawk version 3.0 or later.
36672 * configure: Regenerated.
36674 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36676 * sysdeps/unix/sysv/linux/kernel-features.h
36677 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36679 [__NR_clock_getres]: Make code unconditional.
36680 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36681 (clock_getcpuclockid): Remove code left unreachable by removal of
36683 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36684 code unconditional.
36685 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36686 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36687 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36688 Make code unconditional.
36689 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36691 * sysdeps/unix/sysv/linux/clock_settime.c
36692 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36694 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36695 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36697 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36700 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36701 scripts/test-installation.pl.
36703 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36704 and $ld_so_version if it is set.
36706 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36710 failure if reading from procfs failed.
36711 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36713 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36715 * sysdeps/unix/sysv/linux/kernel-features.h
36716 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36717 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36718 Remove conditional code.
36719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36720 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36721 Remove conditional code.
36722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36723 * sysdeps/unix/sysv/linux/i386/fxstat.c
36724 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36725 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36726 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36727 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36728 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36729 * sysdeps/unix/sysv/linux/i386/lxstat.c
36730 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36731 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36732 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36733 Remove conditional code.
36734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36735 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36736 Remove conditional code.
36737 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36738 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36739 <kernel-features.h>.
36740 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36742 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36743 Remove conditional code.
36744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36745 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36746 Remove conditional.
36748 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36751 * NEWS: Add fixed bug number.
36753 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36756 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36757 underflowing exponent in case of negative sign.
36758 * stdlib/tst-strtod-round-data: Add more tests.
36759 * stdlib/tst-strtod-round.c (tests): Regenerated.
36762 * stdlib/strtod_l.c (NDIG): Remove.
36763 (HEXNDIG): Likewise.
36764 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36765 smallest representable value.
36766 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36767 lie within an exact representation of 1/2 ulp of the result.
36768 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36770 (TENS_P9_IDX): Define unconditionally.
36771 (TENS_P9_SIZE): Likewise.
36772 (TENS_P10_IDX): Likewise.
36773 (TENS_P10_SIZE): Likewise.
36774 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36775 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36776 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36777 entries for 10^2^13 and 10^2^14.
36778 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36779 (TENS_P13_IDX): Define.
36780 (TENS_P13_SIZE): Likewise.
36781 (TENS_P14_IDX): Likewise.
36782 (TENS_P14_SIZE): Likewise.
36783 (_fpioconst_pow10): Change array size to
36784 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36786 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36787 1024]: Add entries for 10^2^13 and 10^2^14.
36788 [LAST_POW10 > _LAST_POW10]: Remove #error.
36789 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36790 (_fpioconst_pow10): Change array size to
36791 FPIOCONST_POW10_ARRAY_SIZE.
36792 * stdlib/gen-fpioconst.c: New file.
36793 * stdlib/gen-tst-strtod-round.c: Likewise.
36794 * stdlib/tst-strtod-round-data: Likewise.
36795 * stdlib/tst-strtod-round.c: Likewise.
36796 * stdlib/Makefile (tests): Add tst-strtod-round.
36799 * stdlib/strtod_l.c: Include <stdint.h>.
36800 (NDEBUG): Do not define.
36801 (round_and_return): Change EXPONENT parameter to type intmax_t.
36802 Rearrange calculations to avoid internal overflow possibilities.
36803 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36804 Rearrange calculations to avoid internal overflow possibilities.
36805 Assert that number fits inside MPNSIZE limbs.
36806 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36807 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36808 calculations and add assertions to avoid internal overflow
36809 possibilities. Add casts to avoid signed/unsigned operations.
36810 * stdlib/tst-strtod-overflow.c: New file.
36811 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36813 2012-08-25 Marek Polacek <polacek@redhat.com>
36815 * time/time.h: Fix some typos in comments.
36817 2012-08-23 Roland McGrath <roland@hack.frob.com>
36819 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36820 * posix/tst-rfc3484-2.c: Likewise.
36821 * posix/tst-rfc3484-3.c: Likewise.
36823 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36825 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36826 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36828 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36830 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36831 #include of fxstatat64.c.
36833 2012-08-22 Roland McGrath <roland@hack.frob.com>
36835 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36836 * shadow/getspent_r.c: Likewise.
36837 * shadow/getspnam.c: Likewise.
36838 * shadow/getspnam_r.c: Likewise.
36839 * gshadow/getsgent.c: Likewise.
36840 * gshadow/getsgent_r.c: Likewise.
36841 * gshadow/getsgnam.c: Likewise.
36842 * gshadow/getsgnam_r.c: Likewise.
36843 * inet/getnetbyad.c: Likewise.
36844 * inet/getnetbyad_r.c: Likewise.
36845 * inet/getnetbynm.c: Likewise.
36846 * inet/getnetbynm_r.c: Likewise.
36847 * inet/getnetent.c: Likewise.
36848 * inet/getnetent_r.c: Likewise.
36849 * inet/getproto.c: Likewise.
36850 * inet/getproto_r.c: Likewise.
36851 * inet/getprtent.c: Likewise.
36852 * inet/getprtent_r.c: Likewise.
36853 * inet/getprtname.c: Likewise.
36854 * inet/getprtname_r.c: Likewise.
36855 * inet/getrpcbyname.c: Likewise.
36856 * inet/getrpcbyname_r.c: Likewise.
36857 * inet/getrpcbynumber.c: Likewise.
36858 * inet/getrpcbynumber_r.c: Likewise.
36859 * inet/getrpcent.c: Likewise.
36860 * inet/getrpcent_r.c: Likewise.
36861 * inet/getaliasent.c: Likewise.
36862 * inet/getaliasent_r.c: Likewise.
36863 * inet/getaliasname.c: Likewise.
36864 * inet/getaliasname_r.c: Likewise.
36865 * nscd/getgrgid_r.c: Likewise.
36866 * nscd/getgrnam_r.c: Likewise.
36867 * nscd/gethstbyad_r.c: Likewise.
36868 * nscd/gethstbynm3_r.c: Likewise.
36869 * nscd/getpwnam_r.c: Likewise.
36870 * nscd/getpwuid_r.c: Likewise.
36871 * nscd/getsrvbynm_r.c: Likewise.
36872 * nscd/getsrvbypt_r.c: Likewise.
36873 * nscd/gai.c: Likewise.
36875 * configure.in (build_nscd): New substituted variable, set
36876 by --disable-build-nscd and defaults to $use_nscd.
36877 * configure: Regenerated.
36878 * config.make.in (build-nscd): New substituted variable.
36879 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36880 Change conditional to require [$(build-nscd) = yes] as well.
36881 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36884 * configure.in (use_nscd): New substituted variable, set by
36885 --disable-nscd. If enabled, define USE_NSCD.
36886 * configure: Regenerated.
36887 * config.h.in: Add USE_NSCD.
36888 * config.make.in (use-nscd): New substituted variable.
36889 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36890 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36891 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36892 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36893 (CFLAGS-getgrnam_r.c): Likewise.
36894 (CFLAGS-initgroups.c): Likewise.
36895 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36896 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36898 * inet/getnetgrent_r.c
36899 (nscd_setnetgrent): New function, broken out of ...
36900 (setnetgrent): ... here. Call it.
36901 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36902 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36903 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36904 * nscd/Makefile (routines, aux): Move definitions after include of
36905 Makeconfig. Conditionalize on [$(use-nscd) != no].
36906 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36907 Conditionalize on [USE_NSCD].
36908 (is_nscd, nscd_init_cb): Likewise.
36909 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36910 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36911 * nss/nss_db/db-init.c: Likewise.
36912 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36914 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36915 (make_request): Use it.
36916 (cache_valid_p): New function.
36917 (__check_pf): Use it.
36918 * NEWS: Add item for --disable-nscd.
36920 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36922 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36923 to support sed >= 4.2.1-20-ga9bf076.
36924 * configure: Regenerated.
36926 2012-08-22 Roland McGrath <roland@hack.frob.com>
36928 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36929 Conditionalize whole body on [IREL].
36931 2012-08-22 Jeff Law <law@redhat.com>
36934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36935 if the family is PF_UNSPEC.
36937 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36939 * Makerules (lib-version): Rename from V.
36940 (install-lib-nosubdir): Change V to lib-version.
36942 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36945 * powerpc32/power6/wcschr.c: New file.
36946 * powerpc32/power6/wcscpy.c: New file.
36947 * powerpc32/power6/wcsrchr.c: New file.
36948 * powerpc64/power6/wcschr.c: New file.
36949 * powerpc64/power6/wcscpy.c: New file.
36950 * powerpc64/power6/wcsrchr.c: New file.
36952 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36954 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36955 (two_way_short_needle): Use it.
36956 * string/strstr.c (AVAILABLE1_USES_J): Define.
36957 * string/strcasestr.c: Likewise.
36959 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36961 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36964 * NEWS: Add an entry.
36965 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36966 define their defaults.
36967 (two_way_short_needle): Detect end-of-string on-the-fly.
36968 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36969 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36970 * string/bug-strcasestr1.c: New test.
36971 * string/Makefile: Run it.
36973 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36976 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36977 the first character.
36979 2012-08-21 Roland McGrath <roland@hack.frob.com>
36981 * csu/elf-init.c (__libc_csu_irel): Function removed.
36982 * csu/libc-start.c (apply_irel): New function.
36983 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36985 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36987 * sysdeps/unix/sysv/linux/kernel-features.h
36988 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36989 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36990 <kernel-features.h>.
36991 [__NR_fadvise64_64]: Make code unconditional.
36992 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36993 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36994 !__NR_fadvise64_64)]: Likewise.
36995 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36996 !__NR_fadvise64_64))]: Likewise.
36997 [__NR_fadvise64]: Make code unconditional.
36998 [!__NR_fadvise64]: Remove conditional code.
36999 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37000 <kernel-features.h>.
37001 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37003 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37006 not include <kernel-features.h>.
37007 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37009 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37011 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37012 include <kernel-features.h>.
37013 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37015 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37018 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37020 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37021 slight instruction rearrangements per scrollpipe analysis.
37022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37024 2012-08-20 Roland McGrath <roland@hack.frob.com>
37026 * manual/syslog.texi (syslog; vsyslog, closelog):
37027 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37028 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37030 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37031 DSOCAPS to match condition on defining it.
37033 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37035 * sysdeps/unix/sysv/linux/kernel-features.h
37036 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37038 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37039 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37041 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37042 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37044 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37045 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37047 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37048 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37050 * sysdeps/unix/sysv/linux/kernel-features.h
37051 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37052 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37054 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37055 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37056 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37057 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37058 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37059 Make code unconditional.
37060 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37061 (__mmap64) [!__NR_mmap2]: Likewise.
37062 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37063 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37064 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37065 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37066 [__NR_mmap2]: Make code unconditional.
37067 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37068 (__mmap64) [!__NR_mmap2]: Likewise.
37070 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37072 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37074 2012-08-18 Andreas Jaeger <aj@suse.de>
37076 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37078 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37080 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37081 * include/unistd.h (__have_sock_cloexec): Likewise.
37082 (__have_pipe2): Likewise.
37083 (__have_dup3): Likewise.
37085 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37088 * include/unistd.h (__have_pipe2): Change define into an extern int.
37089 (__have_dup3): Likewise.
37090 * socket/have_sock_cloexec.c: Include fcntl.h.
37091 (__have_pipe2): New variable.
37092 (__have_dup3): Likewise.
37094 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37096 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37098 2012-08-17 Marek Polacek <polacek@redhat.com>
37100 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37101 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37103 2012-08-17 Roland McGrath <roland@hack.frob.com>
37105 * configure.in: Add AC_SUBST for sysheaders.
37106 * configure: Regenerated.
37107 * config.make.in (sysheaders): New substituted variable.
37109 * sysdeps/unix/mkfifo.c: Moved ...
37110 * sysdeps/posix/mkfifo.c: ... here.
37111 * sysdeps/unix/mkfifoat.c: Moved ...
37112 * sysdeps/posix/mkfifoat.c: ... here.
37114 * sysdeps/unix/utime.c: Moved ...
37115 * sysdeps/posix/utime.c: ... here.
37117 * sysdeps/unix/time.c: Moved ...
37118 * sysdeps/posix/time.c: ... here.
37119 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37120 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37122 * sysdeps/unix/nice.c: Moved ...
37123 * sysdeps/posix/nice.c: ... here.
37125 * sysdeps/unix/alarm.c: Moved ...
37126 * sysdeps/posix/alarm.c: ... here.
37128 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37130 2012-08-17 Jeff Law <law@redhat.com>
37132 * intl/Makefile (codeset_mo): New variable.
37133 ($(codeset_mo)): New target.
37134 (tst-codeset.out): Depend on that. Remove explicit rule.
37135 (tst-gettext3.out, tst-gettext5.out): Likewise.
37136 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37137 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37138 * intl/tst-codeset.sh: Remove.
37139 * intl/tst-gettext3.sh: Likewise.
37140 * intl/tst-gettext5.sh: Likewise.
37142 2012-08-17 Roland McGrath <roland@hack.frob.com>
37144 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37145 * sysdeps/unix/syscalls.list: ... here.
37147 * sysdeps/posix/getaddrinfo.c
37148 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37149 (gaiconf_init, gaiconf_reload): Use them.
37150 [!_STATBUF_ST_NSEC]
37151 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37152 Define using time_t rather than struct timespec.
37154 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37155 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37157 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37159 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37160 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37163 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37164 __libc_cleanup_push argument.
37166 * bits/param.h: New file.
37167 * misc/sys/param.h: New file.
37168 * include/sys/param.h: New file.
37169 * misc/Makefile (headers): Add bits/param.h.
37170 * sysdeps/generic/sys/param.h: File removed.
37171 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37172 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37173 * sysdeps/mach/hurd/bits/param.h: New file.
37174 * sysdeps/mach/hurd/sys/param.h: File removed.
37176 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37179 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37181 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37182 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37185 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37186 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37187 rather than -D_IO_MTSAFE_IO conditionally.
37188 * stdio-common/Makefile (CPPFLAGS): Likewise.
37189 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37190 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37191 Use $(libio-mtsafe).
37192 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37193 of -D_IO_MTSAFE_IO.
37194 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37195 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37196 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37197 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37198 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37199 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37200 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37201 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37202 (CFLAGS-fread_u_chk.c): Likewise.
37203 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37204 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37205 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37206 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37207 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37208 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37209 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37210 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37211 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37213 * libio/Makefile: Test [$(libc-reentrant) = yes]
37214 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37217 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37218 * sysdeps/pthread/configure: File removed.
37219 * sysdeps/pthread/Makeconfig: New file.
37220 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37221 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37223 2012-08-16 Gary Benson <gbenson@redhat.com>
37225 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37226 unmapping the first object in a namespace.
37228 2012-08-16 Roland McGrath <roland@hack.frob.com>
37230 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37231 (__internal_setnetgrent): ... this. Add internal_function to
37232 definition. Add libc_hidden_def.
37233 (setnetgrent): Update caller.
37234 (internal_endnetgrent): Renamed to ...
37235 (__internal_endnetgrent): ... this. Add internal_function to
37236 definition. Add libc_hidden_def.
37237 (endnetgrent): Update caller.
37238 (internal_getnetgrent_r): Renamed to ...
37239 (__internal_getnetgrent_r): ... this. Add internal_function to
37240 definition. Add libc_hidden_def.
37241 (__getnetgrent_r): Update caller.
37242 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37244 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37246 * stdlib/longlong.h: Update from GCC.
37248 2012-08-16 Roland McGrath <roland@hack.frob.com>
37250 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37251 on _QL, which is set by umul_ppmm but never used.
37252 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37253 variables, which are set by GMP macros but never used.
37254 * stdio-common/_itowa.c (_itowa): Likewise.
37255 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37256 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37258 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37260 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37261 struct La_sh_regs is not constant.
37262 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37263 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37264 and struct La_sparc64_regs are not constant.
37266 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37268 * sysdeps/unix/sysv/linux/kernel-features.h
37269 (__ASSUME_POSIX_TIMERS): Remove.
37270 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37271 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37272 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37273 Make code unconditional.
37274 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37275 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37276 Make code unconditional.
37277 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37278 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37279 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37280 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37281 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37282 Make code unconditional.
37283 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37284 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37285 (__libc_missing_posix_timers): Remove.
37287 2012-08-15 Roland McGrath <roland@hack.frob.com>
37289 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37290 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37292 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37294 * elf/dl-sym.c: Include <stdlib.h>.
37296 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37297 constants, which avoids warnings in 32-bit builds.
37299 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37300 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37302 * misc/lseek.c: File moved to ...
37303 * io/lseek.c: ... here.
37305 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37307 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37308 shifting LEN more than 31 bits at once.
37310 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37313 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37314 segmentation fault for a case of two empty input strings.
37315 * string/test-strncasecmp.c (check1): Renamed to...
37316 (bz12205): ...this.
37317 (bz14195): Add new testcase for two empty input strings and N > 0.
37318 (test_main): Call new testcase, adapt for renamed function.
37320 2012-08-15 Andreas Jaeger <aj@suse.de>
37323 * crypt/md5test2.c: New test, based on test supplied by Serge
37324 Belyshev <belyshev@depni.sinp.msu.ru>.
37325 * crypt/Makefile (xtests): Add md5test-giant..
37326 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37328 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37331 * crypt/md5.c (md5_process_block): Don't assume the buffer
37332 length is less than 2**32.
37333 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37334 length is less than 2**64.
37336 2012-08-15 Roland McGrath <roland@hack.frob.com>
37338 * string/str-two-way.h: Include <sys/param.h>.
37339 (MAX): Macro removed.
37341 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37342 Move #define and #undef of memmove to just before and after
37343 including <string.h>.
37345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37346 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37347 and after including <string.h>. Move declarations of
37348 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37349 to before #include "string/memmove.c".
37351 * include/dirent.h: Declare __getdirentries.
37353 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37354 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37356 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37358 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37359 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37360 * sysdeps/i386/configure: Regenerated.
37361 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37362 STABS_CURRENT_FILE, and STABS_FUN.
37363 (END): Remove call to STABS_FUN_END.
37364 (STABS_CURRENT_FILE1): Delete.
37365 (STABS_CURRENT_FILE): Likewise.
37366 (STABS_FUN): Likewise.
37367 (STABS_FUN_END): Likewise.
37368 (STABS_FUN2): Likewise.
37369 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37370 * sysdeps/x86_64/configure: Regenerated.
37372 2012-08-14 Roland McGrath <roland@hack.frob.com>
37374 * elf/dl-open.c: Include <atomic.h>.
37375 * elf/dl-lookup.c: Likewise.
37377 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37379 * sysdeps/unix/sysv/linux/kernel-features.h
37380 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37381 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37383 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37385 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37386 condition on __ASSUME_CLONE_THREAD_FLAGS.
37388 2012-08-14 Andreas Jaeger <aj@suse.de>
37390 * sysdeps/i386/fpu/libm-test-ulps: Update.
37392 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37394 * include/atomic.h (atomic_exchange_and_add): Split into ...
37395 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37398 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37400 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37402 2012-08-13 Jeff Law <law@redhat.com>
37404 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37405 null byte in the output string.
37407 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37409 * sysdeps/unix/sysv/linux/kernel-features.h
37410 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37411 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37412 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37413 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37414 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37415 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37416 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37418 2012-08-09 Jeff Law <law@redhat.com>
37421 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37422 When avoid_arena is set, don't retry in the that arena. Pick the
37423 next one, whatever it might be.
37424 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37425 (arena_lock): Pass in new parameter to arena_get2.
37426 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37428 (__libc_malloc): Unify retrying after main arena failure with
37429 __libc_memalign version.
37430 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37432 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37435 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37436 to __redirect_strstr.
37437 (__strstr_sse42): Use typeof __redirect_strstr.
37438 (__strstr_ia32): Likewise.
37439 (__libc_strstr): New prototype.
37440 (strstr): Renamed to ...
37441 (__libc_strstr): This.
37442 (strstr): New strong alias of __libc_strstr.
37443 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37444 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37447 (__libc_time): New prototype.
37448 (time_ifunc): Replace time with __libc_time.
37449 (time): New strong alias and hidden definition of __libc_time.
37450 (__GI_time): Remove strong alias.
37451 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37452 Include <stddef.h>.
37453 (memmove): Redefined to __redirect_memmove.
37454 (__memmove_sse2): Use typeof __redirect_memmove.
37455 (__memmove_ssse3): Likewise.
37456 (__memmove_ssse3_back): Likewise.
37457 (__libc_memmove): New prototype.
37458 (memmove): Renamed to ...
37459 (__libc_memmove): This.
37460 (memmove): New strong alias of __libc_memmove.
37462 2012-08-08 Mark Salter <msalter@redhat.com>
37465 (R_MN10300_TLS_GD): Define.
37466 (R_MN10300_TLS_LD): Likewise.
37467 (R_MN10300_TLS_LDO): Likewise.
37468 (R_MN10300_TLS_GOTIE): Likewise.
37469 (R_MN10300_TLS_IE): Likewise.
37470 (R_MN10300_TLS_LE): Likewise.
37471 (R_MN10300_TLS_DTPMOD): Likewise.
37472 (R_MN10300_TLS_DTPOFF): Likewise.
37473 (R_MN10300_TLS_TPOFF): Likewise.
37474 (R_MN10300_SYM_DIFF): Likewise.
37475 (R_MN10300_ALIGN): Likewise.
37476 (R_MN10300_NUM): Update.
37478 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37480 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37483 2012-08-08 Roland McGrath <roland@hack.frob.com>
37485 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37487 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37488 sysdeps/unix -> sysdeps/posix move.
37489 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37491 2012-08-07 Allan McRae <allan@archlinux.org>
37494 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37495 (SUNOS_CPP): Likewise.
37496 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37498 (open_input): Call CPP using execvp.
37500 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37502 * sysdeps/unix/sysv/linux/kernel-features.h
37503 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37504 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37505 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37506 (__ASSUME_WAITID_SYSCALL): Likewise.
37507 * sysdeps/unix/sysv/linux/dl-execstack.c
37508 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37509 code unconditional.
37510 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37512 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37513 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37514 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37516 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37518 [__ASSUME_WAITID_SYSCALL]: Likewise.
37519 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37521 2012-08-07 Roland McGrath <roland@hack.frob.com>
37523 * sysdeps/unix/closedir.c: Renamed to ...
37524 * sysdeps/posix/closedir.c: ... here.
37525 * sysdeps/unix/dirfd.c: Renamed to ...
37526 * sysdeps/posix/dirfd.c: ... here.
37527 * sysdeps/unix/dirstream.h: Renamed to ...
37528 * sysdeps/posix/dirstream.h: ... here.
37529 * sysdeps/unix/fdopendir.c: Renamed to ...
37530 * sysdeps/posix/fdopendir.c: ... here.
37531 * sysdeps/unix/opendir.c: Renamed to ...
37532 * sysdeps/posix/opendir.c: ... here.
37533 * sysdeps/unix/readdir.c: Renamed to ...
37534 * sysdeps/posix/readdir.c: ... here.
37535 * sysdeps/unix/readdir_r.c: Renamed to ...
37536 * sysdeps/posix/readdir_r.c: ... here.
37537 * sysdeps/unix/rewinddir.c: Renamed to ...
37538 * sysdeps/posix/rewinddir.c: ... here.
37539 * sysdeps/unix/seekdir.c: Renamed to ...
37540 * sysdeps/posix/seekdir.c: ... here.
37541 * sysdeps/unix/telldir.c: Renamed to ...
37542 * sysdeps/posix/telldir.c: ... here.
37543 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37544 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37545 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37546 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37548 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37549 * bits/fcntl.h: ... here.
37551 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37553 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37554 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37555 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37556 (struct flock): Move l_start, l_len to the beginning.
37557 Use __pid_t for l_pid.
37558 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37559 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37560 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37561 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37562 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37563 [__USE_LARGEFILE64] (struct flock64): New type.
37564 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37566 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37567 * bits/dirent.h: ... here.
37569 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37570 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37572 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37574 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37575 Change from 2.6.0 to 2.6.16.
37576 * sysdeps/unix/sysv/linux/configure: Regenerated.
37577 * sysdeps/unix/sysv/linux/kernel-features.h
37578 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37579 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37581 (__ASSUME_UTIMES): Likewise.
37582 (__ASSUME_CLONE_STOPPED): Remove.
37583 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37584 architectures, not kernel version.
37585 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37586 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37587 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37588 (__ASSUME_WAITID_SYSCALL): Likewise.
37589 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37590 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37591 * README: State 2.6.16 as minimum Linux kernel version. Do not
37592 refer to older versions.
37594 2012-08-06 Roland McGrath <roland@hack.frob.com>
37596 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37597 Define alphasort64 as an alias.
37598 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37599 Define versionsort64 as an alias.
37600 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37601 Define scandir64 as an alias.
37602 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37603 Define scandirat64 as an alias.
37604 * dirent/alphasort64.c (alphasort64):
37605 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37606 * dirent/versionsort64.c: Likewise.
37607 * dirent/scandir64.c: Likewise.
37608 * dirent/scandirat64.c: Likewise.
37609 * sysdeps/wordsize-64/alphasort.c: File removed.
37610 * sysdeps/wordsize-64/alphasort64.c: File removed.
37611 * sysdeps/wordsize-64/scandir.c: File removed.
37612 * sysdeps/wordsize-64/scandir64.c: File removed.
37613 * sysdeps/wordsize-64/scandirat.c: File removed.
37614 * sysdeps/wordsize-64/scandirat64.c: File removed.
37615 * sysdeps/wordsize-64/versionsort.c: File removed.
37616 * sysdeps/wordsize-64/versionsort64.c: File removed.
37617 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37618 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37623 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37624 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37626 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37628 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37630 [defined __arch64__ || defined __sparcv9]
37631 (__INO_T_MATCHES_INO64_T): New macro.
37632 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37633 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37634 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37635 * sysdeps/unix/sysv/linux/bits/dirent.h
37636 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37637 (_DIRENT_MATCHES_DIRENT64): New macro.
37639 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37640 Define lockf64 as an alias.
37641 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37642 Define fseeko64 as an alias.
37643 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37644 Define ftello64 as an alias.
37645 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37646 Define _IO_fgetpos64 and fgetpos64 as aliases.
37647 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37648 Define _IO_fsetpos64 and fsetpos64 as aliases.
37649 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37650 Conditionalize body on this.
37651 * libio/fseeko64.c: Likewise.
37652 * libio/ftello64.c: Likewise.
37653 * libio/iofgetpos64.c: Likewise.
37654 * libio/iofsetpos64.c: Likewise.
37655 * sysdeps/wordsize-64/lockf.c: File removed.
37656 * sysdeps/wordsize-64/lockf64.c: File removed.
37657 * sysdeps/wordsize-64/fseeko.c: File removed.
37658 * sysdeps/wordsize-64/fseeko64.c: File removed.
37659 * sysdeps/wordsize-64/ftello.c: File removed.
37660 * sysdeps/wordsize-64/ftello64.c: File removed.
37661 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37662 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37663 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37664 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37665 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37666 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37667 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37668 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37669 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37670 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37671 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37672 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37673 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37674 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37676 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37678 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37680 [defined __arch64__ || defined __sparcv9]
37681 (__OFF_T_MATCHES_OFF64_T): New macro.
37682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37683 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37684 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37685 (__OFF_T_MATCHES_OFF64_T): New macro.
37687 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37689 * stdlib/secure-getenv.c (__secure_getenv): Replace
37690 GLIBC_2_16 with GLIBC_2_17.
37692 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37694 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37695 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37697 2012-08-03 David S. Miller <davem@davemloft.net>
37699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37701 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37703 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37705 (__ASSUME_CORRECT_SI_PID): Likewise.
37706 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37707 (__ASSUME_TMPFS_NAME): Likewise.
37708 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37709 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37710 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37711 (HAVE_AUX_SECURE): Make definition unconditional.
37712 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37713 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37715 2012-08-03 Roland McGrath <roland@hack.frob.com>
37717 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37718 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37719 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37720 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37721 __eloop_threshold instead of SYMLOOP_MAX.
37723 * sysdeps/generic/eloop-threshold.h: New file.
37724 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37726 * elf/chroot_canon.c (chroot_canon): Likewise.
37728 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37732 Change to 2.6.0 everywhere.
37733 * sysdeps/unix/sysv/linux/configure: Regenerated.
37734 * sysdeps/unix/sysv/linux/kernel-features.h
37735 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37736 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37738 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37739 (__ASSUME_FUTEX_REQUEUE): Remove.
37740 (__ASSUME_STATFS64): Define unconditionally.
37741 (__ASSUME_AT_SECURE): Likewise.
37742 (__ASSUME_CORRECT_SI_PID): Likewise.
37743 (__ASSUME_TGKILL): Define without depending on kernel version for
37745 (__ASSUME_UTIMES): Likewise.
37746 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37748 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37749 (__ASSUME_TMPFS_NAME): Likewise.
37750 * README: Update reference to Linux kernel versions.
37752 2012-08-02 Marek Polacek <polacek@redhat.com>
37755 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37756 libc_cv_asm_type_prefix with %.
37757 * configure: Regenerated.
37758 * include/libc-symbols.h: Remove comment about
37759 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37760 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37761 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37762 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37763 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37764 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37765 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37766 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37767 * elf/tst-unique2mod1.c: Likewise.
37768 * elf/tst-unique1mod2.c: Likewise.
37769 * elf/tst-unique1mod1.c: Likewise.
37770 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37771 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37772 Replace ASM_TYPE_DIRECTIVE with .type.
37773 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37774 * sysdeps/i386/sysdep.h: Likewise.
37775 * sysdeps/x86_64/sysdep.h: Likewise.
37776 * sysdeps/sh/sysdep.h: Likewise.
37777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37778 Do not define ASM_TYPE_DIRECTIVE.
37779 * sysdeps/powerpc/sysdep.h: Likewise.
37780 * sysdeps/powerpc/powerpc32/sysdep.h:
37781 Replace ASM_TYPE_DIRECTIVE with .type.
37782 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37783 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37784 * sysdeps/i386/fpu/e_powf.S: Likewise.
37785 * sysdeps/i386/fpu/e_expl.S: Likewise.
37786 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37787 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37788 * sysdeps/i386/fpu/e_pow.S: Likewise.
37789 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37790 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37791 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37792 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37793 * sysdeps/i386/fpu/e_log2.S: Likewise.
37794 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37795 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37796 * sysdeps/i386/fpu/e_powl.S: Likewise.
37797 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37798 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37799 * sysdeps/i386/fpu/e_logl.S: Likewise.
37800 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37801 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37802 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37803 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37804 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37805 * sysdeps/i386/fpu/e_log.S: Likewise.
37806 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37807 * sysdeps/i386/fpu/e_logf.S: Likewise.
37808 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37809 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37810 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37811 * sysdeps/i386/fpu/e_log10.S: Likewise.
37812 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37813 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37814 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37815 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37816 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37817 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37818 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37819 * sysdeps/i386/i686/strtok.S: Likewise.
37820 * sysdeps/i386/i386-mcount.S: Likewise.
37821 * sysdeps/i386/strtok.S: Likewise.
37822 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37823 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37824 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37825 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37826 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37827 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37828 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37829 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37830 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37831 * sysdeps/x86_64/_mcount.S: Likewise.
37832 * sysdeps/x86_64/strtok.S: Likewise.
37833 * sysdeps/sh/_mcount.S: Likewise.
37835 2012-08-01 Roland McGrath <roland@hack.frob.com>
37837 * libio/iofopen.c: Include <fcntl.h>.
37838 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37839 (_IO_fopen64, fopen64): Define as aliases.
37840 * libio/iofopen64.c: Include <fcntl.h>.
37841 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37842 Conditionalize body on this.
37843 * sysdeps/wordsize-64/iofopen.c: File removed.
37844 * sysdeps/wordsize-64/iofopen64.c: File removed.
37846 2012-08-01 Marek Polacek <polacek@redhat.com>
37848 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37849 Use dlfcn directly instead of a variable.
37850 (binfmt-subdir): Do not define.
37853 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37855 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37856 Remove all definitions.
37857 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37858 <kernel-features.h>.
37859 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37860 (miss_F_GETOWN_EX): Remove all definitions.
37861 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37863 [!__ASSUME_FCNTL64]: Remove conditional code.
37864 [__ASSUME_FCNTL64]: Make code unconditional.
37865 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37866 <kernel-features.h>.
37867 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37868 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37869 (lockf64) [__NR_fcntl64]: Make code unconditional.
37870 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37872 * sysdeps/unix/sysv/linux/kernel-features.h
37873 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37874 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37875 Make code unconditional.
37876 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37877 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37879 [__NR_vfork]: Make code unconditional.
37880 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37881 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37883 [__NR_vfork]: Make code unconditional.
37884 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37885 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37887 2012-08-01 Roland McGrath <roland@hack.frob.com>
37889 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37890 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37892 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37893 Define mkstemp64 as an alias.
37894 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37895 Define mkstemps64 as an alias.
37896 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37897 Define mkostemp64 as an alias.
37898 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37899 Define mkostemps64 as an alias.
37900 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37901 Conditionalize body on this.
37902 * misc/mkostemp64.c: Likewise.
37903 * misc/mkostemps64.c: Likewise.
37904 * misc/mkstemps64.c: Likewise.
37905 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37906 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37907 * sysdeps/wordsize-64/mkostemp.c: File removed.
37908 * sysdeps/wordsize-64/mkstemp.c: File removed.
37909 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37910 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37911 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37912 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37915 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37916 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37917 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37918 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37920 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37921 compat_symbol macros from <shlib-compat.h> rather than the underlying
37922 default_symbol_version and symbol_version macros, so that DEFAULT
37923 lines in shlib-versions are respected.
37924 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37926 2012-08-01 Florian Weimer <fweimer@redhat.com>
37928 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37929 Declare with warn_unused_result.
37930 (setgid, setregid, setegid, setresgid): Likewise.
37931 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37933 * WUR-REPORT: Remove set*id functions.
37935 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37937 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37939 2012-07-31 Roland McGrath <roland@hack.frob.com>
37942 * include/sys/socket.h (__libc_accept, __libc_accept4):
37943 Add attribute_hidden.
37944 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37946 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37948 * inet/getnetgrent_r.c (setup): Likewise.
37950 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37952 2012-07-31 David S. Miller <davem@davemloft.net>
37954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37956 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37959 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37960 value between 1.0 and 2.0 and smaller part has absolute value less
37962 * math/s_clog10.c (__clog10): Likewise.
37963 * math/s_clog10f.c (__clog10f): Likewise.
37964 * math/s_clog10l.c (__clog10l): Likewise.
37965 * math/s_clogf.c (__clogf): Likewise.
37966 * math/s_clogl.c (__clogl): Likewise.
37967 * math/libm-test.inc (clog_test): Add more tests.
37968 (clog10_test): Likewise.
37969 * sysdeps/i386/fpu/libm-test-ulps: Update.
37970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37972 2012-07-31 Florian Weimer <fweimer@redhat.com>
37974 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37975 Exit with zero in case no suitable GID is found, and write a
37976 message to standard error.
37978 2012-07-30 Roland McGrath <roland@hack.frob.com>
37980 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37982 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37983 (MAXPATHLEN): Removed.
37984 (NOGROUP, NODEV): New macros.
37985 (setbit, clrbit, isset, isclr): New macros.
37986 (howmany, roundup, powerof2): New macros.
37987 (DEV_BSIZE): New macro.
37989 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37990 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37992 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37993 definition on [!__NO_LONG_DOUBLE_MATH].
37995 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37996 PTR_MANGLE and PTR_DEMANGLE.
37998 * socket/accept4.c (accept4): Rename to __libc_accept4.
37999 Define accept4 as a weak alias.
38001 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38002 on [_DIRENT_HAVE_D_TYPE].
38003 * io/ftw.c (ftw_dir): Likewise.
38005 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38007 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38009 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38010 Use the BSD numbers rather than the arbitrary ones we had.
38011 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38012 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38013 (SIGXCPU, SIGXFSZ): New macros.
38016 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38017 initializer on [_LIBC_REENTRANT].
38019 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38020 definitions inside [_POSIX_MAPPED_FILES].
38022 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38024 * dirent/opendir.c: Include <fcntl.h>.
38026 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38027 (__libc_getspecific): Likewise.
38028 (__libc_key_create): Likewise.
38030 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38031 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38032 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38033 (tmpfile64): Define as alias.
38034 * sysdeps/wordsize-64/tmpfile.c: File removed.
38035 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38036 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38037 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38039 * stdio-common/vfscanf.c: Include <stdbool.h>.
38040 * nss/makedb.c: Likewise.
38041 * stdio-common/_i18n_number.h: Likewise.
38042 * argp/argp-help.c: Likewise.
38043 * posix/wordexp.c: Likewise.
38044 * sysdeps/posix/spawni.c: Likewise.
38045 * nss/nss_files/files-initgroups.c: Likewise.
38046 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38047 * nss/nss_files/files-initgroups.c: Likewise.
38048 * nss/nss_db/db-netgrp.c: Likewise.
38049 * nss/nss_db/db-initgroups.c: Likewise.
38050 * io/fchmodat.c: Include <sys/stat.h>.
38052 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38053 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38055 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38058 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38059 Add multiple inclusion protection.
38061 2012-07-27 David S. Miller <davem@davemloft.net>
38063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38065 2012-07-27 Gary Benson <gbenson@redhat.com>
38068 * elf/rtld.c: Include <stap-probe.h>.
38069 (dl_main): Added static probes "init_start" and "init_complete".
38070 * elf/dl-load.c: Include <stap-probe.h>.
38071 (lose): Take new parameter "nsid".
38072 Added static probe "map_failed".
38073 (_dl_map_object_from_fd): Pass namespace id to lose.
38074 Added static probe "map_start".
38075 (open_verify): Pass namespace id to lose.
38076 * elf/dl-open.c: Include <stap-probe.h>.
38077 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38078 and "reloc_complete".
38079 * elf/dl-close.c: Include <stap-probe.h>.
38080 (_dl_close_worker): Added static probes "unmap_start" and
38082 * elf/rtld-debugger-interface.txt: New file documenting the above.
38084 2012-07-26 Roland McGrath <roland@hack.frob.com>
38086 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38087 rather than a string variable.
38088 * sunrpc/rpc_main.c (h_output): Likewise.
38089 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38091 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38093 * inet/check_native.c: New file.
38095 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38098 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38099 if larger part has absolute value 1.0.
38100 * math/s_clog10.c (__clog10): Likewise.
38101 * math/s_clog10f.c (__clog10f): Likewise.
38102 * math/s_clog10l.c (__clog10l): Likewise.
38103 * math/s_clogf.c (__clogf): Likewise.
38104 * math/s_clogl.c (__clogl): Likewise.
38105 * math/libm-test.inc (clog_test): Add more tests.
38106 (clog10_test): Likewise.
38107 * sysdeps/i386/fpu/libm-test-ulps: Update.
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38110 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38111 (pltexit): Likewise.
38112 (La_regs): Likewise.
38113 (La_retval): Likewise.
38114 (int_retval): Likewise.
38115 Update #error for removed macros to refer only to definitions in
38117 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38119 (pltexit): Likewise.
38120 (La_regs): Likewise.
38121 (La_retval): Likewise.
38122 (int_retval): Likewise.
38123 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38125 (pltexit): Likewise.
38126 (La_regs): Likewise.
38127 (La_retval): Likewise.
38128 (int_retval): Likewise.
38129 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38131 (pltexit): Likewise.
38132 (La_regs): Likewise.
38133 (La_retval): Likewise.
38134 (int_retval): Likewise.
38135 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38137 (pltexit): Likewise.
38138 (La_regs): Likewise.
38139 (La_retval): Likewise.
38140 (int_retval): Likewise.
38141 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38143 (pltexit): Likewise.
38144 (La_regs): Likewise.
38145 (La_retval): Likewise.
38146 (int_retval): Likewise.
38147 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38149 (pltexit): Likewise.
38150 (La_regs): Likewise.
38151 (La_retval): Likewise.
38152 (int_retval): Likewise.
38153 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38154 macro definitions in tst-audit.h.
38155 * sysdeps/i386/tst-audit.h: New file.
38156 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38157 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38158 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38159 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38160 * sysdeps/sh/tst-audit.h: Likewise.
38161 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38162 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38163 * sysdeps/x86_64/tst-audit.h: Likewise.
38165 2012-07-26 Andreas Jaeger <aj@suse.de>
38167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38170 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38171 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38172 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38174 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38175 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38176 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38178 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38181 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38183 (si_call_addr, si_syscall, si_arch): Define new macro.
38184 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38186 (si_call_addr, si_syscall, si_arch): Define new marcro.
38187 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38189 (si_call_addr, si_syscall, si_arch): Define new macro.
38190 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38192 (si_call_addr, si_syscall, si_arch): Define new macro.
38194 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38198 Change to 2.4.21 where previously 2.4.1.
38199 * sysdeps/unix/sysv/linux/configure: Regenerated.
38200 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38201 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38202 Linux kernel version.
38203 (__ASSUME_STD_AUXV): Remove.
38204 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38206 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38207 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38208 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38209 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38210 (__ASSUME_NETLINK_SUPPORT): Likewise.
38211 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38212 (__no_netlink_support): Remove conditional definition.
38213 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38215 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38216 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38217 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38218 (if_nameindex_ioctl): Remove.
38219 (if_nameindex_netlink): Do not handle __no_netlink_support.
38220 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38222 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38223 Remove conditional code.
38224 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38226 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38228 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38229 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38230 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38232 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38233 [!__ASSUME_STD_AUXV]: Remove conditional code.
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38235 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38236 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38238 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38239 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38241 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38243 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38244 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38246 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38248 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38251 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38254 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38255 code unconditional.
38256 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38258 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38260 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38263 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38265 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38268 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38269 code unconditional.
38270 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38272 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38274 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38277 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38278 code unconditional.
38279 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38281 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38283 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38286 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38288 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38289 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38290 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38291 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38292 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38293 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38294 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38295 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38296 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38297 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38298 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38299 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38300 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38301 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38302 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38303 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38304 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38305 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38306 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38307 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38308 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38309 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38310 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38312 2012-07-25 Florian Weimer <fweimer@redhat.com>
38314 * Versions.def: Add GLIBC_2.17.
38315 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38316 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38317 Introduce __libc_secure_getenv.
38318 * stdlib/Versions (2.17): Add secure_getenv
38319 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38320 * stdlib/secure-getenv.c: Rename __secure_getenv to
38321 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38322 symbol __secure_getenv for GLIBC_2.0.
38323 * stdlib/tst-secure-getenv.c: New.
38324 * stdlib/Makefile (tests): Add testcase.
38325 * manual/startup.texi (Environment Access): Document
38327 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38328 __libc_secure_getenv.
38329 * inet/ruserpass.c (ruserpass): Likewise.
38330 * malloc/mtrace.c (mtrace): Likewise.
38331 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38332 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38333 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38334 * sysdeps/posix/tempname.c: Likewise. Evaluate
38335 HAVE_SECURE_GETENV.
38336 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38337 __secure_getenv to __libc_secure_getenv.
38338 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38351 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38353 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38354 (struct La_i86_retval): Likewise.
38355 (struct La_x86_64_regs): Likewise.
38356 (struct La_x86_64_retval): Likewise.
38357 (struct La_x32_regs): Likewise.
38358 (struct La_x32_retval): Likewise.
38359 (struct La_ppc32_regs): Likewise.
38360 (struct La_ppc32_retval): Likewise.
38361 (struct La_ppc64_regs): Likewise.
38362 (struct La_ppc64_retval): Likewise.
38363 (struct La_sh_regs): Likewise.
38364 (struct La_sh_retval): Likewise.
38365 (struct La_s390_32_regs): Likewise.
38366 (struct La_s390_32_retval): Likewise.
38367 (struct La_s390_64_regs): Likewise.
38368 (struct La_s390_64_retval): Likewise.
38369 (struct La_sparc32_regs): Likewise.
38370 (struct La_sparc32_retval): Likewise.
38371 (struct La_sparc64_regs): Likewise.
38372 (struct La_sparc64_retval): Likewise.
38373 (struct audit_ifaces): Remove architecture-specific pltenter and
38375 * sysdeps/i386/ldsodefs.h: New file.
38376 * sysdeps/powerpc/ldsodefs.h: Likewise.
38377 * sysdeps/s390/ldsodefs.h: Likewise.
38378 * sysdeps/sh/ldsodefs.h: Likewise.
38379 * sysdeps/sparc/ldsodefs.h: Likewise.
38380 * sysdeps/x86_64/ldsodefs.h: Likewise.
38382 2012-07-25 Marek Polacek <polacek@redhat.com>
38385 * math/libm-test.inc (yn_test): Add another test.
38386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38387 to ERANGE when the result is +-Inf.
38388 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38389 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38390 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38391 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38393 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38395 * conform/data/time.h-data (NULL): Use macro-constant. Require
38397 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38399 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38401 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38403 * configure.in <sysdeps resolving>: Correct printing
38405 * configure: Regenerate.
38407 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38409 * math/w_ilogb.c: Include <limits.h>.
38410 * math/w_ilogbl.c: Likewise.
38412 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38414 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38415 va_copy. Document allowing for unavailable va_copy only as
38416 pre-C99 compatibility.
38417 * manual/string.texi (Copying and Concatenation): Use va_copy
38418 instead of __va_copy in concat example.
38420 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38422 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38423 (__sendto): Use create_address_port. Initialize APORT and deallocate
38426 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38427 with O_NOLINK passed to __file_name_lookup.
38429 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38430 with O_NOLINK passed to __file_name_lookup.
38432 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38433 negative N or less than NGIDS.
38435 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38436 type to string_t. Set ERANGE as errno and return it if NAME is not big
38437 enough. Use memcpy instead of strncpy.
38439 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38441 * elf/Makefile (check-data): Remove.
38442 (localplt.data): New vpath directive.
38443 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38444 instead of $(check-data).
38445 * scripts/data/localplt-generic.data: Move to ...
38446 * sysdeps/generic/localplt.data: ... here.
38447 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38448 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38449 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38452 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38455 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38458 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38461 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38464 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38468 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38470 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38471 PPC32 and PPC64 files.
38472 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38473 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38475 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38477 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38478 __makecontext_ret to ...
38479 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38480 ... here and call exit if uc_link is NULL. New file.
38481 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38482 __makecontext_ret.S.
38483 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38484 __makecontext_ret to ...
38485 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38486 ... here and call exit if uc_link is NULL. New file.
38487 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38488 __makecontext_ret.S.
38490 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38492 * elf/elf.h (R_390_IRELATIVE): New definition.
38493 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38494 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38495 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38496 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38497 (elf_machine_lazy_rel): Likewise.
38498 * sysdeps/s390/dl-irel.h: New file.
38499 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38500 * sysdeps/s390/s390-64/memset.S: New asm code.
38501 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38502 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38503 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38504 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38505 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38506 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38507 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38508 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38509 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38510 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38511 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38512 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38513 * sysdeps/s390/s390-32/memset.S: New asm code.
38514 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38516 2012-07-17 Marek Polacek <polacek@redhat.com>
38519 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38520 * sysdeps/s390/s390-64/configure.in: Likewise.
38521 * sysdeps/sparc/configure.in: Likewise.
38522 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38523 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38524 * sysdeps/i386/configure.in: Likewise.
38525 * sysdeps/x86_64/configure.in: Likewise.
38526 * sysdeps/sh/configure.in: Likewise.
38527 * sysdeps/s390/s390-32/configure: Regenerated.
38528 * sysdeps/s390/s390-64/configure: Likewise.
38529 * sysdeps/x86_64/configure: Likewise.
38530 * sysdeps/sh/configure: Likewise.
38531 * sysdeps/powerpc/powerpc64/configure: Likewise.
38532 * sysdeps/powerpc/powerpc32/configure: Likewise.
38533 * sysdeps/sparc/configure: Likwise.
38534 * sysdeps/i386/configure: Likewise.
38536 * elf/dl-open.c: Comment fixes.
38538 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38540 * Makefile [CXX] (check-data): Remove.
38541 [CXX] (c++-types.data): New vpath directive.
38542 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38543 vpath. Do not allow for C++ type data being missing.
38544 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38545 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38546 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38547 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38548 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38549 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38550 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38553 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38556 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38559 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38562 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38565 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38568 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38571 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38574 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38575 definitions to architecture-specific files.
38576 (TLS_IE): Likewise.
38577 (TLS_LD): Likewise.
38578 (TLS_GD): Likewise.
38579 * sysdeps/i386/tls-macros.h: New file.
38580 * sysdeps/powerpc/tls-macros.h: Likewise.
38581 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38582 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38583 * sysdeps/sh/tls-macros.h: Likewise.
38584 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38585 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38586 * sysdeps/x86_64/tls-macros.h: Likewise.
38588 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38591 zero value for regular exit case.
38593 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38594 (__start_context): Preserve zero value for regular exit case.
38596 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38597 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38599 * manual/setjmp.texi (setcontext): Clarify normal process
38600 termination when uc_link is the null pointer.
38601 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38604 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38606 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38607 preprocessor. Test for each exception mask separately.
38609 2012-07-16 Andreas Jaeger <aj@suse.de>
38611 * po/ru.po: Update from translation team.
38613 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38615 * conform/data/string.h-data (NULL): Use macro-constant. Require
38617 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38618 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38619 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38620 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38623 2012-07-13 Andreas Jaeger <aj@suse.de>
38625 * po/fr.po: Update from translation team.
38627 2012-07-12 Marek Polacek <polacek@redhat.com>
38630 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38631 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38634 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38638 Change to 2.4.1 where previously 2.4.0.
38639 * sysdeps/unix/sysv/linux/configure: Regenerated.
38640 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38641 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38643 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38644 (__ASSUME_AT_CLKTCK): Remove.
38645 (__ASSUME_AT_PAGESIZE): Likewise.
38646 (__ASSUME_AT_XID): Likewise.
38647 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38648 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38649 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38651 (HAVE_AUX_PAGESIZE): Likewise.
38652 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38653 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38654 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38656 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38660 the temporary buffer used to invoke __gethostbyname2_r,
38661 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38662 host_data / struct gaih_addrtuple.
38663 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38664 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38665 header file nss/nsswitch.h.
38666 * nss/nsswitch.h (global scope): Add definition of implementation
38667 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38668 resolv/nss_dns/dns-host.c).
38670 2012-07-11 Andreas Jaeger <aj@suse.de>
38672 * po/fr.po: Update from translation team.
38674 * po/sv.po: Update from translation team
38675 * po/fr.po: Another update from translation team.
38677 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38679 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38680 for subnormals or multiply small sinh result by itself.
38681 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38684 2012-07-11 David S. Miller <davem@davemloft.net>
38686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38688 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38691 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38692 (INTERNAL_MARK): Shift it here.
38694 2012-07-10 Marek Polacek <polacek@redhat.com>
38697 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38698 libc_cv_asm_global_directive with .globl.
38699 * configure: Regenerated.
38700 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38702 * sysdeps/i386/configure: Regenerated.
38703 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38705 * sysdeps/x86_64/configure: Regenerated.
38706 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38707 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38708 * elf/tst-unique2mod2.c: Likewise.
38709 * elf/tst-unique2mod1.c: Likewise.
38710 * elf/tst-unique1mod2.c: Likewise.
38711 * elf/tst-unique1mod1.c: Likewise.
38712 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38713 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38714 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38715 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38716 * sysdeps/mach/sysdep.h: Likewise.
38717 * sysdeps/i386/sysdep.h: Likewise.
38718 * sysdeps/i386/i386-mcount.S: Likewise.
38719 * sysdeps/x86_64/_mcount.S: Likewise.
38720 * sysdeps/x86_64/sysdep.h: Likewise.
38721 * sysdeps/sh/_mcount.S: Likewise.
38722 * sysdeps/sh/sysdep.h: Likewise.
38723 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38724 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38725 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38726 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38727 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38728 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38729 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38730 * locale/localeinfo.h: Likewise.
38731 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38732 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38734 2012-07-09 Roland McGrath <roland@hack.frob.com>
38737 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38739 * manual/message.texi (The Uniforum approach): Likewise.
38740 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38741 (glibc iconv Implementation): Likewise.
38743 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38746 * math/s_clog.c (__clog): Avoid scaling a value down where that
38747 could result in underflow.
38748 * math/s_clog10.c (__clog10): Likewise.
38749 * math/s_clog10f.c (__clog10f): Likewise.
38750 * math/s_clog10l.c (__clog10l): Likewise.
38751 * math/s_clogf.c (__clogf): Likewise.
38752 * math/s_clogl.c (__clogl): Likewise.
38753 * math/libm-test.inc (clog_test): Add more tests.
38754 (clog10_test): Likewise.
38755 * sysdeps/i386/fpu/libm-test-ulps: Update.
38756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38758 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38761 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38762 by 7 not 8 to examine high bit of fractional part.
38765 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38766 for call to __mcount_internal.
38767 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38768 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38769 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38771 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38774 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38775 approximation for values within 0x1p-13f of an odd multiple of
38777 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38778 exception. Add more tests.
38779 * sysdeps/i386/fpu/libm-test-ulps: Update.
38782 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38783 inputs and return -1 for them. Do not check for +Inf in case not
38784 reachable for +Inf.
38785 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38786 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38787 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38788 and return -1 for them. Do not check for +Inf in case not
38789 reachable for +Inf.
38790 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38792 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38793 and return -1 for them. Do not check for +Inf in case not
38794 reachable for +Inf.
38795 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38796 spurious underflow.
38797 * sysdeps/i386/fpu/libm-test-ulps: Update.
38798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38800 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38802 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38804 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38808 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38809 could result in spurious underflow. Scale down values above
38810 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38811 * math/s_csqrtf.c (__csqrtf): Likewise.
38812 * math/s_csqrtl.c (__csqrtl): Likewise.
38813 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38814 spurious underflow.
38815 * sysdeps/i386/fpu/libm-test-ulps: Update.
38816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38818 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38820 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38822 * catgets/xopen-msg.awk: New file.
38823 * catgets/xopen-msg.sed: Removed.
38825 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38827 * intl/po2test.awk: New file.
38828 * intl/po2test.sed: Removed.
38830 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38833 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38834 or multiply small sinh result by itself.
38835 * math/s_ctanf.c (__ctanf): Likewise.
38836 * math/s_ctanh.c (__ctanh): Likewise.
38837 * math/s_ctanhf.c (__ctanhf): Likewise.
38838 * math/s_ctanhl.c (__ctanhl): Likewise.
38839 * math/s_ctanl.c (__ctanl): Likewise.
38840 * math/libm-test.inc (ctan_test_tonearest): New function.
38841 (ctan_test_towardzero): Likewise.
38842 (ctan_test_downward): Likewise.
38843 (ctan_test_upward): Likewise.
38844 (ctanh_test_tonearest): Likewise.
38845 (ctanh_test_towardzero): Likewise.
38846 (ctanh_test_downward): Likewise.
38847 (ctanh_test_upward): Likewise.
38848 (main): Call these new functions.
38849 * sysdeps/i386/fpu/libm-test-ulps: Update.
38850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38852 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38854 * .gitignore: Delete /ports entry.
38856 2012-07-03 Andreas Jaeger <aj@suse.de>
38858 * po/bg.po: Update from translation team.
38859 * po/cs.po: Likewise.
38860 * po/de.po: Likewise.
38861 * po/hr.po: Likewise.
38862 * po/nl.pl: Likewise.
38863 * po/pl.po: Likewise.
38864 * po/vi.po: Likewise.
38866 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38868 * Makeconfig [!+link] (+link-before-libc): New variable.
38869 [!+link] (+link-after-libc): Likewise.
38870 [!+link] (+link-tests): Likewise.
38871 [!+link] (+link): Define in terms of $(+link-before-libc) and
38872 $(+link-after-libc).
38873 [!+link-static] (+link-static-before-libc): New variable.
38874 [!+link-static] (+link-static-after-libc): Likewise.
38875 [!+link-static] (+link-static-tests): Likewise.
38876 [!+link-static] (+link-static): Define in terms of
38877 $(+link-static-before-libc) and $(+link-static-after-libc).
38878 [build-shared] (link-libc-before-gnulib): New variable.
38879 [build-shared] (link-libc-tests): Likewise.
38880 [build-shared] (link-libc): Define in terms of
38881 $(link-libc-before-gnulib).
38882 [!build-shared] (link-libc-tests): New variable.
38883 (link-libc-static-tests): New variable.
38884 [!gnulib] (gnulib-arch): New variable.
38885 [!gnulib] (gnulib-tests): Likewise.
38886 [!gnulib] (static-gnulib-arch): Likewise.
38887 [!gnulib] (static-gnulib-tests): Likewise.
38888 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38889 Define with "=" instead of ":=".
38890 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38891 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38892 * Rules (binaries-all-notests): New variable.
38893 (binaries-all-tests): Likewise.
38894 (binaries-static-notests): Likewise.
38895 (binaries-static-tests): Likewise.
38896 (binaries-all): Define using $(binaries-all-notests) and
38897 $(binaries-all-tests).
38898 (binaries-static): Define using $(binaries-static-notests) and
38899 $(binaries-static-tests).
38900 (binaries-shared-tests): New variable.
38901 (binaries-shared-notests): Likewise.
38902 (binaries-shared): Remove variable.
38903 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38904 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38905 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38906 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38907 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38908 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38909 * elf/Makefile (sln-modules): New variable.
38910 (extra-objs): Add $(sln-modules:=.o).
38911 (ldconfig-modules): Add static-stubs.
38912 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38913 * elf/static-stubs.c: New file.
38916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38917 by 7 not 8 to examine high bit of fractional part. Use volatile
38918 variables when splitting into final array of floats if
38919 __FLT_EVAL_METHOD__ != 0.
38920 * math/libm-test.inc (cos_test): Add another test.
38921 (sin_test): Likewise.
38922 * sysdeps/i386/fpu/libm-test-ulps: Update.
38925 * math/libm-test.inc (cosh_test): Add more tests.
38927 * version.h (RELEASE): Set to "development".
38928 (VERSION): Set to "2.16.90".
38930 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38932 * NEWS: Update copyright. Remove last-updated date.
38933 Mention math library bug fixes and timezone data changes.
38934 * README: Mention GNU/Hurd, x32, and HPPA support status.
38936 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38938 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38940 2012-06-27 Andreas Jaeger <aj@suse.de>
38942 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38944 2012-06-25 Andreas Jaeger <aj@suse.de>
38946 * sysdeps/s390/fpu/libm-test-ulps: Update.
38948 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38949 Thomas Schwinge <thomas@codesourcery.com>
38951 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38952 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38956 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38958 * sysdeps/mach/start.c: Remove file.
38959 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38960 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38961 * sysdeps/sh/init-first.c: Likewise.
38963 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38964 registers for frame unwinding purposes, add CFI directives.
38965 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38966 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38967 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38970 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38971 __fortify_fail returning.
38972 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38974 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38975 sysdeps/sh/____longjmp_chk.S.
38976 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38977 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38978 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38979 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38981 * sysdeps/sh/abort-instr.h: New file.
38982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38983 process in case exit returns.
38985 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38986 initialize the GOT register before use.
38988 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38989 calculation of ARGC > 4.
38991 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38992 meaningful names to some local labels.
38994 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38995 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38997 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38998 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38999 (__arch_compare_and_exchange_val_16_acq): Likewise.
39000 (__arch_compare_and_exchange_val_32_acq): Likewise.
39001 (atomic_exchange_and_add): Fix gUSA sequence.
39002 (atomic_add): Likewise.
39003 (atomic_add_negative): Likewise.
39004 (atomic_add_zero): Likewise.
39005 (atomic_bit_test_set): Likewise.
39007 2012-06-22 Andreas Schwab <schwab@redhat.com>
39010 * include/link.h (struct link_map): Add l_free_initfini.
39011 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39013 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39014 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39015 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39018 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39020 * configure.in: Use AC_LANG_SOURCE.
39021 * configure: Regenerate.
39023 2012-06-22 Roland McGrath <roland@hack.frob.com>
39025 * configure.in (libc_cv_localstatedir): New substituted variable.
39026 * configure: Regenerated.
39027 * config.make.in (localstatedir): New variable, substituted from
39028 libc_cv_localstatedir.
39029 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39030 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39031 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39032 * sysdeps/gnu/configure: Regenerated.
39034 2012-06-21 Jeff Law <law@redhat.com>
39037 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39038 free. Simplify list management for _LIBC case.
39040 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39043 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39044 Clear sign bit of 64-bit integer value before comparing against
39047 * sysdeps/mach/configure: Regenerated.
39049 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39052 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39054 2012-06-21 Jeff Law <law@redhat.com>
39057 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39058 uint16_t for elements in the "seen" array to avoid char overflows.
39059 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39060 * elf/dl-open.c (dl_open_worker): Likewise.
39062 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39064 * scripts/list-sources.sh: Scan PORTS for translations.
39065 * po/libc.pot: Regenerated.
39067 2012-06-21 Andreas Jaeger <aj@suse.de>
39070 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39072 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39073 * bits/byteswap-16.h (__bswap_16): Likewise.
39074 * bits/byteswap.h (__bswap_constant_16): Likewise.
39076 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39079 * sysdeps/i386/fpu_control.h: Removed.
39080 * sysdeps/x86_64/fpu_control.h: Moved to ...
39081 * sysdeps/x86/fpu_control.h: Here.
39083 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39084 (_FPU_SETCW): Likewise.
39086 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39089 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39090 * sysdeps/x86/fpu/bits/mathinline.h: This.
39091 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39095 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39096 functions if __x86_64__ is defined.
39098 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39100 * string/endian.h: Add !__ASSEMBLER__ condition for including
39101 conversion interfaces.
39103 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39107 of ABS(x) in calculating zero to negative powers other than odd
39109 * math/libm-test.inc (pow_test): Add more tests.
39111 2012-06-15 Andreas Jaeger <aj@suse.de>
39113 * manual/contrib.texi (Contributors): Update entry of Liubov
39114 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39117 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39119 * string/string.h: Add __wur to GNU version of strerror_r.
39121 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39124 * string/Makefile (tests): Add tst-strtok_r.
39125 * string/tst-strtok_r.c: New file.
39126 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39127 RAX_LP/RDX_LP on SAVE_PTR.
39129 2012-06-14 Roland McGrath <roland@hack.frob.com>
39131 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39133 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39135 * libm_test.inc (csqrt_test): Allow more spurious underflow
39137 (j0_test): Likewise.
39138 (j1_test): Likewise.
39139 (y0_test): Likewise.
39140 (y1_test): Likewise.
39142 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39144 * po/Makefile (libc.pot): Use UTF-8 charset.
39146 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39149 Suppress sign-conversion warning from FD_SET.
39150 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39151 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39152 not unsigned long int.
39153 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39155 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39159 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39160 __extern_always_inline instead of __extern_inline.
39161 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39162 (__signbit): Likewise.
39163 (__signbitl): Support C++ namespace.
39164 (lrintf): New inline function.
39166 (llrintf): Likewise.
39167 (llrint): Likewise.
39177 (floorf): Likewise.
39178 (nearbyint): Likewise.
39179 (nearbyintf): Likewise.
39181 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39183 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39184 non-default versions.
39186 2012-06-11 Roland McGrath <roland@hack.frob.com>
39189 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39191 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39193 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39194 (FE_UPWARD, FE_DOWNWARD): Don't define.
39195 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39196 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39200 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39201 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39203 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39205 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39207 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39208 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39210 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39213 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39214 * sysdeps/i386/fpu/Implies: New file.
39215 * sysdeps/x86_64/fpu/Implies: Likewise.
39216 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39217 * sysdeps/x86/fpu/bits/fenv.h: This.
39219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39222 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39225 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39226 character 0xffff that matches the last element of the
39229 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39234 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39236 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39237 values higher than 25.6283.
39239 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39242 subnormal exponent extraction and add some __builtin_expect.
39243 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39244 Fix for subnormal mantissa calculation.
39246 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39248 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39249 cpu2 is -1 and errno is not ENOSYS.
39251 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39254 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39255 * sysdeps/x86/bits/string.h: This.
39256 * sysdeps/x86_64/bits/string.h: Removed.
39258 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39259 if not compiling for x86-64, but compiling for >= i486.
39261 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39262 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39264 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39265 New macro from Linux kernel 3.4.0.
39266 (FP_XSTATE_MAGIC2): Likewise.
39267 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39268 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39269 (struct _fpx_sw_bytes): New struct.
39270 (struct _xsave_hdr): Likewise.
39271 (struct _ymmh_state): Likewise.
39272 (struct _xstate): Likewise.
39274 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39275 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39276 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39277 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39278 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39279 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39281 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39282 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39283 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39284 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39285 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39286 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39288 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39291 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39292 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39293 (sysdep_headers): Include sys/platform/ppc.h.
39294 * sysdeps/powerpc/test-gettimebase.c: Test for
39295 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39296 * manual/Makefile (appendices): Include platform.texi.
39297 * manual/contrib.texi (Contributors): Update @node pointers.
39298 * manual/maint.texi (Maintenance): Likewise.
39299 (Platform): New node.
39300 * manual/platform.texi: New file. Document the new features.
39302 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39303 Jakub Jelinek <jakub@redhat.com>
39306 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39307 where __builtin_expect is unavailable.
39309 2012-06-03 David S. Miller <davem@davemloft.net>
39311 * stdlib/longlong.h: Updated from GCC.
39313 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39316 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39317 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39320 (GLIBC_2.16): Likewise.
39322 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39324 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39326 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39329 (default-abi): New variable.
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39331 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39333 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39335 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39337 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39340 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39341 definition. Document in comment.
39343 2012-06-01 David S. Miller <davem@davemloft.net>
39345 * stdlib/longlong.h: Updated from GCC.
39347 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39350 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39351 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39352 sys/debugreg.h sys/io.h here.
39353 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39354 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39356 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39357 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39358 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39359 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39360 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39361 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39363 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39364 Define only if __x86_64__ is defined.
39366 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39369 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39370 Use int64_t for variable i.
39371 * math/libm-test.inc (fmod_test): Add more tests.
39373 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39374 z computation is not scheduled after fetestexcept.
39375 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39376 Use math_force_eval instead of asm to ensure calculation scheduled
39377 before exception test.
39378 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39379 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39381 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39384 computation is not scheduled after fetestexcept.
39386 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39389 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39390 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39392 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39394 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39395 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39397 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39400 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39402 (__WCHAR_MIN): Support __WORDSIZE == 64.
39403 (__WCHAR_MAX): Likewise.
39405 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39406 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39410 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39413 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39414 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39416 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39417 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39419 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39420 Defined to 1 if __x86_64__ isn't defined.
39421 (_STAT_VER_LINUX_OLD): New.
39422 (st_atime): Remove duplicate.
39423 (st_mtime): Likewise.
39424 (st_ctime): Likewise.
39426 2012-05-31 David S. Miller <davem@davemloft.net>
39428 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39431 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39433 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39437 * elf/dl-reloc.c: Include <_itoa.h>.
39438 (_dl_reloc_bad_type): Remove use of INTUSE.
39439 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39440 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39441 * stdio-common/psiginfo.c (psiginfo): Likewise.
39442 * stdio-common/psignal.c (psignal): Likewise.
39443 * string/strsignal.c (strsignal): Likewise.
39444 * include/signal.h (_sys_siglist): Declare hidden proto.
39445 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39446 INTVARDEF with libc_hidden_data_def.
39447 * stdio-common/itoa-udigits.c: Likewise.
39448 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39449 (_itoa_lower_digits_internal): Remove declaration.
39450 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39451 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39452 (_sys_sigabbrev_internal): Remove aliases.
39453 (_sys_siglist): Define hidden alias.
39455 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39460 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39463 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39464 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39466 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39467 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39468 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39469 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39470 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39471 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39473 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39474 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39475 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39485 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39487 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39489 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39490 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39492 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39493 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39494 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39496 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39497 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39499 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39500 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39502 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39504 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39506 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39507 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39509 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39511 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39512 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39513 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39515 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39517 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39519 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39521 * math/math.h (M_El): Use two more decimal places.
39522 (M_LOG2El): Likewise.
39523 (M_LOG10El): Likewise.
39524 (M_LN2l): Likewise.
39525 (M_LN10l): Likewise.
39527 (M_PI_2l): Likewise.
39528 (M_PI_4l): Likewise.
39529 (M_1_PIl): Likewise.
39530 (M_2_PIl): Likewise.
39531 (M_2_SQRTPIl): Likewise.
39532 (M_SQRT2l): Likewise.
39533 (M_SQRT1_2l): Likewise.
39535 2012-05-31 David S. Miller <davem@davemloft.net>
39537 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39538 values between float registers.
39539 * sysdeps/sparc/sparc64/memset.S: Likewise.
39540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39542 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39544 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39545 -D_FORTIFY_SOURCE=1.
39546 (CPPFLAGS-tst-longjmp_chk.c): Define.
39547 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39548 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39549 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39550 CFLAGS-tst-wchar-h.c.
39552 2012-05-31 Marek Polacek <polacek@redhat.com>
39555 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39556 __endmntent_internal): Remove declaration.
39557 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39558 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39559 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39561 2012-05-30 David S. Miller <davem@davemloft.net>
39563 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39564 (___Q_simulate_exceptions): Use real FP ops rather than writing
39566 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39569 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39572 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39573 * sysdeps/x86/bits/xtitypes.h: This.
39575 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39576 * sysdeps/x86/bits/wordsize.h: This.
39578 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39579 * sysdeps/x86/bits/huge_vall.h: This.
39581 * sysdeps/i386/bits/select.h: Removed.
39582 * sysdeps/x86_64/bits/select.h: Renamed to ...
39583 * sysdeps/x86/bits/select.h: This.
39585 * sysdeps/i386/bits/setjmp.h: Removed.
39586 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39587 * sysdeps/x86/bits/setjmp.h: This.
39589 * sysdeps/i386/bits/mathdef.h: Removed.
39590 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39591 * sysdeps/x86/bits/mathdef.h: This.
39593 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39596 * include/sys/socket.h (__connect_internal)
39597 (__libc_sa_len_internal): Remove declaration.
39598 (__connect, __libc_sa_len): Declare hidden_proto.
39599 (SA_LEN): Remove use of INTUSE.
39600 * socket/connect.c: Add libc_hidden_def.
39601 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39602 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39603 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39605 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39606 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39607 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39608 of adding _internal alias.
39610 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39613 * sysdeps/i386/bits/link.h: Removed.
39614 * sysdeps/i386/bits/linkmap.h: Likewise.
39615 * sysdeps/x86_64/bits/link.h: Renamed to ...
39616 * sysdeps/x86/bits/link.h: This.
39617 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39618 * sysdeps/x86/bits/linkmap.h: This.
39620 * sysdeps/i386/bits/endian.h: Removed.
39621 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39622 * sysdeps/x86/bits/endian.h: This.
39624 * sysdeps/i386/bits/byteswap.h: Removed.
39625 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39626 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39627 * sysdeps/x86/bits/byteswap.h: This.
39628 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39629 * sysdeps/x86/bits/byteswap-16.h: This.
39630 * sysdeps/i386/Implies: Add x86.
39631 * sysdeps/x86_64/Implies: Likewise.
39633 2012-05-30 David S. Miller <davem@davemloft.net>
39635 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39636 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39637 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39638 (FP_TRAPPING_EXCEPTIONS): Define.
39639 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39640 (FP_TRAPPING_EXCEPTIONS): Define.
39641 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39642 subnormals only when inexact has been signalled or underflow
39643 exceptions are enabled.
39644 (_FP_PACK_CANONICAL): Likewise.
39646 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39650 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39652 2012-05-30 Richard Henderson <rth@twiddle.net>
39654 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39655 with #ifndef NOT_IN_libc.
39657 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39658 marked to avoid plt entry.
39660 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39663 * Makeconfig (default-abi): New macro.
39664 (abi-includes): Likewise.
39665 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39666 $(abi-$(default-abi)-lib-soname) for soname if defined.
39667 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39669 * Makefile (installed-stubs): Likewise.
39670 * include/stubs-biarch.h: Removed.
39671 * scripts/lib-names.awk: Only handle one library at a time.
39672 * scripts/soversions.awk: Remove WORDSIZE support.
39673 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39675 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39677 (syscall-list-default-condition): Likewise.
39678 (syscall-list-default-condition): Likewise.
39679 (syscall-list-includes): Likewise.
39680 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39681 syscall-list-* with abi-*. Handle undefined abi-variants.
39682 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39683 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39684 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39685 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39686 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39687 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39689 (syscall-list-32-options): Likewise.
39690 (syscall-list-32-condition): Likewise.
39691 (syscall-list-64-options): Likewise.
39692 (syscall-list-64-condition): Likewise.
39693 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39695 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39698 (abi-64-ld-soname): New macro.
39699 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39700 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39703 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39704 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39706 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39708 * sysdeps/unix/sysv/linux/kernel-features.h
39709 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39710 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39711 include <kernel-features.h>.
39712 [!__NR_ftruncate64]: Remove conditional code.
39713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39714 [__NR_ftruncate64]: Make code unconditional.
39715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39716 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39717 include <kernel-features.h>.
39718 [!__NR_ftruncate64]: Remove conditional code.
39719 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39720 [__NR_ftruncate64]: Make code unconditional.
39721 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39723 include <kernel-features.h>.
39724 [!__NR_ftruncate64]: Remove conditional code.
39725 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39726 [__NR_ftruncate64]: Make code unconditional.
39727 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39729 include <kernel-features.h>.
39730 [!__NR_ftruncate64]: Remove conditional code.
39731 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39732 [__NR_ftruncate64]: Make code unconditional.
39733 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39735 * configure.in (libc_cv_fpie): Weaken to a compile test using
39736 LIBC_TRY_CC_OPTION.
39737 * configure: Regenerated.
39739 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39754 2012-05-27 David S. Miller <davem@davemloft.net>
39756 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39758 (__Q_simulate_exceptions): Return void. Change to simulate
39759 exceptions by writing into the %fsr.
39760 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39761 (__Qp_handle_exceptions): Likewise.
39763 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39764 __Qp_handle_exceptions.
39765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39766 __Qp_handle_exceptions.
39767 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39768 as unused and give dummy FP_RND_NEAREST initializer.
39769 (FP_INHIBIT_RESULTS): Define.
39770 (___Q_simulate_exceptions): Update declaration.
39771 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39773 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39774 as unused and give dummy FP_RND_NEAREST initializer.
39775 (__Qp_handle_exceptions): Update declaration.
39776 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39779 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39781 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39782 the temporary FPU control word.
39783 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39784 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39785 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39786 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39787 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39788 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39789 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39790 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39791 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39792 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39793 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39795 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39797 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39800 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39802 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39803 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39804 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39805 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39807 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39808 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39811 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39813 * po/h.po: Update from translation team.
39815 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39817 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39819 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39820 handling of denormals.
39821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39822 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39823 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39824 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39827 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39830 2012-05-26 Marek Polacek <polacek@redhat.com>
39833 * math/libm-test.inc (fma_test): Don't always expect underflow
39836 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39839 * elf/tst-execstack.c: Include stackinfo.h.
39840 (do_test): Adjust test case to ensure that pthread_getattr_np
39841 behaviour remains the same after marking stack executable.
39843 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39845 * sysdeps/unix/sysv/linux/kernel-features.h
39846 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39847 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39849 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39850 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39851 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39853 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39854 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39856 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39858 * configure.in: Define the default includes to being none.
39859 * configure: Regenerated.
39861 2012-05-25 Roland McGrath <roland@hack.frob.com>
39863 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39864 * sysdeps/x86_64/setjmp.S: Likewise.
39865 * sysdeps/i386/bsd-setjmp.S: Likewise.
39866 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39867 * sysdeps/i386/setjmp.S: Likewise.
39868 * sysdeps/i386/__longjmp.S: Likewise.
39869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39870 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39872 * include/stap-probe.h: New file.
39873 * configure.in: Handle --enable-systemtap.
39874 * configure: Regenerated.
39875 * config.h.in (USE_STAP_PROBE): New #undef.
39876 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39877 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39878 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39880 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39884 to 2.4.0 where earlier.
39885 * sysdeps/unix/sysv/linux/configure: Regenerated.
39886 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39887 <kernel-features.h>.
39888 [__ASSUME_32BITUIDS]: Make code unconditional.
39889 [!__ASSUME_32BITUIDS]: Remove conditional code.
39890 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39891 <kernel-features.h>.
39892 [__ASSUME_32BITUIDS]: Make code unconditional.
39893 [!__ASSUME_32BITUIDS]: Remove conditional code.
39894 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39895 [__ASSUME_32BITUIDS]: Make code unconditional.
39896 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39897 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39898 <kernel-features.h>.
39899 [__ASSUME_32BITUIDS]: Make code unconditional.
39900 [!__ASSUME_32BITUIDS]: Remove conditional code.
39901 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39902 <kernel-features.h>.
39903 [__ASSUME_32BITUIDS]: Make code unconditional.
39904 [!__ASSUME_32BITUIDS]: Remove conditional code.
39905 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39906 <kernel-features.h>.
39907 [__ASSUME_32BITUIDS]: Make code unconditional.
39908 [!__ASSUME_32BITUIDS]: Remove conditional code.
39909 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39910 <kernel-features.h>.
39911 [__ASSUME_32BITUIDS]: Make code unconditional.
39912 [!__ASSUME_32BITUIDS]: Remove conditional code.
39913 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39914 <kernel-features.h>.
39915 [__ASSUME_32BITUIDS]: Make code unconditional.
39916 [!__ASSUME_32BITUIDS]: Remove conditional code.
39917 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39918 <kernel-features.h>.
39919 [__ASSUME_32BITUIDS]: Make code unconditional.
39920 [!__ASSUME_32BITUIDS]: Remove conditional code.
39921 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39922 <kernel-features.h>.
39923 [__ASSUME_32BITUIDS]: Make code unconditional.
39924 [!__ASSUME_32BITUIDS]: Remove conditional code.
39925 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39926 <kernel-features.h>.
39927 [__ASSUME_32BITUIDS]: Make code unconditional.
39928 [!__ASSUME_32BITUIDS]: Remove conditional code.
39929 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39930 <kernel-features.h>.
39931 [__ASSUME_32BITUIDS]: Make code unconditional.
39932 [!__ASSUME_32BITUIDS]: Remove conditional code.
39933 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39934 <kernel-features.h>.
39935 [__ASSUME_32BITUIDS]: Make code unconditional.
39936 [!__ASSUME_32BITUIDS]: Remove conditional code.
39937 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39938 <kernel-features.h>.
39939 [__NR_setresgid] (__setresgid): Do not declare.
39940 [__ASSUME_32BITUIDS]: Make code unconditional.
39941 [!__ASSUME_32BITUIDS]: Remove conditional code.
39942 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39943 <kernel-features.h>.
39944 [__NR_setresuid] (__setresuid): Do not declare.
39945 [__ASSUME_32BITUIDS]: Make code unconditional.
39946 [!__ASSUME_32BITUIDS]: Remove conditional code.
39947 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39948 <kernel-features.h>.
39949 [__ASSUME_32BITUIDS]: Make code unconditional.
39950 [!__ASSUME_32BITUIDS]: Remove conditional code.
39951 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39952 <kernel-features.h>.
39953 [__ASSUME_32BITUIDS]: Make code unconditional.
39954 [!__ASSUME_32BITUIDS]: Remove conditional code.
39955 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39956 <kernel-features.h>.
39957 [__ASSUME_32BITUIDS]: Make code unconditional.
39958 [!__ASSUME_32BITUIDS]: Remove conditional code.
39959 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39960 <kernel-features.h>.
39961 [__ASSUME_32BITUIDS]: Make code unconditional.
39962 [!__ASSUME_32BITUIDS]: Remove conditional code.
39963 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39964 <kernel-features.h>.
39965 [__ASSUME_32BITUIDS]: Make code unconditional.
39966 [!__ASSUME_32BITUIDS]: Remove conditional code.
39967 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39968 <kernel-features.h>.
39969 [__ASSUME_32BITUIDS]: Make code unconditional.
39970 [!__ASSUME_32BITUIDS]: Remove conditional code.
39971 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39972 <kernel-features.h>.
39973 [__ASSUME_32BITUIDS]: Make code unconditional.
39974 [!__ASSUME_32BITUIDS]: Remove conditional code.
39975 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39976 <kernel-features.h>.
39977 [__ASSUME_32BITUIDS]: Make code unconditional.
39978 [!__ASSUME_32BITUIDS]: Remove conditional code.
39979 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39980 <kernel-features.h>.
39981 [__ASSUME_32BITUIDS]: Make code unconditional.
39982 [!__ASSUME_32BITUIDS]: Remove conditional code.
39983 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39984 <kernel-features.h>.
39985 [__ASSUME_32BITUIDS]: Make code unconditional.
39986 [!__ASSUME_32BITUIDS]: Remove conditional code.
39987 * sysdeps/unix/sysv/linux/kernel-features.h
39988 (__ASSUME_SETRESUID_SYSCALL): Remove.
39989 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39990 (__ASSUME_32BITUIDS): Likewise.
39991 (__ASSUME_LDT_WORKS): Likewise.
39992 (__ASSUME_O_DIRECTORY): Likewise.
39993 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39994 architecture but not kernel version.
39995 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39996 (__ASSUME_MMAP2_SYSCALL): Likewise.
39997 (__ASSUME_STAT64_SYSCALL): Likewise.
39998 (__ASSUME_IPC64): Likewise.
39999 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40000 <kernel-features.h>.
40001 [__ASSUME_32BITUIDS]: Make code unconditional.
40002 [!__ASSUME_32BITUIDS]: Remove conditional code.
40003 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40004 <kernel-features.h>.
40005 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40006 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40007 132096]: Remove conditional code.
40008 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40009 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40010 <kernel-features.h>.
40011 [__ASSUME_32BITUIDS]: Make code unconditional.
40012 [!__ASSUME_32BITUIDS]: Remove conditional code.
40013 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40014 <kernel-features.h>.
40015 [__ASSUME_32BITUIDS]: Make code unconditional.
40016 [!__ASSUME_32BITUIDS]: Remove conditional code.
40017 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40018 <kernel-features.h>.
40019 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40021 (__setresgid): Do not declare.
40022 [__ASSUME_32BITUIDS]: Make code unconditional.
40023 [!__ASSUME_32BITUIDS]: Remove conditional code.
40024 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40025 <kernel-features.h>.
40026 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40028 (__setresuid): Do not declare.
40029 [__ASSUME_32BITUIDS]: Make code unconditional.
40030 [!__ASSUME_32BITUIDS]: Remove conditional code.
40031 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40032 <kernel-features.h>.
40033 [__ASSUME_32BITUIDS]: Make code unconditional.
40034 [!__ASSUME_32BITUIDS]: Remove conditional code.
40035 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40036 <kernel-features.h>.
40037 [__ASSUME_32BITUIDS]: Make code unconditional.
40038 [!__ASSUME_32BITUIDS]: Remove conditional code.
40040 2012-05-25 Richard Henderson <rth@twiddle.net>
40042 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40043 dl_hwcap to ifunc resolver.
40044 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40046 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40047 dl_hwcap to ifunc resolver.
40048 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40050 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40053 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40054 for |x| <= 2**-26, not 2**-57.
40055 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40058 2012-05-24 Jeff Law <law@redhat.com>
40060 * stdio-common/Makefile (tests): Add bug25.
40061 * stdio-common/bug25.c: New test.
40063 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40066 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40067 multiple of MALLOC_ALIGNMENT in size.
40068 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40070 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40072 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40074 (FILENAME_MAX): Use macro-int-constant.
40075 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40076 (_IOFBF): Use macro-int-constant.
40077 (_IOLBF): Likewise.
40078 (_IONBF): Likewise.
40079 (SEEK_CUR): Likewise.
40080 (SEEK_END): Likewise.
40081 (SEEK_SET): Likewise.
40082 (TMP_MAX): Likewise.
40083 (EOF): Use macro-int-constant. Require < 0.
40084 (NULL): Use macro-constant. Require == 0.
40085 (stdin): Require type to be FILE *.
40086 (stdout): Likewise.
40087 (stderr): Likewise.
40088 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40089 macro-int-constant.
40090 (EXIT_SUCCESS): Likewise.
40091 (NULL): Use macro-constant. Require == 0.
40092 (RAND_MAX): Use macro-int-constant.
40093 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40094 [C99-based standards] (strtof): Require function.
40095 [C99-based standards] (strtold): Likewise.
40096 [C99-based standards] (strtoll): Likewise.
40097 [C99-based standards] (strtoull): Likewise.
40098 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40099 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40100 [ISO || ISO99 || ISO11] (math.h): Likewise.
40101 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40102 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40103 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40105 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40108 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40109 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40110 * intl/dgettext.c (DCGETTEXT): Likewise.
40111 * intl/gettext.c (DCGETTEXT): Likewise.
40112 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40113 * posix/regex_internal.h (gettext): Likewise.
40114 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40115 Remove declaration.
40116 * include/argz.h (__argz_count_internal)
40117 (__argz_stringify_internal): Remove declaration.
40118 (__argz_count, __argz_stringify): Declare hidden proto.
40119 * intl/dcgettext.c: Remove use of INTDEF.
40120 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40121 * string/argz-stringify.c: Likewise.
40122 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40123 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40124 Declare hidden proto.
40125 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40126 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40127 Declare hidden proto.
40128 * include/stdio.h (__asprintf_internal): Don't declare.
40129 (__asprintf): Don't define as macro. Declare hidden proto.
40130 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40131 (__fsetlocking): Declare hidden proto.
40132 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40133 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40135 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40136 (_IO_setlinebuf): Remove use of INTUSE.
40137 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40138 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40139 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40140 Remove declaration.
40141 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40142 (_IO_do_flush): Remove use of INTUSE.
40143 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40144 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40145 (_IO_adjust_column, _IO_least_wmarker)
40146 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40147 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40148 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40149 (_IO_default_doallocate, _IO_wdefault_doallocate)
40150 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40151 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40152 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40153 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40154 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40155 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40156 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40157 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40158 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40159 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40160 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40161 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40162 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40164 (_IO_flush_all_internal, _IO_adjust_column_internal)
40165 (_IO_default_uflow_internal, _IO_default_finish_internal)
40166 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40167 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40168 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40169 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40170 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40171 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40172 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40173 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40174 (_IO_file_close_internal, _IO_file_close_it_internal)
40175 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40176 (_IO_file_init_internal, _IO_file_attach_internal)
40177 (_IO_file_fopen_internal, _IO_file_read_internal)
40178 (_IO_file_sync_internal, _IO_file_seek_internal)
40179 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40180 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40181 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40182 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40183 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40184 (_IO_list_all_internal, _IO_link_in_internal)
40185 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40186 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40187 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40188 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40189 (_IO_do_write_internal, _IO_padn_internal)
40190 (_IO_getline_info_internal, _IO_getline_internal)
40191 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40192 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40193 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40194 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40195 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40196 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40197 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40198 with libc_hidden_ver, remove use of INTUSE.
40199 * libio/genops.c: Likewise.
40200 * libio/freopen.c: Likewise.
40201 * libio/freopen64.c: Likewise.
40202 * libio/iofclose.c: Likewise.
40203 * libio/iofdopen.c: Likewise.
40204 * libio/iofflush.c: Likewise.
40205 * libio/iofflush_u.c: Likewise.
40206 * libio/iofgets.c: Likewise.
40207 * libio/iofgets_u.c: Likewise.
40208 * libio/iofopen.c: Likewise.
40209 * libio/iofopncook.c: Likewise.
40210 * libio/iofread.c: Likewise.
40211 * libio/iofread_u.c: Likewise.
40212 * libio/ioftell.c: Likewise.
40213 * libio/iofwrite.c: Likewise.
40214 * libio/iogetline.c: Likewise.
40215 * libio/iogets.c: Likewise.
40216 * libio/iogetwline.c: Likewise.
40217 * libio/iopadn.c: Likewise.
40218 * libio/iopopen.c: Likewise.
40219 * libio/ioseekoff.c: Likewise.
40220 * libio/ioseekpos.c: Likewise.
40221 * libio/iosetbuffer.c: Likewise.
40222 * libio/iosetvbuf.c: Likewise.
40223 * libio/ioungetc.c: Likewise.
40224 * libio/ioungetwc.c: Likewise.
40225 * libio/iovdprintf.c: Likewise.
40226 * libio/iovsprintf.c: Likewise.
40227 * libio/iovsscanf.c: Likewise.
40228 * libio/memstream.c: Likewise.
40229 * libio/obprintf.c: Likewise.
40230 * libio/oldfileops.c: Likewise.
40231 * libio/oldiofclose.c: Likewise.
40232 * libio/oldiofdopen.c: Likewise.
40233 * libio/oldiofopen.c: Likewise.
40234 * libio/oldiopopen.c: Likewise.
40235 * libio/oldstdfiles.c: Likewise.
40236 * libio/putc.c: Likewise.
40237 * libio/setbuf.c: Likewise.
40238 * libio/setlinebuf.c: Likewise.
40239 * libio/stdfiles.c: Likewise.
40240 * libio/strops.c: Likewise.
40241 * libio/vasprintf.c: Likewise.
40242 * libio/vscanf.c: Likewise.
40243 * libio/vsnprintf.c: Likewise.
40244 * libio/vswprintf.c: Likewise.
40245 * libio/wfiledoalloc.c: Likewise.
40246 * libio/wfileops.c: Likewise.
40247 * libio/wgenops.c: Likewise.
40248 * libio/wmemstream.c: Likewise.
40249 * libio/wstrops.c: Likewise.
40250 * libio/__fpurge.c: Likewise.
40251 * libio/__fsetlocking.c: Likewise.
40252 * assert/assert.c: Likewise.
40253 * debug/fgets_chk.c: Likewise.
40254 * debug/fgets_u_chk.c: Likewise.
40255 * debug/fread_chk.c: Likewise.
40256 * debug/fread_u_chk.c: Likewise.
40257 * debug/gets_chk.c: Likewise.
40258 * debug/obprintf_chk.c: Likewise.
40259 * debug/vasprintf_chk.c: Likewise.
40260 * debug/vdprintf_chk.c: Likewise.
40261 * debug/vsnprintf_chk.c: Likewise.
40262 * debug/vsprintf_chk.c: Likewise.
40263 * malloc/mtrace.c: Likewise.
40264 * misc/error.c: Likewise.
40265 * misc/syslog.c: Likewise.
40266 * stdio-common/asprintf.c: Likewise.
40267 * stdio-common/fxprintf.c: Likewise.
40268 * stdio-common/getw.c: Likewise.
40269 * stdio-common/isoc99_fscanf.c: Likewise.
40270 * stdio-common/isoc99_scanf.c: Likewise.
40271 * stdio-common/isoc99_vfscanf.c: Likewise.
40272 * stdio-common/isoc99_vscanf.c: Likewise.
40273 * stdio-common/isoc99_vsscanf.c: Likewise.
40274 * stdio-common/printf-prs.c: Likewise.
40275 * stdio-common/printf_fp.c: Likewise.
40276 * stdio-common/printf_fphex.c: Likewise.
40277 * stdio-common/printf_size.c: Likewise.
40278 * stdio-common/putw.c: Likewise.
40279 * stdio-common/scanf.c: Likewise.
40280 * stdio-common/sprintf.c: Likewise.
40281 * stdio-common/tmpfile.c: Likewise.
40282 * stdio-common/vfprintf.c: Likewise.
40283 * stdio-common/vfscanf.c: Likewise.
40284 * stdlib/strfmon_l.c: Likewise.
40285 * sunrpc/openchild.c: Likewise.
40286 * sunrpc/xdr_stdio.c: Likewise.
40287 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40288 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40290 2012-05-24 Roland McGrath <roland@hack.frob.com>
40292 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40294 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40295 in the third column, to generate for the shared library an IFUNC
40296 that uses _dl_vdso_vsym.
40297 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40298 * Makeconfig (object-suffixes-noshared): New variable.
40300 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40301 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40302 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40303 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40306 * include/sys/time.h (__gettimeofday): Remove macro.
40307 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40308 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40310 (__gettimeofday): Add libc_hidden_def.
40311 (gettimeofday): Add libc_hidden_weak.
40312 * sysdeps/mach/gettimeofday.c: Likewise.
40313 * sysdeps/posix/gettimeofday.c: Likewise.
40314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40315 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40317 (__gettimeofday_internal): Remove strong_alias.
40318 (__gettimeofday): Add libc_hidden_def.
40319 (gettimeofday): Add libc_hidden_weak.
40320 * sysdeps/unix/syscalls.list (gettimeofday):
40321 Remove __gettimeofday_internal alias.
40323 2012-05-24 Daniel Jacobowitz <drow@false.org>
40324 H.J. Lu <hongjiu.lu@intel.com>
40327 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40328 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40329 (largebin_index_32_big): New.
40330 (largebin_index): Use it for 16-byte alignment.
40331 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40332 correction with front_misalign.
40334 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40362 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40363 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40365 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40369 * math/libm-test.inc (exp_test): Add test from bug 14036.
40370 (pow_test): Add test from bug 10846.
40372 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40374 (special_function): Do not include flags in test name.
40375 (parse_args): Likewise.
40376 * sysdeps/i386/fpu/libm-test-ulps: Update.
40377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40378 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40379 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40382 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40384 * math/libm-test.inc ("Philosophy"): Update comment about
40386 (UNDERFLOW_EXCEPTION): New macro.
40387 (UNDERFLOW_EXCEPTION_OK): Likewise.
40388 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40389 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40390 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40391 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40392 (INVALID_EXCEPTION_OK): Update value.
40393 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40394 (OVERFLOW_EXCEPTION_OK): Likewise.
40395 (IGNORE_ZERO_INF_SIGN): Likewise.
40396 (test_exceptions): Handle underflow exceptions.
40397 (acos_test): Update for underflow exception expectations.
40398 (cexp_test): Likewise.
40399 (clog_test): Likewise.
40400 (clog10_test): Likewise.
40401 (csqrt_test): Likewise.
40402 (ctan_test): Likewise.
40403 (ctanh_test): Likewise.
40404 (exp_test): Likewise.
40405 (exp10_test): Likewise.
40406 (exp2_test): Likewise.
40407 (expm1_test): Likewise.
40408 (fma_test): Likewise.
40409 (j0_test): Likewise.
40410 (jn_test): Likewise.
40411 (nexttoward_test): Likewise.
40412 (pow_test): Likewise.
40413 (scalbn_test): Likewise.
40414 (scalbln_test): Likewise.
40415 (tan_test): Likewise.
40416 (y1_test): Likewise.
40417 * sysdeps/i386/fpu/libm-test-ulps: Update.
40418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40420 2012-05-23 David S. Miller <davem@davemloft.net>
40422 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40423 (__libc_sigaction): Remove unused local variables.
40425 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40427 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40429 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40431 mktime: avoid signed integer overflow
40432 * time/mktime.c (__mktime_internal): Do not mishandle the case
40433 where diff == INT_MIN.
40435 mktime: simplify computation of average
40436 * time/mktime.c (ranged_convert): Use new time_t_avg function
40437 instead of rolling our own (probably-slower) code.
40439 mktime: do not assume signed right shift propagates sign bit
40440 * time/mktime.c (isdst_differ): New static function.
40441 (__mktime_internal): No need to normalize tm_isdst now.
40442 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40445 mktime: merge another wrapv change from gnulib
40446 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40447 from some compilers.
40449 mktime: remove incorrect attempt at unusual arithmetics
40450 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40451 The code didn't really work on such machines anyway.
40452 (TYPE_MINIMUM): Assume two's complement.
40453 (twos_complement_arithmetic): Verify that long_int and time_t
40454 are two's complement (or unsigned, in the latter case).
40456 mktime: check signed shifts on long_int and time_t, too
40457 * time/mktime.c (SHR): Check that shifts work as desired
40458 on the types long_int and time_t too, as SHR is used on
40461 mktime: do not assume 'long' is wide enough
40462 * time/mktime.c (verify): Move decl up.
40463 (long_int): New type.
40464 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40465 to remove assumption in the code that 'long' is wide enough to
40466 store year values. This assumption is not true on x32 and on
40467 some non-glibc platforms.
40469 mktime: merge wrapv change from gnulib
40470 * time/mktime.c (WRAPV): New macro.
40471 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40472 (guess_time_tm, __mktime_internal): Do not assume that signed
40473 integer overflow wraps around; modern compilers generate code
40474 where this assumption is no longer valid.
40476 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40478 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40479 Replace "jmp L(pseudo_end)" with "ret".
40480 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40483 2012-05-23 Andreas Jaeger <aj@suse.de>
40485 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40486 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40488 2012-05-23 Andreas Jaeger <aj@suse.de>
40489 Maximilian Attems <max@stro.at>
40491 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40494 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40497 code so that pseudo_end is just ret and the stack pointer is
40498 correct also for static library in error case.
40500 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40502 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40503 move to syscalls.list.
40504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40509 * manual/install.texi (Running make install): Do not mention Linux
40510 kernel version for which pt_chown is not needed.
40511 (Linux): Do not mention problems with nscd with 2.0 kernels.
40512 * INSTALL: Regenerated.
40514 2012-05-23 Andreas Jaeger <aj@suse.de>
40516 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40517 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40519 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40520 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40521 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40522 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40523 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40524 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40526 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40528 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40529 * sysdeps/unix/sysv/linux/bits/in.h
40530 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40532 2012-05-22 Roland McGrath <roland@hack.frob.com>
40534 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40535 (PREPARE_VERSION): Just use assert instead, it will be elided
40536 under [NDEBUG] anyway.
40538 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40540 * sysdeps/unix/sysv/linux/Makefile: Include
40541 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40542 (sysdep_routines): Remove sysctl.
40543 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40544 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40545 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40546 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40547 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40549 2012-05-22 Andreas Jaeger <aj@suse.de>
40551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40552 that pseudo_end is just ret and the stack pointer is correct also
40553 for static library in error case.
40555 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40558 * nss/nsswitch.c (defconfig_entries): New variable.
40559 (__nss_database_lookup): Don't leak defconfig entries.
40560 (nss_parse_service_list): Don't leak on error paths.
40561 (free_database_entries): New function.
40562 (free_defconfig): New function.
40563 (free_mem): Move common code to free_database_entries.
40565 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40567 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40569 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40571 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40572 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40575 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40576 (INTERNAL_SYSCALL_TYPES): Likewise.
40577 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40578 (LOAD_REGS_TYPES_[1-6]): Likewise.
40579 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40580 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40582 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40585 copysignl for GLIBC_2_0.
40586 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40587 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40588 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40589 logbl for GLIBC_2_0.
40590 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40591 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40593 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40595 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40598 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40601 * time/mktime.c: Update copyright years.
40603 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40605 mktime: merge comment-quoting-style change from gnulib
40606 * time/mktime.c: Quote 'like this' in comments.
40607 The GNU coding standards suggest that we no longer quote `like this',
40608 as "`" and "'" are typically rendered asymmetrically nowadays.
40609 The typical gnulib style is to quote 'like this' when quoting
40610 code, and "like this" when quoting English.
40612 * time/mktime.c (compile-command): Add "-I.".
40614 mktime: merge mktime-internal.h change from gnulib
40615 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40617 mktime: merge time_r change from gnulib
40618 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40620 mktime: merge DEBUG change from gnulib
40621 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40622 case system <time.h> has a #define.
40624 mktime: merge <sys/types.h> change from gnulib
40625 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40626 since <time.t> is now guaranteed to define time_t.
40628 mktime: merge HAVE_CONFIG_H change from gnulib
40629 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40631 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40636 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40638 (struct rusage): Use anonymous union to pad each field to
40641 2012-05-21 David S. Miller <davem@davemloft.net>
40643 * Makefules (o-iterator): Remove .s cases.
40644 (compile-command.s): Delete.
40645 (COMPILE.s): Delete.
40646 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40648 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40650 * configure.in (libc_cv_predef_stack_protector): Only consider
40651 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40652 * configure: Regenerated.
40654 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40657 New macro. Use R*LP on int and pointer.
40658 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40659 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40660 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40661 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40663 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40664 [__WORDSIZE_TIME64_COMPAT32] instead of
40665 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40666 (struct utmp): Likewise.
40667 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40668 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40670 (__WORDSIZE_TIME64_COMPAT32): This.
40671 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40672 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40673 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40674 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40675 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40676 (__WORDSIZE_TIME64_COMPAT32): New macro.
40678 2012-05-21 Andreas Jaeger <aj@suse.de>
40680 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40681 only if [SHARED]. Add prototype for __wcschr_ia32.
40683 2012-05-21 Roland McGrath <roland@hack.frob.com>
40685 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40686 of %rbp unmolested in the jmp_buf while mangling the low bits.
40687 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40688 unmolested high bits of %rbp while demangling the low bits.
40689 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40691 2012-05-21 Andreas Jaeger <aj@suse.de>
40693 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40694 * sunrpc/svc_simple.c: Use it for registerrpc.
40695 * sunrpc/xcrypt.c: Use it for passwd2des.
40697 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40699 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40701 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40702 Don't define if [__SYSCALL_WORDSIZE != 32].
40703 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40706 2012-05-21 Bruno Haible <bruno@clisp.org>
40707 Andreas Jaeger <aj@suse.de>
40709 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40710 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40711 inptr and inend for must_buffer_ch.
40712 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40713 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40714 * stdio-common/Makefile (tests): Remove bug15.
40715 (bug15-ENV): Remove macro.
40716 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40719 2012-05-19 Andreas Jaeger <aj@suse.de>
40720 Roland McGrath <roland@hack.frob.com>
40722 * manual/contrib.texi: Completely rewritten. It contains now an
40723 alphabetical list of contributors and their contributions.
40725 2012-05-21 Richard Henderson <rth@twiddle.net>
40727 * misc/getauxval.c (__getauxval): Use unsigned long int.
40728 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40729 (getauxval): Use unsigned long int.
40731 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40733 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40735 2012-05-21 Roland McGrath <roland@hack.frob.com>
40737 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40738 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40739 __alignof__ (long double).
40741 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40745 2012-05-20 Richard Henderson <rth@twiddle.net>
40747 * misc/getauxval.c: New file.
40748 * misc/sys/auxv.h: New file.
40749 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40750 (routines): Add getauxval.
40751 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40752 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40753 * elf/dl-sysdep.c (_dl_auxv): Remove.
40754 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40755 * elf/dl-support.c (_dl_auxv): New variable.
40756 (_dl_aux_init): Initialize it.
40757 * manual/startup.texi (Auxiliary Vector): New node.
40758 * sysdeps/generic/bits/hwcap.h: New file.
40759 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40760 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40761 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40762 * sysdeps/sparc/sysdep.h: ... here. Include it.
40763 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40764 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40776 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40780 2012-05-19 David S. Miller <davem@davemloft.net>
40782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40784 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40787 * math/s_ccosh.c: Include <float.h>
40788 (__ccosh): Avoid internal overflow calculating sinh and cosh
40789 values before multiplying by sin and cos values.
40790 * math/s_ccoshf.c: Likewise.
40791 * math/s_ccoshl.c: Likewise.
40792 * math/s_csin.c: Likewise.
40793 * math/s_csinf.c: Likewise.
40794 * math/s_csinl.c: Likewise.
40795 * math/s_csinh.c: Likewise.
40796 * math/s_csinhf.c: Likewise.
40797 * math/s_csinhl.c: Likewise.
40798 * math/libm-test.inc (ccos_test): Add more tests.
40799 (ccosh_test): Likewise.
40800 (csin_test): Likewise.
40801 (csinh_test): Likewise.
40802 * sysdeps/i386/fpu/libm-test-ulps: Update.
40803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40805 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40807 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40808 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40810 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40812 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40814 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40815 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40816 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40817 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40818 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40819 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40820 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40821 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40822 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40823 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40824 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40825 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40826 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40827 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40828 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40829 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40830 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40831 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40832 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40833 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40834 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40835 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40836 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40837 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40838 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40839 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40840 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40841 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40842 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40843 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40844 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40846 2012-05-18 Andreas Jaeger <aj@suse.de>
40848 * csu/.gitignore: Delete.
40850 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40852 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40853 (timex): Use __syscall_slong_t.
40855 2012-05-18 Andreas Jaeger <aj@suse.de>
40856 Carlos O'Donell <carlos_odonell@mentor.com>
40858 * manual/install.texi (Configuring and compiling): Update
40859 description about files modified in the source directory.
40860 * INSTALL: Regenerated.
40862 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40864 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40865 value. Use "or" to set return value to -1.
40866 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40867 negate return value.
40869 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40871 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40872 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40873 failure if the compiler has Graphite support disabled.
40874 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40876 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40877 (CFLAGS-memmove.c): Likewise.
40878 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40881 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40883 * sysdeps/x86_64/x32/_itoa.h: New file.
40885 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40886 getdents system call only if kernel and user dirents have the
40887 same d_ino and d_off.
40889 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40890 LLONG_MAX != LONG_MAX.
40891 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40892 (_fitoa_word): Likewise.
40894 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40896 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40897 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40898 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40900 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40901 include <bits/wordsize.h>. Check __x86_64__ instead of
40903 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40904 if __x86_64__ is defined. Use anonymous union on fpstate.
40906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40909 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40911 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40912 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40913 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40914 Refer to _rtld_local_ro instead of _rtld_global_ro.
40915 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40917 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40919 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40921 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40922 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40923 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40925 * sysdeps/powerpc/powerpc32/dl-machine.c
40926 (__elf_machine_runtime_setup) [PROF]: Don't reference
40929 2012-05-18 Andreas Jaeger <aj@suse.de>
40931 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40932 function only available for GCCs before 3.4 since GCC 3.4
40933 introduced a builtin.
40935 (llrintf): Likewise.
40936 (llrint): Likewise.
40943 (nearbyint): Likewise.
40944 (nearbyintf): Likewise.
40948 (floorf): Likewise.
40950 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40952 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40953 on both fields and cast pointer to __syscall_ulong_t.
40955 * bits/types.h (__fsword_t): New type.
40956 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40957 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40959 (__FSWORD_T_TYPE): Likewise.
40960 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40961 (__FSWORD_T_TYPE): Likewise.
40962 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40963 (__FSWORD_T_TYPE): Likewise.
40964 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40965 (__FSWORD_T_TYPE): Likewise.
40966 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40967 __SWORD_TYPE with __fsword_t.
40968 (statfs64): Likewise.
40970 2012-05-17 David S. Miller <davem@davemloft.net>
40972 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40974 2012-05-17 Andreas Jaeger <aj@suse.de>
40976 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40979 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40981 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40983 2012-05-17 Andreas Jaeger <aj@suse.de>
40985 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40988 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40990 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40992 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40994 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40995 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40997 2012-05-17 Andreas Jaeger <aj@suse.de>
40998 Carlos O'Donell <carlos_odonell@mentor.com>
41001 * sysdeps/x86_64/multiarch/init-arch.h
41002 (bit_YMM_Usable): Rename to...
41003 (bit_AVX_Usable): ... this.
41004 (bit_FMA4_Usable): New macro.
41005 (bit_XMM_state): New macro.
41006 (bit_YMM_state): New macro.
41007 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41008 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41009 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41010 (CPUID_OSXSAVE): New macro.
41011 (CPUID_AVX): New macro.
41012 (CPUID_FMA4): New macro.
41013 (index_YMM_Usable): Rename to...
41014 (index_AVX_Usable): ... this.
41015 (HAS_AVX): Use HAS_ARCH_FEATURE.
41016 (HAS_FMA4): Likewise.
41017 (HAS_YMM_USABLE): Remove.
41018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41019 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41021 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41022 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41023 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41024 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41025 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41027 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41029 * math/libm-test.c: Support platforms without multiple rounding modes.
41030 * math/bug-nextafter.c: Support platforms without FP exceptions.
41031 * math/bug-nexttoward.c: Likewise.
41032 * math/test-fenv.c: Likewise.
41033 * math/test-misc.c: Likewise.
41034 * stdlib/bug-getcontext.c: Likewise.
41036 2012-05-17 Andreas Jaeger <aj@suse.de>
41038 * manual/examples/search.c (critter_cmp): Change signature to
41040 * manual/string.texi (Collation Functions): Likewise.
41042 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41044 * bits/types.h: Fold copyright years.
41045 * bits/typesizes.h: Likewise.
41046 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41049 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41050 * time/time.h: Likewise.
41052 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41055 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41056 in instead of returning them. Return void.
41057 (__libc_mallinfo): Accumulate over all arenas.
41058 (__malloc_stats): Adjust for change in int_mallinfo interface.
41060 2012-05-16 Roland McGrath <roland@hack.frob.com>
41063 * configure.in (NM): Add AC_CHECK_TOOL for it.
41064 (libc_extra_cflags): New substituted variable.
41065 Check for -fstack-protector being used implicitly.
41066 * configure: Regenerated.
41067 * config.make.in (config-extra-cflags): New variable,
41068 gets @libc_extra_cflags@.
41069 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41072 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41073 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41074 * configure: Regenerated.
41075 * config.make.in (CPPUNDEFS): New substituted variable.
41076 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41077 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41078 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41082 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41083 (mq_attr): Use __syscall_slong_t.
41085 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41087 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41088 Check __x86_64__ instead of __WORDSIZE.
41089 (_STAT_VER_LINUX): Likewise.
41090 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41091 __syscall_ulong_t and __syscall_slong_t.
41092 (stat64): Likewise.
41094 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41096 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41098 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41102 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41104 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41107 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41108 include <bits/wordsize.h>. Check __x86_64__ instead of
41110 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41112 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41114 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41115 include <bits/wordsize.h>. Check __x86_64__ instead of
41117 (user_regs_struct): Use "__extension__ unsigned long long"
41118 instead of "unsigned long" if __x86_64__ is defined.
41119 (user): Likewise. Pad after pointer field if __ILP32__ is
41122 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41124 * configure.in (makeinfo): Require version 4.5 or later. Allow
41126 * configure: Regenerated.
41127 * manual/install.texi (texinfo): Increase version requirement to
41129 * INSTALL: Regenerated.
41131 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41133 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41135 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41137 * sysdeps/x86_64/x32/ffs.c: New file.
41139 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41141 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41142 defined. Use __syscall_ulong_t.
41143 (shminfo): Use __syscall_ulong_t.
41144 (shm_info): Likewise.
41146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41149 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41151 (msgqnum_t): Use __syscall_ulong_t.
41152 (msglen_t): Likewise.
41153 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41156 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41157 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41159 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41161 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41162 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41164 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41167 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41168 include <bits/wordsize.h>. Check __x86_64__ instead of
41171 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41172 "unsigned long long int" if __x86_64__ is defined.
41173 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41175 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41176 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41177 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41179 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41181 (GET_PC): Cast to uintptr_t first.
41182 (GET_FRAME): Likewise.
41183 (GET_STACK): Likewise.
41185 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41186 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41187 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41189 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41191 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41192 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41193 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41194 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41195 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41196 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41198 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41199 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41201 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41202 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41203 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41204 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41205 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41206 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41207 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41208 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41209 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41210 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41211 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41212 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41213 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41215 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41217 * Makerules (+depfiles): Also collect depfiles from .oS in
41219 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41220 .oS, $(libnldbl-routines)).
41222 * Makerules (native-compile-mkdep-flags): Define.
41223 * sunrpc/Makefile (extra-objs): Add $(addprefix
41224 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41225 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41226 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41227 calling $(make-target-directory).
41229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41231 * bits/types.h (__snseconds_t): Removed.
41232 * time/time.h (struct timespec): Replace __snseconds_t with
41234 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41235 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41238 (__SNSECONDS_T_TYPE): Likewise.
41239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41240 (__SNSECONDS_T_TYPE): Likewise.
41241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41242 (__SNSECONDS_T_TYPE): Likewise.
41244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41246 * sysdeps/mach/hurd/bits/typesizes.h
41247 (__SYSCALL_SLONG_TYPE): New macro.
41248 (__SYSCALL_ULONG_TYPE): Likewise.
41250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41252 * bits/types.h (__syscall_slong_t): New type.
41253 (__syscall_ulong_t): Likewise.
41255 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41256 (__SYSCALL_ULONG_TYPE): Likewise.
41257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41258 (__SYSCALL_SLONG_TYPE): Likewise.
41259 (__SYSCALL_ULONG_TYPE): Likewise.
41260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41261 (__SYSCALL_SLONG_TYPE): Likewise.
41262 (__SYSCALL_ULONG_TYPE): Likewise.
41263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41264 (__SYSCALL_SLONG_TYPE): Likewise.
41265 (__SYSCALL_ULONG_TYPE): Likewise.
41267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41269 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41270 Add sigaltstack-offsets.sym.
41271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41272 <sigaltstack-offsets.h>.
41273 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41274 longjmp_msg pointer.
41275 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41276 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41278 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41280 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41282 * elf/stackguard-macros.h: Remove file.
41283 * sysdeps/generic/stackguard-macros.h: New file.
41284 * sysdeps/i386/stackguard-macros.h: Likewise.
41285 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41286 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41287 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41288 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41289 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41290 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41291 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41292 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41293 <elf/stackguard-macros.h>.
41296 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41297 __aligned__ in attribute.
41298 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41299 (gregset_t): Likewise.
41301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41303 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41304 * sysdeps/x86_64/64/Implies-after: Here. New file.
41305 * sysdeps/x86_64/x32/Implies-after: New file.
41307 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41309 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41310 and access return value for _dl_profile_fixup. Use R10_LP to
41313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41315 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41319 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41320 * sysdeps/x86_64/x32/sysdep.h: New file.
41322 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41324 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41325 * sysdeps/x86_64/setjmp.S: Likewise.
41327 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41329 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41330 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41331 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41332 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41333 remove unused global constant.
41335 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41337 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41338 include of <not-cancel.h>.
41340 2012-05-15 Roland McGrath <roland@hack.frob.com>
41342 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41344 2012-05-15 Jeff Law <law@redhat.com>
41345 Andreas Jaeger <aj@suse.de>
41348 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41350 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41351 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41352 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41353 code changing __hst_map_handle.map.
41355 2012-05-15 Roland McGrath <roland@hack.frob.com>
41357 * configure.in (sysnames): Look for Implies-before and Implies-after
41359 * configure: Regenerated.
41361 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41363 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41364 8-byte data alignment with LP_SIZE alignment.
41366 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41368 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41371 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41373 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41377 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41378 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41379 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41381 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41385 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41386 (stackinfo_sub_sp): Likewise.
41388 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41390 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41395 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41400 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41405 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41409 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41410 into R11_LP and load __x86_64_shared_cache_size_half into
41413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41415 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41418 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41427 powerpc32/power7/fpu/s_logb.c via #include.
41428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41429 powerpc32/power7/fpu/s_logbf.c via #include.
41430 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41431 powerpc32/power7/fpu/s_logbl.c via #include.
41433 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41435 * README.libm: Remove file.
41437 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41439 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41440 count for x32. Use R*_LP and omit operand-size suffix.
41442 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41444 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41445 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41446 * sysdeps/x86_64/x32/shlib-versions: New file.
41448 2012-05-14 Roland McGrath <roland@hack.frob.com>
41450 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41451 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41452 Use _dl_fatal_printf instead.
41454 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41456 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41457 set if not set by the user. Do not allow for being unset.
41458 * sysdeps/unix/sysv/linux/configure: Regenerated.
41460 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41462 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41463 the `q' suffix from lea and replace .quad with ASM_ADDR.
41465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41468 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41470 (PTR_DEMANGLE): Likewise.
41472 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41474 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41476 (ASM_ADDR): Likewise.
41477 (RAX_LP): Likewise.
41478 (RBP_LP): Likewise.
41479 (RBX_LP): Likewise.
41480 (RCX_LP): Likewise.
41481 (RDI_LP): Likewise.
41482 (RSI_LP): Likewise.
41483 (RSP_LP): Likewise.
41486 (R10_LP): Likewise.
41487 (R10_LP): Likewise.
41488 (R11_LP): Likewise.
41489 (R12_LP): Likewise.
41490 (R13_LP): Likewise.
41491 (R14_LP): Likewise.
41492 (R15_LP): Likewise.
41494 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41496 * sysdeps/x86_64/x32/dl-machine.h: New file.
41498 2012-05-14 Andreas Jaeger <aj@suse.de>
41500 * manual/Makefile (subdir): Remove export of subdir.
41501 (all): Remove target.
41502 (.PHONY): Remove all from list.
41503 (mkinstalldirs): Remove.
41504 (.PHONY): Remove installdirs from list.
41505 ($(inst_infodir)/libc.info): Use make-target-directory.
41506 (installdirs): Remove.
41507 (subdir_%): Remove.
41508 (glibc-targets): Remove.
41511 ($(objpfx)stubs ../po/manual.pot): Remove.
41512 ($(objpfx)stamp%): Remove.
41513 (make-target-directory): Remove.
41514 (subdir_install): Remove.
41515 (routines): Remove.
41522 * manual/.gitignore: Remove, it's not needed anymore.
41523 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41525 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41527 (texis): Renamed to $(objpfx)texis.
41528 (texis-path): New, contains path to generated files.
41529 (chapters.%): Use texis-path for complete path, add extra argument
41531 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41532 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41533 (summary,texi, stamp-summary): Use complete path of
41534 files. Generate files in build dir.
41535 (dir-add.texi): Build in build dir.
41536 (libm-err.texi,stamp-libm-err): Likewise.
41537 (version.texi, stamp-version): Likewise.
41538 (.%c.texi): Likewise.
41539 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41540 (mostlyclean): Remove target.
41541 (realclean): Remove target.
41542 (generated): Add new variable with contents from mostlyclean and
41543 realclean, remove entries duplicated in common-mostlyclean, add
41544 stamp-libm-err and stamp-version.
41545 (generated-dirs): Add libc directory.
41546 ($(inst_infodir)/libc.info): Install files from build dir.
41548 * manual/install.texi (Configuring and compiling): Adjust since
41549 the info files are not part of the tar ball anymore.
41551 2012-05-14 Andreas Jaeger <aj@suse.de>
41553 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41556 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41560 to 2.2.0 where earlier.
41561 * sysdeps/unix/sysv/linux/configure: Regenerated.
41562 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41563 Remove conditional code.
41564 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41565 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41566 Remove conditional code.
41567 [!__NR_lchown]: Likewise.
41568 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41569 [__NR_lchown]: Likewise.
41570 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41571 comment referencing __ASSUME_LCHOWN_SYSCALL.
41572 * sysdeps/unix/sysv/linux/i386/sigaction.c
41573 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41574 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41575 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41576 Remove conditional code.
41577 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41578 (__protocol_available): Remove #if 0 code.
41579 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41581 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41582 * sysdeps/unix/sysv/linux/kernel-features.h
41583 (__ASSUME_GETCWD_SYSCALL): Don't define.
41584 (__ASSUME_REALTIME_SIGNALS): Likewise.
41585 (__ASSUME_PREAD_SYSCALL): Likewise.
41586 (__ASSUME_PWRITE_SYSCALL): Likewise.
41587 (__ASSUME_POLL_SYSCALL): Likewise.
41588 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41589 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41591 (__ASSUME_SIOCGIFNAME): Don't define.
41592 (__ASSUME_MSG_NOSIGNAL): Likewise.
41593 (__ASSUME_SENDFILE): Define unconditionally.
41594 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41595 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41597 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41598 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41599 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41600 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41601 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41602 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41603 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41605 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41608 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41614 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41617 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41620 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41623 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41628 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41629 Remove conditional code.
41630 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41631 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41632 Remove conditional code.
41633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41634 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41635 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41636 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41637 Remove conditional code.
41638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41639 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41640 Remove conditional code.
41641 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41642 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41643 Remove conditional code.
41644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41645 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41646 Remove conditional code.
41647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41648 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41649 Remove conditional code.
41650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41651 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41654 * sysdeps/unix/sysv/linux/sigaction.c
41655 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41656 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41657 * sysdeps/unix/sysv/linux/sigpending.c
41658 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41659 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41660 * sysdeps/unix/sysv/linux/sigprocmask.c
41661 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41662 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41663 * sysdeps/unix/sysv/linux/sigsuspend.c
41664 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41665 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41666 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41667 (__libc_missing_rt_sigs): Remove.
41668 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41669 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41670 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41671 Remove conditional code.
41672 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41673 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41675 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41676 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41677 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41678 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41680 2012-05-14 Andreas Jaeger <aj@suse.de>
41682 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41683 it's not used in glibc.
41684 (__coshm1): Likewise.
41685 (__acosh1p): Likewise.
41688 * manual/string.texi (Copying and Concatenation): Add missing
41689 variable in concat example.
41690 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41692 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41696 __builtin_clzl with __builtin_clzll.
41698 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41701 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41704 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41706 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41707 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41708 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41709 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41711 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41713 * NEWS: Update ia64 info.
41715 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41717 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41720 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41722 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41723 * sysdeps/unix/syscalls.list (dup3): Likewise.
41724 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41725 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41727 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41729 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41730 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41732 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41734 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41736 (TLS_IE): Use mov/add instead of movq/addq to load thread
41738 (TLS_GD_PREFIX): New.
41741 2012-05-11 David S. Miller <davem@davemloft.net>
41743 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41744 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41745 (_FPU_SETCW): Likewise.
41747 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41749 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41750 is 32-byte aligned.
41752 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41755 * iconvdata/gb18030.c: Update tables.
41756 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41757 characters specially.
41758 (BODY for TO_LOOP): Add encoding of missing ranges.
41760 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41763 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41764 * sysdeps/mach/hurd/dup3.c: Likewise.
41765 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41766 * sysdeps/powerpc/memmove.c:: Likewise.
41768 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41770 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41771 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41773 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41775 * elf/elf.h (R_X86_64_RELATIVE64): New.
41776 (R_X86_64_NUM): Updated.
41777 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41778 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41779 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41780 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41781 tst-quad1pie tst-quad2pie
41782 (modules-names): Add tst-quadmod1 tst-quadmod2.
41783 ($(objpfx)tst-quad1): New dependency.
41784 ($(objpfx)tst-quad2): Likewise.
41785 ($(objpfx)tst-quad1pie): Likewise.
41786 ($(objpfx)tst-quad2pie): Likewise.
41787 * sysdeps/x86_64/tst-quad1.c: New file.
41788 * sysdeps/x86_64/tst-quad1pie.c: New file.
41789 * sysdeps/x86_64/tst-quad2.c: Likewise.
41790 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41791 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41792 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41793 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41794 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41796 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41798 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41799 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41800 * streams/stropts.h (t_scalar_t): Define type.
41802 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41803 (_PATH_PRESERVE): Set to "/var/lib".
41804 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41806 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41809 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41810 if __dir_mkfile succeeded.
41812 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41813 checking for _hurd_dtablesize. Unlock it right after having
41814 finished _hurd_dtable allocation.
41816 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41818 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41819 * sysdeps/mach/hurd/configure: Regenerated.
41820 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41821 special-casing to...
41822 * sysdeps/gnu/configure.in: ... this new file.
41823 * sysdeps/unix/sysv/linux/configure: Regenerated.
41824 * sysdeps/gnu/configure: New generated file.
41826 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41827 for Linux: use nsec instead of usec, as well as:
41828 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41829 members of type struct timespec.
41830 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41832 (struct stat64): Likewise.
41833 (_STATBUF_ST_NSEC): New macro.
41834 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41836 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41837 __strtoul_internal rather than strtoul.
41839 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41841 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41846 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41847 which preserves existing values.
41848 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41850 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41852 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41853 TIMEOUT values. Return EINVAL for NFDS values either negative or
41854 greater than FD_SETSIZE.
41856 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41858 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41859 allocated, call __vm_protect to finish enabling the existing space, and
41860 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41861 allocate the remainder.
41863 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41865 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41866 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41868 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41870 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41871 sysdeps/mach/hurd/readlink.c.
41873 * posix/tst-sysconf.c (posix_options): Only use
41874 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41875 _POSIX_SYNCHRONIZED_IO when they are defined
41876 * sysdeps/mach/hurd/bits/posix_opt.h:
41877 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41878 (_XOPEN_REALTIME): Undefine macro.
41879 (_XOPEN_REALTIME_THREADS): Undefine macro.
41880 (_XOPEN_SHM): Undefine macro.
41881 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41883 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41885 (_POSIX_ASYNC_IO): Undefine macro.
41886 (_POSIX_PRIORITIZED_IO): Undefine macro.
41887 (_POSIX_SPIN_LOCKS): Define macro to -1.
41889 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41890 SA_NODEFER, SA_RESETHAND.
41891 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41892 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41895 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41897 * elf/Makefile (pldd-modules): Define unconditionally.
41899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41901 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41903 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41905 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41906 Return ENOENT when name is empty.
41907 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41909 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41911 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41913 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41915 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41917 Fix mlock in all cases except non-readable pages.
41918 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41919 instead of VM_PROT_ALL as parameter to __vm_wire function.
41921 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41922 (__mkdir): When path is `/', just fail with EEXIST.
41923 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41925 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41927 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41928 <sys/uio.h> (for writev).
41929 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41930 and <sys/param.h> (for MIN).
41932 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41934 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41935 REQUESTED_TIME. Properly set the remaining time and return EINTR
41938 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41940 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41941 Depend on against $(link-rpcuserlibs).
41943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41945 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41946 (__libc_stack_end): Do not use attribute_relro.
41947 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41948 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41949 to libthread-provided value.
41950 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41953 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41956 * bits/libc-lock.h (__libc_once_get): New macro.
41957 * sysdeps/mach/bits/libc-lock.h: Likewise.
41958 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41960 instead of using implementation details.
41962 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41963 * libio/freopen.c: Likewise.
41964 * libio/freopen64.c: Likewise.
41965 * misc/syslog.c: Likewise.
41966 * nscd/connections.c: Likewise.
41967 * nscd/netgroupcache.c: Likewise.
41968 * sysdeps/posix/getcwd.c: Likewise.
41970 2012-05-10 Roland McGrath <roland@hack.frob.com>
41972 * math/w_ilogbf.c: Add #include <limits.h>.
41974 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41976 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41977 path instead of returning without unlocking.
41979 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41980 immediate-write ioctls.
41981 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41983 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41985 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41986 __builtin_frame_address instead of making assumptions about the
41987 location of the return address relative to DATA. Force early load of
41988 the return address.
41989 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41990 __builtin_frame_address.
41993 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41994 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41995 implement dup3 and do some further code clean-ups.
41996 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41997 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42001 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42003 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42004 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42005 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42006 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42007 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42010 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42011 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42012 when handler == SIG_ERR, not when handler != SIG_ERR.
42014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42016 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42017 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42020 accept4 for GNU Hurd.
42021 * include/sys/socket.h (__libc_accept4): New prototype.
42022 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42023 to implement __libc_accept4.
42024 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42026 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42028 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42029 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42030 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42031 signal-defines.sym.
42033 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42035 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42039 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42040 assertion on O_CLOEXEC flag.
42041 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42042 * hurd/intern-fd.c: Likewise.
42043 * hurd/port2fd.c: Likewise.
42045 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42048 * bits/in.h (IPV6_PKTINFO): Define new macro.
42049 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42051 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42056 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42057 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42058 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42059 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42061 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42062 * math/libm-test.inc (logb_test) : Additional logb tests.
42064 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42065 Andreas Jaeger <aj@suse.de>
42067 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42068 * configure: Regenerated.
42069 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42070 * config.make.in (link-obsolete-rpc): New substituted variable.
42071 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42072 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42073 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42074 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42075 so that libc.a contains the symbols.
42076 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42077 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42078 * sunrpc/auth_none.c: Likewise.
42079 * sunrpc/auth_unix.c: Likewise.
42080 * sunrpc/authdes_prot.c: Likewise.
42081 * sunrpc/authuxprot.c: Likewise.
42082 * sunrpc/clnt_gen.c: Likewise.
42083 * sunrpc/clnt_perr.c: Likewise.
42084 * sunrpc/clnt_raw.c: Likewise.
42085 * sunrpc/clnt_simp.c: Likewise.
42086 * sunrpc/clnt_tcp.c: Likewise.
42087 * sunrpc/clnt_udp.c: Likewise.
42088 * sunrpc/clnt_unix.c: Likewise.
42089 * sunrpc/des_crypt.c: Likewise.
42090 * sunrpc/des_soft.c: Likewise.
42091 * sunrpc/get_myaddr.c: Likewise.
42092 * sunrpc/key_call.c: Likewise.
42093 * sunrpc/key_prot.c: Likewise.
42094 * sunrpc/netname.c: Likewise.
42095 * sunrpc/pm_getmaps.c: Likewise.
42096 * sunrpc/pm_getport.c: Likewise.
42097 * sunrpc/pmap_clnt.c: Likewise.
42098 * sunrpc/pmap_prot.c: Likewise.
42099 * sunrpc/pmap_prot2.c: Likewise.
42100 * sunrpc/pmap_rmt.c: Likewise.
42101 * sunrpc/publickey.c: Likewise.
42102 * sunrpc/rpc_cmsg.c: Likewise.
42103 * sunrpc/rpc_common.c: Likewise.
42104 * sunrpc/rpc_dtable.c: Likewise.
42105 * sunrpc/rpc_prot.c: Likewise.
42106 * sunrpc/rpc_thread.c: Likewise.
42107 * sunrpc/rtime.c: Likewise.
42108 * sunrpc/svc.c: Likewise.
42109 * sunrpc/svc_auth.c: Likewise.
42110 * sunrpc/svc_raw.c: Likewise.
42111 * sunrpc/svc_run.c: Likewise.
42112 * sunrpc/svc_tcp.c: Likewise.
42113 * sunrpc/svc_udp.c: Likewise.
42114 * sunrpc/svc_unix.c: Likewise.
42115 * sunrpc/svcauth_des.c: Likewise.
42116 * sunrpc/xcrypt.c: Likewise.
42117 * sunrpc/xdr.c: Likewise.
42118 * sunrpc/xdr_array.c: Likewise.
42119 * sunrpc/xdr_float.c: Likewise.
42120 * sunrpc/xdr_intXX_t.c: Likewise.
42121 * sunrpc/xdr_mem.c: Likewise.
42122 * sunrpc/xdr_rec.c: Likewise.
42123 * sunrpc/xdr_ref.c: Likewise.
42124 * sunrpc/xdr_sizeof.c: Likewise.
42125 * sunrpc/xdr_stdio.c: Likewise.
42127 2012-05-10 Roland McGrath <roland@hack.frob.com>
42129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42130 change. Update copyright years.
42132 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42134 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42136 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42137 Joseph Myers <joseph@codesourcery.com>
42138 Paul Pluzhnikov <ppluzhnikov@google.com>
42141 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42143 [cross-compiling] (extra-libs): Likewise.
42144 [cross-compiling] (extra-libs-others): Likewise.
42145 [cross-compiling] (librpcsvc-routines): Likewise.
42146 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42147 [cross-compiling] (omit-deps): Likewise.
42148 (sunrpc-CPPFLAGS): New variable.
42149 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42150 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42151 (cross-rpcgen-objs): New variable.
42152 (extra-objs): Append $(cross-rpcgen-objs).
42153 ($(cross-rpcgen-objs)): New rule.
42154 ($(objpfx)cross-rpcgen): Likewise.
42155 (rpcgen-cmd): Define to use $(built-program-file). Expand
42157 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42158 ($(objpfx)x%.stmp): Likewise.
42159 * sunrpc/proto.h [IS_IN_build] (_): Define.
42160 [IS_IN_build] (_libc_intl_domainname): Likewise.
42162 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42165 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42166 and R_X86_64_TPOFF64.
42168 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42170 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42171 sysdeps/unix/sysv/syscalls.list.
42174 * sysdeps/unix/sysv/syscalls.list: Remove file.
42176 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42179 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42180 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42181 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42182 (__LC_IDENTIFICATION): Make these macros useful in #if
42183 expressions, as required by C99.
42185 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42187 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42188 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42191 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42193 * stdlib/longlong.h: Updated from GCC.
42195 2012-05-09 Andreas Jaeger <aj@suse.de>
42197 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42198 default is first entry.
42199 (run_mode): Set type.
42200 (main): Remove informal message about syslog.
42201 (options): Fix typo.
42204 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42207 (llrintf): Likewise.
42208 (llrint): Likewise.
42211 (nearbyint): Likewise.
42212 (nearbyintf): Likewise.
42214 2012-05-09 Andreas Jaeger <aj@suse.de>
42215 Pedro Alves <palves@redhat.com>
42217 * nscd/nscd.c (run_mode): Use enum.
42218 (main): Cleanup coding style issue.
42220 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42221 Andreas Jaeger <aj@suse.de>
42223 * nscd/nscd.c (go_background): Replaced with...
42224 (run_mode): ... this.
42225 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42226 (options): Add -F --foreground.
42227 (main): Implement it.
42228 (parse_opt): Parse it.
42230 2012-05-09 Andreas Jaeger <aj@suse.de>
42233 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42234 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42235 -Wconversion warning.
42236 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42239 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42241 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42243 (LC_ALL): Use macro-int-constant.
42244 (LC_COLLATE): Likewise.
42245 (LC_CTYPE): Likewise.
42246 (LC_MESSAGES): Likewise.
42247 (LC_MONETARY): Likewise.
42248 (LC_NUMERIC): Likewise.
42249 (LC_TIME): Likewise.
42250 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42251 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42252 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42253 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42255 [C99-based standards] (float_t): Expect type.
42256 [C99-based standards] (double_t): Expect type.
42257 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42259 [C99-based standards] (HUGE_VALL): Likewise.
42260 [C99-based standards] (INFINITY): Likewise.
42261 [C99-based standards] (NAN): Likewise.
42262 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42263 [C99-based standards] (FP_NAN): Likewise.
42264 [C99-based standards] (FP_NORMAL): Likewise.
42265 [C99-based standards] (FP_SUBNORMAL): Likewise.
42266 [C99-based standards] (FP_ZERO): Likewise.
42267 [C99-based standards] (FP_FAST_FMA): Use
42268 optional-macro-int-constant. Specify type. Require == 1.
42269 [C99-based standards] (FP_FAST_FMAF): Likewise.
42270 [C99-based standards] (FP_FAST_FMAL): Likewise.
42271 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42272 [C99-based standards] (FP_ILOGBNAN): Likewise.
42273 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42275 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42276 [C99-based standards] (math_errhandling): Specify type.
42277 [ISO99 || ISO11] (signgam): Do not allow.
42278 [non-C99-based standards] (copysignf): Do not allow.
42279 [non-C99-based standards] (exp2f): Likewise.
42280 [non-C99-based standards] (log2f): Likewise.
42281 [non-C99-based standards] (modff): Allow.
42282 [non-C99-based standards] (erff): Do not allow.
42283 [non-C99-based standards] (erfcf): Likewise.
42284 [non-C99-based standards] (gammaf): Likewise.
42285 [non-C99-based standards] (hypotf): Likewise.
42286 [non-C99-based standards] (j0f): Likewise.
42287 [non-C99-based standards] (j1f): Likewise.
42288 [non-C99-based standards] (jnf): Likewise.
42289 [non-C99-based standards] (lgammaf): Likewise.
42290 [non-C99-based standards] (tgammaf): Likewise.
42291 [non-C99-based standards] (y0f): Likewise.
42292 [non-C99-based standards] (y1f): Likewise.
42293 [non-C99-based standards] (ynf): Likewise.
42294 [non-C99-based standards] (isnanf): Likewise.
42295 [non-C99-based standards] (acoshf): Likewise.
42296 [non-C99-based standards] (asinhf): Likewise.
42297 [non-C99-based standards] (atanhf): Likewise.
42298 [non-C99-based standards] (cbrtf): Likewise.
42299 [non-C99-based standards] (expm1f): Likewise.
42300 [non-C99-based standards] (ilogbf): Likewise.
42301 [non-C99-based standards] (log1pf): Likewise.
42302 [non-C99-based standards] (logbf): Likewise.
42303 [non-C99-based standards] (nextafterf): Likewise.
42304 [non-C99-based standards] (remainderf): Likewise.
42305 [non-C99-based standards] (rintf): Likewise.
42306 [non-C99-based standards] (scalbf): Likewise.
42307 [non-C99-based standards] (copysignl): Likewise.
42308 [non-C99-based standards] (exp2l): Likewise.
42309 [non-C99-based standards] (log2l): Likewise.
42310 [non-C99-based standards] (modfl): Allow.
42311 [non-C99-based standards] (erfl): Do not allow.
42312 [non-C99-based standards] (erfcl): Likewise.
42313 [non-C99-based standards] (gammal): Likewise.
42314 [non-C99-based standards] (hypotl): Likewise.
42315 [non-C99-based standards] (j0l): Likewise.
42316 [non-C99-based standards] (j1l): Likewise.
42317 [non-C99-based standards] (jnl): Likewise.
42318 [non-C99-based standards] (lgammal): Likewise.
42319 [non-C99-based standards] (tgammal): Likewise.
42320 [non-C99-based standards] (y0l): Likewise.
42321 [non-C99-based standards] (y1l): Likewise.
42322 [non-C99-based standards] (ynl): Likewise.
42323 [non-C99-based standards] (isnanl): Likewise.
42324 [non-C99-based standards] (acoshl): Likewise.
42325 [non-C99-based standards] (asinhl): Likewise.
42326 [non-C99-based standards] (atanhl): Likewise.
42327 [non-C99-based standards] (cbrtl): Likewise.
42328 [non-C99-based standards] (expm1l): Likewise.
42329 [non-C99-based standards] (ilogbl): Likewise.
42330 [non-C99-based standards] (log1pl): Likewise.
42331 [non-C99-based standards] (logbl): Likewise.
42332 [non-C99-based standards] (nextafterl): Likewise.
42333 [non-C99-based standards] (remainderl): Likewise.
42334 [non-C99-based standards] (rintl): Likewise.
42335 [non-C99-based standards] (scalbl): Likewise.
42336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42337 [non-C99-based standards] (FP_*): Do not allow.
42338 [C99-based standards] (FP_*): Change to
42339 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42340 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42342 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42343 (SIG_ERR): Likewise.
42344 [X/Open-based standards] (SIG_HOLD): Likewise.
42345 (SIG_IGN): Likewise.
42346 (SIGABRT): Use macro-int-constant. Specify type. Require
42348 (SIGFPE): Likewise.
42349 (SIGILL): Likewise.
42350 (SIGINT): Likewise.
42351 (SIGSEGV): Likewise.
42352 (SIGTER): Likewise.
42353 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42354 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42355 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42356 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42357 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42358 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42359 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42360 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42361 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42362 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42363 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42364 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42365 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42366 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42367 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42368 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42369 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42370 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42371 [X/Open-based standards] (SIGTRAP): Likewise.
42372 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42373 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42374 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42375 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42376 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42379 2012-05-08 Ian Wienand <ianw@vmware.com>
42382 * time/tzset.c (__tzset_parse_tz): Update default rules for
42383 daylight time changes in the Energy Policy Act of 2005.
42385 2012-05-09 Andreas Jaeger <aj@suse.de>
42388 * elf/ldconfig.c (parse_conf): Change string to make clear that
42389 ldconfig only issued a warning if ld.so.conf does not exist.
42391 2012-05-08 David S. Miller <davem@davemloft.net>
42393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42394 movxtod instead of popping the value on the stack.
42396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42398 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42400 * config.h.in: Add HAVE_ARM_PCS_VFP.
42402 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42405 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42406 checking but the checks are disabled for any reason.
42408 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42410 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42411 and ELF64_R_TYPE with ELFW(R_TYPE).
42413 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42415 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42416 (ulimit): Likewise.
42418 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42419 (settimeofday): Likewise.
42421 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42423 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42424 a struct th_u2 inside the union, and move tu_block/tu_code into
42425 a new th_u3 union of tu_block/tu_code inside of that. Move
42426 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42427 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42428 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42429 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42430 (th_stuff): Change to th_u1.tu_stuff.
42432 (th_msg): Change to th_u1.th_u2.tu_data.
42434 2012-05-07 David S. Miller <davem@davemloft.net>
42436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42439 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42440 (SETUP_PIC_REG): Use it.
42441 (SETUP_PIC_REG_LEAF): Use it.
42443 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42449 (EXPL_FINITE): Likewise.
42450 (FLDLOG): Likewise.
42451 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42452 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42454 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42456 (EXPL_FINITE): Likewise.
42457 (FLDLOG): Likewise.
42458 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42459 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42461 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42462 test of -max_value argument for long double.
42463 * sysdeps/i386/fpu/libm-test-ulps: Update.
42464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42466 2012-05-06 David S. Miller <davem@davemloft.net>
42468 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42469 quad soft-float symbols whose references which are compiler
42471 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42473 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42479 (EXPL_FINITE): Likewise.
42480 (FLDLOG): Likewise.
42483 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42484 Adjust comments for base varying.
42485 (__expl_finite): Change alias to EXPL_FINITE.
42486 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42488 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42489 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42490 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42491 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42494 (EXPL_FINITE): Likewise.
42495 (FLDLOG): Likewise.
42498 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42499 Adjust comments for base varying.
42500 (__expl_finite): Change alias to EXPL_FINITE.
42501 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42506 * math/libm-test.inc (check_float_internal): Correct ulp
42507 calculation for subnormal expected results.
42509 2012-05-06 Andreas Jaeger <aj@suse.de>
42511 * Makeconfig (+math-flags): New, set to -frounding-math.
42512 (+cflags): Add +math-flags so that all of glibc gets compiled with
42515 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42517 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42519 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42525 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42526 (__ieee754_expl): Allow for and saturate large arguments.
42527 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42528 (u_threshold): Likewise.
42529 (__exp): Call __ieee754_exp before checking for overflow and
42531 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42532 (u_threshold): Likewise.
42533 (__expf): Call __ieee754_expf before checking for overflow and
42535 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42536 (u_threshold): Likewise.
42537 (__expl): Call __ieee754_expl before checking for overflow and
42539 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42540 (__ieee754_expl): Allow for and saturate large arguments.
42541 * math/libm-test.inc (exp_test): Add another test. Do not allow
42542 missing overflow exception on overflow.
42543 (expm1_test): Do not allow missing overflow exception on overflow.
42545 * sysdeps/i386/fpu/e_expl.c: Move to ...
42546 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42547 rather than using inline asm.
42548 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42549 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42550 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42552 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42555 (signal): Likewise.
42559 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42561 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42562 sysdeps/unix/common/syscalls.list.
42563 (fchmod): Likewise.
42564 (fchown): Likewise.
42565 (ftruncate): Likewise.
42566 (getrusage): Likewise.
42567 (gettimeofday): Likewise.
42568 (setpgid): Likewise.
42569 (setregid): Likewise.
42570 (setreuid): Likewise.
42571 (sigaction): Likewise.
42572 (truncate): Likewise.
42573 (vhangup): Likewise.
42574 * sysdeps/unix/common/syscalls.list: Remove file.
42575 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42576 * sysdeps/unix/sysv/linux/Implies: Likewise.
42578 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42580 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42582 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42586 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42589 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42592 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42595 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42598 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42601 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42604 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42608 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42612 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42615 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42619 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42623 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42625 * sysdeps/unix/common/bits/dirent.h: Remove file.
42626 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42628 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42629 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42630 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42631 * sysdeps/unix/bsd/isatty.c: Likewise.
42632 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42633 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42634 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42636 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42640 long double comparison inaccuracies.
42641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42644 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42646 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42649 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42652 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42653 nonzero digits before rounding a hex value.
42654 * stdlib/tst-strtod.c (tests): Add another test.
42656 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42658 * sysdeps/s390/fpu/libm-test-ulps: Update.
42660 2012-05-03 Andreas Jaeger <aj@suse.de>
42662 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42663 does not get optimized out.
42664 (malloc_opt_barrier): New.
42666 2012-05-03 Andreas Jaeger <aj@suse.de>
42667 Roland McGrath <roland@hack.frob.com>
42669 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42670 intermediate file deletion.
42671 (generated): Add .symlist files.
42673 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42676 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42677 Redirect under this condition.
42678 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42679 [__USE_GNU] (__dprintf_chk): Not under this condition.
42680 [__USE_GNU] (__vdprintf_chk): Likewise.
42681 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42682 under this condition.
42683 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42684 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42685 [__USE_XOPEN2K8] (vdprintf): Likewise.
42686 [__USE_GNU] (__dprintf_chk): Not under this condition.
42687 [__USE_GNU] (__vdprintf_chk): Likewise.
42688 [__USE_GNU] (dprintf): Likewise.
42689 [__USE_GNU] (vdprintf): Likewise.
42691 2012-05-03 Roland McGrath <roland@hack.frob.com>
42693 * elf/Makefile (common-generated): Set this instead of generated for
42694 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42695 $(all-built-dso)-derived lists.
42697 2012-05-03 Andreas Jaeger <aj@suse.de>
42699 * sysdeps/i386/fpu/libm-test-ulps: Update.
42702 * FAQ.in: Likewise.
42703 * scripts/gen-FAQ.pl: Likewise.
42704 * manual/install.texi (Installation): Point to online location of
42706 * Makefile (files-for-dist): Remove FAQ.
42709 2012-05-02 Allan McRae <allan@archlinux.org>
42711 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42712 (LDFLAGS-reldepmod5.so): Likewise.
42713 (LDFLAGS-reldep6mod1.so): Likewise.
42714 (LDFLAGS-reldep6mod4.so): Likewise.
42715 (LDFLAGS-reldep8mod3.so): Likewise.
42716 (LDFLAGS-unload4mod1.so): Likewise.
42717 (LDFLAGS-unload4mod2.so): Likewise.
42718 (LDFLAGS-tst-initorder): Likewise.
42719 (LDFLAGS-tst-initordera2.so): Likewise.
42720 (LDFLAGS-tst-initordera3.so): Likewise.
42721 (LDFLAGS-tst-initordera4.so): Likewise.
42722 (LDFLAGS-tst-initorderb2.so): Likewise.
42723 (LDFLAGS-noload): Likewise.
42724 (LDFLAGS-next): Likewise.
42725 (LDFLAGS-order2mod1.so): Likewise.
42726 (LDFLAGS-order2mod2.so): Likewise.
42727 (LDFLAGS-tst-initorder2): Likewise.
42728 (LDFLAGS-tst-initorder2a.so): Likewise.
42729 (LDFLAGS-tst-initorder2b.so): Likewise.
42730 (LDFLAGS-tst-initorder2c.so): Likewise.
42731 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42733 2012-05-02 David S. Miller <davem@davemloft.net>
42735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42737 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42740 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42742 2012-05-02 Andreas Jaeger <aj@suse.de>
42744 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42745 since we manipulate rounding mode.
42746 (CPPFLAGS-test-idouble.c): Likewise.
42747 (CPPFLAGS-test-ifloat.c): Likewise.
42748 (CFLAGS-test-ldouble.c): Likewise.
42749 (CFLAGS-test-double.c): Likewise.
42750 (CFLAGS-test-float.c): Likewise.
42751 (CFLAGS-test-misc.c): Likewise.
42752 (CFLAGS-test-test-fenv.c): Likewise.
42754 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42759 comparisons to determine direction to adjust input.
42761 2012-05-01 Roland McGrath <roland@hack.frob.com>
42763 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42764 output to the target.
42766 * scripts/localplt.awk: New file.
42767 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42768 (check-localplt-CFLAGS): Variable removed.
42769 ($(all-built-dso:=.jmprel)): New static pattern rule.
42770 (generated): Add those targets.
42771 (localplt-built-dso): New variable.
42772 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42774 * elf/check-localplt.c: File removed.
42776 * scripts/check-execstack.awk: New file.
42777 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42778 (check-execstack-CFLAGS): Variable removed.
42779 ($(objpfx)check-execstack.h): Target removed.
42780 ($(objpfx)execstack-default): New target.
42781 (generated): Add that instead of check-execstack.h.
42782 ($(all-built-dso:=.phdr)): New static pattern rule.
42783 (generated): Add those targets.
42784 * elf/check-execstack.c: File removed.
42786 * scripts/check-textrel.awk: New file.
42787 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42788 (check-textrel-CFLAGS): Variable removed.
42789 (all-built-dso): Use := to define.o
42790 ($(all-built-dso:=.dyn)): New static pattern rule.
42791 (generated): Add those targets.
42792 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42793 * config.make.in (READELF): New substituted variable.
42794 * elf/check-textrel.c: File removed.
42796 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42798 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42800 * conform/data/ctype.h-data [C99-based standards] (isblank):
42802 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42803 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42804 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42805 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42806 Specify type. Require positive value.
42807 (EILSEQ): Likewise.
42808 (ERANGE): Likewise.
42809 [ISO || POSIX] (EILSEQ): Do not expect.
42810 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42811 Specify type. Require positive value.
42812 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42813 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42814 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42816 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42817 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42818 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42819 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42820 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42821 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42822 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42823 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42824 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42825 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42826 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42827 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42828 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42829 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42830 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42831 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42832 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42833 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42834 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42835 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42836 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42837 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42838 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42839 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42840 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42841 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42842 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42843 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42845 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42846 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42847 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42848 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42849 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42850 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42851 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42852 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42853 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42854 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42855 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42856 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42857 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42858 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42859 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42860 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42861 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42862 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42863 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42864 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42865 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42866 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42867 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42868 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42869 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42870 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42871 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42872 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42873 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42874 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42875 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42876 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42877 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42878 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42879 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42880 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42881 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42882 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42883 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42884 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42885 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42886 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42887 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42888 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42890 (FLT_ROUNDS): Expect as macro, not constant.
42891 (FLT_MANT_DIG): Use macro-int-constant.
42892 (DBL_MANT_DIG): Likewise.
42893 (LDBL_MANT_DIG): Likewise.
42894 (FLT_DIG): Likewise.
42895 (DBL_DIG): Likewise.
42896 (LDBL_DIG): Likewise.
42897 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42898 (DBL_MIN_EXP): Likewise.
42899 (LDBL_MIN_EXP): Likewise.
42900 (FLT_MAX_EXP): Use macro-int-constant.
42901 (DBL_MAX_EXP): Likewise.
42902 (LDBL_MAX_EXP): Likewise.
42903 (FLT_MAX_10_EXP): Likewise.
42904 (DBL_MAX_10_EXP): Likewise.
42905 (LDBL_MAX_10_EXP): Likewise.
42906 (FLT_MAX): Use macro-constant.
42907 (DBL_MAX): Likewise.
42908 (LDBL_MAX): Likewise.
42909 (FLT_EPSILON): Use macro-constant. Give upper bound.
42910 (DBL_EPSILON): Likewise.
42911 (LDBL_EPSILON): Likewise.
42912 (FLT_MIN): Likewise.
42913 (DBL_MIN): Likewise.
42914 (LDBL_MIN): Likewise.
42915 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42916 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42917 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42918 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42919 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42920 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42921 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42922 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42923 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42924 [ISO11] (FLT_TRUE_MIN): Likewise.
42925 [ISO11] (LDBL_TRUE_MIN): Likewise.
42926 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42927 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42928 (SCHAR_MIN): Use macro-int-constant. Specify type.
42929 (SCHAR_MAX): Likewise.
42930 (UCHAR_MAX): Likewise.
42931 (CHAR_MIN): Likewise.
42932 (CHAR_MAX): Likewise.
42933 (MB_LEN_MAX): Use macro-int-constant.
42934 (SHRT_MIN): Use macro-int-constant. Specify type.
42935 (SHRT_MAX): Likewise.
42936 (USHRT_MAX): Likewise.
42937 (INT_MAX): Likewise.
42938 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42940 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42942 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42944 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42945 bound negative. Suffix upper bound with "L".
42946 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42948 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42950 [C99-based standards] (LLONG_MAX): Likewise.
42951 [C99-based standards] (ULLONG_MAX): Likewise.
42952 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42954 [ISO11] (max_align_t): Require type.
42955 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42957 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42958 from $CFLAGS, without defining away __attribute__ calls.
42959 (checknamespace): Use $CFLAGS_namespace.
42961 * conform/conformtest.pl (@keywords): Only include C99 keywords
42962 for standards based on C99 or C11.
42964 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42966 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42969 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42970 usability of symbols in #if.
42972 * conform/conformtest.pl: If macro or constant types start
42973 "promoted:", expect the symbol to be of the following type
42974 promoted by the integer promotions.
42976 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42977 in one place. Also handle "macro-constant".
42979 * conform/conformtest.pl: Only accept expected macro values with
42980 "==". Parse all "macro" lines in one place.
42981 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42983 * conform/conformtest.pl: Handle braced types on "constant" lines
42984 instead of handling "typed-constant".
42985 * conform/data/signal.h-data: Use "constant" instead of
42988 * conform/conformtest.pl: Handle "optional-" at start of lines in
42989 one place rather than duplicating several cases. Handle each
42990 format of "macro" line with initial "optional-".
42992 * conform/conformtest.pl: Only accept expected constant or
42993 optional-constant values with "==". Parse all "constant" lines in
42994 one place. Parse all "optional-constant" lines in one place.
42995 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42996 * conform/data/fmtmsg.h-data: Likewise.
42997 * conform/data/netinet/in.h-data: Likewise.
42998 * conform/data/tar.h-data: Likewise.
42999 * conform/data/limits.h-data: Use "==" form on "constant" and
43000 "optional-constant" lines.
43002 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43003 Use -std=c99 for XOPEN2K.
43004 (@knownproblems): Remove.
43005 (newtoken): Don't check %isknown.
43007 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43008 Do not expect macro.
43009 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43021 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43022 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43031 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43032 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43039 [XPG3] (acosh): Likewise.
43040 [XPG3] (asinh): Likewise.
43041 [XPG3] (atanh): Likewise.
43042 [XPG3] (cbrt): Likewise.
43043 [XPG3] (expm1): Likewise.
43044 [XPG3] (ilogb): Likewise.
43045 [XPG3] (log1p): Likewise.
43046 [XPG3] (logb): Likewise.
43047 [XPG3] (nextafter): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43050 [XPG3] (remainder): Likewise.
43051 [XPG3] (rint): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43059 [UNIX98 || XOPEN2K] (scalb): Expect.
43060 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43061 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43062 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43063 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43064 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43065 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43066 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43067 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43068 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43069 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43070 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43071 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43072 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43073 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43074 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43075 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43076 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43077 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43078 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43079 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43080 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43081 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43082 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43083 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43084 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43085 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43086 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43087 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43088 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43089 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43090 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43091 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43092 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43093 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43094 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43095 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43096 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43097 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43098 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43099 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43100 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43101 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43102 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43103 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43104 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43105 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43106 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43107 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43108 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43109 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43110 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43111 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43112 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43113 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43114 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43115 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43116 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43117 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43118 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43119 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43120 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43121 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43122 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43123 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43124 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43125 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43126 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43127 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43128 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43129 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43130 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43131 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43132 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43133 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43134 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43135 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43136 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43137 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43138 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43139 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43140 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43141 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43142 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43143 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43144 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43145 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43146 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43147 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43148 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43149 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43150 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43151 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43152 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43153 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43154 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43155 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43156 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43157 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43158 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43159 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43160 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43161 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43162 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43163 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43164 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43165 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43166 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43167 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43168 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43169 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43170 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43171 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43172 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43173 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43174 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43175 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43176 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43177 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43178 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43179 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43180 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43181 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43182 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43183 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43184 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43185 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43186 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43187 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43188 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43189 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43190 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43191 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43192 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43193 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43194 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43195 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43196 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43198 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43199 _XOPEN_SOURCE_EXTENDED for XPG4.
43201 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43203 * Makeconfig (localtime): Remove variable.
43204 (inst_localtime-file): Likewise.
43206 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43227 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43231 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43232 comparisons to determine direction to adjust input.
43233 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43234 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43235 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43241 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43242 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43244 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43246 * math/libm-test.inc (nexttoward_test): Add more tests.
43248 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43251 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43252 in version GLIBC_2.1, not GLIBC_2.0.
43253 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43256 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43259 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43261 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43262 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43263 * math/libm-test.inc (acos_test): Add more tests.
43264 (asin_test): Likewise.
43265 * sysdeps/i386/fpu/libm-test-ulps: Update.
43266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43269 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43271 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43273 * math/libm-test.inc (acos_test_tonearest): New function.
43274 (acos_test_towardzero): Likewise.
43275 (acos_test_downward): Likewise.
43276 (acos_test_upward): Likewise.
43277 (asin_test_tonearest): Likewise.
43278 (asin_test_towardzero): Likewise.
43279 (asin_test_downward): Likewise.
43280 (asin_test_upward): Likewise.
43281 (main): Call the new functions.
43282 * sysdeps/i386/fpu/libm-test-ulps: Update.
43283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43287 * math/e_exp10.c: Include <float.h>.
43288 (__ieee754_exp10): Handle underflow here rather than multiplying
43289 large negative argument by M_LN10.
43290 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43292 * math/e_exp10l.c: Include <float.h>.
43293 (__ieee754_exp10l): Handle underflow here rather than multiplying
43294 large negative argument by M_LN10l.
43295 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43296 spurious overflow exception on underflow.
43298 2012-04-29 Marek Polacek <polacek@redhat.com>
43300 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43301 (__fortify_function): New macro.
43302 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43303 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43304 __extern_always_inline.
43305 * libio/bits/stdio2.h: Likewise.
43306 * libio/bits/stdio.h: Likewise.
43307 * string/string.h: Likewise.
43308 * string/bits/string3.h: Likewise.
43309 * include/stdio.h: Likewise.
43310 * stdlib/bits/stdlib.h: Likewise.
43311 * stdlib/stdlib.h: Likewise.
43312 * rt/bits/mqueue2.h: Likewise.
43313 * rt/mqueue.h: Likewise.
43314 * posix/bits/unistd.h: Likewise.
43315 * posix/unistd.h: Likewise.
43316 * io/bits/poll2.h: Likewise.
43317 * io/bits/fcntl2.h: Likewise.
43318 * io/fcntl.h: Likewise.
43319 * io/sys/poll.h: Likewise.
43320 * misc/bits/syslog.h: Likewise.
43321 * misc/bits/syslog-ldbl.h: Likewise.
43322 * misc/sys/syslog.h: Likewise.
43323 * socket/bits/socket2.h: Likewise.
43324 * socket/sys/socket.h: Likewise.
43325 * debug/tst-chk1.c: Likewise.
43326 * wcsmbs/bits/wchar2.h: Likewise.
43327 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43328 * wcsmbs/wchar.h: Likewise.
43330 2012-04-29 Andreas Jaeger <aj@suse.de>
43332 * Makerules (tests): Remove enable-check-abi protection.
43333 (check-abi-warn): Remove.
43334 (check-abi-%): Remove check-abi-warn usage.
43336 * configure.in: Remove check-abi configure option.
43337 * configure: Regenerated.
43338 * config.make.in (enable-check-abi): Remove.
43340 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43343 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43344 double functions to double *_finite functions.
43347 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43348 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43350 * stdio-common/Makefile (tests): Add tst-sprintf3.
43351 * stdio-common/tst-sprintf3.c: New file.
43353 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43354 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43356 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43358 * conform/conformtest.pl: Remove duplicate typed-constant
43361 2012-04-28 David S. Miller <davem@davemloft.net>
43363 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43364 (check-abi-%): Remove AWK script prerequisite and explicit
43366 (check-abi): Rewrite to just diff the symlist with the abilist.
43367 (config-tls, config-abi-config): Delete, no longer used.
43368 (update-abi-%): Remove AWK script and explicit abilist directory.
43369 (update-abi): Rewrite to simply compare and conditionally copy the
43370 symlist and the sysdep abilist file. Remove update-abi-config
43372 * abilist/ld.abilist: Remove.
43373 * abilist/libBrokenLocale.abilist: Remove.
43374 * abilist/libanl.abilist: Remove.
43375 * abilist/libcrypt.abilist: Remove.
43376 * abilist/libdl.abilist: Remove.
43377 * abilist/librt.abilist: Remove.
43378 * abilist/libthread_db.abilist: Remove.
43379 * abilist/libutil.abilist: Remove.
43380 * scripts/extract-abilist.awk: Remove.
43381 * scripts/merge-abilist.awk: Remove.
43382 * sysdeps/generic/libcidn.abilist: New file.
43383 * sysdeps/generic/libnss_compat.abilist: New file.
43384 * sysdeps/generic/libnss_db.abilist: New file.
43385 * sysdeps/generic/libnss_dns.abilist: New file.
43386 * sysdeps/generic/libnss_files.abilist: New file.
43387 * sysdeps/generic/libnss_hesiod.abilist: New file.
43388 * sysdeps/generic/libnss_nis.abilist: New file.
43389 * sysdeps/generic/libnss_nisplus.abilist: New file.
43390 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43391 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43392 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43394 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43395 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43396 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43397 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43398 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43399 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43400 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43401 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43402 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43404 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43405 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43406 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43407 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43409 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43410 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43411 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43412 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43413 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43414 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43416 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43417 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43418 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43420 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43523 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43524 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43525 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43527 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43528 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43529 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43530 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43531 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43532 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43533 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43534 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43535 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43536 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43588 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43590 * conform/conformtest.pl: Fix typo in handling typed-constant from
43593 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43595 * README: Cut down references to pre-2.6 Linux kernels and
43596 Linuxthreads. Update lists of configurations in libc and ports
43597 and sort alphabetically. Say "or newer" with Linux kernel version
43600 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43602 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43605 * math/libm-test.inc (logb_test_downward): New test to expose
43606 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43609 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43612 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43614 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43615 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43617 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43619 * sysdeps/unix/i386/brk.S: Remove file.
43620 * sysdeps/unix/i386/dl-brk.S: Likewise.
43621 * sysdeps/unix/i386/pipe.S: Likewise.
43622 * sysdeps/unix/i386/sigreturn.S: Likewise.
43623 * sysdeps/unix/i386/syscall.S: Likewise.
43624 * sysdeps/unix/i386/vfork.S: Likewise.
43625 * sysdeps/unix/i386/wait.S: Likewise.
43627 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43628 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43630 * configure.in (arm*-none*): Do not allow without
43631 --enable-hacker-mode.
43632 (netbsd*): Remove case setting base_os.
43633 (386bsd*): Likewise.
43634 (freebsd*): Likewise.
43637 (sunos*): Likewise.
43638 (ultrix*): Likewise.
43639 (newsos*): Likewise.
43640 (dynix*): Likewise.
43646 (minix*): Likewise.
43647 (irix4*): Likewise.
43648 (irix6*): Likewise.
43649 (solaris[2-9]*): Likewise.
43651 * configure: Regenerated.
43653 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43656 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43657 overflow or cancellation in calculating denominator.
43658 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43660 down expression to avoid unexpected rounding in newer GCCs.
43661 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43663 2012-04-26 David S. Miller <davem@davemloft.net>
43665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43666 long-double compat symbols.
43667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43681 2012-04-25 David S. Miller <davem@davemloft.net>
43683 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43684 HWCAP_* values only after the memory barriers have been defined.
43685 (atomic_full_barrier): Define.
43686 (atomic_read_barrier): Define.
43687 (atomic_write_barrier): Define.
43689 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43691 * shlib-versions: Add libgcc_s version information.
43692 * sysdeps/generic/libgcc_s.h: Remove.
43693 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43695 * sysdeps/gnu/unwind-resume.c: Likewise.
43696 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43698 2012-04-25 David S. Miller <davem@davemloft.net>
43700 * sysdeps/unix/sparc/brk.S: Delete.
43701 * sysdeps/unix/sparc/dl-brk.S: Delete.
43702 * sysdeps/unix/sparc/pipe.S: Delete.
43703 * sysdeps/unix/sparc/sysdep.S: Delete.
43704 * sysdeps/unix/sparc/sysdep.h: Delete.
43705 * sysdeps/unix/sparc/vfork.S: Delete.
43706 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43707 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43708 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43709 (ret_ERRVAL, r0, r1, MOVE): Define.
43710 (JUMPTARGET): Remove.
43711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43712 sysdeps/unix/sparc/sysdep.h
43713 (ENTRY, END): Remove.
43714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43716 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43718 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43719 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43722 * timezone/README: Update upstream location and email address for
43724 * timezone/zdump.c: Update from tzcode 2012b.
43725 * timezone/zic.c: Likewise.
43727 * configure.in (libc_cv_as_needed): Remove test.
43728 * configure: Regenerated.
43729 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43730 conditional definition.
43731 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43732 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43733 * config.make.in (have-as-needed): Remove variable.
43735 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43736 Paul Pluzhnikov <ppluzhnikov@google.com>
43738 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43741 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43743 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43744 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43745 * sysdeps/sh/strlen.S: Likewise.
43747 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43749 * sysdeps/unix/fork.S: Remove file.
43750 * sysdeps/unix/i386/fork.S: Likewise.
43751 * sysdeps/unix/sparc/fork.S: Likewise.
43753 * sysdeps/unix/system.c: Remove file.
43754 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43756 * sysdeps/unix/getegid.S: Remove file.
43757 * sysdeps/unix/geteuid.S: Likewise.
43759 2012-04-24 Roland McGrath <roland@hack.frob.com>
43761 * scripts/check-localplt.awk: New file.
43762 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43764 * scripts/data/localplt-generic.data: Add a comment.
43766 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43767 NODE when __dir_mkfile failed.
43768 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43769 Reported by Ludovic Courtès <ludo@gnu.org>.
43771 2012-04-24 Andreas Jaeger <aj@suse.de>
43773 * Makerules (common-clean): Also remove gen-as-const-headers
43776 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43778 * Makerules (native-compile): Do not change working directory for
43779 build. Use $(OUTPUT_OPTION) in command.
43780 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43782 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43785 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43786 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43787 * math/libm-test.inc (floor_test): Add more tests.
43788 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43790 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43792 * sysdeps/unix/getdents.c: Remove file.
43793 * sysdeps/unix/sysv/getdents.c: Likewise.
43794 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43796 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43797 sysdeps/unix/mman/syscalls.list.
43799 (mprotect): Likewise.
43801 (munmap): Likewise.
43802 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43803 * sysdeps/unix/mman/syscalls.list: Remove.
43804 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43806 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43807 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43808 * configure: Regenerated.
43809 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43810 $(libgcc_s_suffix).
43811 * config.make.in (libgcc_s_suffix): Remove variable.
43813 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43815 * sysdeps/unix/sysv/gethostname.c: Move to ...
43816 * sysdeps/posix/gethostname.c: ... here.
43818 * sysdeps/unix/execve.S: Remove file.
43820 * sysdeps/unix/_exit.S: Remove file.
43822 2012-04-23 Andreas Jaeger <aj@suse.de>
43825 * manual/Makefile: Remove make dist support, there's no
43826 need for a stand-alone documentation tar ball.
43827 (TEXI2DVI): Define always, it's not in Makeconfig.
43830 (edition): Removed.
43831 (glibc-doc-$(edition).tar): Removed
43835 (ETAGS): Remove, it's in Makeconfig.
43836 (move-if-change): Remove, it's in Makeconfig.
43838 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43841 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43842 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43843 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43844 (strtod_l, strtof_l, strtold_l): Remove __wur.
43845 It is not necessarily an error to ignore strtol's return value.
43846 One can reliably look at the stored endptr to decide whether
43847 the number had valid syntax.
43849 2012-04-21 Andreas Jaeger <aj@suse.de>
43852 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43854 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43856 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43857 * sysdeps/unix/sysv/Versions: Remove file.
43859 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43864 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43867 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43868 version from __vm86.
43870 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43872 * sysdeps/unix/common/lxstat.c: Remove file.
43873 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43875 * sysdeps/unix/sysv/Makefile: Remove file.
43877 * sysdeps/unix/sysv/direct.h: Remove file.
43879 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43880 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43881 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43882 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43883 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43884 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43885 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43887 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43889 * sysdeps/unix/xmknod.c: Remove file.
43890 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43892 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43894 * sysdeps/unix/sysv/i386/time.S: Remove file.
43896 * sysdeps/unix/fxstat.c: Remove file.
43897 * sysdeps/unix/xstat.c: Likewise.
43898 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43900 * sysdeps/unix/sysv/sigaction.c: Remove file.
43902 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43903 (sysdep_headers): Remove variable.
43904 [termio.h not in sysdep_headers] (generated): Likewise.
43905 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43906 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43907 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43908 * sysdeps/unix/sysv/tcflow.c: Likewise.
43909 * sysdeps/unix/sysv/tcflush.c: Likewise.
43910 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43911 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43912 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43913 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43914 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43916 * sysdeps/unix/siglist.c: Remove file.
43918 * sysdeps/unix/getppid.S: Remove file.
43920 * sysdeps/unix/mkdir.c: Remove file.
43921 * sysdeps/unix/rmdir.c: Likewise.
43923 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43925 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43927 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43928 errlist-compat value.
43930 2012-04-18 David S. Miller <davem@davemloft.net>
43932 * sysdeps/generic/memcopy.h (reg_char): Delete.
43933 * debug/strcat_chk.c: Use char, not reg_char.
43934 * debug/strcpy_chk.c: Likewise.
43935 * debug/strncat_chk.c: Likewise.
43936 * debug/strncpy_chk.c: Likewise.
43937 * string/memchr.c: Likewise.
43938 * string/memrchr.c: Likewise.
43939 * string/rawmemchr.c: Likewise.
43940 * string/strcat.c: Likewise.
43941 * string/strchr.c: Likewise.
43942 * string/strchrnul.c: Likewise.
43943 * string/strcmp.c: Likewise.
43944 * string/strcpy.c: Likewise.
43945 * string/strncat.c: Likewise.
43946 * string/strncmp.c: Likewise.
43947 * string/strncpy.c: Likewise.
43949 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43951 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43952 __builtin_memcopy is called when src and dest ranges are known to not
43955 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43957 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43958 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43959 fwd_align_merge macro call.
43960 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43961 bwd_align_merge macro call.
43962 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43964 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43966 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43967 bwd_align_merge macros.
43968 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43969 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43970 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43972 2012-04-18 David S. Miller <davem@davemloft.net>
43974 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43976 2012-04-18 Andreas Jaeger <aj@suse.de>
43979 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43980 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43981 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43983 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43984 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43987 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43988 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43989 Adjust for changed ldbl-128 files.
43991 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43992 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43993 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43995 2012-04-17 David S. Miller <davem@davemloft.net>
43997 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43999 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44001 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44002 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44003 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44004 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44005 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44006 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44008 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44011 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44012 * math/libm-test.inc: Add ilogb errno and exception tests.
44013 * math/w_ilogb.c: New file: ilogb wrapper.
44014 * math/w_ilogbf.c: New file: ilogbf wrapper.
44015 * math/w_ilogbl.c: New file: ilogbl wrapper.
44016 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44017 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44018 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44019 exception being thrown with 0.0 as argument.
44020 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44021 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44022 exception being thrown with 0.0 as argument.
44023 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44024 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44025 exception being thrown with 0.0 as argument.
44026 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44027 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44028 exception being thrown with 0.0 as argument.
44029 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44030 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44031 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44032 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44033 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44034 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44035 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44036 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44037 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44039 2012-04-17 Petr Baudis <pasky@ucw.cz>
44041 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44044 2012-04-16 Marek Polacek <polacek@redhat.com>
44046 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44048 2012-04-16 Marek Polacek <polacek@redhat.com>
44050 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44051 operands of fdivp instruction.
44053 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44055 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44056 * elf/tst-auditmod3b.c: Likewise.
44057 * elf/tst-auditmod4b.c: Likewise.
44058 * elf/tst-auditmod5b.c: Likewise.
44059 * elf/tst-auditmod6b.c: Likewise.
44060 * elf/tst-auditmod6c.c: Likewise.
44061 * elf/tst-auditmod7b.c: Likewise.
44062 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44063 * sysdeps/x86_64/preconfigure.in: Likewise.
44064 * sysdeps/x86_64/preconfigure: Regenerated.
44066 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44068 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44071 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44074 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44076 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44079 * locale/iso-639.def: Fix gl language name. Spotted by
44082 2012-04-12 Roland McGrath <roland@hack.frob.com>
44085 * libio/libio.h (__io_write_fn): Update comment.
44087 2012-04-12 Petr Baudis <pasky@ucw.cz>
44090 * stdio.texi (Hook Functions): The user provided writer function
44091 is not allowed to return -1.
44093 2012-04-11 David S. Miller <davem@davemloft.net>
44095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44097 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44099 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44100 Add a leading slash to rtkaio.
44102 2012-04-11 Jim Meyering <meyering@redhat.com>
44105 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44106 It is not necessarily an error to ignore fwrite's return
44107 value. One can reliably use ferror to test for errors after
44110 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44112 * bits/types.h (__snseconds_t): New type.
44113 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44115 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44117 (__SNSECONDS_T_TYPE): Likewise.
44118 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44119 (__SNSECONDS_T_TYPE): Likewise.
44120 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44121 (__SNSECONDS_T_TYPE): Likewise.
44123 2012-04-10 Andreas Jaeger <aj@suse.de>
44126 * manual/time.texi (Processor Time): Return type of times is
44127 elapsed real time since an arbitrary point in the past.
44128 (CPU Time): Move CLK_TCK from here...
44129 (Processor Time): ...to here. Correct description.
44130 * manual/conf.texi (Constants for Sysconf): Correct description of
44133 2012-04-10 David S. Miller <davem@davemloft.net>
44136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44137 where the is a gap between DT_REL(A) and DT_JMPREL.
44139 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44141 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44142 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44143 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44145 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44147 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44148 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44149 (dl_main): Handle --inhibit-cache.
44150 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44152 * elf/dl-load.c (_dl_map_object): Use it.
44153 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44155 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44158 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44159 (__ieee754_powl): Saturate large exponents rather than testing for
44160 overflow of y*log2(x).
44161 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44162 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44166 * math/s_ctan.c: Include <float.h>.
44167 (__ctan): Avoid internal overflow or cancellation in calculating
44169 * math/s_ctanf.c: Likewise.
44170 * math/s_ctanl.c: Likewise.
44171 * math/s_ctanh.c: Likewise.
44172 * math/s_ctanhf.c: Likewise.
44173 * math/s_ctanhl.c: Likewise.
44174 * math/libm-test.inc (ctan_test): Add more tests.
44175 (ctanh_test): Likewise.
44176 * sysdeps/i386/fpu/libm-test-ulps: Update.
44177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44179 2012-04-09 Andreas Jaeger <aj@suse.de>
44182 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44183 is an optional BSD extension.
44186 * manual/stdio.texi (Opening Streams): Document additional fopen
44189 2012-04-09 Roland McGrath <roland@hack.frob.com>
44191 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44192 %eax without telling the compiler.
44194 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44197 * manual/install.texi: Use sourceware.org.
44199 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44202 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44203 (__ieee754_pow): Generate overflow and underflow using huge*huge
44204 and tiny*tiny rather than just returning constant infinity or zero
44205 for large exponents.
44206 * math/libm-test.inc (pow_test): Require overflow exceptions for
44207 applicable cases of large exponents.
44210 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44211 (__ieee754_pow): Use iterative multiplication algorithm only for
44212 integer exponents with absolute value below 1024. Check for odd
44213 integer exponents when using algorithm for real exponents.
44214 * math/libm-test.inc (pow_test): Add more tests.
44215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44217 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44220 * math/libm-test.inc (exp_test): Do not allow overflow exception
44223 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44226 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44227 instead of __kernel_standard_f.
44229 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44231 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44232 * sysdeps/x86_64/memset_chk.S: Likewise.
44234 2012-04-08 Andreas Jaeger <aj@suse.de>
44237 * manual/startup.texi (Environment Access): Describe return value
44238 for putenv and setenv.
44241 * manual/filesys.texi (Directory Entries): Add description for
44245 * manual/filesys.texi (Directory Entries): Clarify that it's file
44246 system not operating system in the description of DT_UNKNOWN.
44249 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44251 2012-04-08 Stephen Compall <s11@member.fsf.org>
44254 * manual/llio.texi (Opening and Closing Files): Add cross
44255 reference to explain mode argument.
44257 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44259 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44260 * sysdeps/x86_64/memset_chk.S: Likewise.
44262 2012-04-07 David S. Miller <davem@davemloft.net>
44264 * elf/elf.h (R_SPARC_WDISP10): Define.
44265 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44268 R_SPARC_SIZE64 and R_SPARC_H34.
44270 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44273 conditions and remove no longer applicable assertion.
44275 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44277 * bits/byteswap.h: Include <features.h>.
44278 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44279 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44281 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44283 * bits/byteswap.h (__bswap_16): Removed.
44284 Include <bits/byteswap-16.h> to get __bswap_16.
44285 * sysdeps/i386/bits/byteswap.h: Likewise.
44286 * sysdeps/s390/bits/byteswap.h: Likewise.
44287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44288 * bits/byteswap-16.h: New file.
44289 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44290 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44291 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44292 * string/Makefile (headers): Add bits/byteswap-16.h.
44294 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44297 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44299 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44300 * nss/tst-nss-static.c: New.
44302 2012-04-06 Robert Millan <rmh@gnu.org>
44305 * manual/llio.texi (File Position Primitive): lseek
44306 refers to WHENCE when it really means OFFSET.
44308 2012-04-06 Andreas Jaeger <aj@suse.de>
44310 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44311 strncmp declarations.
44313 * abilist/libc.abilist: Add __poll and __ppoll.
44315 2012-04-05 David S. Miller <davem@davemloft.net>
44317 * scripts/check-local-headers.sh: Accept a host triplet in the
44318 path matched by the exclude regexp.
44320 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44322 * sysdeps/powerpc/powerpc32/dl-machine.h
44323 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44324 * sysdeps/s390/s390-32/dl-machine.h
44325 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44326 * sysdeps/sparc/sparc32/dl-machine.h
44327 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44328 * sysdeps/sparc/sparc64/dl-machine.h
44329 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44331 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44333 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44334 undefined symbol errors.
44336 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44339 2012-04-05 Michael Matz <matz@suse.de>
44342 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44344 2012-04-05 Andreas Jaeger <aj@suse.de>
44347 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44350 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44352 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44353 which ROUND is no valid rounding mode.
44355 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44357 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44359 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44361 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44363 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44364 an exception using FPU order intentionally.
44366 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44368 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44369 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44370 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44371 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44373 2012-04-05 Simon Josefsson <simon@josefsson.org>
44376 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44377 EINVAL when BUFLEN is too smal.
44379 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44382 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44383 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44385 2012-04-03 Andreas Jaeger <aj@suse.de>
44388 * manual/setjmp.texi (System V contexts): Fix sentence.
44391 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44392 New macro for this case.
44393 [!__GNUC__] (__bswap_64): New inline function for this case.
44394 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44395 * bits/byteswap.h: Likewise.
44396 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44397 ull, guard with __GLIBC_HAVE_LONG_LONG.
44399 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44400 __GLIBC_HAVE_LONG_LONG.
44402 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44403 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44405 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44408 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44409 inptr and inend, rather than using last_ch.
44411 2012-04-02 David S. Miller <davem@davemloft.net>
44413 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44414 * stdio-common/printf-parse.h (read_int): Change return type to
44415 'int', return -1 on INT_MAX overflow.
44416 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44417 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44418 overflows INT_MAX. Check for overflow of in-format-string precision
44419 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44420 SIZE_MAX not INT_MAX for integer overflow test.
44421 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44422 skip the construct in the format string but do not record anything.
44423 * stdio-common/bug22.c: Adjust to test both width/prevision
44424 INT_MAX overflow as well as total length INT_MAX overflow. Check
44425 explicitly for proper errno values.
44427 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44429 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44431 * string/test-strcmp.c [! WIDE]: Likewise.
44432 * time/tst-mktime2.c: Likewise for INT_MAX.
44433 * string/test-string.h: #include <sys/param.h> for MIN.
44435 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44436 * sysdeps/i386/init-first.c (init): Likewise.
44437 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44438 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44439 * sysdeps/sh/init-first.c (init): Likewise.
44441 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44443 * po/ru.po: Update from translation team.
44444 * po/vi.po: Likewise.
44446 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44448 * resolv/nss_dns/dns-host.c: Merge copyright years.
44450 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44453 Optimize memcpy with prefetch if
44454 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44455 src, dst pointers have unequal 16 byte alignments.
44457 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44460 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44461 from a CNAME entry and return the minimum ttl for the query.
44462 (gaih_getanswer_slice): Likewise.
44464 2012-03-30 Jeff Law <law@redhat.com>
44466 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44468 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44469 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44471 * resolv/nss_dns/dns-host.c: Update copyright year.
44473 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44475 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44476 requests to save a system call. Fix check that all bytes are sent.
44478 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44479 comments for sendmmsg.
44481 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44484 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44485 with only 1 character between 0x0041 and 0x01b0.
44486 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44487 * wcsmbs/tst-mbsnrtowcs.c: New file.
44489 2012-03-29 David S. Miller <davem@davemloft.net>
44491 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44492 small copies by hand.
44494 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44497 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44498 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44501 2012-03-28 David S. Miller <davem@davemloft.net>
44503 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44504 that branches into memcpy.
44505 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44507 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44508 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44509 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44511 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44512 implementation too.
44513 * sysdeps/sparc/mempcpy.S: New file.
44515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44516 the IFUNC routine in the libc case.
44517 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44519 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44520 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44521 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44522 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44523 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44524 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44525 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44526 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44528 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44529 loop to 256 bytes instead of 64 bytes and fix test signedness.
44531 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44532 * sysdeps/sparc/sparc32/Makefile: rather than here...
44533 * sysdeps/sparc/sparc64/Makefile: and here.
44535 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44537 * malloc/mallocbug.c: Avoid warnings about unused variables.
44539 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44542 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44543 in the right place. Discard and retry query if response is
44544 larger than input buffer size.
44546 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44551 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44552 x for large integer exponent.
44553 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44554 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44555 sign of result as needed afterwards.
44556 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44557 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44558 result for underflowing pow the same as for overflow.
44559 (__kernel_standard_l): Handle powl overflow and underflow here
44560 rather than calling __kernel_standard.
44561 * math/libm-test.inc (pow_test): Add more tests.
44576 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44577 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44578 (__kernel_standard_l): New function.
44579 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44581 * math/w_acosl.c (__acosl): Likewise.
44582 * math/w_asinl.c (__asinl): Likewise.
44583 * math/w_atan2l.c (__atan2l): Likewise.
44584 * math/w_atanhl.c (__atanhl): Likewise.
44585 * math/w_coshl.c (__coshl): Likewise.
44586 * math/w_exp10l.c (__exp10l): Likewise.
44587 * math/w_exp2l.c (__exp2l): Likewise.
44588 * math/w_fmodl.c (__fmodl): Likewise.
44589 * math/w_hypotl.c (__hypotl): Likewise.
44590 * math/w_j0l.c (__j0l, __y0l): Likewise.
44591 * math/w_j1l.c (__j1l, __y1l): Likewise.
44592 * math/w_jnl.c (__jnl, __ynl): Likewise.
44593 * math/w_lgammal.c (__lgammal): Likewise.
44594 * math/w_log10l.c (__log10l): Likewise.
44595 * math/w_log2l.c (__log2l): Likewise.
44596 * math/w_logl.c (__logl): Likewise.
44597 * math/w_powl.c (__powl): Likewise.
44598 * math/w_remainderl.c (__remainderl): Likewise.
44599 * math/w_scalbl.c (sysv_scalbl): Likewise.
44600 * math/w_sinhl.c (__sinhl): Likewise.
44601 * math/w_sqrtl.c (__sqrtl): Likewise.
44602 * math/w_tgammal.c (__tgammal): Likewise.
44603 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44604 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44605 * math/libm-test.inc (acos_test): Add more tests.
44606 (acosh_test): Likewise.
44607 (asin_test): Likewise.
44608 (atanh_test): Likewise.
44609 (exp_test): Likewise.
44610 (exp10_test): Likewise.
44611 (exp2_test): Likewise.
44612 (expm1_test): Likewise.
44613 (lgamma_test): Likewise.
44614 (log_test): Likewise.
44615 (log10_test): Likewise.
44616 (log1p_test): Likewise.
44617 (log2_test): Likewise.
44618 (pow_test): Do not allow some spurious overflow exceptions.
44619 (sqrt_test): Add more tests.
44620 (tgamma_test): Likewise.
44621 (y0_test): Likewise.
44622 (y1_test): Likewise.
44623 (yn_test): Likewise.
44625 2012-03-27 Anton Blanchard <anton@samba.org>
44627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44629 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44630 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44633 2012-03-27 David S. Miller <davem@davemloft.net>
44635 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44637 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44638 have-as-vis3 check.
44640 2012-03-27 Andreas Jaeger <aj@suse.de>
44642 * sysdeps/x86_64/elf/configure.in: Moved to ...
44643 * sysdeps/x86_64/configure.in: ... here.
44644 * sysdeps/x86_64/elf/start.S: Moved to ...
44645 * sysdeps/x86_64/start.S: ... here.
44646 * sysdeps/x86_64/elf/configure: Delete.
44648 * sysdeps/x86_64/configure.in: Merge contents from
44649 sysdeps/i386/configure.in (without i686 check).
44651 * sysdeps/i386/elf/Versions: Merge into ...
44652 * sysdeps/i386/Versions: ... this.
44653 * sysdeps/i386/elf/Versions: Delete file.
44654 * sysdeps/i386/elf/start.S: Moved to ...
44655 * sysdeps/i386/start.S: ...here.
44656 * sysdeps/i386/elf/configure.in: Merge into...
44657 * sysdeps/i386/configure.in: ...here.
44658 * sysdeps/i386/elf/configure.in: Delete file.
44659 * sysdeps/i386/elf/configure: Delete file.
44661 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44662 * debug/backtracesyms.c: ... here.
44663 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44664 * debug/backtracesymsfd.c: ... here.
44665 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44666 * sysdeps/generic/ifunc-sel.h: ... here.
44668 * sysdeps/unix/i386/start.c: Delete file.
44669 * sysdeps/unix/sparc/start.c: Delete file.
44670 * sysdeps/unix/start.c: Delete file.
44672 * sysdeps/sh/elf/configure.in: Moved to ...
44673 * sysdeps/sh/configure.in: ... here.
44674 * sysdeps/sh/elf/start.S: Moved to ...
44675 * sysdeps/sh/start.S: ... here.
44676 * sysdeps/sh/elf/configure: Delete file.
44678 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44679 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44680 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44681 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44682 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44683 * sysdeps/powerpc/powerpc64/start.S: here.
44684 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44685 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44686 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44687 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44688 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44690 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44691 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44692 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44693 * sysdeps/powerpc/powerpc32/start.S: ... here.
44694 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44695 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44696 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44698 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44699 * sysdeps/powerpc/ifunc-sel.h: ... here.
44700 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44701 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44703 * sysdeps/sparc/elf/configure.in: Moved to ...
44704 * sysdeps/sparc/configure.in: ... here.
44705 * sysdeps/sparc/elf/configure: Delete file.
44706 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44707 * sysdeps/sparc/sparc32/start.S: ... here.
44708 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44709 * sysdeps/sparc/sparc64/start.S: ... here.
44710 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44711 * sysdeps/sparc/sparc32/Makefile: ... this.
44712 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44713 * sysdeps/sparc/sparc64/Makefile: ... this.
44715 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44716 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44717 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44718 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44719 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44720 * sysdeps/s390/s390-32/setjmp.S: ... here.
44721 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44722 * sysdeps/s390/s390-32/configure.in: ... here.
44723 * sysdeps/s390/s390-32/elf/configure: Delete file.
44724 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44725 * sysdeps/s390/s390-32/start.S: ... here.
44727 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44728 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44729 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44730 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44731 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44732 * sysdeps/s390/s390-64/setjmp.S: ... here.
44733 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44734 * sysdeps/s390/s390-64/configure.in: ... here
44735 * sysdeps/s390/s390-64/elf/configure: Delete file.
44736 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44737 * sysdeps/s390/s390-64/start.S: ... here.
44738 * sysdeps/s390/s390-64/elf/configure: Delete.
44740 * configure.in: Remove support for elf directories in sysdeps.
44742 * configure: Regenerated.
44743 * sysdeps/i386/configure: Regenerated.
44744 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44745 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44746 * sysdeps/s390/s390-32/configure: Regenerated.
44747 * sysdeps/s390/s390-64/configure: Regenerated.
44748 * sysdeps/sh/configure: Regenerated.
44749 * sysdeps/sparc/configure: Regenerated.
44750 * sysdeps/x86_64/configure: Regenerated.
44752 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44756 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44757 denormal result into account.
44759 2012-03-25 Roland McGrath <roland@hack.frob.com>
44761 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44762 Reported by Allan McRae <allan@archlinux.org>.
44764 2012-03-23 Jeff Law <law@redhat.com>
44766 * nss/getnssent.c (__nss_getent): Fix typo.
44768 2012-03-23 David S. Miller <davem@davemloft.net>
44770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44772 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44774 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44775 to pad to uint64_t for each field.
44776 (dl_tls_index): Replace unsigned long with uint64_t.
44778 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44779 Paul Pluzhnikov <ppluzhnikov@google.com>
44782 * grp/Makefile (otherlibs): Don't set it.
44783 * inet/Makefile (otherlibs): Likewise.
44784 * login/Makefile (otherlibs): Likewise.
44785 * nscd/Makefile (otherlibs): Likewise.
44786 * posix/Makefile (otherlibs): Likewise.
44787 * pwd/Makefile (otherlibs): Likewise.
44788 * rt/Makefile (otherlibs): Likewise.
44789 * sunrpc/Makefile (otherlibs): Likewise.
44790 * nss/Makefile (otherlibs): Likewise.
44791 Add libnss_files to routines and static-only-routines.
44792 ($(objpfx)getent): Remove rule.
44793 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44794 static-only-routines.
44796 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44799 * math/s_cexp.c: Include <float.h>.
44800 (__cexp): Handle exp result overflowing not necessarily
44801 overflowing both real and imaginary parts of result.
44802 * math/s_cexpf.c: Likewise.
44803 * math/s_cexpl.c: Likewise.
44804 * math/libm-test.inc (cexp_test): Add more tests.
44805 * sysdeps/i386/fpu/libm-test-ulps: Update.
44806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44808 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44810 * include/link.h (ELFW): New macro.
44811 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44812 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44814 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44816 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44819 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44821 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44823 (struct La_x32_retval): Likewise.
44825 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44827 * sysdeps/x86_64/preconfigure.in: New file.
44828 * sysdeps/x86_64/preconfigure: New generated file.
44830 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44833 * math/e_exp2l.c: Include <float.h>.
44834 (__ieee754_exp2l): Handle overflow and underflow cases
44835 separately. Only pass fractional part of argument to
44837 * math/libm-test.inc (exp2_test): Add more tests.
44839 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44840 negating x to take absolute value.
44841 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44843 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44844 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44846 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44847 computing low part if x was negated.
44848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44850 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44852 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44853 la_x32_gnu_pltexit.
44854 (pltexit): Cast int_retval to ptrdiff_t.
44855 * elf/tst-auditmod3b.c: Likewise.
44856 * elf/tst-auditmod4b.c: Likewise.
44857 * elf/tst-auditmod5b.c: Likewise.
44858 * elf/tst-auditmod6b.c: Likewise.
44859 * elf/tst-auditmod6c.c: Likewise.
44860 * elf/tst-auditmod7b.c: Likewise.
44862 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44863 and x32_gnu_pltexit.
44865 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44866 __ELF_NATIVE_CLASS.
44867 (La_x32_regs): New macro.
44868 (La_x32_retval): Likewise.
44869 (la_x32_gnu_pltenter): New function prototype.
44870 (la_x32_gnu_pltexit): Likewise.
44872 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44879 * configure.in (libc_cv_cc_nofma): Check for option to disable
44880 generation of FMA instructions.
44881 * configure: Regenerate.
44882 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44883 * sysdeps/ieee754/dbl-64/Makefile: New file.
44884 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44885 Remove brandred-fma4.
44886 (CFLAGS-brandred-fma4.c): Remove.
44887 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44888 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44893 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44895 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44896 LLONG_MAX != LONG_MAX.
44897 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44898 (_fitoa_word): Likewise.
44899 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44900 LLONG_MAX != LONG_MAX.
44901 * stdio-common/_itowa.h: Include <_itoa.h>.
44902 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44903 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44904 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44905 only if not defined.
44906 (_ITOA_WORD_TYPE): Likewise.
44907 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44908 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44910 2012-03-21 David S. Miller <davem@davemloft.net>
44912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44914 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44916 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44917 of x86_64 when setting libc_cv_slibdir, libdir and
44919 * sysdeps/unix/sysv/linux/configure: Regenerated.
44921 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44923 * manual/lang.texi (Old Varargs): Remove section.
44924 (How Variadic): Update menu.
44925 (va_start): Do not mention varargs.h.
44927 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44928 Joseph Myers <joseph@codesourcery.com>
44930 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44932 * configure: Regenerated.
44934 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44936 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44937 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44940 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44943 * Makefile (files-for-dist): Remove NOTES.
44944 (NOTES): Remove rule.
44945 * README: Don't refer to NOTES.
44946 * manual/creature.texi: Don't include macros.texi.
44947 * manual/intro.texi (creature.texi): Remove comment referring to
44950 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44951 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44952 * configure: Regenerated.
44953 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44954 LIBC_TRY_CC_OPTION.
44955 (libc_cv_as_i686): Likewise.
44956 (libc_cv_cc_avx): Likewise.
44957 (libc_cv_cc_sse2avx): Likewise.
44958 (libc_cv_cc_fma4): Likewise.
44959 (libc_cv_cc_novzeroupper): Likewise.
44960 * sysdeps/i386/configure: Regenerated.
44963 * sysdeps/i386/fpu/s_cexp.S: Remove.
44964 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44965 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44966 * math/libm-test.inc (cexp_test): Add more tests.
44967 * sysdeps/i386/fpu/libm-test-ulps: Update.
44968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44970 2012-03-21 Allan McRae <allan@archlinux.org>
44972 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44974 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44977 * math/w_exp2.c: Do not include <float.h>.
44978 (o_threshold, u_threshold): Remove.
44979 (__exp2): Calculate result before checking finiteness and calling
44981 * math/w_exp2f.c: Likewise.
44982 * math/w_exp2l.c: Likewise.
44983 * math/libm-test.inc (exp2_test): Require overflow exception for
44987 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44988 range of signed 64-bit integers before using fistpll. Remove
44989 checks for whether integers fit in mantissa bits.
44990 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44991 the range of signed 32-bit integers before using fistpl. Remove
44992 checks for whether integers fit in mantissa bits.
44993 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44994 (__ieee754_powl): Test for y outside the range of signed 64-bit
44995 integers before using fistpll. Reduce 64-bit values to 63-bit
44997 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44998 divide-by-zero is raised for zero to large negative powers.
44999 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45000 (__ieee754_powl): Test for y outside the range of signed 64-bit
45001 integers before using fistpll. Reduce 64-bit values to 63-bit
45003 * math/libm-test.inc (pow_test): Add more tests.
45005 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45007 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45008 <stdio-common/_itoa.h>.
45009 * debug/segfault.c: Likewise.
45010 * elf/dl-cache.c: Likewise.
45011 * elf/dl-minimal.c: Likewise.
45012 * elf/dl-misc.c: Likewise.
45013 * elf/dl-sysdep.c: Likewise.
45014 * elf/dl-version.c: Likewise.
45015 * elf/rtld.c: Likewise.
45016 * hurd/hurdsock.c: Likewise.
45017 * hurd/lookup-retry.c: Likewise.
45018 * malloc/malloc.c: Likewise.
45019 * malloc/mtrace.c: Likewise.
45020 * nscd/nscd_getgr_r.c: Likewise.
45021 * nscd/nscd_getpw_r.c: Likewise.
45022 * nscd/nscd_getserv_r.c: Likewise.
45023 * posix/getopt_init.c: Likewise.
45024 * posix/wordexp.c: Likewise.
45025 * stdio-common/_itoa.c: Likewise.
45026 * stdio-common/printf_fphex.c: Likewise.
45027 * stdio-common/vfprintf.c: Likewise.
45028 * string/_strerror.c: Likewise.
45029 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45030 * sysdeps/i386/i686/hp-timing.h: Likewise.
45031 * sysdeps/mach/_strerror.c: Likewise.
45032 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45033 * sysdeps/mach/hurd/sethostid.c: Likewise.
45034 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45035 * sysdeps/mach/xpg-strerror.c: Likewise.
45036 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45038 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45039 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45040 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45041 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45043 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45044 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45045 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45046 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45047 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45048 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45049 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45050 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45051 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45052 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45053 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45054 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45055 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45056 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45058 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45060 * stdio-common/_itoa.h: Moved to ...
45061 * sysdeps/generic/_itoa.h: Here.
45063 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45065 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45066 instead of "_itoa.h" and "_itowa.h".
45067 * stdio-common/vfprintf.: Likewise.
45069 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45071 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45073 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45074 (__signbit): Likwise.
45075 (llrintf): Likwise.
45078 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45080 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45083 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45085 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45086 OVERFLOW_EXCEPTION_OK.
45087 * math/libm-test.inc ("Philosophy"): Update comment about
45089 (OVERFLOW_EXCEPTION): Define.
45090 (OVERFLOW_EXCEPTION_OK): Likewise.
45091 (INVALID_EXCEPTION_OK): Renumber.
45092 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45093 (IGNORE_ZERO_INF_SIGN): Likewise.
45094 (test_exceptions): Handle FE_OVERFLOW.
45095 (exp10_test): Expect overflow exceptions.
45096 (exp2_test): Likewise.
45097 (expm1_test): Likewise.
45098 (nextafter_test): Likewise.
45099 (pow_test): Likewise.
45100 (scalbn_test): Likewise.
45101 (scalbln_test): Likewise.
45103 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45105 * sysdeps/x86_64/bits/atomic.h
45106 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45108 (atomic_exchange_acq): Likewise.
45109 (__arch_exchange_and_add_body): Likewise.
45110 (__arch_add_body): Likewise.
45111 (atomic_add_negative): Likewise.
45112 (atomic_add_zero): Likewise.
45114 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45116 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45117 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45121 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45122 Check __x86_64__ instead of __WORDSIZE.
45124 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45126 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45128 2012-03-19 David S. Miller <davem@davemloft.net>
45130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45132 * sysdeps/sparc/fpu/fenv_private.h: New file.
45133 * sysdeps/sparc/fpu/math_private.h: Use it.
45134 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45136 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45137 (libc_feholdexcept_setroundl): Remove.
45138 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45140 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45141 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45143 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45145 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45146 int64_t instead of long int.
45147 (INSERT_WORDS64): Likwise.
45149 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45151 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45152 _Unwind_GetCFA return to _Unwind_Ptr first.
45154 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45157 * math/s_clog.c: Include <float.h>.
45158 (__clog): Scale large or subnormal inputs.
45159 * math/s_clogf.c: Likewise.
45160 * math/s_clogl.c: Likewise.
45161 * math/s_clog10.c: Include <float.h>.
45162 (M_LOG10_2): Define.
45163 (__clog10): Scale large or subnormal inputs.
45164 * math/s_clog10f.c: Likewise.
45165 * math/s_clog10l.c: Likewise.
45166 * math/libm-test.inc (clog_test): Add more tests.
45167 (clog10_test): Likewise.
45168 * sysdeps/i386/fpu/libm-test-ulps: Update.
45169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45172 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45174 * math/libm-test.inc (atan2_test): Add another test.
45176 * Makerules (common-objdir-compile): Remove.
45177 * sysdeps/unix/Makefile (config-generated): Do not add
45178 $(unix-generated) to variable.
45179 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45180 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45182 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45184 [generic bits/local_lim.h] (before-compile): Do not append to
45186 [generic bits/local_lim.h] (common-generated): Likewise.
45187 [generic sys/param.h] (before-compile): Do not append to variable.
45188 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45189 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45190 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45191 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45193 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45194 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45195 [generic sys/param.h] ($(addprefix
45196 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45197 [generic sys/param.h] (common-generated): Do not append to
45199 [generic sys/param.h] (sysdep_headers): Likewise.
45200 [generic bits/errno.h] (before-compile): Do not append to
45202 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45204 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45205 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45206 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45207 [generic bits/errno.h] (common-generated): Do not append to
45209 [generic bits/ioctls.h] (before-compile): Do not append to
45211 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45213 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45214 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45215 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45217 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45218 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45219 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45220 [generic bits/ioctls.h] (common-generated): Do not append to
45222 [generic sys/syscall.h] (syscall.h): Remove variable.
45223 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45225 [generic sys/syscall.h] (before-compile): Do not append to
45227 [generic sys/syscall.h] (common-generated): Likewise.
45228 * sysdeps/unix/errnos-tmpl.c: Remove file.
45229 * sysdeps/unix/errnos.awk: Likewise.
45230 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45231 * sysdeps/unix/ioctls.awk: Likewise.
45232 * sysdeps/unix/mk-local_lim.c: Likewise.
45233 * sysdeps/unix/snarf-ioctls: Likewise.
45235 2012-03-19 Richard Henderson <rth@twiddle.net>
45237 * sysdeps/i386/fpu/fenv_private.h: New file.
45238 * sysdeps/i386/fpu/math_private.h: Use it.
45239 (math_opt_barrier, math_force_eval): Remove.
45240 (libc_feholdexcept_setround_53bit): Remove.
45241 (libc_feupdateenv_53bit): Remove.
45242 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45243 (math_opt_barrier, math_force_eval): Remove.
45244 (libc_feholdexcept): Remove.
45245 (libc_feholdexcept_setround): Remove.
45246 (libc_fetestexcept, libc_fesetenv): Remove.
45247 (libc_feupdateenv_test): Remove.
45248 (libc_feupdateenv, libc_feholdsetround): Remove.
45249 (libc_feresetround): Remove.
45251 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45252 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45254 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45255 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45256 (libc_feupdateenv_testl): New.
45257 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45258 (libc_feupdateenv_testf): New.
45259 (libc_feupdateenv): Use libc_feupdateenv_test.
45260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45261 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45263 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45264 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45265 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45266 (libc_feresetround_noex): New.
45267 (libc_feresetround_noexf): New.
45268 (libc_feresetround_noexl): New.
45269 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45270 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45271 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45272 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45274 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45275 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45277 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45278 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45279 SET_RESTORE_ROUND_NOEX.
45280 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45281 SET_RESTORE_ROUND_NOEXF.
45282 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45283 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45284 (libc_feholdsetroundf): New.
45285 (libc_feresetround, libc_feresetroundf): New.
45287 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45288 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45289 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45291 * sysdeps/generic/math_private.h: Include <fenv.h>.
45292 (default_libc_feholdexcept): New.
45293 (default_libc_feholdexcept_setround): New.
45294 (default_libc_fesetenv, default_libc_feupdateenv): New.
45295 (libc_feholdexcept): Only define if undefined.
45296 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45297 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45298 (libc_feholdexcept_setroundl): Likewise.
45299 (libc_feholdexcept_setround_53bit): Likewise.
45300 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45301 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45302 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45303 (libc_feupdateenv_53bit): Likewise.
45304 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45305 (libc_feholdexcept): Convert from macro to inline function.
45306 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45307 (libc_fesetenv, libc_feupdateenv): Likewise.
45309 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45310 not previously defined.
45311 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45312 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45313 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45314 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45315 * sysdeps/ieee754/flt-32/math_private.h: New file.
45316 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45317 math_private.h below SET_FLOAT_WORD.
45318 (__isnan, __isinf_ns, __finite): Remove.
45319 (__isnanf, __isinf_nsf, __finitef): Remove.
45321 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45325 2012-03-17 David S. Miller <davem@davemloft.net>
45328 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45331 2012-03-16 David S. Miller <davem@davemloft.net>
45333 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45337 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45339 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45340 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45341 sysdep_routines when subdir is sysvipc.
45342 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45343 __getshmlba helper.
45345 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45347 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45349 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45352 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45354 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45355 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45356 (__lround): Renamed to ...
45357 (__llround): This. Replace long int with long long int.
45358 Define lround functions as aliases of llround functions.
45359 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45361 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45363 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45364 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45365 adresses to uintptr_t. Replace "long int" and "unsigned long
45366 int" with "greg_t" on va_arg.
45368 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45370 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45371 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45373 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45374 Move e_machine check before EI_CLASS check. Handle x32
45375 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45376 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45377 SKIP_EM_IA_64 and include
45378 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45380 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45381 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45382 (add_system_dir): New macro.
45384 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45385 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45387 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45398 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45400 * math/w_j0f.c (j0f): Likewise.
45402 * math/w_j0l.c (__j0l): Likewise.
45404 * math/w_j1.c (j1): Likewise.
45406 * math/w_j1f.c (j1f): Likewise.
45408 * math/w_j1l.c (__j1l): Likewise.
45410 * math/w_jn.c (jn): Likewise.
45412 * math/w_jnf.c (jnf): Likewise.
45414 * math/w_jnl.c (__jnl): Likewise.
45416 * math/libm-test.inc (j0_test): Add more tests.
45417 (j1_test): Likewise.
45418 (jn_test): Likewise. Add trailing semicolon to existing test.
45419 (y0_test): Likewise.
45420 (y1_test): Likewise.
45421 * sysdeps/i386/fpu/libm-test-ulps: Update.
45422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45426 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45427 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45428 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45429 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45430 (__tanl): Set errno for infinite argument.
45431 * sysdeps/i386/fpu/mptan.c: Remove.
45432 * sysdeps/i386/fpu/s_tan.S: Likewise.
45433 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45434 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45435 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45436 * math/libm-test.inc (tan_test): Add more tests and enable more
45437 tests for double and long double.
45438 * sysdeps/i386/fpu/libm-test-ulps: Update.
45439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45441 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45443 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45444 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45446 2012-03-16 Roland McGrath <roland@hack.frob.com>
45448 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45449 * configure.in: Use it for both main tree and add-ons.
45450 * configure: Regenerated.
45452 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45454 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45456 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45458 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45462 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45463 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45464 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45465 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45468 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45469 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45470 != 0 for prec == 2.
45471 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45472 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45473 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45474 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45475 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45476 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45477 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45478 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45479 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45480 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45481 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45482 * math/libm-test.inc (cos_test): Add more tests and enable more
45483 tests for long double.
45484 (sin_test): Likewise.
45485 (sincos_test): Likewise.
45486 * sysdeps/i386/fpu/libm-test-ulps: Update.
45487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45489 2012-03-16 David S. Miller <davem@davemloft.net>
45491 * sysdeps/sparc/fpu/math_private.h: New file.
45493 2012-03-15 David S. Miller <davem@davemloft.net>
45495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45509 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45510 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45512 * sysdeps/sparc/sparc-ifunc.h: New file.
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45551 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45558 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45560 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45564 2012-03-15 Andreas Jaeger <aj@suse.de>
45567 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45568 ieee754/flt-32 implementation for sin, cos and sincos.
45569 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45570 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45571 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45572 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45573 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45574 ieee754/flt-32 implementation for tan.
45576 * math/libm-test.inc (cos_test): Enable some large input tests for
45578 (sin_test): Likewise.
45579 (sincos_test): Likewise.
45580 (tan_test): Add tests for large input.
45582 * sysdeps/i386/fpu/libm-test-ulps: Update.
45584 2012-03-15 Andreas Jaeger <aj@suse.de>
45587 * math/libm-test.inc (cos_test): Add more test cases.
45588 (sin_test): Likewise.
45589 (sincos_test): Likewise.
45591 2012-03-15 Andreas Jaeger <aj@suse.de>
45594 * math/libm-test.inc (cos_test): Add a test case for large input
45596 (sin_test): Likewise.
45597 (sincos_test): Likewise.
45599 2012-03-15 Andreas Jaeger <aj@suse.de>
45600 Joseph Myers <joseph@codesourcery.com>
45603 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45604 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45605 * sysdeps/i386/fpu/branred.c: Likewise.
45606 * sysdeps/i386/fpu/dosincos.c: Likewise.
45607 * sysdeps/i386/fpu/mpa.c: Likewise.
45608 * sysdeps/i386/fpu/s_cos.S: Likewise.
45609 * sysdeps/i386/fpu/s_sin.S: Likewise.
45610 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45611 * sysdeps/i386/fpu/sincos32.c: Likewise.
45613 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45615 (libc_feupdateenv_53bit): Define.
45616 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45618 (libc_feupdateenv_53bit): Define.
45620 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45621 53 bit (without extend i386 double precision).
45623 * math/libm-test.inc (sincos_test): Add tests for large input.
45627 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45629 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45633 2012-03-15 David S. Miller <davem@davemloft.net>
45635 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45636 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45637 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45638 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45662 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45663 fmin/fmax sysdep routines.
45664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45666 2012-03-14 David S. Miller <davem@davemloft.net>
45668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45669 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45672 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45673 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45674 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45679 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45680 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45681 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45682 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45689 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45690 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45692 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45740 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45745 * sysdeps/sparc/configure.in: New file.
45746 * sysdeps/sparc/configure: Generate.
45747 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45748 * configure: Regenerate.
45749 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45750 * config.make.in (have-as-vis3): New.
45751 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45752 available use -Av9d instead of -Av9a.
45753 * sysdeps/sparc/sparc64/Makefile: Likewise.
45754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45764 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45765 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45766 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45767 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45769 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45770 fzeros/fnegs to load 0x80000000 into a float register instead of
45772 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45774 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45778 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45779 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45780 ($(inst_includedir)/bits/syscall.h): Remove rule.
45781 ($(objpfx)bits/syscall.d): Include instead of
45782 $(objpfx)syscall-list.d.
45783 (generated): Change syscall-list.h and syscall-list.d to
45784 bits/syscall.h and bits/syscall.d.
45786 2012-03-14 Roland McGrath <roland@hack.frob.com>
45789 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45791 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45794 * math/s_csqrt.c: Include <float.h>.
45795 (__csqrt): Scale large or subnormal inputs.
45796 * math/s_csqrtf.c: Likewise.
45797 * math/s_csqrtl.c: Likewise.
45798 * math/libm-test.inc (csqrt_test): Add more tests.
45799 * sysdeps/i386/fpu/libm-test-ulps: Update.
45800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45803 * math/libm-test.inc (hypot_test): Add more tests.
45805 2012-03-13 David S. Miller <davem@davemloft.net>
45808 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45809 double-precision for the calculation instead of scaling.
45811 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45813 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45814 manipulate bits before adding and subtracting TWO52[sx].
45815 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45816 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45818 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45820 2012-03-13 David S. Miller <davem@davemloft.net>
45822 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45823 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45825 rtld-global-offsets.h
45826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45828 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45831 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45833 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45834 'err' in the ifdef scope in which it is actually used.
45836 * nss/nss_db/db-init.c: Include string.h
45838 2012-03-12 David S. Miller <davem@davemloft.net>
45840 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45841 masking out of the most significant byte of random value used.
45842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45843 Fix coding style in previous change.
45845 * sysdeps/unix/sysv/linux/kernel-features.h
45846 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45847 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45849 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45852 2012-03-11 David S. Miller <davem@davemloft.net>
45854 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45855 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45857 for 'resultvar' otherwise things get truncated on 64-bit.
45859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45860 Fix masking out of the most significant byte of random value used.
45862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45864 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45868 2012-03-09 David S. Miller <davem@davemloft.net>
45870 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45871 variables with appropriate CPP guards.
45872 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45873 from the frame pointer, not the stack pointer. Correct layout
45874 comments. Fix test on resulting framesize and the management of
45875 the outregs buffer for pltexit. Preserve floating point return
45876 values across _dl_call_pltexit call.
45877 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45878 framesize and the management of the outregs buffer for pltexit.
45879 Preserve floating point return values across _dl_call_pltexit
45881 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45882 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45883 (la_sparc64_gnu_pltexit): New functions.
45884 (print_exit): Fix format string for return register value.
45886 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45888 * sunrpc/Makefile (others): Add rpcgen.
45889 ($(objpfx)rpcgen): Remove special build rule and dependency on
45891 * sunrpc/rpcgen.c: New file.
45893 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45896 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45897 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45898 * sysdeps/i386/crti.S: Likewise.
45899 * sysdeps/i386/crtn.S: Likewise.
45900 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45901 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45902 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45903 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45904 * sysdeps/sh/crti.S: Likewise.
45905 * sysdeps/sh/crtn.S: Likewise.
45906 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45909 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45911 * locale/programs/locfile-kw.gperf: Likewise.
45912 * locale/programs/charmap-kw.h: Regenerated.
45913 * locale/programs/locfile-kw.h: Likewise.
45916 * intl/plural.y: Replace FSF snail mail address with URL.
45917 * intl/plural.c: Regenerated.
45919 2012-03-09 Richard Henderson <rth@twiddle.net>
45921 * include/math_private.h: Remove file.
45922 * math/math_private.h: Move file ...
45923 * sysdeps/generic/math_private.h: ... here.
45925 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45926 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45927 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45929 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45930 and <math_private.h>.
45931 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45932 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45933 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45934 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45935 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45945 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45946 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45947 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45948 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45949 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45950 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45952 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45953 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45954 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45955 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45957 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45960 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45961 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45963 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45964 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45965 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45973 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45975 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45976 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45977 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45978 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45980 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45981 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45982 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45987 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45988 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45989 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45991 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45992 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45994 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45995 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45996 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45997 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45998 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45999 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46000 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46001 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46002 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46003 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46005 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46009 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46011 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46012 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46013 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46014 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46015 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46016 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46017 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46018 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46019 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46020 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46021 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46022 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46024 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46025 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46026 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46027 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46028 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46029 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46030 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46031 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46032 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46033 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46034 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46035 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46036 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46037 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46038 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46039 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46040 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46041 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46042 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46043 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46044 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46045 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46046 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46047 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46048 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46049 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46050 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46051 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46052 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46054 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46055 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46056 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46057 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46058 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46059 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46060 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46061 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46062 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46063 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46064 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46065 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46066 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46067 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46068 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46069 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46070 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46071 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46072 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46073 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46074 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46075 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46076 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46077 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46078 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46079 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46080 * sysdeps/ieee754/k_standard.c: Likewise.
46081 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46085 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46090 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46091 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46093 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46094 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46095 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46096 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46098 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46106 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46107 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46108 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46109 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46110 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46111 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46112 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46113 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46114 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46115 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46116 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46117 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46118 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46119 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46120 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46121 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46122 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46123 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46124 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46125 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46126 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46127 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46129 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46130 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46131 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46132 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46133 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46134 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46135 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46136 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46137 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46138 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46139 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46140 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46141 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46142 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46143 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46144 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46145 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46148 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46149 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46152 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46153 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46154 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46155 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46157 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46159 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46160 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46161 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46163 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46164 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46166 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46167 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46168 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46169 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46171 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46172 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46173 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46174 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46176 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46177 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46178 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46179 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46180 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46183 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46184 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46185 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46186 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46187 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46188 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46189 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46190 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46191 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46192 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46193 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46194 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46195 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46197 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46198 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46199 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46200 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46201 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46202 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46203 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46204 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46205 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46206 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46214 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46215 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46216 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46217 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46218 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46219 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46220 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46221 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46222 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46223 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46224 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46225 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46226 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46227 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46228 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46229 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46230 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46231 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46232 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46235 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46236 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46237 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46238 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46239 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46240 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46241 * sysdeps/ieee754/s_lib_version.c: Likewise.
46242 * sysdeps/ieee754/s_matherr.c: Likewise.
46243 * sysdeps/ieee754/s_signgam.c: Likewise.
46244 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46245 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46247 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46248 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46249 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46250 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46251 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46252 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46253 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46254 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46255 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46256 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46257 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46258 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46259 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46260 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46261 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46262 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46263 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46264 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46266 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46268 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46269 * sunrpc/rpc_main.c: Likewise.
46270 * sunrpc/rpc_svcout.c: Likewise.
46272 2012-03-09 David S. Miller <davem@davemloft.net>
46274 * include/math_private.h: New file.
46276 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46278 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46279 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46280 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46281 from <bits/socket_type.h>.
46282 (enum __socket_type): Don't define here.
46283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46285 bits/socket_type.h.
46288 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46289 checking __USE_GNU.
46291 * Makerules ($(inst_includedir)/%.h): New rule.
46292 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46293 (install-others): Remove variable setting.
46294 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46296 2012-03-08 Richard Henderson <rth@twiddle.net>
46298 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46299 from macro to inline function; merge with the
46300 !__LIBC_INTERNAL_MATH_INLINES version.
46301 (__ieee754_sqrtf): Likewise.
46303 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46304 to inline function.
46305 (__rintf, __floor, __floorf): Likewise.
46307 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46308 macro to inline function.
46309 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46311 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46312 not <math/math_private.h>.
46314 2012-03-08 David S. Miller <davem@davemloft.net>
46316 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46318 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46320 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46322 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46324 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46325 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46327 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46329 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46330 be defined individually, they must be defined as a block. Define
46331 S for printing a string instead of hidint the different by using a
46332 macro for adding the 'l'.
46333 * stdio-common/tst-fphex-wide.c: Adjust.
46335 2012-03-07 Marek Polacek <polacek@redhat.com>
46337 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46339 2012-03-08 Marek Polacek <polacek@redhat.com>
46342 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46343 * stdio-common/tst-fphex.c: Define a few macros to make the
46344 test reusable. Use them.
46345 * stdio-common/tst-fphex-wide.c: New file.
46347 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46350 * manual/macros.texi (gnusystems): New macro.
46351 (nongnusystems): Likewise.
46352 (gnulinuxhurdsystems): Likewise.
46353 (gnuhurdsystems): Likewise..
46354 (gnulinuxsystems): Likewise.
46355 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46356 variants of the GNU system, not "GNU system".
46357 * manual/conf.texi: Likewise.
46358 * manual/errno.texi: Likewise. Update example of errno macro
46360 * manual/filesys.texi: Likewise.
46361 (getumask): Document as specific to GNU/Hurd.
46362 * manual/install.texi: Likewise. Reword some references to
46364 * manual/intro.texi: Likewise.
46365 * manual/io.texi: Likewise.
46366 (File Name Portability): Detail which constraints are inapplicable
46367 to all GNU systems and which are only inapplicable to GNU/Hurd.
46368 * manual/job.texi: Likewise.
46369 * manual/llio.texi: Likewise.
46370 (O_NOCTTY): Document as present on GNU/Linux.
46371 * manual/maint.texi: Likewise.
46372 * manual/memory.texi: Likewise.
46373 * manual/pattern.texi: Likewise.
46374 * manual/pipe.texi: Likewise.
46375 * manual/process.texi: Likewise.
46376 * manual/resource.texi: Likewise.
46377 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46379 * manual/setjmp.texi: Likewise.
46380 * manual/signal.texi: Likewise.
46381 * manual/startup.texi: Likewise.
46382 * manual/stdio.texi: Likewise.
46383 * manual/terminal.texi: Likewise.
46384 (ONLCR): Document as POSIX.
46385 (OXTABS): Document availability on GNU/Linux as XTABS.
46386 (ONOEOT): Document availability separately from other bits.
46387 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46388 * manual/time.texi: Likewise.
46389 * manual/users.texi: Likewise.
46390 * INSTALL: Regenerated.
46391 * sysdeps/gnu/errlist.c: Regenerated.
46393 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46394 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46395 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46397 * configure: Regenerated.
46399 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46401 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46402 default includes instead of AC_HEADER_CHECK.
46403 * sysdeps/i386/configure: Regenerated.
46406 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46407 * math/s_cacoshf.c (__cacoshf): Likewise.
46408 * math/s_cacoshl.c (__cacoshl): Likewise.
46409 * math/s_casinh.c (__casinh): Set signs of result from argument.
46410 * math/s_casinhf.c (__casinhf): Likewise.
46411 * math/s_casinhl.c (__casinhl): Likewise.
46412 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46413 (casinh_test): Add more tests.
46414 * sysdeps/i386/fpu/libm-test-ulps: Update.
46415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46417 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46419 * po/zh_TW.po: Update from translation team.
46421 * login/Makefile (distribute): Remove variable.
46422 * catgets/Makefile: Likewise.
46423 * mach/Makefile: Likewise.
46424 * malloc/Makefile: Likewise.
46425 * misc/Makefile: Likewise.
46426 * iconv/Makefile: Likewise.
46427 * nscd/Makefile: Likewise.
46428 * hurd/Makefile: Likewise.
46429 * manual/Makefile: Likewise.
46430 * locale/Makefile: Likewise.
46431 * intl/Makefile: Likewise.
46432 * conform/Makefile: Likewise.
46433 * nss/Makefile: Likewise.
46434 * time/Makefile: Likewise.
46435 * soft-fp/Makefile: Likewise.
46436 * dirent/Makefile: Likewise.
46437 * gmon/Makefile: Likewise.
46438 * po/Makefile: Likewise.
46439 * rt/Makefile: Likewise.
46440 * socket/Makefile: Likewise.
46441 * math/Makefile: Likewise.
46442 * signal/Makefile: Likewise.
46443 * debug/Makefile: Likewise.
46444 * elf/Makefile: Likewise.
46445 * timezone/Makefile: Likewise.
46446 * stdlib/Makefile: Likewise.
46447 * iconvdata/Makefile: Likewise.
46448 * sunrpc/Makefile: Likewise.
46449 * io/Makefile: Likewise.
46450 * argp/Makefile: Likewise.
46451 * inet/Makefile: Likewise.
46452 * hesiod/Makefile: Likewise.
46453 * grp/Makefile: Likewise.
46454 * csu/Makefile: Likewise.
46455 * wctype/Makefile: Likewise.
46456 * crypt/Makefile: Likewise.
46457 * libio/Makefile: Likewise.
46458 * string/Makefile: Likewise.
46459 * nis/Makefile: Likewise.
46460 * resolv/Makefile: Likewise.
46461 * stdio-common/Makefile: Likewise.
46462 * wcsmbs/Makefile: Likewise.
46463 * dlfcn/Makefile: Likewise.
46464 * posix/Makefile: Likewise.
46467 * timezone/Makefile: Don't install timezone files, just the programs
46470 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46472 * nss/databases.def: Add missing gshadow entry.
46474 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46476 2012-03-06 Marek Polacek <polacek@redhat.com>
46479 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46480 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46481 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46482 * stdio-common/tst-long-dbl-fphex.c: New file.
46484 2012-03-06 David S. Miller <davem@davemloft.net>
46486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46487 (set_obp_int): New function.
46488 (get_obp_int): New function.
46489 (__get_clockfreq_via_dev_openprom): Likewise.
46490 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46491 Avoid unused variable warnings on 'val' and use builtin_expect.
46492 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46494 (INLINE_CLONE_SYSCALL): Likewise.
46496 2012-03-05 David S. Miller <davem@davemloft.net>
46498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46500 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46504 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46505 only for |x| >= 40.
46506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46508 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46511 Replace gettimeofday with __vdso_gettimeofday.
46513 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46514 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46515 __vdso_clock_gettime and __vdso_getcpu.
46517 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46518 time with __vdso_time.
46520 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46522 * manual/lang.texi (size_t): Note types to which size_t may be
46523 equivalent with the GNU C Library, but do not describe when
46524 differences between them are significant.
46526 2012-03-05 Andreas Jaeger <aj@suse.de>
46528 * sysdeps/i386/fpu/libm-test-ulps: Update.
46530 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46533 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46534 (__ieee754_pow): Save and restore rounding mode and use
46535 round-to-nearest for main computations.
46536 * math/libm-test.inc (pow_test_tonearest): New function.
46537 (pow_test_towardzero): Likewise.
46538 (pow_test_downward): Likewise.
46539 (pow_test_upward): Likewise.
46540 (main): Call the new functions.
46541 * sysdeps/i386/fpu/libm-test-ulps: Update.
46542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46545 * math/libm-test.inc (cosh_test_tonearest): New function.
46546 (cosh_test_towardzero): Likewise.
46547 (cosh_test_downward): Likewise.
46548 (cosh_test_upward): Likewise.
46549 (sinh_test_tonearest): Likewise.
46550 (sinh_test_towardzero): Likewise.
46551 (sinh_test_downward): Likewise.
46552 (sinh_test_upward): Likewise.
46553 (main): Call the new functions.
46554 * sysdeps/i386/fpu/libm-test-ulps: Update.
46555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46557 2012-03-05 Tom de Vries <tom@codesourcery.com>
46559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46560 default stack guard is set in last bytes.
46561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46563 2012-03-05 Kees Cook <keescook@chromium.org>
46565 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46568 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46569 possibly allocate from heap instead of stack.
46570 * stdio-common/bug-vfprintf-nargs.c: New file.
46571 * stdio-common/Makefile (tests): Add nargs overflow test.
46573 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46577 2012-03-03 Marek Polacek <polacek@redhat.com>
46579 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46580 * math/math_private.h: Likewise.
46581 * stdlib/tst-strtod.c: Likewise.
46582 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46583 * sysdeps/x86_64/bits/atomic.h: Likewise.
46585 2012-03-02 David S. Miller <davem@davemloft.net>
46587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46591 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46592 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46593 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46594 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46596 2012-03-02 Roland McGrath <roland@hack.frob.com>
46599 * manual/examples/README: New file, says the example source files
46600 can be used under GPL>=2.
46601 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46602 line containing just "*/".
46603 * manual/examples/add.c: Add copyright header (GPL>=2).
46604 * manual/examples/argp-ex1.c: Likewise.
46605 * manual/examples/argp-ex2.c: Likewise.
46606 * manual/examples/argp-ex3.c: Likewise.
46607 * manual/examples/argp-ex4.c: Likewise.
46608 * manual/examples/atexit.c: Likewise.
46609 * manual/examples/db.c: Likewise.
46610 * manual/examples/dir.c: Likewise.
46611 * manual/examples/dir2.c: Likewise.
46612 * manual/examples/execinfo.c: Likewise.
46613 * manual/examples/filecli.c: Likewise.
46614 * manual/examples/filesrv.c: Likewise.
46615 * manual/examples/fmtmsgexpl.c: Likewise.
46616 * manual/examples/genpass.c: Likewise.
46617 * manual/examples/inetcli.c: Likewise.
46618 * manual/examples/inetsrv.c: Likewise.
46619 * manual/examples/isockad.c: Likewise.
46620 * manual/examples/longopt.c: Likewise.
46621 * manual/examples/memopen.c: Likewise.
46622 * manual/examples/memstrm.c: Likewise.
46623 * manual/examples/mkfsock.c: Likewise.
46624 * manual/examples/mkisock.c: Likewise.
46625 * manual/examples/mygetpass.c: Likewise.
46626 * manual/examples/pipe.c: Likewise.
46627 * manual/examples/popen.c: Likewise.
46628 * manual/examples/rprintf.c: Likewise.
46629 * manual/examples/search.c: Likewise.
46630 * manual/examples/select.c: Likewise.
46631 * manual/examples/setjmp.c: Likewise.
46632 * manual/examples/sigh1.c: Likewise.
46633 * manual/examples/sigusr.c: Likewise.
46634 * manual/examples/stpcpy.c: Likewise.
46635 * manual/examples/strdupa.c: Likewise.
46636 * manual/examples/strftim.c: Likewise.
46637 * manual/examples/strncat.c: Likewise.
46638 * manual/examples/subopt.c: Likewise.
46639 * manual/examples/swapcontext.c: Likewise.
46640 * manual/examples/termios.c: Likewise.
46641 * manual/examples/testopt.c: Likewise.
46642 * manual/examples/testpass.c: Likewise.
46643 * manual/examples/timeval_subtract.c: Likewise.
46646 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46648 * manual/timeval_subtract.c.texi: ... here, new file.
46650 2012-03-02 David S. Miller <davem@davemloft.net>
46652 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46654 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46657 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46658 (__sin): Save and restore rounding mode and use round-to-nearest
46659 for all computations.
46660 (__cos): Save and restore rounding mode and use round-to-nearest
46661 for all computations.
46662 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46664 (tan): Save and restore rounding mode and use round-to-nearest for
46666 * math/libm-test.inc (cos_test_tonearest): New function.
46667 (cos_test_towardzero): Likewise.
46668 (cos_test_downward): Likewise.
46669 (cos_test_upward): Likewise.
46670 (sin_test_tonearest): Likewise.
46671 (sin_test_towardzero): Likewise.
46672 (sin_test_downward): Likewise.
46673 (sin_test_upward): Likewise.
46674 (tan_test_tonearest): Likewise.
46675 (tan_test_towardzero): Likewise.
46676 (tan_test_downward): Likewise.
46677 (tan_test_upward): Likewise.
46678 (main): Call the new functions.
46679 * sysdeps/i386/fpu/libm-test-ulps: Update.
46680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46683 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46684 small n, then large n, before computing and testing k+n.
46685 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46690 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46691 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46694 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46695 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46698 * math/libm-test.inc (scalbn_test): Add more tests.
46699 (scalbln_test): Likewise.
46701 * manual/filesys.texi (mode_t): Describe constraints on size and
46702 signedness, not exact equivalence to a particular type.
46704 (ino64_t): Likewise.
46706 (nlink_t): Likewise.
46707 (blkcnt_t): Likewise.
46708 (blkcnt64_t): Likewise.
46709 * manual/llio.texi (off_t): Likewise.
46712 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46713 (__ieee754_exp): Save and restore rounding mode and use
46714 round-to-nearest for all computations.
46715 * math/libm-test.inc (exp_test_tonearest): New function.
46716 (exp_test_towardzero): Likewise.
46717 (exp_test_downward): Likewise.
46718 (exp_test_upward): Likewise.
46719 (main): Call the new functions.
46720 * sysdeps/i386/fpu/libm-test-ulps: Update.
46721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46723 2012-03-01 Chris Demetriou <cgd@google.com>
46725 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46726 have predictable order.
46728 2012-03-01 David S. Miller <davem@davemloft.net>
46730 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46732 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46733 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46734 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46735 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46737 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46738 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46739 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46742 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46743 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46744 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46745 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46749 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46750 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46751 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46753 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46754 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46755 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46756 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46757 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46758 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46759 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46760 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46761 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46762 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46763 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46766 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46767 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46769 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46770 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46771 * sysdeps/sparc/elf/configure: Regenerated.
46773 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46775 * configure.in (AS, LD): Require binutils 2.20 or later.
46776 * configure: Regenerated.
46777 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46778 as required minimum version.
46779 * INSTALL: Regenerated.
46783 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46784 before squaring exponent.
46785 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46786 bottom long double and 27 bits of top long double before squaring
46788 * math/libm-test.inc (erfc_test): Add more tests.
46789 * sysdeps/i386/fpu/libm-test-ulps: Update.
46790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46793 2012-03-01 Kai Tietz <ktietz@redhat.com>
46795 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46796 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46797 containing bit-fields.
46798 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46799 * soft-fp/single.h (_FP_UNION_S): Likewise.
46800 * soft-fp/double.h (_FP_UNION_D): Likewise.
46802 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46805 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46806 not include ../strcmp.S.
46807 [USE_AS_STRNCASECMP_L]: Likewise.
46808 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46809 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46810 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46811 (__strncasecmp_l_ia32): Define as alias to
46812 __strncasecmp_l_nonascii.
46815 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46816 * sysdeps/i386/fpu/libm-test-ulps: Update.
46817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46819 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46822 2012-02-29 Jeff Law <law@redhat.com>
46824 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46825 out of bounds read.
46827 2012-02-29 Marek Polacek <polacek@redhat.com>
46830 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46831 * elf/Makefile: Add rules to run tst-unused-dep.out.
46833 2012-02-28 David S. Miller <davem@davemloft.net>
46835 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46836 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46839 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46840 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46842 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46844 * math/libm-test.inc (llround_test): Move one test from
46845 lround_test. Use TEST_f_L in moved test.
46846 (lround_test): Move misplaced test to llround_test. Add testcase
46849 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46851 * sysdeps/x86_64/fpu/e_expf.S: New file.
46852 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46854 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46857 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46858 of remain_len that may cause incomplete multi-byte character and
46860 * posix/bug-regex33.c: New file.
46861 * posix/Makefile (tests): Add bug-regex33.
46863 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46865 * manual/macros.texi: New file.
46866 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46867 * manual/libc.texinfo: Include macros.texi.
46868 * manual/creatute.texi: Likewise.
46869 * manual/install.texi: Likewise.
46870 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46871 @glibcadj{} in references to the GNU C Library.
46872 * manual/charset.texi: Likewise.
46873 * manual/conf.texi: Likewise.
46874 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46875 when not using those macros.
46876 * manual/creature.texi: Likewise.
46877 * manual/crypt.texi: Likewise.
46878 * manual/errno.texi: Likewise.
46879 * manual/filesys.texi: Likewise.
46880 * manual/header.texi: Likewise.
46881 * manual/install.texi: Likewise.
46882 * manual/intro.texi: Likewise.
46883 * manual/io.texi: Likewise.
46884 * manual/job.texi: Likewise.
46885 * manual/lang.texi: Likewise.
46886 * manual/libc.texiinfo: Likewise.
46887 * manual/llio.texi: Likewise.
46888 * manual/locale.texi: Likewise.
46889 * manual/maint.texi: Likewise.
46890 * manual/math.texi: Likewise.
46891 * manual/memory.texi: Likewise.
46892 * manual/message.texi: Likewise.
46893 * manual/nss.texi: Likewise.
46894 * manual/pattern.texi: Likewise.
46895 * manual/process.texi: Likewise.
46896 * manual/resource.texi: Likewise.
46897 * manual/search.texi: Likewise.
46898 * manual/setjmp.texi: Likewise.
46899 * manual/signal.texi: Likewise.
46900 * manual/socket.texi: Likewise.
46901 * manual/startup.texi: Likewise.
46902 * manual/stdio.texi: Likewise.
46903 * manual/string.texi: Likewise.
46904 * manual/sysinfo.texi: Likewise.
46905 * manual/syslog.texi: Likewise.
46906 * manual/terminal.texi: Likewise.
46907 * manual/time.texi: Likewise.
46908 * manual/users.texi: Likewise.
46909 * INSTALL: Regenerated.
46910 * NOTES: Regenerated.
46911 * sysdeps/gnu/errlist.c: Regenerated.
46913 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46915 * include/dirent.h: Include <dirstream.h> before
46918 2012-02-28 David S. Miller <davem@davemloft.net>
46920 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46921 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46922 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46923 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46925 2012-02-27 David S. Miller <davem@davemloft.net>
46927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46929 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46930 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46933 frame pointer instead of stack pointer relative arg slot.
46934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46935 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46936 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46938 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46941 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46943 2012-02-27 David S. Miller <davem@davemloft.net>
46945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46949 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46950 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46951 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46952 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46954 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46956 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46957 later. Allow versions 5-9.
46958 * configure: Regenerated.
46959 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46960 required minimum version and 4.6 as recommended version. Do not
46961 mention bugs in GCC 2.7 and 2.8.
46962 * INSTALL: Regenerated.
46964 2012-02-27 David S. Miller <davem@davemloft.net>
46966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46970 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46971 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46972 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46973 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46975 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46976 manipulate bits before adding and subtracting TWO112[sx].
46977 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46979 2012-02-27 Roland McGrath <roland@hack.frob.com>
46982 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46983 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46984 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46985 being in POSIX, because they are in 1003.1-2008.
46987 * rt/tst-aio.c: Include <fcntl.h>.
46988 * rt/tst-aio7.c: Likewise.
46989 * rt/tst-aio64.c: Likewise.
46991 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46993 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46995 * manual/install.texi (--with-headers): Describe headers as
46996 interface headers, not private headers.
46997 (Specific advice for GNU/Linux systems): Describe use of headers
46998 from "make headers_install", not private headers from older
47000 * INSTALL: Regenerated.
47001 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47003 * sysdeps/unix/sysv/linux/configure: Regenerated.
47005 * manual/llio.texi (fclean): Remove documentation.
47007 * manual/Makefile (libc-texi-generated): New variable. Include
47009 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47010 $(libc-texi-generated), not duplicated list of files.
47011 (version.texi, stamp-version): New rules.
47012 (realclean): Remove $(libc-texi-generated), not individual files
47013 from that list. Do not remove dir-add.texinfo.
47014 * manual/libc.texinfo: Comment out uses of edition numbers and
47015 references to printed manual. Remove last-updated dates.
47016 (EDITION): Comment out.
47018 (VERSION, UPDATED): Remove.
47019 (version.texi): Include.
47021 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47023 * sysdeps/posix/spawni.c: Include <signal.h>.
47024 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47025 * sysdeps/pthread/aio_fsync.c: Likewise.
47027 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47029 * conform/Makefile (tests): Run only when not cross-compiling and
47030 when fast-check is not defined.
47032 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47033 * conform/data/limits.h-data: Fixes for POSIX2008.
47034 * conform/run-conformtest.sh: Run all tests.
47035 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47037 * include/bits/dlfcn.h: Likewise.
47038 * include/langinfo.h: Likewise.
47039 * include/monetary.h: Likewise.
47040 * include/sys/poll.h: Likewise.
47042 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47044 * posix/spawn.h: Define __need_sigset_t.
47045 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47046 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47047 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47048 to get sigevent_t only.
47049 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47050 only for __USE_GNU.
47051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47052 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47053 process_vm_writev only for __USE_GNU.
47054 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47056 * conform/Makefile: For now ignore errors from run-conformtest.
47057 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47058 POSIX to avoid namespace pollution. Don't prepend headers.
47059 * conform/data/aio.h-data: Fixes for POSIX testing.
47060 * conform/data/fcntl.h-data: Likewise.
47061 * conform/data/glob.h-data: Likewise.
47062 * conform/data/grp.h-data: Likewise.
47063 * conform/data/pthread.h-data: Likewise.
47064 * conform/data/pwd.h-data: Likewise.
47065 * conform/data/signal.h-data: Likewise.
47066 * conform/data/spawn.h-data: Likewise.
47067 * conform/data/stdio.h-data: Likewise.
47068 * conform/data/stdlib.h-data: Likewise.
47069 * conform/data/stropts.h-data: Likewise.
47070 * conform/data/sys/mman.h-data: Likewise.
47071 * conform/data/sys/stat.h-data: Likewise.
47072 * conform/data/sys/types.h-data: Likewise.
47073 * conform/data/sys/wait.h-data: Likewise.
47074 * conform/data/time.h-data: Likewise.
47075 * conform/data/unistd.h-data: Likewise.
47076 * conform/data/utime.h-data: Likewise.
47078 * io/sys/stat.h: fchmod was always in POSIX.
47079 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47080 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47081 * rt/aio.h: Define __need_timespec before including <time.h>.
47082 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47083 struct. Add forward declaration of pthread_attr_t and use it in
47085 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47086 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47087 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47088 always remove CLK_TCK definition.
47090 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47092 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47094 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47096 * conform/run-conformtest.sh: New file.
47097 * conform/Makefile: Run run-conformtest for tests.
47098 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47101 * conform/data/uchar.h-data: New file.
47102 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47103 * conform/data/arpa/inet.h-data: Likewise.
47104 * conform/data/assert.h-data: Likewise.
47105 * conform/data/complex.h-data: Likewise.
47106 * conform/data/cpio.h-data: Likewise.
47107 * conform/data/ctype.h-data: Likewise.
47108 * conform/data/dirent.h-data: Likewise.
47109 * conform/data/dlfcn.h-data: Likewise.
47110 * conform/data/errno.h-data: Likewise.
47111 * conform/data/fcntl.h-data: Likewise.
47112 * conform/data/float.h-data: Likewise.
47113 * conform/data/fmtmsg.h-data: Likewise.
47114 * conform/data/fnmatch.h-data: Likewise.
47115 * conform/data/ftw.h-data: Likewise.
47116 * conform/data/glob.h-data: Likewise.
47117 * conform/data/grp.h-data: Likewise.
47118 * conform/data/iconv.h-data: Likewise.
47119 * conform/data/inttypes.h-data: Likewise.
47120 * conform/data/langinfo.h-data: Likewise.
47121 * conform/data/libgen.h-data: Likewise.
47122 * conform/data/limits.h-data: Likewise.
47123 * conform/data/locale.h-data: Likewise.
47124 * conform/data/math.h-data: Likewise.
47125 * conform/data/monetary.h-data: Likewise.
47126 * conform/data/mqueue.h-data: Likewise.
47127 * conform/data/ndbm.h-data: Likewise.
47128 * conform/data/net/if.h-data: Likewise.
47129 * conform/data/netdb.h-data: Likewise.
47130 * conform/data/netinet/in.h-data: Likewise.
47131 * conform/data/nl_types.h-data: Likewise.
47132 * conform/data/poll.h-data: Likewise.
47133 * conform/data/pthread.h-data: Likewise.
47134 * conform/data/pwd.h-data: Likewise.
47135 * conform/data/regex.h-data: Likewise.
47136 * conform/data/sched.h-data: Likewise.
47137 * conform/data/search.h-data: Likewise.
47138 * conform/data/semaphore.h-data: Likewise.
47139 * conform/data/setjmp.h-data: Likewise.
47140 * conform/data/signal.h-data: Likewise.
47141 * conform/data/spawn.h-data: Likewise.
47142 * conform/data/stdarg.h-data: Likewise.
47143 * conform/data/stdio.h-data: Likewise.
47144 * conform/data/stdlib.h-data: Likewise.
47145 * conform/data/string.h-data: Likewise.
47146 * conform/data/strings.h-data: Likewise.
47147 * conform/data/stropts.h-data: Likewise.
47148 * conform/data/sys/ipc.h-data: Likewise.
47149 * conform/data/sys/mman.h-data: Likewise.
47150 * conform/data/sys/msg.h-data: Likewise.
47151 * conform/data/sys/resource.h-data: Likewise.
47152 * conform/data/sys/select.h-data: Likewise.
47153 * conform/data/sys/sem.h-data: Likewise.
47154 * conform/data/sys/shm.h-data: Likewise.
47155 * conform/data/sys/socket.h-data: Likewise.
47156 * conform/data/sys/stat.h-data: Likewise.
47157 * conform/data/sys/statvfs.h-data: Likewise.
47158 * conform/data/sys/time.h-data: Likewise.
47159 * conform/data/sys/timeb.h-data: Likewise.
47160 * conform/data/sys/times.h-data: Likewise.
47161 * conform/data/sys/types.h-data: Likewise.
47162 * conform/data/sys/uio.h-data: Likewise.
47163 * conform/data/sys/un.h-data: Likewise.
47164 * conform/data/sys/utsname.h-data: Likewise.
47165 * conform/data/sys/wait.h-data: Likewise.
47166 * conform/data/syslog.h-data: Likewise.
47167 * conform/data/tar.h-data: Likewise.
47168 * conform/data/termios.h-data: Likewise.
47169 * conform/data/utime.h-data: Likewise.
47170 * conform/data/utmpx.h-data: Likewise.
47171 * conform/data/varargs.h-data: Likewise.
47172 * conform/data/wchar.h-data: Likewise.
47173 * conform/data/wctype.h-data: Likewise.
47174 * conform/data/wordexp.h-data: Likewise.
47176 * include/stropts.h: New file.
47177 * include/uchar.h: New file.
47178 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47179 * include/assert.h: Likewise.
47180 * include/ctype.h: Likewise.
47181 * include/dirent.h: Likewise.
47182 * include/dlfcn.h: Likewise.
47183 * include/fcntl.h: Likewise.
47184 * include/fnmatch.h: Likewise.
47185 * include/glob.h: Likewise.
47186 * include/grp.h: Likewise.
47187 * include/libio.h: Likewise.
47188 * include/locale.h: Likewise.
47189 * include/math.h: Likewise.
47190 * include/net/if.h: Likewise.
47191 * include/netdb.h: Likewise.
47192 * include/netinet/in.h: Likewise.
47193 * include/pthread.h: Likewise.
47194 * include/pwd.h: Likewise.
47195 * include/regex.h: Likewise.
47196 * include/sched.h: Likewise.
47197 * include/search.h: Likewise.
47198 * include/setjmp.h: Likewise.
47199 * include/signal.h: Likewise.
47200 * include/stdio.h: Likewise.
47201 * include/stdlib.h: Likewise.
47202 * include/string.h: Likewise.
47203 * include/sys/cdefs.h: Likewise.
47204 * include/sys/mman.h: Likewise.
47205 * include/sys/msg.h: Likewise.
47206 * include/sys/resource.h: Likewise.
47207 * include/sys/select.h: Likewise.
47208 * include/sys/socket.h: Likewise.
47209 * include/sys/stat.h: Likewise.
47210 * include/sys/statvfs.h: Likewise.
47211 * include/sys/time.h: Likewise.
47212 * include/sys/times.h: Likewise.
47213 * include/sys/uio.h: Likewise.
47214 * include/sys/utsname.h: Likewise.
47215 * include/sys/wait.h: Likewise.
47216 * include/termios.h: Likewise.
47217 * include/time.h: Likewise.
47218 * include/ulimit.h: Likewise.
47219 * include/unistd.h: Likewise.
47220 * include/utime.h: Likewise.
47221 * include/wchar.h: Likewise.
47222 * include/wctype.h: Likewise.
47223 * include/wordexp.h: Likewise.
47225 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47227 * time/time.h: TIME_UTC must be a macro.
47228 Make timespec_get available for ISO C11 only as well.
47230 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47232 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47233 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47235 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47237 * configure.in: Use -o not -a in test for unsupported multi-arch.
47239 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47241 * manual/texinfo.tex: Update to version 2012-01-19.16.
47243 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47245 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47247 2012-02-24 Roland McGrath <roland@hack.frob.com>
47250 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47251 * manual/fdl-1.3.texi: New file.
47252 * manual/fdl-1.1.texi: File removed.
47255 * manual/libc.texinfo (FDL_VERSION): New @set.
47256 Use it for mention of FDL in cover text.
47257 (Documentation License): Use it in @include file name.
47259 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47260 Roland McGrath <roland@hack.frob.com>
47263 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47264 (not LONG_LONG_MAX and LONG_LONG_MIN.
47265 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47266 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47268 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47270 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47274 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47275 manipulate bits before adding and subtracting TWO23[sx].
47276 * math/libm-test.inc (nearbyint_test): Add more tests.
47278 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47281 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47282 bits before adding and subtracting TWO23[sx].
47283 * math/libm-test.inc (rint_test): Add more tests.
47284 (rint_test_tonearest): Likewise.
47285 (rint_test_towardzero): Likewise.
47286 (rint_test_downward): Likewise.
47287 (rint_test_upward: Likewise.
47289 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47292 * include/stdc-predef.h: New file. Extracted from features.h.
47293 * include/features.h: Include stdc-predef.h.
47294 * Makefile (headers): Add stdc-predef.h.
47295 * CONFORMANCE (Compiler limitations): Update.
47297 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47299 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47301 2012-02-21 David S. Miller <davem@davemloft.net>
47303 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47304 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47306 2012-02-20 David S. Miller <davem@davemloft.net>
47308 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47309 using a normal save/restore sequence, rather than allocating a
47310 dummy stack frame just to store a frame pointer and restore.
47311 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47313 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47315 * manual/install.texi: Fix stray word in line-wrapped comment.
47317 2012-02-20 David S. Miller <davem@davemloft.net>
47319 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47320 both binutils and gcc support GOTDATA.
47322 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47323 "rd %pc" in the PIC register setup sequences.
47325 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47326 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47327 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47328 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47329 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47332 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47334 (SYSCALL_ERROR_HANDLER): Likewise.
47335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47336 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47338 (SYSCALL_ERROR_HANDLER): Likewise.
47340 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47341 (HAVE_GCC_GOTDATA): New.
47342 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47343 relocation support in both binutils and gcc.
47344 * sysdeps/sparc/elf/configure: Regenerate.
47346 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47347 * sysdeps/sparc/sparc32/elf/configure: Delete.
47348 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47349 * sysdeps/sparc/sparc64/elf/configure: Delete.
47350 * sysdeps/sparc/elf/configure.in: New file.
47351 * sysdeps/sparc/elf/configure: Generate.
47353 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47354 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47355 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47356 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47357 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47359 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47361 * manual/install.texi: Do not mention specific glibc version
47363 * manual/libc.texinfo (VERSION, UPDATED): Update.
47364 (@copying): Use @copyright{} and range of years.
47366 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47369 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47370 [crti.S not in sysdirs] (generated): Do not append.
47371 [crti.S not in sysdirs] (omit-deps): Likewise.
47372 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47373 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47374 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47375 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47376 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47378 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47379 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47380 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47381 * csu/defs.awk: Remove file.
47382 * sysdeps/generic/initfini.c: Likewise.
47383 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47385 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47388 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47390 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47391 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47393 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47395 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47397 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47398 (__EPOLL_PACKED): Define to empty if not defined by
47400 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47404 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47406 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47407 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47408 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47409 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47411 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47415 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47417 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47419 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47420 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47421 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47424 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47429 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47431 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47432 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47434 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47436 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47439 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47441 * math/w_acos.c: Use non-signaling floating-point comparisons.
47442 * math/w_acosf.c: Likewise.
47443 * math/w_acosh.c: Likewise.
47444 * math/w_acoshf.c: Likewise.
47445 * math/w_acoshl.c: Likewise.
47446 * math/w_acosl.c: Likewise.
47447 * math/w_asin.c: Likewise.
47448 * math/w_asinf.c: Likewise.
47449 * math/w_asinl.c: Likewise.
47450 * math/w_atanh.c: Likewise.
47451 * math/w_atanhf.c: Likewise.
47452 * math/w_atanhl.c: Likewise.
47453 * math/w_exp2.c: Likewise.
47454 * math/w_exp2f.c: Likewise.
47455 * math/w_exp2l.c: Likewise.
47456 * math/w_j0.c: Likewise.
47457 * math/w_j0f.c: Likewise.
47458 * math/w_j0l.c: Likewise.
47459 * math/w_j1.c: Likewise.
47460 * math/w_j1f.c: Likewise.
47461 * math/w_j1l.c: Likewise.
47462 * math/w_jn.c: Likewise.
47463 * math/w_jnf.c: Likewise.
47464 * math/w_log.c: Likewise.
47465 * math/w_log10.c: Likewise.
47466 * math/w_log10f.c: Likewise.
47467 * math/w_log10l.c: Likewise.
47468 * math/w_log2.c: Likewise.
47469 * math/w_log2f.c: Likewise.
47470 * math/w_log2l.c: Likewise.
47471 * math/w_logf.c: Likewise.
47472 * math/w_logl.c: Likewise.
47473 * math/w_sqrt.c: Likewise.
47474 * math/w_sqrtf.c: Likewise.
47475 * math/w_sqrtl.c: Likewise.
47476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47477 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47478 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47479 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47480 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47482 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47485 * manual/string.texi (strnlen): Use correct parameter name in
47486 equivalent expression.
47488 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47491 * manual/users.texi (seteuid): Consistently use neweuid for
47494 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47497 * manual/nss.texi (Services in the NSS configuration): Correct
47498 list of services in example configuration file.
47500 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47503 * manual/arith.texi: Remove statements about negative zero
47504 behaving identically to zero.
47506 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47509 * manual/install.texi: Do not document upgrading from libc5.
47511 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47514 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47516 2012-02-18 David S. Miller <davem@davemloft.net>
47518 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47519 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47520 %o7 across the call.
47521 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47524 SETUP_PIC_REG_LEAF.
47525 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47526 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47527 * sysdeps/sparc/crtn.S: Likewise.
47529 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47531 * aout/Makefile: Remove.
47533 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47536 * manual/examples/argp-ex1.c (main): Format definition in GNU
47538 * manual/examples/argp-ex2.c (main): Likewise.
47539 * manual/examples/argp-ex3.c (main): Likewise.
47540 * manual/examples/argp-ex4.c (main): Likewise.
47541 * manual/examples/longopt.c (main): Use new-style prototype
47543 * manual/examples/strncat.c (main): Specify return type and use
47544 (void) for arguments.
47545 * manual/examples/subopt.c (main): Use char **argv argument.
47547 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47550 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47553 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47556 * manual/string.texi (strchr): Change when strchrnul is
47559 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47562 * manual/locale.texi (setlocale): Document LOCPATH.
47564 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47567 * manual/process.texi (execle): Move @dots{} before last argument.
47569 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47572 * manual/charset.texi (Generic Charset Conversion): Fix typo
47573 (LC_TYPE -> LC_CTYPE).
47575 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47578 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47579 (scalbnf): Likewise.
47580 (scalbnl): Likewise.
47581 (scalbln): Likewise.
47582 (scalblnf): Likewise.
47583 (scalblnl): Likewise.
47584 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47585 (vwarnx): Likewise.
47588 * manual/filesys.texi (telldir): Use braces around return type.
47589 * manual/llio.texi (mmap): Add space after comma.
47590 (mmap64): Likewise.
47591 * manual/math.texi (jn): Use @var{} on parameter names.
47597 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47599 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47601 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47602 (sched_get_priority_max): Likewise.
47603 * manual/signal.texi (sigvec): Add space after comma.
47604 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47606 (if_indextoname): Likewise.
47607 (if_freenameindex): Likewise.
47608 (sendto): Use ',' instead of '.' in prototype.
47609 * manual/startup.texi (syscall): Use @dots{} instead of literal
47611 * manual/stdio.texi (__fpending): Separate initial words of
47612 paragraph from @deftypefun line.
47613 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47615 (vsyslog): Use @var{} on parameter names.
47616 * manual/terminal.texi (stty): Use @var{} on parameter names.
47617 * manual/users.texi (getutmp): Use @var{} on parameter names.
47618 (getutmpx): Likewise.
47620 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47623 * manual/stdio.texi (fopen): Fix typos in description of
47626 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47629 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47630 get clock_id definition.
47632 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47635 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47636 (madvise): Cast every argument to void on its own.
47638 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47641 * manual/startup.texi (Exit Status): Fix typo.
47643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47646 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47647 * manual/examples/argp-ex2.c: Likewise.
47648 * manual/examples/argp-ex3.c: Likewise.
47650 2012-02-16 Richard Henderson <rth@redhat.com>
47652 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47653 * sysdeps/s390/s390-32/initfini.c: Remove.
47654 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47655 * sysdeps/s390/s390-64/initfini.c: Remove.
47657 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47659 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47660 compiler output for sysdeps/generic/initfini.c.
47661 * sysdeps/sh/elf/initfini.c: Remove file.
47663 2012-02-16 David S. Miller <davem@davemloft.net>
47666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47668 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47669 * sysdeps/sparc/crti.S: New file.
47670 * sysdeps/sparc/crtn.S: New file.
47671 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47672 * sysdeps/sparc/sparc64/Makefile: Likewise.
47674 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47677 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47679 2012-02-15 Roland McGrath <roland@hack.frob.com>
47682 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47684 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47685 (write, read, close): Likewise.
47686 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47688 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47690 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47691 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47692 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47693 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47695 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47699 2012-02-14 Marek Polacek <polacek@redhat.com>
47701 * sysdeps/x86_64/crti.S: New file.
47702 * sysdeps/x86_64/crtn.S: New file.
47703 * sysdeps/x86_64/elf/initfini.c: Remove file.
47705 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47707 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47708 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47709 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47710 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47712 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47716 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47718 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47719 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47720 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47721 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47723 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47727 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47729 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47730 __feraiseexcept instead of feraiseexcept.
47732 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47733 nanosleep invocations.
47734 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47735 strings, and add error checking for a nanosleep invocations.
47737 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47739 Replace FSF snail mail address with URLs, as per GNU coding standards.
47740 Most of the snail mail addresses were wrong anyway, and omitting
47741 them makes the source code easier to maintain. Almost all of the
47742 changes are to license notices and to locale LC_IDENTIFICATION
47743 addresses, except for this one:
47744 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47745 not its snail mail address.
47747 2012-02-09 Richard Henderson <rth@twiddle.net>
47749 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47750 of kernel-features.h.
47752 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47754 2012-02-08 Marek Polacek <polacek@redhat.com>
47756 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47757 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47758 * sysdeps/gnu/_G_config.h: Likewise.
47759 * sysdeps/generic/_G_config.h: Likewise.
47761 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47763 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47767 * sysdeps/powerpc/powerpc32/crti.S: New file.
47768 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47769 * sysdeps/powerpc/powerpc64/crti.S: New file.
47770 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47772 * Makeconfig (have-initfini): Don't set.
47773 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47774 * configure.in (nopic_initfini): Don't substitute.
47775 * config.h.in (HAVE_INITFINI): Don't #undef.
47776 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47777 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47779 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47781 Support crti.S and crtn.S provided directly by architectures.
47782 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47783 [crti.S in sysdirs] (omit-deps): Likewise.
47784 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47785 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47786 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47787 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47788 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47789 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47790 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47791 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47792 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47793 compiler output for sysdeps/generic/initfini.c.
47794 * sysdeps/i386/elf/Makefile: Remove file.
47795 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47797 2012-02-07 Marek Polacek <polacek@redhat.com>
47799 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47800 * sysdeps/gnu/_G_config.h: Likewise.
47801 * sysdeps/mach/hurd/_G_config.h: Likewise.
47803 2012-02-07 Marek Polacek <polacek@redhat.com>
47805 * math/Makefile (tests): Add tst-CMPLX2.
47806 * math/tst-CMPLX2.c: New file.
47808 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47810 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47812 * math/libm-test.inc (jn_test): Add missing L suffix.
47814 2012-02-06 Marek Polacek <polacek@redhat.com>
47816 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47817 * sysdeps/i386/fpu/e_powf.S: Likewise.
47818 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47819 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47820 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47821 * sysdeps/i386/fpu/e_pow.S: Likewise.
47822 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47823 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47824 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47825 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47826 * sysdeps/i386/fpu/e_log2.S: Likewise.
47827 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47828 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47829 * sysdeps/i386/fpu/e_powl.S: Likewise.
47830 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47831 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47832 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47833 * sysdeps/i386/fpu/e_logl.S: Likewise.
47834 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47835 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47836 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47837 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47838 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47839 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47840 * sysdeps/i386/fpu/e_log.S: Likewise.
47841 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47842 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47843 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47844 * sysdeps/i386/fpu/e_logf.S: Likewise.
47845 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47846 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47847 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47849 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47850 * sysdeps/i386/fpu/e_log10.S: Likewise.
47851 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47852 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47853 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47854 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47855 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47857 * sysdeps/i386/asm-syntax.h: Likewise.
47858 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47861 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47862 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47863 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47864 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47865 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47866 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47867 * sysdeps/powerpc/sysdep.h: Likewise.
47868 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47869 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47871 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47874 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47876 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47878 * sysdeps/i386/sysdep.h: Include <features.h>.
47879 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47882 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47884 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47886 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47889 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47891 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47892 (SETUP_PIC_REG): Use GET_PC_THUNK.
47893 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47896 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47898 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47899 for non-PIC compilation.
47900 (SETUP_PIC_REG): Add .p2align directive.
47901 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47902 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47903 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47904 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47905 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47906 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47907 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47908 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47909 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47910 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47911 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47912 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47913 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47914 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47915 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47916 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47917 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47918 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47919 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47920 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47922 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47923 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47924 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47927 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47928 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47929 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47930 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47931 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47932 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47933 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47934 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47935 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47936 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47937 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47938 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47939 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47940 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47941 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47943 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47945 * math/tst-CMPLX.c: Include <stdio.h>.
47947 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47949 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47951 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47952 * sysdeps/sparc/bits/mathdef.h: Likewise.
47954 2012-01-31 Marek Polacek <polacek@redhat.com>
47956 * libio/libio.h: Don't define _PARAMS.
47957 * locale/programs/config.h: Don't define PARAMS.
47958 * stdlib/strtol_l.c: Likewise.
47959 (__strtol_l): Remove PARAMS from the prototype.
47961 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47963 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47964 names. Just use the correct names. Remove unnecessary wrapper
47966 * malloc/arena.c: Likewise.
47967 * malloc/hooks.c: Likewise.
47969 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47970 ARENA_TEST says not to. Simplify test for creation of a new arena.
47971 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47973 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47975 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47977 (update_get_addr): New function.
47978 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47979 GET_ADDR_MODULE parameter.
47981 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47983 * crypt/cert.c: Remove __STDC__ conditionals.
47984 * crypt/crypt-entry.c: Likewise.
47985 * crypt/crypt_util.c: Likewise.
47986 * libio/filedoalloc.c: Likewise.
47987 * libio/fileops.c: Likewise.
47988 * libio/genops.c: Likewise.
47989 * libio/iofclose.c: Likewise.
47990 * libio/iofdopen.c: Likewise.
47991 * libio/iofopen.c: Likewise.
47992 * libio/iofopen64.c: Likewise.
47993 * libio/iogetdelim.c: Likewise.
47994 * libio/iopopen.c: Likewise.
47995 * libio/obprintf.c: Likewise.
47996 * libio/oldfileops.c: Likewise.
47997 * libio/oldiofclose.c: Likewise.
47998 * libio/oldiofdopen.c: Likewise.
47999 * libio/oldiofopen.c: Likewise.
48000 * libio/oldiopopen.c: Likewise.
48001 * libio/wfiledoalloc.c: Likewise.
48002 * libio/wgenops.c: Likewise.
48003 * locale/programs/xmalloc.c: Likewise.
48004 * misc/syslog.c: Likewise.
48005 * stdio-common/xbug.c: Likewise.
48006 * string/memchr.c: Likewise.
48007 * string/memcmp.c: Likewise.
48008 * string/memrchr.c: Likewise.
48009 * string/rawmemchr.c: Likewise.
48010 * sysdeps/posix/getcwd.c: Likewise.
48011 * time/strftime_l.c: Likewise.
48013 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48015 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48016 * config.make.in (config-cflags-sse2avx): Define.
48017 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48020 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48022 * scripts/config.guess: Update from upstream config git repository.
48023 * scripts/config.sub: Likewise.
48025 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48027 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48029 (R_TILEPRO_*, R_TILEGX_*): New macros.
48031 * scripts/firstversions.awk: Fix bug in version range handling.
48033 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48035 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48037 * include/sys/epoll.h: New file.
48038 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48041 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48043 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48044 Avoid unnecessary __WORDSIZE == 64 test.
48045 (fmaxf): Use VEX format if possible.
48050 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48051 * math/math_private.h: Remove libc_fegetround* and
48053 * sysdeps/i386/configure.in: Check for -msse2avx.
48054 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48055 also if SSE2AVX is defined.
48056 Remove libc_fegetround* and libc_fesetround*.
48057 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48058 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48067 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48069 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48071 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48073 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48075 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48078 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48080 * Makeconfig (libm): Define.
48081 * elf/Makefile: Add rules to build and run tst-relsort1.
48082 * elf/tst-relsort1.c: New file.
48083 * elf/tst-relsort1mod1.c: New file.
48084 * elf/tst-relsort1mod2.c: New file.
48086 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48088 * math/s_ldexp.c: Remove __STDC__ conditionals.
48089 * math/s_ldexpf.c: Likewise.
48090 * math/s_ldexpl.c: Likewise.
48091 * math/s_nextafter.c: Likewise.
48092 * math/s_nexttowardf.c: Likewise.
48093 * math/s_significand.c: Likewise.
48094 * math/s_significandf.c: Likewise.
48095 * math/s_significandl.c: Likewise.
48096 * math/w_jnl.c: Likewise.
48097 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48098 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48099 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48100 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48101 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48102 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48103 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48104 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48105 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48106 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48107 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48108 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48109 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48110 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48111 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48112 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48113 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48114 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48116 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48117 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48118 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48119 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48120 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48121 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48122 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48123 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48124 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48125 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48126 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48128 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48129 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48130 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48131 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48132 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48133 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48134 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48135 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48136 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48137 * sysdeps/ieee754/k_standard.c: Likewise.
48138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48139 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48140 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48141 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48142 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48143 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48144 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48145 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48146 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48147 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48148 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48149 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48150 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48151 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48155 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48157 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48158 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48159 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48186 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48187 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48190 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48191 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48192 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48193 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48195 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48199 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48200 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48202 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48203 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48204 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48205 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48210 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48213 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48214 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48215 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48217 * sysdeps/ieee754/s_matherr.c: Likewise.
48218 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48219 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48223 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48225 * crypt/md5.h: Remove __STDC__ conditionals.
48226 * libio/libioP.h: Likewise.
48227 * locale/programs/config.h: Likewise.
48228 * sysdeps/generic/sysdep.h: Likewise.
48229 * sysdeps/i386/asm-syntax.h: Likewise.
48230 * sysdeps/s390/asm-syntax.h: Likewise.
48231 * sysdeps/unix/sysdep.h: Likewise.
48232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48235 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48237 * libio/libio.h: Remove __STDC__ conditionals.
48238 * malloc/obstack.h: Likewise.
48239 * math/complex.h: Likewise.
48240 * math/math.h: Likewise.
48241 * sysdeps/generic/_G_config.h: Likewise.
48242 * sysdeps/gnu/_G_config.h: Likewise.
48243 * sysdeps/mach/hurd/_G_config.h: Likewise.
48244 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48245 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48246 * sysdeps/sparc/bits/mathdef.h: Likewise.
48248 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48251 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48252 Clean up HAS_* macros.
48253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48254 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48259 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48260 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48261 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48262 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48264 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48266 * elf/tst-unique3.cc (gets): Remove declaration.
48267 * elf/tst-unique3lib.cc (gets): Likewise.
48268 * elf/tst-unique3lib2.cc (gets): Likewise.
48269 * elf/tst-unique4.cc (gets): Likewise.
48271 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48273 * include/stdio.h: Add C++ protection. Add gets declarations and
48275 * debug/tst-chk1.c: Don't declare gets here.
48276 * stdio-common/tst-gets.c: Likewise.
48278 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48280 * posix/glob: Remove directory.
48282 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48284 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48286 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48288 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48289 of the non-standard EPFNOSUPPORT.
48291 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48293 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48294 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48295 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48297 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48299 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48301 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48303 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48305 * nscd/grpcache.c (cache_addgr): Likewise.
48306 * nscd/hstcache.c (cache_addhst): Likewise.
48307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48308 * nscd/pwdcache.c (cache_addpw): Likewise.
48309 * nscd/servicescache.c (cache_addserv): Likewise.
48311 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48313 * malloc/malloc.c: Various cleanups.
48314 * malloc/hooks.c: Likewise.
48316 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48317 * stdlib/bug-fmtmsg1.c: New file.
48319 * stdlib/fmtmsg.c (init): Add missing unlock.
48320 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48322 2012-01-12 Marek Polacek <polacek@redhat.com>
48324 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48327 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48329 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48330 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48331 macro to ensure uniqueness of label name.
48332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48335 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48337 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48339 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48340 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48344 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48346 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48348 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48349 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48350 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48352 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48354 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48355 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48356 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48357 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48359 * math/bits/math-finite.h: Add ldexp support.
48361 2012-01-10 Marek Polacek <polacek@redhat.com>
48363 * locale/programs/localedef.h (show_archive_content): Add noreturn
48366 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48368 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48370 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48372 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48374 * io/Makefile (headers): Add bits/poll2.h.
48376 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48379 typo #include statement.
48381 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48383 * include/sys/cdefs.h: Define __attribute_alloc_size.
48384 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48385 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48386 * elf/pldd.c: Likewise.
48387 * iconv/iconv_charmap.c: Likewise.
48388 * iconv/iconvconfig.c: Likewise.
48389 * iconv/strtab.c: Likewise.
48390 * locale/programs/locale.c: Likewise.
48391 * locale/programs/localedef.h: Likewise.
48392 * locale/programs/simple-hash.c: Likewise.
48393 * nscd/nscd.h: Likewise.
48394 * nss/makedb.c: Likewise.
48395 * sysdeps/generic/ldconfig.h: Likewise.
48396 * locale/programs/localedef.c: Remove xmalloc prototype.
48397 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48399 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48404 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48406 * math/Makefile (tests): Add tst-CMPLX.
48407 * math/tst-CMPLX.c: New file.
48409 * math/complex.h (CMPLXL): Fix typo.
48411 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48412 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48414 * debug/tst-chk1.c: Add poll and ppoll tests.
48415 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48416 * include/sys/poll.h: Add hidden proto for ppoll.
48417 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48418 * sysdeps/mach/hurd/ppoll.c: Likewise.
48419 * io/ppoll.c: Likewise.
48420 * debug/poll_chk.c: New file.
48421 * debug/ppoll_chk.c: New file.
48422 * include/bits/poll2.h: New file.
48423 * io/bits/poll2.h: New file.
48426 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48428 * configure.in: static is always set to yes. Remove.
48429 * config.make.in: Don't set build-static.
48430 * Makeconfig: Remove use of build-static.
48431 * dlfcn/Makefile: Likewise.
48432 * elf/Makefile: Likewise.
48433 * math/Makefile: Likewise.
48434 * misc/Makefile: Likewise.
48435 * nptl/Makefile: Likewise.
48436 * sysdeps/mach/hurd/Makefile: Likewise.
48438 * configure.in: PWD_P is not used anymore.
48439 * config.make.in: Remove PWD_P entry.
48441 * configure.in: Remove last remnants of RANLIB.
48442 No need to check for signed size_t anymore.
48443 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48445 Remove __builtin_expect test because we require at least gcc 3.4.
48446 * aclocal.m4: Likewise.
48448 * wcsmbs/mbrtoc16.c: Implement using towc function.
48449 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48450 * wcsmbs/wcsmbsload.c: Likewise.
48451 * iconv/gconv_simple.c: Likewise.
48452 * iconv/gconv_int.h: Likewise.
48453 * iconv/gconv_builtin.h: Likewise.
48454 * iconv/iconv_prog.c: Remove CHAR16 handling.
48456 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48458 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48460 * configure.in: Remove --with-elf and --enable-bounded options.
48461 Dont set base_machine for ia64. More non-ELF conditions removed.
48462 Remove testing and setting of leading underscore information.
48463 * config.make.in (build-bounded): Set to no.
48464 * config.h.in: Remove NO_UNDERSCORES entry.
48465 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48467 * csu/start.c: Remove !NO_UNDERSCORE code.
48468 * locale/localeinfo.h: Likewise.
48469 * sysdeps/generic/machine-gmon.h: Likewise.
48470 * sysdeps/generic/sysdep.h: Likewise.
48471 * sysdeps/i386/sysdep.h: Likewise.
48472 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48473 * sysdeps/mach/sysdep.h: Likewise.
48474 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48476 * sysdeps/sh/sysdep.h: Likewise.
48477 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48478 * sysdeps/unix/i386/sysdep.S: Likewise.
48479 * sysdeps/unix/sparc/start.c: Likewise.
48480 * sysdeps/unix/sparc/sysdep.S: Likewise.
48481 * sysdeps/unix/sparc/sysdep.h: Likewise.
48482 * sysdeps/unix/start.c: Likewise.
48483 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48484 * sysdeps/x86_64/sysdep.h: Likewise.
48486 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48489 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48491 * argp/argp-fmtstream.h: Use const instead __const.
48492 * argp/argp.h: Likewise.
48493 * assert/assert.h: Likewise.
48494 * bits/fenv.h: Likewise.
48495 * bits/sched.h: Likewise.
48496 * bits/sigset.h: Likewise.
48497 * bits/sigthread.h: Likewise.
48498 * catgets/nl_types.h: Likewise.
48499 * conform/data/pthread.h-data: Likewise.
48500 * crypt/crypt-private.h: Likewise.
48501 * crypt/crypt.h: Likewise.
48502 * crypt/crypt_util.c: Likewise.
48503 * ctype/ctype.h: Likewise.
48504 * debug/execinfo.h: Likewise.
48505 * debug/mbsnrtowcs_chk.c: Likewise.
48506 * debug/mbsrtowcs_chk.c: Likewise.
48507 * debug/wcsnrtombs_chk.c: Likewise.
48508 * debug/wcsrtombs_chk.c: Likewise.
48509 * debug/wcstombs_chk.c: Likewise.
48510 * dirent/dirent.h: Likewise.
48511 * dlfcn/dlfcn.h: Likewise.
48512 * elf/neededtest4.c: Likewise.
48513 * grp/grp.h: Likewise.
48514 * gshadow/gshadow.h: Likewise.
48515 * iconv/gconv.h: Likewise.
48516 * iconv/gconv_int.h: Likewise.
48517 * iconv/gconv_simple.c: Likewise.
48518 * iconv/iconv.h: Likewise.
48519 * iconv/loop.c: Likewise.
48520 * iconv/skeleton.c: Likewise.
48521 * include/aio.h: Likewise.
48522 * include/aliases.h: Likewise.
48523 * include/argz.h: Likewise.
48524 * include/arpa/inet.h: Likewise.
48525 * include/assert.h: Likewise.
48526 * include/dirent.h: Likewise.
48527 * include/dlfcn.h: Likewise.
48528 * include/execinfo.h: Likewise.
48529 * include/fcntl.h: Likewise.
48530 * include/fenv.h: Likewise.
48531 * include/glob.h: Likewise.
48532 * include/grp.h: Likewise.
48533 * include/libintl.h: Likewise.
48534 * include/mntent.h: Likewise.
48535 * include/netdb.h: Likewise.
48536 * include/pwd.h: Likewise.
48537 * include/rpc/netdb.h: Likewise.
48538 * include/sched.h: Likewise.
48539 * include/search.h: Likewise.
48540 * include/shadow.h: Likewise.
48541 * include/signal.h: Likewise.
48542 * include/stdio.h: Likewise.
48543 * include/stdlib.h: Likewise.
48544 * include/string.h: Likewise.
48545 * include/sys/socket.h: Likewise.
48546 * include/sys/stat.h: Likewise.
48547 * include/sys/statfs.h: Likewise.
48548 * include/sys/statvfs.h: Likewise.
48549 * include/sys/syslog.h: Likewise.
48550 * include/sys/time.h: Likewise.
48551 * include/sys/uio.h: Likewise.
48552 * include/time.h: Likewise.
48553 * include/unistd.h: Likewise.
48554 * include/utmp.h: Likewise.
48555 * include/wchar.h: Likewise.
48556 * include/wctype.h: Likewise.
48557 * inet/aliases.h: Likewise.
48558 * inet/arpa/inet.h: Likewise.
48559 * inet/netinet/ether.h: Likewise.
48560 * inet/netinet/in.h: Likewise.
48561 * intl/libintl.h: Likewise.
48562 * io/bits/fcntl2.h: Likewise.
48563 * io/fcntl.h: Likewise.
48564 * io/ftw.h: Likewise.
48565 * io/sys/poll.h: Likewise.
48566 * io/sys/stat.h: Likewise.
48567 * io/sys/statfs.h: Likewise.
48568 * io/sys/statvfs.h: Likewise.
48569 * io/utime.h: Likewise.
48570 * libio/bits/stdio.h: Likewise.
48571 * libio/bits/stdio2.h: Likewise.
48572 * libio/libio.h: Likewise.
48573 * libio/libioP.h: Likewise.
48574 * libio/stdio.h: Likewise.
48575 * locale/lc-ctype.c: Likewise.
48576 * locale/locale.h: Likewise.
48577 * login/utmp.h: Likewise.
48578 * malloc/arena.c: Likewise.
48579 * malloc/malloc.c: Likewise.
48580 * malloc/malloc.h: Likewise.
48581 * malloc/mcheck.c: Likewise.
48582 * malloc/mtrace.c: Likewise.
48583 * math/bits/mathcalls.h: Likewise.
48584 * math/fenv.h: Likewise.
48585 * math/math_private.h: Likewise.
48586 * misc/bits/error.h: Likewise.
48587 * misc/bits/syslog.h: Likewise.
48588 * misc/err.h: Likewise.
48589 * misc/error.h: Likewise.
48590 * misc/fstab.h: Likewise.
48591 * misc/mntent.h: Likewise.
48592 * misc/regexp.h: Likewise.
48593 * misc/search.h: Likewise.
48594 * misc/sgtty.h: Likewise.
48595 * misc/sys/mman.h: Likewise.
48596 * misc/sys/syslog.h: Likewise.
48597 * misc/sys/uio.h: Likewise.
48598 * misc/sys/xattr.h: Likewise.
48599 * misc/ttyent.h: Likewise.
48600 * nis/rpcsvc/ypclnt.h: Likewise.
48601 * nss/nss.h: Likewise.
48602 * posix/bits/unistd.h: Likewise.
48603 * posix/fnmatch.h: Likewise.
48604 * posix/glob.h: Likewise.
48605 * posix/sched.h: Likewise.
48606 * posix/spawn.h: Likewise.
48607 * posix/sys/wait.h: Likewise.
48608 * posix/unistd.h: Likewise.
48609 * posix/wordexp.h: Likewise.
48610 * pwd/pwd.h: Likewise.
48611 * resolv/netdb.h: Likewise.
48612 * resource/sys/resource.h: Likewise.
48613 * rt/aio.h: Likewise.
48614 * rt/bits/mqueue2.h: Likewise.
48615 * rt/mqueue.h: Likewise.
48616 * shadow/shadow.h: Likewise.
48617 * signal/signal.h: Likewise.
48618 * socket/send.c: Likewise.
48619 * socket/sendto.c: Likewise.
48620 * socket/sys/socket.h: Likewise.
48621 * stdio-common/printf.h: Likewise.
48622 * stdlib/bits/stdlib.h: Likewise.
48623 * stdlib/fmtmsg.h: Likewise.
48624 * stdlib/monetary.h: Likewise.
48625 * stdlib/stdlib.h: Likewise.
48626 * stdlib/ucontext.h: Likewise.
48627 * streams/stropts.h: Likewise.
48628 * string/argz.h: Likewise.
48629 * string/bits/string2.h: Likewise.
48630 * string/string.h: Likewise.
48631 * string/strings.h: Likewise.
48632 * sunrpc/rpc/auth.h: Likewise.
48633 * sunrpc/rpc/auth_des.h: Likewise.
48634 * sunrpc/rpc/clnt.h: Likewise.
48635 * sunrpc/rpc/netdb.h: Likewise.
48636 * sunrpc/rpc/pmap_clnt.h: Likewise.
48637 * sunrpc/rpc/xdr.h: Likewise.
48638 * sysdeps/generic/inttypes.h: Likewise.
48639 * sysdeps/generic/net/if.h: Likewise.
48640 * sysdeps/generic/sys/swap.h: Likewise.
48641 * sysdeps/gnu/net/if.h: Likewise.
48642 * sysdeps/gnu/utmpx.h: Likewise.
48643 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48644 * sysdeps/i386/i486/bits/string.h: Likewise.
48645 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48646 * sysdeps/s390/bits/string.h: Likewise.
48647 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48648 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48649 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48650 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48651 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48652 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48653 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48654 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48655 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48656 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48657 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48658 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48659 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48660 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48661 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48662 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48663 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48665 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48666 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48667 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48668 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48669 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48670 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48671 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48672 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48673 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48675 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48677 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48678 * sysvipc/sys/ipc.h: Likewise.
48679 * sysvipc/sys/msg.h: Likewise.
48680 * sysvipc/sys/sem.h: Likewise.
48681 * sysvipc/sys/shm.h: Likewise.
48682 * termios/termios.h: Likewise.
48683 * time/sys/time.h: Likewise.
48684 * time/time.h: Likewise.
48685 * wcsmbs/bits/wchar2.h: Likewise.
48686 * wcsmbs/uchar.h: Likewise.
48687 * wcsmbs/wchar.h: Likewise.
48688 * wctype/wctype.h: Likewise.
48691 * Makeconfig: Remove all but ELF support including AIX support.
48692 * Makerules: Likewise.
48693 * config.h.in: Likewise.
48694 * config.make.in: Likewise.
48695 * configure: Likewise.
48696 * configure.in: Likewise.
48697 * csu/Makefile: Likewise.
48698 * csu/version.c: Likewise.
48699 * debug/Makefile: Likewise.
48700 * dlfcn/Makefile: Likewise.
48701 * elf/Makefile: Likewise.
48702 * extra-lib.mk: Likewise.
48703 * iconv/Makefile: Likewise.
48704 * include/libc-symbols.h: Likewise.
48705 * include/shlib-compat.h: Likewise.
48706 * resolv/Makefile: Likewise.
48707 * resolv/res_libc.c: Likewise.
48708 * rt/Makefile: Likewise.
48709 * sysdeps/i386/asm-syntax.h: Likewise.
48710 * sysdeps/i386/sysdep.h: Likewise.
48711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48712 * sysdeps/mach/sysdep.h: Likewise.
48713 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48714 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48715 * sysdeps/s390/asm-syntax.h: Likewise.
48716 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48717 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48718 * sysdeps/sh/sysdep.h: Likewise.
48719 * sysdeps/unix/sparc/sysdep.h: Likewise.
48720 * sysdeps/wordsize-32/divdi3.c: Likewise.
48721 * sysdeps/x86_64/sysdep.h: Likewise.
48723 * argp/Versions: Remove _argp_unlock_xxx.
48726 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48727 * abilist/libBrokenLocale.abilist: Likewise.
48728 * abilist/libanl.abilist: Likewise.
48729 * abilist/libc.abilist: Likewise.
48730 * abilist/libcrypt.abilist: Likewise.
48731 * abilist/libdl.abilist: Likewise.
48732 * abilist/libm.abilist: Likewise.
48733 * abilist/libnsl.abilist: Likewise.
48734 * abilist/libpthread.abilist: Likewise.
48735 * abilist/libresolv.abilist: Likewise.
48736 * abilist/librt.abilist: Likewise.
48737 * abilist/libthread_db.abilist: Likewise.
48738 * abilist/libutil.abilist: Likewise.
48739 * abilist/libnss_db.abilist: New file.
48741 * scripts/abilist.awk: Add support for indirect functions.
48743 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48745 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48747 * shlib-versions: Remove entries for ports architectures.
48749 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48751 * elf/stackguard-macros.h: Remove support for IA-64.
48752 * elf/tst-auditmod1.c: Likewise.
48753 * sysdeps/generic/ldsodefs.h: Likewise.
48755 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48756 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48760 * configure.in: Remove --enable-omitfp support.
48762 * config.make.in: Likewise.
48763 * Makeconfig: Likewise.
48764 * manual/install.texi: Likewise.
48766 In case anyone cares, the IA-64 architecture could move to ports.
48767 * sysdeps/ia64/*: Removed.
48768 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48769 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48772 * configure.in: Remove entries for unsupported architectures.
48775 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48776 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48778 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48779 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48780 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48781 fall back to using wcrtomb.
48782 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48783 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48785 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48786 * wcsmbs/tst-c16c32-1.c: New file.
48788 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48791 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48793 * elf/tst-unique3.cc: Add explicit declaration of gets.
48794 * elf/tst-unique3lib.cc: Likewise.
48795 * elf/tst-unique3lib2.cc: Likewise.
48796 * elf/tst-unique4.cc: Likewise.
48798 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48800 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48803 * assert/assert.h (static_assert): Don't define for C++.
48804 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48805 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48807 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48809 * iconv/loop.c (single loop): Fix assertion in storing of
48812 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48814 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48816 * posix/getconf.c: Update copyright year.
48817 * nss/getent.c: Likewise.
48818 * nss/makedb.c: Likewise.
48819 * iconv/iconvconfig.c: Likewise.
48820 * iconv/iconv_prog.c: Likewise.
48821 * elf/ldconfig.c: Likewise.
48822 * elf/pldd.c: Likewise.
48823 * elf/sotruss.ksh: Likewise.
48824 * catgets/gencat.c: Likewise.
48825 * csu/version.c: Likewise.
48826 * elf/ldd.bash.in: Likewise.
48827 * elf/sprof.c (print_version): Likewise.
48828 * locale/programs/locale.c: Likewise.
48829 * locale/programs/localedef.c: Likewise.
48830 * login/programs/pt_chown.c: Likewise.
48831 * nscd/nscd.c (print_version): Likewise.
48832 * debug/xtrace.sh: Likewise.
48833 * malloc/memusage.sh: Likewise.
48834 * malloc/mtrace.pl: Likewise.
48835 * debug/catchsegv.sh: Likewise.
48837 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48839 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48842 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48845 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48846 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48848 * iconv/gconv_int.h: Likewise.
48849 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48850 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48851 from libc for GLIBC_2.16.
48852 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48853 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48854 * wcsmbs/uchar.h: Really define mbstate_t.
48855 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48856 * wcsmbs/c16rtomb.c: New file.
48857 * wcsmbs/mbrtoc16.c: New file.
48858 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48859 for C/POSIX locale.
48860 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48861 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48863 * wcsmbs/wchar.h: Add missing __restrict.
48865 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48868 * time/Makefile (routines): Add timespec_get.
48869 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48870 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48871 timespec for ISO C11.
48872 * time/timespec_get.c: New file.
48873 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48874 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48877 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48878 * stdlib/stdlib.h: Declare aligned_alloc.
48879 * Versions.def: Add GLIBC_2.16 for libc.
48880 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48883 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48886 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48890 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48893 * assert/assert.h (static_assert): Define.
48895 * version.h: Update for 2.16 development version.
48898 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48901 * version.h (RELEASE): Bump for 2.15 release.
48902 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48904 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48905 Patch by Marek Polacek <mpolacek@redhat.com>.
48907 * bits/byteswap.h: Protect long long constants with __extension__.
48908 * sysdeps/i386/bits/byteswap.h: Likewise.
48909 * sysdeps/ia64/bits/byteswap.h: Likewise.
48910 * sysdeps/s390/bits/byteswap.h: Likewise.
48911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48913 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48917 destination buffer.
48918 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48920 2011-12-23 Marek Polacek <polacek@redhat.com>
48922 * elf/dl-addr.c (determine_info): Add inline keyword.
48923 * elf/tst-auditmod4b.c (check_avx): Likewise.
48924 * elf/tst-auditmod6b.c (check_avx): Likewise.
48925 * elf/tst-auditmod6c.c (check_avx): Likewise.
48926 * elf/tst-auditmod7b.c (check_avx): Likewise.
48928 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48930 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48933 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48936 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48937 processing for last bytes.
48939 2011-08-06 Bruno Haible <bruno@clisp.org>
48942 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48943 U+0385, not to U+1FEE.
48946 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48947 entry for U+00A5 U+0301.
48949 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48952 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48953 buffer for the output is too small.
48955 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48959 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48960 SSE flags if possible.
48962 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48965 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48966 processing for last bytes.
48968 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48970 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48971 (syscall-list-default-options, syscall-list-default-condition)
48972 (syscall-list-includes): Define.
48973 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48974 list of ABIs and options and #if conditions for each ABI. Do not
48975 handle common syscalls between ABIs specially.
48976 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48978 (syscall-list-variants, syscall-list-32bit-options)
48979 (syscall-list-32bit-condition, syscall-list-64bit-options)
48980 (syscall-list-64bit-condition): Define.
48981 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48982 (syscall-list-variants, syscall-list-32bit-options)
48983 (syscall-list-32bit-condition, syscall-list-64bit-options)
48984 (syscall-list-64bit-condition): Define.
48985 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48987 (syscall-list-variants, syscall-list-32bit-options)
48988 (syscall-list-32bit-condition, syscall-list-64bit-options)
48989 (syscall-list-64bit-condition): Define.
48990 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48992 (syscall-list-variants, syscall-list-32bit-options)
48993 (syscall-list-32bit-condition, syscall-list-64bit-options)
48994 (syscall-list-64bit-condition): Define.
48996 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48998 * locale/iso-639.def: Add brx entry.
49001 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49002 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49004 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49005 __feraiseexcept_renamed.
49007 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49010 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49011 EPOLLET with unsigned values.
49012 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49013 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49015 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49016 to large cancellation.
49017 * math/s_cacoshf.c: Likewise.
49018 * math/s_cacoshl.c: Likewise.
49020 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49024 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49025 * math/s_cacoshf.c: Likewise.
49026 * math/s_cacoshl.c: Likewise.
49028 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49031 * iconv/gconv.h: Define __GCONV_SWAP.
49032 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49033 * iconvdata/utf-16.c: Likewise.
49034 * iconvdata/utf-32.c: Likewise.
49036 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49040 numerator after shifting it by one limb.
49042 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49045 under [__USE_EXTERN_INLINES].
49047 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49050 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49052 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49054 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49055 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49057 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49058 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49059 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49060 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49061 for strncasecmp/strncasecmp_l compilation.
49062 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49063 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49065 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49068 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49071 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49074 * time/tzfile.c (__tzfile_read): Check values from file header.
49076 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49078 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49079 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49080 * powerpc/powerpc32/dl-start.S: Likewise.
49081 * powerpc/powerpc32/elf/start.S: Likewise.
49082 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49083 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49084 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49085 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49086 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49087 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49088 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49089 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49090 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49091 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49092 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49093 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49094 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49095 * powerpc/powerpc32/memset.S: Likewise.
49096 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49097 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49098 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49099 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49100 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49101 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49102 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49103 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49104 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49105 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49106 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49107 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49108 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49110 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49112 * math/libm-test.inc: Added more nearbyint tests.
49113 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49114 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49115 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49116 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49118 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49120 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49123 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49125 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49126 Add wcscpy-ssse3 wcscpy-c.
49127 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49128 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49129 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49130 * sysdeps/x86_64/wcschr.S: New file.
49131 * sysdeps/x86_64/wcsrchr.S: New file.
49132 * string/test-strcmp.c: Remove checking of wcscmp function for
49134 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49135 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49136 wcsrchr-sse2 wcsrchr-c.
49137 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49138 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49139 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49140 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49141 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49142 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49143 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49144 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49145 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49146 * wcsmbc/wcschr.c (WCSCHR): New macro.
49148 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49150 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49151 * wcsmbs/test-wcsrchr.c: New file.
49152 * string/test-strrchr.c: Add wcsrchr support.
49154 * wcsmbs/test-wcscpy.c: New file.
49155 * string/test-strcpy.c: Add wcscpy support.
49158 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49163 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49166 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49168 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49170 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49171 Minor optimizations.
49173 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49174 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49175 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49177 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49179 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49180 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49181 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49182 for gcc to avoid warnings.
49183 * inet/Makefile (tests): Add tst-checks.
49184 * inet/tst-checks.c: New file.
49186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49189 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49192 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49193 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49195 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49197 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49199 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49202 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49204 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49206 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49207 conditional on GCC version.
49208 (__arch_compare_and_exchange_val_8_acq)
49209 (__arch_compare_and_exchange_val_16_acq)
49210 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49211 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49212 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49214 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49216 * sysdeps/sh/backtrace.c: New file.
49218 2011-12-02 Andreas Schwab <schwab@redhat.com>
49220 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49223 2011-12-01 Andreas Schwab <schwab@redhat.com>
49225 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49226 falling back to utime.
49228 2011-11-30 Andreas Schwab <schwab@redhat.com>
49230 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49231 expectations for float.
49233 2011-11-29 Andreas Schwab <schwab@redhat.com>
49235 * locale/weight.h (findidx): Add parameter len.
49236 * locale/weightwc.h (findidx): Likewise.
49237 * posix/fnmatch_loop.c (FCT): Adjust caller.
49238 * posix/regcomp.c (build_equiv_class): Likewise.
49239 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49240 * posix/regexec.c (check_node_accept_bytes): Likewise.
49241 * string/strcoll_l.c (STRCOLL): Likewise.
49242 * string/strxfrm_l.c (STRXFRM): Likewise.
49244 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49246 * Makefile.in: Remove CVSOPT handling.
49247 * configure.in: Remove use of AC_REVISION.
49248 * iconvdata/Makefile (distribute): No need to filter out CVS.
49249 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49252 2011-11-16 Andreas Schwab <schwab@redhat.com>
49254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49255 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49256 [USE_AS_STRNCASECMP_L]: Likewise.
49257 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49258 NO_TLS_DIRECT_SEG_REFS.
49259 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49260 Fix argument offsets for non-PIC.
49261 [USE_AS_STRNCASECMP_L]: Likewise.
49262 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49263 NO_TLS_DIRECT_SEG_REFS.
49265 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49267 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49269 * locale/loadlocale.c (_nl_load_locale): Likewise.
49271 2011-11-15 Andreas Schwab <schwab@redhat.com>
49273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49274 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49275 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49276 (SYSCALL_GETTIME): Set errno on error.
49278 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49279 count references to noai6ai_cached.
49281 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49283 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49285 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49286 FD_CLOEXEC for /proc/self/maps.
49288 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49289 FD_CLOEXEC for /proc/meminfo.
49291 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49294 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49295 FD_CLOEXEC for given file.
49297 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49299 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49300 FD_CLOEXEC for /etc/hosts.
49301 (_gethtent): Likewise.
49303 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49305 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49306 cancellation and set FD_CLOEXEC for /etc/netgroup.
49308 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49309 reading /etc/publickey.
49311 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49312 allow cancellation when reading /etc/group.
49314 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49316 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49318 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49319 when using data file.
49321 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49323 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49324 (write_nis_obj): Use "c" and "e" in fopen.
49326 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49328 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49330 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49332 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49334 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49337 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49339 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49341 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49343 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49344 file parsing and set FD_CLOEXEC.
49346 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49348 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49350 2011-11-14 Andreas Schwab <schwab@redhat.com>
49352 * malloc/arena.c (arena_get2): Don't call reused_arena when
49353 _int_new_arena failed.
49355 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49357 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49358 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49359 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49360 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49361 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49363 to compile strcasecmp and strncasecmp.
49364 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49365 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49367 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49369 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49371 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49372 locale-defines.sym to gen-as-const-headers.
49373 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49374 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49375 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49376 to compile strcasecmp and strncasecmp.
49377 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49378 strcasecmp_l and strncasecmp_l.
49379 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49380 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49381 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49382 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49383 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49384 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49385 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49386 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49387 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49388 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49389 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49391 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49393 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49394 result of SYSDEP_GETTIME_CPU to retval.
49395 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49396 parameter list to macro. Remove trailing semicolon. Adjust users.
49398 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49401 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49403 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49405 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49406 from unused variable.
49408 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49410 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49413 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49416 * sunrpc/rpc_prot.c (rejected): Fix case value.
49418 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49419 unsigned long long int to avoid warnings in shift.
49421 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49423 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49426 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49427 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49428 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49430 * nis/nis_table.c (nis_list): Use variable of correct type for
49431 result of __follow_path call.
49433 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49435 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49436 of math functions ceil, trunc, floor, round, and sqrt, when
49437 avaliable on the platform.
49438 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49440 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49441 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49442 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49444 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49446 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49447 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49449 2011-11-11 Roland McGrath <roland@hack.frob.com>
49451 * include/unistd.h: Fix __readlink return type.
49452 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49454 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49456 * stdlib/ucontext.h: Undo last change for makecontext.
49458 2011-11-11 Andreas Schwab <schwab@redhat.com>
49460 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49462 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49463 * setjmp/setjmp.h: Mark functions as non-leaf.
49464 * setjmp/bits/setjmp2.h: Likewise.
49465 * stdlib/ucontext.h: Likewise.
49467 2011-11-10 Andreas Schwab <schwab@redhat.com>
49469 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49470 (reused_arena): Don't check arena limit.
49471 (arena_get2): Atomically check arena limit.
49473 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49475 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49476 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49478 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49481 2011-11-07 Andreas Schwab <schwab@redhat.com>
49483 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49484 handler when locking.
49486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49487 Fix size of allocated buffer.
49489 2011-11-04 Andreas Schwab <schwab@redhat.com>
49492 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49493 declarations for long double functions.
49494 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49496 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49498 2011-11-03 Andreas Schwab <schwab@redhat.com>
49500 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49503 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49506 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49508 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49510 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49512 * include/alloca.h (stackinfo_alloca_round): Define.
49513 (extend_alloca): Use it.
49514 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49515 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49518 * scripts/check-local-headers.sh: Ignore libaudit.h.
49520 * nscd/Makefile (extra-objs): Make recursively expanded.
49522 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49524 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49525 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49527 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49528 * posix/tst-rfc3484-2.c: Likewise.
49529 * posix/tst-rfc3484-3.c: Likewise.
49531 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49533 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49535 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49536 process_vm_writev from libc using GLIBC_2.15 version.
49538 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49540 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49542 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49545 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49548 * nss/getent.c (initgroups_keys): Show error message in case no group
49551 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49552 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49553 __bump_nl_timestamp.
49554 * nscd/connections (nscd_init): When host database is served open
49555 netlink socket and request notification about configuration changes.
49556 (main_loop_poll): Track netlink file descriptor and bump timestamp
49557 in case data becomes available.
49558 (main_loop_epoll): Likewise.
49559 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49560 (database_pers_head): Add extra_data fileds.
49561 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49562 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49563 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49565 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49566 in6ai data, call __free_in6ai.
49567 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49568 Add -DHAVE_NETLINK.
49569 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49570 interface information. Reuse previous data if netlink timestamp
49572 (__bump_nl_timestamp): New function.
49573 (__free_in6ai): New function.
49575 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49577 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49578 close_not_cancel_no_status here.
49579 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49581 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49584 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49587 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49588 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49589 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49591 2011-07-03 Andreas Jaeger <aj@suse.de>
49594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49595 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49596 * math/libm-test.inc (sin_test): Add test case.
49598 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49601 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49602 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49604 * elf/chroot_canon.c (chroot_canon): Cleanups.
49606 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49609 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49610 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49612 * string/test-strchr.c: Make usable for strchrnul testing.
49613 * string/test-strchrnul.c: New file.
49614 * string/Makefile (strop-tests): Add strchrnul.
49616 * po/it.po: Update from translation team.
49617 * po/es.po: Likewise.
49619 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49621 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49622 the three constants needed as parameters. Drop the others.
49623 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49624 __m128i_strloadu_tolower.
49625 Create and initialize variable zero and use it in all the places
49626 where _mm_setzero_si128 was used.
49628 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49629 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49630 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49631 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49633 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49634 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49635 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49636 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49637 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49638 __mpranred, __mptan.
49639 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49640 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49641 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49642 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49643 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49644 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49645 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49646 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49647 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49649 2011-10-28 Andreas Schwab <schwab@redhat.com>
49651 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49652 redefine if SHARED.
49653 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49656 wide char related routines to wcsmbs subdir.
49658 2011-10-27 Andreas Schwab <schwab@redhat.com>
49661 * misc/sys/cdefs.h (__THROWNL): Define.
49662 * posix/unistd.h: Use __THREADNL instead of __THREAD
49663 for memory synchronization functions.
49665 2011-10-26 Roland McGrath <roland@hack.frob.com>
49668 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49670 * manual/stdio.texi (Obstack Streams): Node removed.
49672 2011-10-26 Andreas Schwab <schwab@redhat.com>
49674 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49675 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49676 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49678 * math/math_private.h (math_force_eval): Allow non-addressable
49680 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49682 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49684 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49685 file is not needed.
49687 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49688 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49690 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49691 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49692 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49693 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49694 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49696 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49697 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49698 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49699 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49700 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49701 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49702 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49703 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49704 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49705 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49706 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49707 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49709 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49710 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49711 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49712 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49713 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49714 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49716 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49717 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49720 place. Use VEX encoding when compiling for AVX.
49722 2011-10-25 Andreas Schwab <schwab@redhat.com>
49724 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49725 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49727 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49729 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49731 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49732 useless if() expression.
49733 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49734 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49735 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49736 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49737 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49738 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49739 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49740 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49741 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49742 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49743 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49744 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49745 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49746 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49747 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49749 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49750 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49751 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49753 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49755 2011-10-25 Andreas Schwab <schwab@redhat.com>
49757 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49759 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49761 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49763 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49764 .text section. Avoid duplicate constants.
49765 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49767 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49769 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49773 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49774 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49775 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49776 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49777 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49778 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49779 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49781 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49782 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49783 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49784 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49785 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49786 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49787 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49788 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49789 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49790 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49791 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49792 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49793 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49794 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49795 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49796 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49797 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49798 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49799 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49800 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49801 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49802 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49803 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49804 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49805 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49806 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49807 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49808 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49809 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49811 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49813 * sysdeps/x86_64/dla.h: Move to ...
49814 * sysdeps/x86_64/fpu/dla.h: ...here.
49815 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49816 situations. Use __builtin_fma only for gcc 4.6 and up.
49818 * config.make.in: Add have-mfma4 entry.
49819 * configure.in: Substitute libc_cv_cc_fma4.
49820 * math/Makefile (dbl-only-routines): Add sincostab.
49821 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49822 Use __sincostab not sincos.
49823 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49830 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49831 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49832 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49833 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49836 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49838 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49839 define aliases when function name is a macro.
49840 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49841 sysdeps/ieee754/dbl-64/sincos.tbl.
49842 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49843 fma4-enabled routines.
49844 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49845 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49846 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49847 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49848 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49849 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49850 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49851 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49853 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49854 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49855 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49856 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49857 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49858 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49859 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49860 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49861 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49862 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49863 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49864 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49865 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49867 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49869 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49871 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49872 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49873 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49875 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49877 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49882 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49883 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49886 2011-10-24 Andreas Schwab <schwab@redhat.com>
49888 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49890 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49892 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49894 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49896 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49898 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49899 Remove unused variable magic_bits.
49900 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49902 * string/strnlen.c: Define and use STRNLEN macro.
49903 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49904 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49906 * wcsmbs/wcslen.c: Define and use WCSLEN.
49907 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49908 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49909 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49910 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49911 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49912 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49913 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49915 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49918 strnlen-sse2-no-bsf.
49919 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49921 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49922 Add strnlen support.
49923 (USE_AS_STRNLEN): New macro.
49924 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49925 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49926 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49927 * sysdeps/x86_64/wcslen.S: New file.
49929 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49932 XMM-moves are used for copying on small sizes.
49934 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49936 * wcsmbs/Makefile (strop-tests): Add wcschr.
49937 * wcsmbs/test-wcschr.c: New file.
49938 * string/test-strchr.c: Update.
49939 Add wcschr support.
49942 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49944 * wcsmbs/Makefile (strop-tests): Add wcslen.
49945 * wcsmbs/test-wcslen.c: New file.
49946 * string/test-strlen.c: Update.
49947 Add wcslen support.
49950 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49952 * po/it.po: Update from translation team.
49954 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49956 * sysdeps/x86_64/wcscmp.S: Update.
49957 Fix wrong comparison semantics.
49958 wcscmp shall use signed comparison not unsigned.
49959 Don't use substraction to avoid overflow bug.
49960 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49961 * wcsmbc/wcscmp.c: Likewise.
49962 * string/test-strcmp.c: Likewise.
49963 Add new tests to check cases with negative values.
49965 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49967 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49968 * sysdeps/x86_64/dla.h: ...here. New file.
49969 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49970 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49976 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49979 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49981 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49982 __ynl_finite aliases.
49984 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49988 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49990 [DLA_FMA] (EMULV): Use DLA_FMA.
49991 [DLA_FMA] (MUL12): Use EMULV.
49992 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49993 that are not needed.
49994 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50000 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50002 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50004 * math/s_nan.c: Undef __nan.
50005 * math/s_nanf.c: Undef __nanf.
50006 * math/s_nanl.c: Undef __nanl.
50007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50010 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50012 * math/s_catan.c: Add branch predictions.
50013 * math/s_catanf.c: Likewise.
50014 * math/s_catanh.c: Likewise.
50015 * math/s_catanhf.c: Likewise.
50016 * math/s_catanhl.c: Likewise.
50017 * math/s_catanl.c: Likewise.
50018 * math/s_cexp.c: Likewise.
50019 * math/s_cexpf.c: Likewise.
50020 * math/s_cexpl.c: Likewise.
50021 * math/s_clog.c: Likewise.
50022 * math/s_clog10.c: Likewise.
50023 * math/s_clog10f.c: Likewise.
50024 * math/s_clog10l.c: Likewise.
50025 * math/s_clogf.c: Likewise.
50026 * math/s_clogl.c: Likewise.
50027 * math/s_csqrt.c: Likewise.
50028 * math/s_csqrtf.c: Likewise.
50029 * math/s_csqrtl.c: Likewise.
50030 * math/s_ctanf.c: Likewise.
50031 * math/s_ctanh.c: Likewise.
50032 * math/s_ctanhf.c: Likewise.
50033 * math/s_ctanhl.c: Likewise.
50034 * math/s_ctanl.c: Likewise.
50036 * math/math_private.h: Define __nan, __nanf, __nanl.
50037 * math/s_cacosh.c: Include <math_private.h>.
50038 * math/s_cacoshl.c: Likewise.
50039 * math/s_casinh.c: Likewise.
50040 * math/s_casinhf.c: Likewise.
50041 * math/s_casinhl.c: Likewise.
50042 * math/s_ccos.c: Rely entire on ccosh.
50043 * math/s_ccosf.c: Rely entire on ccoshf.
50044 * math/s_ccosl.c: Rely entirely on ccoshl.
50045 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50046 Remove tests for FE_INVALID.
50047 * math/s_ccoshf.c: Likewise.
50048 * math/s_ccoshl.c: Likewise.
50049 * math/s_csin.c: Likewise.
50050 * math/s_csinf.c: Likewise.
50051 * math/s_csinh.c Likewise.
50052 * math/s_csinhf.c: Likewise.
50053 * math/s_csinhl.c: Likewise.
50054 * math/s_csinl.c: Likewise.
50055 * math/s_ctan.c: Likewise.
50056 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50057 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50058 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50060 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50063 compilation problems.
50065 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50068 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50070 * sysdeps/i386/configure.in: Test for -mfma4 option.
50071 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50072 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50073 COMMON_CPUID_INDEX_80000001.
50074 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50075 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50076 use it if FMA3 is not supported.
50077 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50079 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50080 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50082 2011-10-20 Andreas Schwab <schwab@redhat.com>
50085 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50086 it would create a cycle with a link time dependency.
50088 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50090 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50092 * string/Makefile (strop-tests): Add rawmemchr.
50093 * string/test-rawmemchr.c: New file.
50095 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50096 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50097 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50098 when compiling str{,n}casecmp and when AVX is available. Hook up
50099 new optimized code in initializers.
50101 2011-10-19 Andreas Schwab <schwab@redhat.com>
50103 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50104 __feraiseexcept instead of feraiseexcept.
50106 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50108 * math/math_private.h: Define defaults for libc_fetestexcept and
50110 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50111 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50113 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50114 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50115 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50116 libc_fetestexcept and libc_feupdateenv.
50118 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50119 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50120 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50121 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50122 libc_feholdexcept_setround.
50124 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50125 Add s_nearbyint-c and s_nearbyintf-c.
50126 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50127 nearbyintf inlines.
50128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50129 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50130 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50131 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50133 * math/math_private.h: Define defaults for libc_fegetround,
50134 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50135 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50136 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50137 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50138 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50139 standard functions.
50140 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50141 Remove comments and hacks for old compiler versions.
50142 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50143 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50144 libc_feholdexceptl.
50146 2011-10-18 Andreas Schwab <schwab@redhat.com>
50148 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50149 (__feraiseexcept_renamed): Add __NTH.
50150 (feraiseexcept): Add __NTH. Rename local variables to fix
50151 namespace violations.
50153 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50155 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50157 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50159 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50160 recently added interfaces.
50161 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50163 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50164 about macro parameter expansion.
50166 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50167 __NO_MATH_INLINES is defined. Cleanups.
50169 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50170 and __floorf is target has SSE4.1.
50171 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50172 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50173 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50174 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50176 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50178 (floorf): Likewise.
50180 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50182 2011-10-17 Andreas Schwab <schwab@redhat.com>
50184 * misc/sys/cdefs.h: Fix last change.
50186 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50189 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50191 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50193 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50194 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50195 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50196 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50197 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50199 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50200 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50201 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50202 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50203 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50204 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50205 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50206 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50207 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50208 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50209 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50210 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50211 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50212 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50214 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50216 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50217 ceil, ceilf, floor, floorf.
50219 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50220 Perform IRELATIVE relocations last.
50222 * elf/do-rel.h: Add another parameter nrelative, replacing the
50223 local variable with the same name. Change name of the function
50224 to end in Rel or Rela (uppercase).
50225 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50226 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50227 elf_dynamic_do_##reloc function.
50229 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50231 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50232 is sufficient, at least on modern CPUs.
50234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50236 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50237 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50239 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50241 * math/bits/math-finite.h: Add entries for exp.
50242 * math/e_expl.c: Add __*_finite alias.
50243 * sysdeps/i386/fpu/e_exp.S: Likewise.
50244 * sysdeps/i386/fpu/e_expf.S: Likewise.
50245 * sysdeps/i386/fpu/e_expl.c: Likewise.
50246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50247 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50248 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50249 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50250 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50254 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50255 is sufficient, at least on modern CPUs.
50257 * ctype/ctype-info.c (__ctype_init): Define.
50258 * include/ctype.h (__ctype_init): Declare.
50259 (__ctype_b_loc): The variable is always initialized.
50260 (__ctype_toupper_loc): Likewise.
50261 (__ctype_tolower_loc): Likewise.
50262 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50263 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50265 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50267 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50269 * configure.in: Also look in $cxxmachine/include for C++ system
50272 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50274 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50275 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50276 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50277 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50278 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50279 (USE_AS_WMEMCMP): New macro.
50281 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50282 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50283 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50284 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50286 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50287 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50288 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50289 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50290 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50291 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50292 (USE_AS_WMEMCMP): New macro.
50293 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50294 * sysdeps/string/test-memcmp.c: Update.
50295 Fix simple_wmemcmp.
50297 * wcsmbs/wmemcmp.c: Update.
50298 (WMEMCMP): New macro.
50301 2011-10-12 Andreas Jaeger <aj@suse.de>
50304 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50306 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50308 * libio/iofwide.c (do_length): Avoid warning.
50310 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50312 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50314 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50316 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50317 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50318 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50319 * sysdeps/i386/i686/fpu/e_log.S: New file.
50320 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50321 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50323 * ctype/ctype.h: Add support for inlined isXXX functions when
50324 compiling C++ code.
50326 2011-10-14 Andreas Schwab <schwab@redhat.com>
50328 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50330 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50332 2011-10-13 Roland McGrath <roland@hack.frob.com>
50335 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50337 2011-10-13 Andreas Schwab <schwab@redhat.com>
50339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50340 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50343 * sysdeps/x86_64/memrchr.S: Check for zero size.
50345 * string/stratcliff.c: Add memrchr tests.
50347 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50349 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50350 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50351 rawmemchr-sse2 rawmemchr-sse2-bsf.
50352 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50353 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50354 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50355 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50356 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50357 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50358 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50359 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50360 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50361 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50362 * string/memrchr.c (MEMRCHR): New macro.
50364 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50366 Add integration with gcc's -ffinite-math-only and optimize wrapper
50368 * Versions.def: Define GLIBC_2.15 version for libm.
50369 * math/Makefile (headers): Add bits/math-finite.h.
50370 * math/bits/math-finite.h: New file.
50371 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50372 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50373 * math/e_acoshl.c: Add __*_finite alias.
50374 * math/e_acosl.c: Likewise.
50375 * math/e_asinl.c: Likewise.
50376 * math/e_atan2l.c: Likewise.
50377 * math/e_atanhl.c: Likewise.
50378 * math/e_coshl.c: Likewise.
50379 * math/e_exp10.c: Likewise.
50380 * math/e_exp10f.c: Likewise.
50381 * math/e_exp10l.c: Likewise.
50382 * math/e_exp2l.c: Likewise.
50383 * math/e_fmodl.c: Likewise.
50384 * math/e_gammal_r.c: Likewise.
50385 * math/e_hypotl.c: Likewise.
50386 * math/e_j0l.c: Likewise.
50387 * math/e_j1l.c: Likewise.
50388 * math/e_jnl.c: Likewise.
50389 * math/e_lgammal_r.c: Likewise.
50390 * math/e_log10l.c: Likewise.
50391 * math/e_log2l.c: Likewise.
50392 * math/e_logl.c: Likewise.
50393 * math/e_powl.c: Likewise.
50394 * math/e_sinhl.c: Likewise.
50395 * math/e_sqrtl.c: Likewise.
50396 * math/e_scalb.c: Completely rewritten and optimized.
50397 * math/e_scalbf.c: Likewise.
50398 * math/e_scalbl.c: Likewise.
50399 * math/w_acos.c: Likewise.
50400 * math/w_acosf.c: Likewise.
50401 * math/w_acosl.c: Likewise.
50402 * math/w_acosh.c: Likewise.
50403 * math/w_acoshf.c: Likewise.
50404 * math/w_acoshl.c: Likewise.
50405 * math/w_asin.c: Likewise.
50406 * math/w_asinf.c: Likewise.
50407 * math/w_asinl.c: Likewise.
50408 * math/w_atan2.c: Likewise.
50409 * math/w_atan2f.c: Likewise.
50410 * math/w_atan2l.c: Likewise.
50411 * math/w_atanh.c: Likewise.
50412 * math/w_atanhf.c: Likewise.
50413 * math/w_atanhl.c: Likewise.
50414 * math/w_exp10.c: Likewise.
50415 * math/w_exp10f.c: Likewise.
50416 * math/w_exp10l.c: Likewise.
50417 * math/w_fmod.c: Likewise.
50418 * math/w_fmodf.c: Likewise.
50419 * math/w_fmodl.c: Likewise.
50420 * math/w_j0.c: Likewise.
50421 * math/w_j0f.c: Likewise.
50422 * math/w_j0l.c: Likewise.
50423 * math/w_j1.c: Likewise.
50424 * math/w_j1f.c: Likewise.
50425 * math/w_j1l.c: Likewise.
50426 * math/w_jn.c: Likewise.
50427 * math/w_jnf.c: Likewise.
50428 * math/w_log.c: Likewise.
50429 * math/w_logf.c: Likewise.
50430 * math/w_logl.c: Likewise.
50431 * math/w_log10.c: Likewise.
50432 * math/w_log10f.c: Likewise.
50433 * math/w_log10l.c: Likewise.
50434 * math/w_log2.c: Likewise.
50435 * math/w_log2f.c: Likewise.
50436 * math/w_log2l.c: Likewise.
50437 * math/w_pow.c: Likewise.
50438 * math/w_powf.c: Likewise.
50439 * math/w_powl.c: Likewise.
50440 * math/w_remainder.c: Likewise.
50441 * math/w_remainderf.c: Likewise.
50442 * math/w_remainderl.c: Likewise.
50443 * math/w_scalb.c: Likewise.
50444 * math/w_scalbf.c: Likewise.
50445 * math/w_scalbl.c: Likewise.
50446 * math/w_sqrt.c: Likewise.
50447 * math/w_sqrtf.c: Likewise.
50448 * math/w_sqrtl.c: Likewise.
50449 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50450 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50452 * math/math_private.h: Declare __kernel_standard_f.
50453 * math/w_cosh.c: Remove cruft and optimize a bit.
50454 * math/w_coshf.c: Likewise.
50455 * math/w_coshl.c: Likewise.
50456 * math/w_exp2.c: Likewise.
50457 * math/w_exp2f.c: Likewise.
50458 * math/w_exp2l.c: Likewise.
50459 * math/w_hypot.c: Likewise.
50460 * math/w_hypotf.c: Likewise.
50461 * math/w_hypotl.c: Likewise.
50462 * math/w_lgamma.c: Likewise.
50463 * math/w_lgamma_r.c: Likewise.
50464 * math/w_lgammaf.c: Likewise.
50465 * math/w_lgammaf_r.c: Likewise.
50466 * math/w_lgammal.c: Likewise.
50467 * math/w_lgammal_r.c: Likewise.
50468 * math/w_sinh.c: Likewise.
50469 * math/w_sinhf.c: Likewise.
50470 * math/w_sinhl.c: Likewise.
50471 * math/w_tgamma.c: Likewise.
50472 * math/w_tgammaf.c: Likewise.
50473 * math/w_tgammal.c: Likewise.
50474 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50475 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50476 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50477 Minor optimizations. Pretty printing. Remove cruft.
50478 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50479 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50480 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50481 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50482 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50483 * sysdeps/i386/fpu/e_asin.S: Likewise.
50484 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50485 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50486 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50487 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50488 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50489 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50490 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50491 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50492 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50493 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50494 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50495 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50496 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50497 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50498 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50499 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50500 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50501 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50502 * sysdeps/i386/fpu/e_log.S: Likewise.
50503 * sysdeps/i386/fpu/e_log10.S: Likewise.
50504 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50505 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50506 * sysdeps/i386/fpu/e_log2.S: Likewise.
50507 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50508 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50509 * sysdeps/i386/fpu/e_logf.S: Likewise.
50510 * sysdeps/i386/fpu/e_logl.S: Likewise.
50511 * sysdeps/i386/fpu/e_pow.S: Likewise.
50512 * sysdeps/i386/fpu/e_powf.S: Likewise.
50513 * sysdeps/i386/fpu/e_powl.S: Likewise.
50514 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50515 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50516 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50517 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50518 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50519 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50520 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50521 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50522 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50523 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50526 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50528 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50529 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50530 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50531 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50532 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50533 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50534 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50536 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50537 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50538 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50539 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50540 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50541 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50543 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50544 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50545 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50546 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50547 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50548 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50549 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50550 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50551 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50552 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50554 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50557 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50558 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50559 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50560 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50561 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50562 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50563 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50564 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50600 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50603 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50606 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50608 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50609 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50611 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50614 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50615 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50616 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50617 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50618 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50619 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50620 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50621 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50622 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50623 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50624 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50625 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50626 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50627 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50628 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50629 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50631 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50632 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50633 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50634 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50635 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50636 (__isnanf): Likewise.
50637 (__isinf_ns): Likewise.
50638 (__isinf_nsf): Likewise.
50639 (__finite): Likewise.
50640 (__finitef): Likewise.
50641 (__ieee754_sqrt): Define as macro.
50642 (__ieee754_sqrtf): Define as macro.
50643 (__ieee754_sqrtl): Define as macro.
50644 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50646 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50647 __FINITE_MATH_ONLY__ consistent.
50648 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50650 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50652 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50655 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50657 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50659 * po/ja.po: Update from translation team.
50661 2011-10-08 Roland McGrath <roland@hack.frob.com>
50663 * locale/programs/locarchive.c (prepare_address_space): New function.
50664 (create_archive, enlarge_archive, open_archive): Use it.
50666 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50667 inside [SHARED], where it is used.
50669 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50671 * nss/getent.c (netgroup_keys): Remove unused variable.
50672 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50674 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50676 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50677 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50679 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50680 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50681 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50682 * math/Makefile (libm-calls): Add s_isinf_ns.
50683 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50684 * math/multc3.c: Likewise.
50685 * math/s_casin.c: Likewise.
50686 * math/s_casinf.c: Likewise.
50687 * math/s_casinl.c: Likewise.
50688 * math/s_ccos.c: Likewise.
50689 * math/s_ccosf.c: Likewise.
50690 * math/s_ccosl.c: Likewise.
50691 * math/s_ctan.c: Likewise.
50692 * math/s_ctanf.c: Likewise.
50693 * math/s_ctanh.c: Likewise.
50694 * math/s_ctanhf.c: Likewise.
50695 * math/s_ctanhl.c: Likewise.
50696 * math/s_ctanl.c: Likewise.
50697 * math/w_fmod.c: Likewise.
50698 * math/w_fmodf.c: Likewise.
50699 * math/w_fmodl.c: Likewise.
50700 * math/w_remainder.c: Likewise.
50701 * math/w_remainderf.c: Likewise.
50702 * math/w_remainderl.c: Likewise.
50703 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50704 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50705 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50707 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50708 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50709 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50710 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50712 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50714 * stdio-common/printf_fphex.c: Likewise.
50715 * stdio-common/printf_size.c: Likewise.
50717 * math/e_exp10.c: Include math_private.h using <...> not "...".
50718 * math/e_exp10f.c: Likewise.
50719 * math/e_exp10l.c: Likewise.
50720 * math/e_exp2l.c: Likewise.
50721 * math/e_j0l.c: Likewise.
50722 * math/e_j1l.c: Likewise.
50723 * math/e_jnl.c: Likewise.
50724 * math/e_lgammal_r.c: Likewise.
50725 * math/e_rem_pio2l.c: Likewise.
50726 * math/e_scalb.c: Likewise.
50727 * math/e_scalbf.c: Likewise.
50728 * math/e_scalbl.c: Likewise.
50729 * math/k_cosl.c: Likewise.
50730 * math/k_sinl.c: Likewise.
50731 * math/k_tanl.c: Likewise.
50732 * math/s_cacoshf.c: Likewise.
50733 * math/s_catan.c: Likewise.
50734 * math/s_catanf.c: Likewise.
50735 * math/s_catanh.c: Likewise.
50736 * math/s_catanhf.c: Likewise.
50737 * math/s_catanhl.c: Likewise.
50738 * math/s_catanl.c: Likewise.
50739 * math/s_ccosh.c: Likewise.
50740 * math/s_ccoshf.c: Likewise.
50741 * math/s_ccoshl.c: Likewise.
50742 * math/s_cexp.c: Likewise.
50743 * math/s_cexpf.c: Likewise.
50744 * math/s_cexpl.c: Likewise.
50745 * math/s_clog.c: Likewise.
50746 * math/s_clog10.c: Likewise.
50747 * math/s_clog10f.c: Likewise.
50748 * math/s_clog10l.c: Likewise.
50749 * math/s_clogf.c: Likewise.
50750 * math/s_clogl.c: Likewise.
50751 * math/s_csin.c: Likewise.
50752 * math/s_csinf.c: Likewise.
50753 * math/s_csinh.c: Likewise.
50754 * math/s_csinhf.c: Likewise.
50755 * math/s_csinhl.c: Likewise.
50756 * math/s_csinl.c: Likewise.
50757 * math/s_csqrt.c: Likewise.
50758 * math/s_csqrtf.c: Likewise.
50759 * math/s_csqrtl.c: Likewise.
50760 * math/s_ctan.c: Likewise.
50761 * math/s_ctanf.c: Likewise.
50762 * math/s_ctanh.c: Likewise.
50763 * math/s_ctanhf.c: Likewise.
50764 * math/s_ctanhl.c: Likewise.
50765 * math/s_ctanl.c: Likewise.
50766 * math/s_ldexp.c: Likewise.
50767 * math/s_ldexpf.c: Likewise.
50768 * math/s_ldexpl.c: Likewise.
50769 * math/s_significand.c: Likewise.
50770 * math/s_significandf.c: Likewise.
50771 * math/s_significandl.c: Likewise.
50772 * math/w_acos.c: Likewise.
50773 * math/w_acosf.c: Likewise.
50774 * math/w_acosh.c: Likewise.
50775 * math/w_acoshf.c: Likewise.
50776 * math/w_acoshl.c: Likewise.
50777 * math/w_acosl.c: Likewise.
50778 * math/w_asin.c: Likewise.
50779 * math/w_asinf.c: Likewise.
50780 * math/w_asinl.c: Likewise.
50781 * math/w_atan2.c: Likewise.
50782 * math/w_atan2f.c: Likewise.
50783 * math/w_atan2l.c: Likewise.
50784 * math/w_atanh.c: Likewise.
50785 * math/w_atanhf.c: Likewise.
50786 * math/w_atanhl.c: Likewise.
50787 * math/w_cosh.c: Likewise.
50788 * math/w_coshf.c: Likewise.
50789 * math/w_coshl.c: Likewise.
50790 * math/w_dremf.c: Likewise.
50791 * math/w_exp10.c: Likewise.
50792 * math/w_exp10f.c: Likewise.
50793 * math/w_exp10l.c: Likewise.
50794 * math/w_exp2.c: Likewise.
50795 * math/w_exp2f.c: Likewise.
50796 * math/w_fmod.c: Likewise.
50797 * math/w_fmodf.c: Likewise.
50798 * math/w_fmodl.c: Likewise.
50799 * math/w_hypot.c: Likewise.
50800 * math/w_hypotf.c: Likewise.
50801 * math/w_hypotl.c: Likewise.
50802 * math/w_j0.c: Likewise.
50803 * math/w_j0f.c: Likewise.
50804 * math/w_j0l.c: Likewise.
50805 * math/w_j1.c: Likewise.
50806 * math/w_j1f.c: Likewise.
50807 * math/w_j1l.c: Likewise.
50808 * math/w_jn.c: Likewise.
50809 * math/w_jnf.c: Likewise.
50810 * math/w_jnl.c: Likewise.
50811 * math/w_lgamma.c: Likewise.
50812 * math/w_lgamma_r.c: Likewise.
50813 * math/w_lgammaf.c: Likewise.
50814 * math/w_lgammaf_r.c: Likewise.
50815 * math/w_lgammal.c: Likewise.
50816 * math/w_lgammal_r.c: Likewise.
50817 * math/w_log.c: Likewise.
50818 * math/w_log10.c: Likewise.
50819 * math/w_log10f.c: Likewise.
50820 * math/w_log10l.c: Likewise.
50821 * math/w_log2.c: Likewise.
50822 * math/w_log2f.c: Likewise.
50823 * math/w_log2l.c: Likewise.
50824 * math/w_logf.c: Likewise.
50825 * math/w_logl.c: Likewise.
50826 * math/w_pow.c: Likewise.
50827 * math/w_powf.c: Likewise.
50828 * math/w_powl.c: Likewise.
50829 * math/w_remainder.c: Likewise.
50830 * math/w_remainderf.c: Likewise.
50831 * math/w_remainderl.c: Likewise.
50832 * math/w_scalb.c: Likewise.
50833 * math/w_scalbf.c: Likewise.
50834 * math/w_scalbl.c: Likewise.
50835 * math/w_sinh.c: Likewise.
50836 * math/w_sinhf.c: Likewise.
50837 * math/w_sinhl.c: Likewise.
50838 * math/w_sqrt.c: Likewise.
50839 * math/w_sqrtf.c: Likewise.
50840 * math/w_sqrtl.c: Likewise.
50841 * math/w_tgamma.c: Likewise.
50842 * math/w_tgammaf.c: Likewise.
50843 * math/w_tgammal.c: Likewise.
50845 * po/ja.po: Update from translation team.
50847 2011-09-29 Andreas Jaeger <aj@suse.de>
50850 * sunrpc/netname.c (netname2host): Fix logic.
50854 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50856 * math/w_remainder.c (__remainder): Likewise.
50857 * math/w_remainderf.c (__remainderf): Likewise.
50858 * math/libm-test.inc (remainder_test): Add test cases.
50860 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50862 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50865 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50867 * string/test-memcmp.c: Avoid unncessary #defines.
50868 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50870 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50872 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50873 Use new sse2 version for core i3 - i7 as it's faster
50874 than sse42 version.
50875 (bit_Prefer_PMINUB_for_stringop): New.
50876 * sysdeps/x86_64/rawmemchr.S: Update.
50877 Replace with faster SSE2 version.
50878 * sysdeps/x86_64/memrchr.S: New file.
50879 * sysdeps/x86_64/memchr.S: Update.
50880 Replace with faster SSE2 version.
50882 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50884 * elf/dl-load.c (lose): Add cast to avoid warning.
50886 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50888 * po/ca.po: Update from translation team.
50890 * inet/getnetgrent_r.c: Hook up nscd.
50891 * nscd/Makefile (routines): Add nscd_netgroup.
50892 (nscd-modules): Add netgroupcache.
50893 (CFLAGS-netgroupcache.c): Define.
50894 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50895 (cache_search): Add const to second parameter.
50896 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50898 (dbs): Add netgrdb entry.
50899 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50900 (verify_persistent_db): Handle netgrdb.
50901 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50902 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50904 (netgroup_response_header): Define.
50905 (innetgroup_response_header): Define.
50906 (datahead): Add netgroup_response_header and innetgroup_response_header
50908 * nscd/nscd.conf: Add entries for netgroup cache.
50909 * nscd/nscd.h (dbtype): Add netgrdb.
50910 (_PATH_NSCD_NETGROUP_DB): Define.
50911 (netgroup_iov_disabled): Declare.
50912 (xmalloc, xcalloc, xrealloc): Move declarations here.
50913 (cache_search): Adjust prototype.
50914 Add netgroup-related prototypes.
50915 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50916 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50917 (__nscd_innetgr): Declare.
50918 * nscd/selinux.c (perms): Use access_vector_t as element type and
50919 add netgroup-related initializers.
50920 * nscd/netgroupcache.c: New file.
50921 * nscd/nscd_netgroup.c: New file.
50922 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50923 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50924 For four parameters use innetgr.
50925 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50926 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50927 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50928 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50930 * nscd/connections.c (register_traced_file): Don't register file
50931 for disabled databases.
50933 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50935 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50937 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50938 from tree and freeing node.
50940 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50942 * nss/nsswitch.c (__nss_database_lookup): Handle
50943 nss_parse_service_list out of memory case.
50945 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50947 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50948 out of memory case.
50950 2011-10-04 Andreas Schwab <schwab@redhat.com>
50952 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50953 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50955 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50956 elf_machine_rela, elf_machine_lazy_rel.
50957 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50958 (ELF_DYNAMIC_DO_REL): Likewise.
50959 (ELF_DYNAMIC_DO_RELA): Likewise.
50960 (ELF_DYNAMIC_RELOCATE): Likewise.
50961 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50962 to ELF_DYNAMIC_DO_REL.
50963 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50964 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50965 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50968 skip_ifunc, don't call ifunc function if non-zero.
50969 (elf_machine_rela): Likewise.
50970 (elf_machine_lazy_rel): Likewise.
50971 (elf_machine_lazy_rela): Likewise.
50972 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50973 (elf_machine_lazy_rel): Likewise.
50974 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50976 (elf_machine_lazy_rel): Likewise.
50977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50979 (elf_machine_lazy_rel): Likewise.
50980 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50981 (elf_machine_lazy_rel): Likewise.
50982 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50983 (elf_machine_lazy_rel): Likewise.
50984 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50985 (elf_machine_lazy_rel): Likewise.
50986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50987 (elf_machine_lazy_rel): Likewise.
50988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50989 (elf_machine_lazy_rel): Likewise.
50990 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50991 (elf_machine_lazy_rel): Likewise.
50993 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50995 * nss/nss_files/files-init.c (_nss_files_init): Use static
50996 initialization for all the *_traced_file variables.
50998 2011-09-28 Andreas Schwab <schwab@redhat.com>
51000 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51002 2011-09-27 Roland McGrath <roland@hack.frob.com>
51005 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51007 2011-09-27 Andreas Schwab <schwab@redhat.com>
51009 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51010 Reread the line before reparsing it.
51012 2011-09-26 Andreas Schwab <schwab@redhat.com>
51014 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51016 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51017 Maxim Kuvyrkov <maxim@codesourcery.com>
51018 Joseph Myers <joseph@codesourcery.com>
51020 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51021 if needed for __stack_chk_guard.
51023 2011-09-19 Roland McGrath <roland@hack.frob.com>
51025 * sysdeps/posix/spawni.c (script_execute): Always define it.
51026 It will be optimized away if unused.
51027 (maybe_script_execute): New function.
51028 (__spawni): Call it.
51030 * Makerules: Don't include tls.make.
51031 (config-tls): Always set to thread.
51032 * tls.make.c: File removed.
51034 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51036 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51037 * config.make.in (CPPFLAGS-config): New substituted variable.
51039 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51041 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51044 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51045 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51047 2011-09-15 Roland McGrath <roland@hack.frob.com>
51049 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51050 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51051 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51052 (CALL_FAIL): Likewise.
51053 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51054 (CALL_FAIL): Macro removed.
51055 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51057 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51059 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51060 for __FINITE_MATH_ONLY__ == 1.
51062 2011-09-15 Andreas Schwab <schwab@redhat.com>
51064 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51065 __ieee754_sqrt instead of sqrt.
51066 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51067 __ieee754_sqrtf instead of sqrtf.
51068 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51069 __floorf instead of floorf.
51070 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51071 __floorf, __truncf instead of floorf, truncf.
51073 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51075 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51077 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51078 __extern_always_inline.
51079 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51082 2011-09-14 Andreas Schwab <schwab@redhat.com>
51084 * elf/rtld.c (dl_main): Also relocate in dependency order when
51085 doing symbol dependency testing.
51087 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51089 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51090 Always define `refsym'.
51092 2011-09-13 Andreas Schwab <schwab@redhat.com>
51094 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51095 (__FD_ELT): Renamed from __FDELT.
51096 * misc/bits/select2.h (__FD_ELT): Likewise.
51097 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51098 __FD_MASK instead of __FDELT, __FDMASK.
51099 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51101 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51104 * elf/Makefile (gen-ldd): Fix pattern.
51106 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51107 (init_tls): Likewise.
51109 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51113 2011-09-12 Andreas Schwab <schwab@redhat.com>
51115 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51116 `struct cmsghdr *' instead of `void *'.
51117 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51120 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51122 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51124 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51125 ldd_rewrite_script.
51127 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51129 * configure.in: Remove --with-tls option.
51130 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51131 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51132 out in case it is missing.
51133 * sysdeps/ia64/elf/configure.in: Likewise.
51134 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51135 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51136 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51137 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51138 * sysdeps/sh/elf/configure.in: Likewise.
51139 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51140 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51141 * sysdeps/x86_64/elf/configure.in: Likewise.
51142 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51143 * sysdeps/mach/hurd/tls.h: Likewise.
51146 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51149 * configure.in: Fix use of AC_INIT.
51151 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51153 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51155 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51157 * malloc/hooks.c: Likewise.
51160 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51161 variables statically.
51162 (narenas): Initialize.
51163 (list_lock): Initialize.
51164 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51165 initializtion of main_arena and list_lock. Small cleanups.
51166 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51167 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51168 Add initializers to main_arena and mp_.
51169 (malloc_state): Remove pagesize member. Change all users to use
51172 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51173 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51174 is always initialized.
51176 * malloc/malloc.c: Removed unused configurations and dead code.
51177 * malloc/arena.c: Likewise.
51178 * malloc/hooks.c: Likewise.
51179 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51181 * include/tls.h: Removed. USE___THREAD must always be defined.
51182 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51183 * elf/dl-libc.c: Likewise.
51184 * elf/dl-tsd.c: Likewise.
51185 * include/errno.h: Likewise.
51186 * include/netdb.h: Likewise.
51187 * include/resolv.h: Likewise.
51188 * inet/herrno-loc.c: Likewise.
51189 * inet/herrno.c: Likewise.
51190 * malloc/arena.c: Likewise.
51191 * malloc/hooks.c: Likewise.
51192 * malloc/malloc.c: Likewise.
51193 * resolv/res-state.c: Likewise.
51194 * resolv/res_libc.c: Likewise.
51195 * sysdeps/i386/dl-machine.h: Likewise.
51196 * sysdeps/ia64/dl-machine.h: Likewise.
51197 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51198 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51199 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51200 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51201 * sysdeps/sh/dl-machine.h: Likewise.
51202 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51203 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51204 * sysdeps/unix/i386/sysdep.S: Likewise.
51205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51206 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51208 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51210 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51211 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51214 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51216 * sysdeps/x86_64/dl-machine.h: Likewise.
51217 * tls.make.c: Likewise.
51219 * configure.in: Remove --with-__thread option. Make tests for
51220 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51221 tls_model attribute fail if no support is available. Remove
51223 * Makeconfig: Adjust for dropped configure option. All features are
51225 * Makerules: Likewise.
51226 * Versions.def: Likewise.
51227 * argp/argp-fmtstream.c: Likewise.
51228 * argp/argp-fmtstream.h: Likewise.
51229 * argp/argp-help.c: Likewise.
51230 * assert/assert.c: Likewise.
51231 * config.h.in: Likewise.
51232 * config.make.in: Likewise.
51233 * configure: Likewise.
51234 * configure.in: Likewise.
51235 * csu/Versions: Likewise.
51236 * csu/init.c: Likewise.
51237 * elf/tst-audit2.c: Likewise.
51238 * elf/tst-tls10.c: Likewise.
51239 * elf/tst-tls10.h: Likewise.
51240 * elf/tst-tls11.c: Likewise.
51241 * elf/tst-tls12.c: Likewise.
51242 * elf/tst-tls14.c: Likewise.
51243 * elf/tst-tlsmod11.c: Likewise.
51244 * elf/tst-tlsmod12.c: Likewise.
51245 * elf/tst-tlsmod13.c: Likewise.
51246 * elf/tst-tlsmod13a.c: Likewise.
51247 * elf/tst-tlsmod14a.c: Likewise.
51248 * elf/tst-tlsmod15b.c: Likewise.
51249 * elf/tst-tlsmod16a.c: Likewise.
51250 * elf/tst-tlsmod16b.c: Likewise.
51251 * elf/tst-tlsmod7.c: Likewise.
51252 * elf/tst-tlsmod8.c: Likewise.
51253 * elf/tst-tlsmod9.c: Likewise.
51254 * gmon/gmon.c: Likewise.
51255 * grp/fgetgrent_r.c: Likewise.
51256 * grp/putgrent.c: Likewise.
51257 * hurd/fopenport.c: Likewise.
51258 * include/libc-symbols.h: Likewise.
51259 * include/tls.h: Likewise.
51260 * intl/gettextP.h: Likewise.
51261 * intl/loadinfo.h: Likewise.
51262 * locale/global-locale.c: Likewise.
51263 * locale/localeinfo.h: Likewise.
51264 * mach/devstream.c: Likewise.
51265 * malloc/arena.c: Likewise.
51266 * malloc/set-freeres.c: Likewise.
51267 * misc/err.c: Likewise.
51268 * misc/getttyent.c: Likewise.
51269 * misc/mntent_r.c: Likewise.
51270 * posix/getopt.c: Likewise.
51271 * posix/wordexp.c: Likewise.
51272 * pwd/fgetpwent_r.c: Likewise.
51273 * resolv/Versions: Likewise.
51274 * resolv/res_hconf.c: Likewise.
51275 * shadow/fgetspent_r.c: Likewise.
51276 * shadow/putspent.c: Likewise.
51277 * stdio-common/printf_fphex.c: Likewise.
51278 * stdio-common/tmpfile.c: Likewise.
51279 * stdlib/abort.c: Likewise.
51280 * stdlib/fmtmsg.c: Likewise.
51281 * sunrpc/auth_unix.c: Likewise.
51282 * sunrpc/clnt_perr.c: Likewise.
51283 * sunrpc/clnt_tcp.c: Likewise.
51284 * sunrpc/clnt_udp.c: Likewise.
51285 * sunrpc/clnt_unix.c: Likewise.
51286 * sunrpc/openchild.c: Likewise.
51287 * sunrpc/svc_simple.c: Likewise.
51288 * sunrpc/svc_tcp.c: Likewise.
51289 * sunrpc/svc_udp.c: Likewise.
51290 * sunrpc/svc_unix.c: Likewise.
51291 * sunrpc/xdr.c: Likewise.
51292 * sunrpc/xdr_array.c: Likewise.
51293 * sunrpc/xdr_rec.c: Likewise.
51294 * sunrpc/xdr_ref.c: Likewise.
51295 * sunrpc/xdr_stdio.c: Likewise.
51297 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51299 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51301 2011-07-03 Andreas Jaeger <aj@suse.de>
51303 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51304 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51305 regenerate with gen-libm-tests.pl.
51307 2010-05-12 Petr Baudis <pasky@suse.cz>
51310 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51311 around j0() zero points by switching to j1().
51312 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51313 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51315 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51317 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51319 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51321 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51324 Patch in part by Pavel Roskin <proski@gnu.org>.
51327 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51329 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51330 Free memory block if necessary.
51333 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51334 be NULL. Don't lock in this case.
51336 2011-09-09 Roland McGrath <roland@hack.frob.com>
51338 * elf/elf.h (ELFOSABI_GNU): New macro.
51339 (ELFOSABI_LINUX): Define to that.
51341 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51343 * string/strncat.c (strncat): Undef the symbol in case it has been
51344 defined in bits/string.h.
51346 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51348 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51350 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51353 2011-08-17 Andreas Jaeger <aj@suse.de>
51355 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51357 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51358 Ian Lance Taylor <iant@google.com>
51360 * math/libm-test.inc (lround_test): New testcase.
51361 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51363 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51365 * Makefile: Remove support for automatic cvs check-ins.
51366 * Makerules: Likewise.
51367 * config.make.in: Likewise.
51368 * configure.in: Likewise.
51369 * intl/Makefile: Likewise.
51370 * locale/Makefile: Likewise.
51371 * po/Makefile: Likewise.
51372 * posix/Makefile: Likewise.
51373 * sysdeps/gnu/Makefile: Likewise.
51374 * sysdeps/mach/hurd/Makefile: Likewise.
51375 * sysdeps/sparc/sparc32/Makefile: Likewise.
51378 * posix/Makefile (bug-regex32-ENV): Define.
51379 Patch by John Stanley <jpsinthemix@verizon.net>.
51381 * misc/Makefile (headers): Add bits/select2.h.
51382 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51383 * misc/bits/select2.h: New file.
51384 * include/bits/select2.h: New file.
51385 * debug/Makefile (routines): Add fdelt_chk.
51386 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51387 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51389 * debug/fdelt_chk.c: New file.
51391 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51392 * wcsmbs/test-wmemcmp.c: Likewise.
51393 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51394 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51396 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51398 * string/Makefile (strop-tests): Add memcmp.
51399 * string/test-wmemcmp.c: New file.
51400 * string/test-memcmp.c: Add wmemcmp support.
51402 2011-09-08 Roland McGrath <roland@hack.frob.com>
51405 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51408 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51409 garbage value in a __mach_port_mod_refs call in the cases of the
51410 task-self and thread-self ports.
51412 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51414 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51416 2011-09-08 Andreas Schwab <schwab@redhat.com>
51418 * elf/dl-load.c (lose): Check for non-null L.
51420 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51422 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51424 * elf/dl-libc.c (dlerror_run): Pass back error code from
51428 * elf/dl-load.c (lose): Free l_origin if it is valid.
51430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51432 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51433 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51434 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51435 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51436 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51437 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51439 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51441 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51442 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51443 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51444 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51445 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51446 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51447 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51448 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51449 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51450 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51452 2011-08-15 Alan Modra <amodra@gmail.com>
51455 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51456 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51457 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51458 ppc_mcount to static-only-routines.
51459 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51461 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51462 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51464 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51466 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51467 for finite and infinity parameters.
51469 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51472 and add nop instructions for throughput optimization.
51473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51475 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51477 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51478 aligned copy for power7 with vector-scalar instructions.
51479 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51481 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51486 2011-09-07 Andreas Schwab <schwab@redhat.com>
51489 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51492 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51494 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51495 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51496 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51497 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51500 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51502 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51503 Forgot to demangle the pointer.
51505 * sysdeps/i386/sysdep.h: Define atom_text_section.
51506 * sysdeps/x86_64/sysdep.h: Likewise.
51507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51508 section with atom_text_section.
51509 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51511 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51513 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51515 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51516 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51517 already be defined. Change to take two parameters and don't assign
51518 result to variable. Adjust all users.
51519 Define INTERNAL_GETTIME if not already defined.
51520 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51522 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51523 HAVE_CLOCK_GETTIME_VSYSCALL.
51524 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51526 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51527 gettimeofday vsyscall, just use time.
51529 2011-09-06 Andreas Schwab <schwab@redhat.com>
51531 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51534 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51536 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51540 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51541 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51542 syscall if possible.
51544 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51546 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51547 e_ident. Don't pass to find_mapsXX.
51548 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51550 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51553 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51554 * sysdeps/x86_64/multiarch/strchr.S: Update.
51555 Check bit_slow_BSF bit.
51556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51557 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51558 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51563 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51565 (tryshell): Define.
51566 (__spawni): Change last parameter to be flag. Test
51567 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51568 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51569 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51570 * posix/spawni.c: Likewise.
51571 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51572 * posix/spawnp.c: Likewise. Change normal version to use
51573 SPAWN_XFLAGS_USE_PATH.
51574 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51575 SPAWN_XFLAGS_TRY_SHELL.
51578 * posix/glob.h: Remove gcc 1.x support.
51581 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51583 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51586 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51588 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51589 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51590 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51592 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51593 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51595 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51597 * sysdeps/x86_64/wcscmp.S: New file.
51599 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51600 wcscmp-c wcscmp-sse2
51601 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51602 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51603 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51604 * wcsmbs/wcscmp.c: Allow renaming.
51606 2011-09-05 David S. Miller <davem@davemloft.net>
51608 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51609 stack slot, rather than the struct return pointer slot.
51610 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51611 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51613 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51615 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51617 * po/ja.po: Update from translation team.
51620 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51621 kernel in 64-bit binaries.
51623 2011-09-01 David S. Miller <davem@davemloft.net>
51625 * elf/elf.h (HWCAP_SPARC_*): Move to..
51626 * sysdeps/sparc/sysdep.h: this new file and add new values.
51627 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51628 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51629 _DL_HWCAP_COUNT to 24.
51630 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51632 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51633 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51634 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51635 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51636 instead of magic constants.
51637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51639 2011-08-31 David S. Miller <davem@davemloft.net>
51641 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51642 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51643 Reimplement to do errno handling inline.
51644 (SYSCALL_ERROR_HANDLER): New macro.
51645 (__SYSCALL_STRING): Do not do errno handling in asm.
51646 (__CLONE_SYSCALL_STRING): Delete.
51647 (__INTERNAL_SYSCALL_STRING): Delete.
51648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51649 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51650 (PSEUDO): Reimplement to do errno handling inline.
51651 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51652 (SYSCALL_ERROR_HANDLER): New macro.
51653 (__SYSCALL_STRING): Do not do errno handling in asm.
51654 (__CLONE_SYSCALL_STRING): Delete.
51655 (__INTERNAL_SYSCALL_STRING): Delete.
51656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51657 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51659 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51660 (inline_syscall*): Add 'err' argument.
51661 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51662 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51663 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51664 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51666 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51667 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51669 2011-08-30 Andreas Schwab <schwab@redhat.com>
51671 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51673 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51675 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51678 2011-08-24 David S. Miller <davem@davemloft.net>
51680 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51682 2011-08-24 Andreas Schwab <schwab@redhat.com>
51684 * elf/Makefile: Add rules to build and run unload8 test.
51685 * elf/unload8.c: New file.
51686 * elf/unload8mod1.c: New file.
51687 * elf/unload8mod1x.c: New file.
51688 * elf/unload8mod2.c: New file.
51689 * elf/unload8mod3.c: New file.
51691 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51694 2011-08-23 David S. Miller <davem@davemloft.net>
51696 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51697 subtract stack bias.
51698 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51699 %sp not %fp in calculations.
51700 (_JMPBUF_UNWINDS_ADJ): Likewise.
51702 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51703 (aio_suspend): Call it to force an exception region around the
51704 AIO_MISC_WAIT() invocation.
51706 2011-08-23 Andreas Schwab <schwab@redhat.com>
51708 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51711 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51713 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51715 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51716 and <dl-machine.h>.
51717 (Elf64_FuncDesc): Remove.
51719 2011-08-22 David S. Miller <davem@davemloft.net>
51721 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51722 sigaltstack check, add missing cfi directives.
51723 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51724 missing cfi directives, and sigaltstack handling.
51726 2011-08-16 Andreas Schwab <schwab@redhat.com>
51729 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51730 object is seen twice.
51731 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51733 * elf/Makefile (distribute): Add tst-initorder2.c.
51734 (tests): Add tst-initorder2.
51735 (modules-names): Add tst-initorder2a tst-initorder2b
51736 tst-initorder2c tst-initorder2d. Add rules to build them.
51737 ($(objpfx)tst-initorder2.out): New rule.
51738 * elf/tst-initorder2.c: New file.
51739 * elf/tst-initorder2.exp: New file.
51741 2011-08-22 Andreas Schwab <schwab@redhat.com>
51743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51745 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51746 dependencies back to end of function.
51748 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51749 $(elfobjdir)/ld.so.
51751 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51753 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51754 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51756 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51757 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51758 of __vdso_gettimeofday.
51759 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51760 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51762 (_libc_vdso_platform_setup): Remove initialization of
51763 __vdso_gettimeofday and __vdso_time.
51765 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51767 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51768 and fgetc_unlocked.
51769 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51772 * elf/dl-open.c (add_to_global): Report additions to the global scope
51773 for LD_DEBUG=scopes.
51774 (dl_open_worker): Also print scope of newly loaded dependencies.
51775 (_dl_show_scope): Indicate if there is no scope.
51778 * stdio-common/Makefile (tests): Add bug24.
51779 * stdio-common/bug24.c: New file.
51781 2011-08-19 Andreas Jaeger <aj@suse.de>
51784 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51785 non-existant file when using close-on-exec mode.
51787 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51790 the very first instruction.
51792 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51793 the CFI state in the end.
51794 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51795 inclusion of dl-trampoline.h.
51796 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51798 2011-08-19 Andreas Schwab <schwab@redhat.com>
51800 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51801 expectations for long double.
51803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51804 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51806 2011-08-14 David S. Miller <davem@davemloft.net>
51808 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51809 artificual limit depends upon the system page size.
51811 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51813 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51814 * resolv/Makefile: Define CFLAGS-libresolv.
51816 2011-08-17 Andreas Schwab <schwab@redhat.com>
51818 * nss/makedb.c (compute_tables): Make variables used in nested
51821 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51823 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51824 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51825 if buffer was too small.
51827 * elf/pldd.c (main): Attach to all threads in the process.
51828 Rewrite /proc handling to use *at functions.
51830 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51832 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51833 specifies first scope to show.
51834 (dl_open_worker): Update callers. Move printing scope of new
51835 object to before the relocation.
51836 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51837 * sysdeps/generic/ldsodefs.h: Update declaration.
51839 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51840 string for the scope number.
51842 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51844 * nscd/servicescache.c (cache_addserv): Make sure written is always
51847 2011-08-14 Roland McGrath <roland@hack.frob.com>
51849 * sysdeps/i386/i486/bits/atomic.h
51850 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51851 statement expression, so as to suppress "set but not used" warning.
51852 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51854 * string/strncat.c (STRNCAT): Use prototype definition.
51856 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51857 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51859 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51860 (localedef-modules): Add localedef.
51861 (locale-modules): Add locale.
51863 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51864 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51865 to avoid a warning.
51867 2011-08-14 David S. Miller <davem@davemloft.net>
51869 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51870 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51872 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51874 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51875 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51876 * elf/rtld.c (dl_main): Set l_name of vDSO.
51877 Call _dl_show_scope when DL_DEBUG_SCOPES.
51878 (process_dl_debug): Recognize scopes flag and also set it for all.
51879 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51880 Declare _dl_show_scope.
51882 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51883 (do_dlopen): Pass caller_dlopen to dl_open.
51884 (__libc_dlopen_mode): Initialize caller_dlopen.
51886 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51887 of libc. Make tolower call locale-independent. Optimize a bit by
51888 using isdigit instead of isalnum.
51889 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51891 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51893 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51894 was a dependency or dynamically loaded.
51896 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51898 * intl/l10nflist.c: Allow architecture-specific pop function.
51899 * sysdeps/x86_64/l10nflist.c: New file.
51901 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51904 2011-08-10 Andreas Schwab <schwab@redhat.com>
51906 * include/dirent.h: Add libc_hidden_proto for scandirat and
51907 scandirat64. Don't declare __scandirat64.
51908 * dirent/scandirat.c: Add libc_hidden_def.
51909 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51910 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51912 2011-08-10 David S. Miller <davem@davemloft.net>
51914 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51916 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51920 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51922 * Versions.def [libc]: Add GLIBC_2.15.
51923 * dirent/Makefile (routines): Add scandirat and scandirat64.
51924 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51926 * dirent/dirent.h: Declare scandirat and scandirat64.
51927 * dirent/scandirat.c: New file.
51928 * dirent/scandirat64.c: New file.
51929 * sysdeps/wordsize-64/scandirat.c: New file.
51930 * sysdeps/wordsize-64/scandirat64.c: New file.
51931 * dirent/opendir.c: Define opendirat.
51932 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51934 * dirent/scandir64.c: Adjust for scandir.c change.
51935 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51936 __scandirat64, and __scandir_cancel_handler.
51937 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51938 additional parameter and use openat instead of open (outside of ld.so).
51939 Add new __opendir as wrapper around __opendirat.
51940 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51941 here without requiring old scandirat implementation.
51943 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51945 * dirent/scandir.c (cancel_handler): Renamed to
51946 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51947 defined. Adjust users.
51948 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51951 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51953 * string/test-string.h (IMPL): Use __STRING to expand name and then
51956 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51959 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51961 * string/Makefile: Update.
51962 (strop-tests): Append strncat.
51963 * string/test-wcscmp.c: New file.
51964 New comprehensive test for wcscmp.
51965 * string/test-strcmp.c: Update.
51966 (WIDE): New define.
51968 2011-07-22 Andreas Schwab <schwab@redhat.com>
51970 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51973 2011-07-26 Andreas Schwab <schwab@redhat.com>
51975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51976 encoding to ACE if AI_IDN.
51978 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51980 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51981 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51983 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51985 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51986 Fix overflow bug in strncat.
51987 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51989 * string/test-strncat.c: Update.
51990 Add new tests for checking overflow bugs.
51992 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51995 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51996 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51997 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51998 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51999 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52000 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52001 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52002 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52005 (USE_AS_STRCAT): Define.
52006 Add strcat and strncat support.
52007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52009 2011-07-25 Andreas Schwab <schwab@redhat.com>
52011 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52012 __n bigger than INT_MAX+1.
52013 (__strncmp_g): Likewise.
52015 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52017 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52018 * libio/stido.h: Likewise.
52020 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52025 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52026 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52027 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52028 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52029 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52032 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52035 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52037 (_dl_x86_64_save_sse): Likewise.
52039 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52043 (_dl_x86_64_save_sse): Likewise.
52045 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52047 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52049 2011-07-21 Andreas Schwab <schwab@redhat.com>
52051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52053 (_dl_x86_64_save_sse): Use correct AVX check.
52055 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52057 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52058 bug in strncpy/strncat.
52059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52061 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52063 * string/tester.c (test_strcat): Add tests for different alignments
52064 of source and destination.
52065 (test_strncat): Likewise.
52067 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52070 * posix/glob.c (glob): Check passed in values before using them in
52071 expressions to avoid some overflows.
52072 (glob_in_dir): Likewise.
52075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52076 check for AVX enablement so that we don't crash with old kernels and
52078 * elf/tst-audit4.c: Add same checks here.
52079 * elf/tst-audit6.c: Likewise.
52081 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52083 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52085 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52087 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52089 * po/cs.po: Update from translation team.
52090 * po/bg.po: Likewise.
52092 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52094 * misc/sys/cdefs.h: Add support for const attribute.
52095 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52096 to gnu_dev_{major,minor,makedev} functions.
52098 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52100 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52102 2011-07-20 Andreas Schwab <schwab@redhat.com>
52104 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52107 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52109 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52110 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52111 register in order to avoid conflicts with the soft frame pointer
52112 being held in r11 when necessary.
52113 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52114 (INTERNAL_VSYSCALL_NCS): Likewise.
52116 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52118 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52119 * elf/dl-fini.c (_dl_fini): Adjust caller.
52120 * elf/dl-close.c (_dl_close_worker): Likewise.
52121 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52123 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52125 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52126 "aux_cache->nlibs < 0".
52128 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52129 in the reload-count case.
52131 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52134 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52135 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52136 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52137 * sysdeps/x86_64/multiarch/strcat.S: New file.
52138 * sysdeps/x86_64/multiarch/strncat.S: New file.
52139 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52140 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52141 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52142 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52144 (USE_AS_STRCAT): Define.
52145 Add strcat and strncat support.
52146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52148 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52149 * string/strncat.c: Update.
52150 (USE_AS_STRNCAT): Define.
52151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52152 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52154 * sysdeps/x86_64/multiarch/init-arch.h
52155 (bit_Prefer_PMINUB_for_stringop): New.
52156 (index_Prefer_PMINUB_for_stringop): Likewise.
52157 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52158 bit_Prefer_PMINUB_for_stringop.
52160 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52162 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52164 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52165 of casting of buffer.
52166 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52167 buffer32 and buffer64.
52168 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52169 writes instead of casting of buffer.
52170 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52172 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52175 2011-07-19 Andreas Schwab <schwab@redhat.com>
52177 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52179 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52181 * nscd/nscd.c (termination_handler): Don't do anything for a database
52182 if it has not yet been initialized.
52184 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52186 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52188 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52190 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52192 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52194 * po/nl.po: Update from translation team.
52195 * po/sv.po: Likewise.
52197 2011-07-16 Roland McGrath <roland@hack.frob.com>
52199 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52200 now disallowed by GCC.
52202 * configure.in (use-default-link): Default to yes if a test -shared
52203 link meets our qualifications.
52204 * configure: Regenerated.
52206 * config.make.in (output-format): New variable.
52207 * configure.in: Check for ld --print-output-format support.
52208 * configure: Regenerated.
52209 * Makerules ($(common-objpfx)format.lds)
52210 [$(output-format) != unknown]: Just use $(output-format),
52211 instead of the linker-script munging.
52213 2011-07-14 Roland McGrath <roland@hack.frob.com>
52215 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52216 of $(common-objpfx)shlib.lds.
52217 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52219 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52220 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52222 * configure.in (-z relro check): Adjust test code to add a large
52223 writable data section after it.
52224 * configure: Regenerated.
52226 2011-07-11 Roland McGrath <roland@hack.frob.com>
52228 * configure.in (-z relro check): Fix test code to make the variable
52230 * configure: Regenerated.
52232 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52234 * nscd/nscd.h (struct traced_file): Define.
52235 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52236 elements. Add traced_files.
52237 (inotify_fd): Declare.
52238 (register_traced_file): Declare.
52239 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52240 (inotify_fd): Export.
52241 (resolv_conf_descr): Remove.
52242 (nscd_init): Move inotify descriptor creation to main.
52243 Don't register files for notification here.
52244 (register_traced_file): New function.
52245 (invalidate_cache): Don't use reset_res to determine whether to call
52246 res_init, go through the list of registered files.
52247 (main_loop_poll): The inotify descriptors are now stored in the
52248 structures for the traced files.
52249 (main_loop_epoll): Likewise
52250 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52251 to __nss_disable_nscd.
52252 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52253 for a database anymore. Check the records for all the registered
52255 * nss/Makefile (libnss_files-routines): Add files-init.
52256 (libnss_db-routines): Add db-init.
52257 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52258 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52259 * nss/nss_db/db-init.c: New file.
52260 * nss/nss_files/files-init.c: New file.
52261 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52262 __nss_lookup_function.
52263 (__nss_lookup_function): Call nss_load_library.
52264 (nss_load_all_libraries): New function.
52265 (__nss_disable_nscd): Take parameter with callback function for files
52266 to register. Set is_nscd. Load all the DSOs for the NSS modules
52267 used for the cached services.
52268 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52269 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52270 options for features to all the files in nscd.
52272 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52274 2011-07-10 Roland McGrath <roland@hack.frob.com>
52276 * csu/elf-init.c (__libc_csu_init): Comment typo.
52278 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52280 * po/pl.po: Update from translation team.
52281 * po/ja.po: Likewise.
52282 * po/ru.po: Likewise.
52283 * po/ko.po: Likewise.
52284 * po/fr.po: Likewise.
52286 2011-07-09 Roland McGrath <roland@hack.frob.com>
52288 * configure.in (.ctors/.dtors header and trailer check):
52289 Use an empirical test on a built program.
52290 * configure: Regenerated.
52292 * configure.in (-z relro check): Use an empirical test on a built DSO.
52293 Detect, but do not require, on ia64.
52294 * configure: Regenerated.
52296 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52297 Update tests that use readelf to use $READELF instead.
52298 * configure: Regenerated.
52300 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52302 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52303 if the result is not used.
52305 2011-07-05 Andreas Jaeger <aj@suse.de>
52308 * stdlib/tst-strtod.c: Add testcase.
52310 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52312 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52313 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52314 The latter has a higher limit. Take additional parameter to pass to
52316 (__pathconf): Pass file to __statfs_link_max.
52317 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52319 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52323 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52326 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52327 (__statfs_filesize_max): Likewise.
52328 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52330 2011-07-05 Andreas Jaeger <aj@suse.de>
52332 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52334 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52336 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52338 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52341 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52343 * Makefile (strop-tests): Add strncat.
52344 * string/test-strncat.c: New file.
52346 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52348 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52350 2011-06-21 Andreas Jaeger <aj@suse.de>
52352 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52353 Copy rule from iconvdata/Makefile.
52355 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52358 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52359 but no long options are defined, just return 'W'.
52361 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52364 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52366 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52368 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52370 (innetgr): Likewise.
52372 2011-07-05 Roland McGrath <roland@hack.frob.com>
52374 * config.make.in (install_root): Default to $(DESTDIR).
52376 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52378 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52380 2011-07-02 Roland McGrath <roland@hack.frob.com>
52382 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52384 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52385 containing directory rather than embedding absolute directory names.
52387 * scripts/check-local-headers.sh: Rewritten using awk.
52388 Match by word, not by line. Print error messages for matches.
52389 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52391 * Makerules [shlib-lds-flags empty]:
52392 ($(common-objpfx)libc_pic.opts): New target.
52393 ($(common-objpfx)libc_pic.os.clean): New target.
52394 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52396 * config.make.in (OBJCOPY): New variable.
52397 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52398 * configure: Regenerated.
52400 * config.make.in (use-default-link): New variable.
52401 * configure.in (use_default_link): Grok --with-default-link to set it.
52402 * configure: Regenerated.
52403 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52404 (shlib-lds, shlib-lds-flags): Define to empty.
52406 * Makerules (shlib-lds): New variable.
52407 (shlib-lds-flags): New variable.
52408 (build-shlib, build-moduile, build-module-asneeded): Use it.
52409 ($(common-objpfx)libc.so): Use $(shlib-lds).
52410 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52411 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52413 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52414 DT_FLAGS/DT_FLAGS_1 with zero flags.
52416 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52417 linker script munging.
52419 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52421 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52423 * crypt/sha512.c (sha512_process_block): Perform total addition using
52424 128-bit if possible.
52425 (__sha512_finish_ctx): Likewise.
52426 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52428 * crypt/sha256.c (SWAP64): Define.
52429 (sha256_process_block): Perform total addition using 64-bit if
52431 (__sha256_finish_ctx): Likewise.
52433 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52435 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52436 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52437 * nscd/hstcache.c (cache_addhst): Likewise.
52438 * nscd/grpcache.c (cache_addgr): Likewise.
52439 * nscd/aicache.c (addhstaiX): Likewise
52440 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52442 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52444 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52446 * nscd/hstcache.c (cache_addhst): Likewise.
52447 * nscd/grpcache.c (cache_addgr): Likewise.
52448 * nscd/aicache.c (addhstaiX): Likewise
52450 2011-07-01 Andreas Schwab <schwab@redhat.com>
52452 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52453 domain only when needed.
52455 2011-06-30 Andreas Schwab <schwab@redhat.com>
52457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52458 is always restored.
52460 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52462 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52463 are re-adding the entry.
52464 * nscd/servicescache.c (cache_addserv): Likewise.
52466 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52468 * sysdeps/generic/dl-irel.h: fix protection against multiple
52470 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52472 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52475 * malloc/memusage.sh: Fix quoting in message.
52476 * debug/xtrace.sh: Likewise.
52478 * configure.in: Remove support for --experimental-malloc option, make
52480 * config.make.in: Likewise.
52481 * malloc/Makefile: Likewise.
52483 2011-06-27 Andreas Schwab <schwab@redhat.com>
52485 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52486 two-byte characters.
52488 2011-06-27 Roland McGrath <roland@hack.frob.com>
52490 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52491 AC_CACHE_CHECK invocation.
52492 * configure: Regenerated.
52494 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52496 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52499 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52500 bit from old_res_options.
52502 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52504 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52505 value type for setfct.
52507 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52510 __gettimeofday instead of gettimeofday.
52512 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52514 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52516 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52518 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52523 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52526 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52527 strcpy-sse2-unaligned strncpy-sse2-unaligned
52528 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52529 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52530 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52531 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52532 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52535 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52536 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52537 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52538 (STRCPY): Support SSE2 and SSSE3 versions.
52540 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52543 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52544 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52545 kernels which artificially limit size of requests.
52547 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52550 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52551 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52552 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52553 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52554 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52555 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52556 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52559 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52560 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52561 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52562 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52563 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52565 Enable unaligned load optimization for Intel Core i3, i5 and i7
52567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52569 (index_Fast_Unaligned_Load): Define.
52570 (HAS_FAST_UNALIGNED_LOAD): Define.
52572 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52574 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52576 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52579 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52580 until it is clear that the information is realy needed.
52581 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52583 2011-06-22 Andreas Schwab <schwab@redhat.com>
52585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52587 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52590 /sys/devices/system/cpu/online if it is usable.
52592 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52593 reading the information from the /proc filesystem to once a second.
52595 2011-06-21 Andreas Jaeger <aj@suse.de>
52597 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52598 NULL after inclusion of kernel headers.
52600 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52602 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52603 calls to internal_setent.
52606 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52607 addresses using gethostbyname4_r ignore IPv4 addresses.
52609 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52610 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52612 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52614 2011-06-20 David S. Miller <davem@davemloft.net>
52616 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52618 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52620 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52621 (elf_irel): Use it.
52622 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52623 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52624 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52625 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52626 * sysdeps/x86_64/dl-irel.h: Likewise.
52628 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52629 * elf/dl-sym.c: Likewise.
52631 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52633 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52634 need to dereference resplen2.
52636 2011-06-14 Andreas Schwab <schwab@redhat.com>
52638 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52640 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52642 * Makeconfig: Define vardbdir and inst_vardbdir.
52643 * nss/Makefile: Add rules to install db-Makefile.
52645 * nss/nss_db/db-XXX.c: Cleanup.
52647 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52648 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52650 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52651 * nss/makedb.c: Implement -g option to specify that value strings
52652 are generated and should not be added to table iterated over for
52654 * nss/nss_db/db-initgroups.c: New file.
52656 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52659 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52660 (internal_getgrouplist): Adjust to name change.
52661 Update use_initgroups_entry if this is not the first call.
52662 * nss/databases.def: Add initgroups entry.
52664 * nss/makedb.c (compute_tables): Check result of multiple hash table
52665 sizes to minimize maximum chain length.
52667 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52669 * Versions.def: Add entry for libnss_db.
52670 * shlib-versions: Likewise.
52671 * nss/Makefile: Add rules to build libnss_db.
52672 * nss/Versions: Add libnss_db information. Organize libnss_files
52674 * nss/db-Makefile: Add gshadow support. Change rules for the new
52675 makedb progra. Some minor improvements to generate smaller files.
52676 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52678 * nss/makedb.c: ...here.
52679 Improve database format to be smaller and require less memory at
52681 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52683 * nss/nss_db/db-netgrp.c: Likewise.
52684 * nss/nss_db/db-open.c: Likewise.
52685 * nss/nss_files/flies-XXX.x: Adjust comments.
52686 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52687 * nss/nss_files/files-grp.c: Likewise.
52688 * nss/nss_files/files-hosts.c: Likewise.
52689 * nss/nss_files/files-network.c: Likewise.
52690 * nss/nss_files/files-proto.c: Likewise.
52691 * nss/nss_files/files-pwd.c: Likewise.
52692 * nss/nss_files/files-rpc.c: Likewise.
52693 * nss/nss_files/files-service.c: Likewise.
52694 * nss/nss_files/files-sgrp.c: Likewise.
52695 * nss/nss_files/files-spwd.c: Likewise.
52696 * nss/nss_db/db-alias.c: Removed.
52697 * nss/nss_db/dummy-db.h: Removed.
52699 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52701 * nss/makedb.c: Rewritten to not use database library.
52702 * nss/Makefile: Update to build new makedb program.
52704 2011-06-14 Andreas Jaeger <aj@suse.de>
52706 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52707 memset declaration.
52709 2011-06-10 Andreas Schwab <schwab@redhat.com>
52711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52714 2011-06-10 Roland McGrath <roland@hack.frob.com>
52716 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52717 * elf/Makefile ($(objpfx)ld.so): Likewise.
52719 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52720 Don't list ld.so twice in dependencies.
52722 * posix/bug-regex31.c: Include <stdlib.h>.
52724 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52726 * nis/nss_compat/compat-spwd.c
52727 (getspent_next_nss_netgr): Remove unused variable.
52728 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52730 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52731 nonmembers" output to use the right array.
52733 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52735 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52737 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52738 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52739 * catgets/gencat.c (read_input_file): Likewise.
52740 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52742 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52743 variable definition inside #if's controlling its use.
52745 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52747 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52749 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52751 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52754 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52756 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52757 * configure: Regenerated.
52759 * Makerules: Revert last change.
52760 * elf/Makefile: Likewise.
52762 2011-06-09 Roland McGrath <roland@hack.frob.com>
52764 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52765 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52766 (reloc-link): Likewise.
52768 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52770 * elf/Makefile: Add rules to build pldd.
52771 * elf/pldd.c: New file.
52772 * elf/pldd-xx.c: New file.
52774 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52776 * version.h: Update for 2.15 development version.
52778 2011-06-07 David S. Miller <davem@davemloft.net>
52780 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52782 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52783 elf_machine_lazy_rel): Likewise.
52784 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52785 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52786 elf_machine_lazy_rel): Likewise.
52787 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52788 dl_hwcap via passed in argument.
52789 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52792 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52794 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52796 2011-06-06 Roland McGrath <roland@hack.frob.com>
52799 * manual/fdl-1.1.texi: New file, verbatim from:
52800 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52801 * manual/lgpl-2.1.texi: New file, verbatim from:
52802 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52803 * manual/Makefile (licenses): New variable, list those new file names.
52805 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52807 * manual/fdl.texi: File removed.
52808 * manual/lesser.texi: File removed.
52809 * manual/libc.texinfo (Copying, Documentation License):
52810 Use new @include file names, put @appendix directive before @include.
52812 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52815 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52816 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52817 (mq_open): Add __NTH.
52819 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52822 Assume Intel Core i3/i5/i7 processor if AVX is available.
52824 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52829 2011-05-31 Andreas Schwab <schwab@redhat.com>
52831 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52832 memory. Use alloca_account. Fix memory leak when retrying.
52834 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52836 * version.h (RELEASE): Bump for 2.14 release.
52837 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52839 * config.make.in (RANLIB): Remove entry.
52841 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52843 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52844 (libc.pot): Work around missing support for .ksh extension in xgettext.
52847 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52848 if both request failed.
52849 (send_dg): In case of server errors clear resplen or *resplen2.
52852 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52853 when there are multiple maps.
52854 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52855 (_dl_fini): Remove test here.
52857 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52859 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52862 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52863 bit from old_res_options.
52864 (gaih_inet): Likewise.
52867 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52870 * resolv/res_init.c (res_setoptions): Make the code more compact.
52873 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52877 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52879 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52882 * malloc/malloc.h: Declare malloc hook variables as volatile.
52884 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52888 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52889 raise in the comment.
52890 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52892 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52894 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52897 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52898 grow the buffers more if it already has to be sufficient.
52899 (build_wcs_upper_buffer): Likewise.
52900 * posix/regexec.c (check_matching): Likewise.
52901 (clean_state_log_if_needed): Likewise.
52902 (extend_buffers): Don't enlarge buffers beyond size of the input
52904 Patches mostly by Emil Wojak <emil@wojak.eu>.
52905 * posix/bug-regex32.c: New file.
52906 * posix/Makefile (tests): Add bug-regex32.
52908 * locale/findlocale.c (_nl_find_locale): Return right away if
52909 _nl_explode_name failed.
52910 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52912 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52914 * debug/xtrace.sh: Unify messages.
52915 * malloc/memusage.sh: Likewise.
52918 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52919 time symbol from vDSO. Substitute with vsyscall if not available.
52920 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52923 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52924 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52925 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52926 Add sendmmsg and internal_sendmmsg.
52927 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52928 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52931 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52932 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52933 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52935 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52938 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52939 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52945 * iconvdata/Makefile (tests): Add bug-iconv9.
52946 * iconvdata/bug-iconv9.c: New file.
52948 2011-05-27 Andreas Schwab <schwab@redhat.com>
52951 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52953 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52956 (struct user_regs_struct): Change intcs field back to cs.
52958 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52960 * po/ja.po: Update from translation team.
52962 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52965 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52966 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52968 2011-05-20 Andreas Schwab <schwab@redhat.com>
52970 * stdlib/longlong.h: Update from GCC.
52972 2011-05-23 Andreas Schwab <schwab@redhat.com>
52974 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52976 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52977 Add parameter name.
52978 (__sysconf): Pass it down.
52980 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52983 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52986 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52987 add in in __libc_use_alloca calls. Adjust callers.
52988 (glob): Use malloc in some situations.
52990 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52991 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52994 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52996 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52997 and CLOCK_BOOTTIME_ALARM.
53000 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53003 * string/_strerror.c (__strerror_r): Print negative errors as signed
53007 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53008 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53009 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53011 * configure.in: Fix typo in redirection and correct removal of test
53012 files in two cases.
53015 * locale/setlocale.c (new_composite_name): Fix test to check for
53016 identical name of all categories.
53019 * libio/filedoalloc.c (local_isatty): New function.
53020 (_IO_file_doallocate): Use local_isatty.
53021 * stdio-common/perror.c (perror): In case a new stream is used
53022 forward the stream error.
53023 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53026 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53029 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53031 * include/alloca.h (extend_alloca_account): Define.
53034 * posix/regex.h: Fix comments with documentation of user-accessible
53035 fields after compilation and describe correct free'ing of pattern
53036 after re_compile_pattern.
53037 Patch by Reuben Thomas <rrt@sc3d.org>.
53039 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53041 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53042 and -mno-altivec to prevent the compiler from using Altivec and/or
53043 VSX instructions when the corresponding registers are not available.
53045 2011-05-19 Andreas Schwab <schwab@redhat.com>
53047 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53049 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53051 * libio/freopen.c (freopen): Use __dup2, not dup2.
53052 * libio/freopen64.c (freopen64): Likewise.
53054 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53057 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53058 * math/Makefile (tests): Add test-powl.
53059 (CFLAGS-test-powl.c): Define.
53060 * math/test-powl.c: New file.
53062 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53064 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53066 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53069 * iconvdata/gb18030.c: Update to GB18020-2005.
53071 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53073 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53074 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53075 Patch by Aharon Robbins <arnold@skeeve.com>.
53078 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53082 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53083 through underflows.
53086 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53087 point to strings before performing equality test for error_one_per_line
53091 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53095 (struct user_fpregs_struct): Avoid __uint*_t types.
53098 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53099 symbol info. Use it instead of calling _dl_addr locally.
53100 (lock_and_info): New function.
53101 (tr_freehook): Call lock_and_info and pass symbol info as additional
53102 parameter to tr_where.
53103 (tr_mallochook): Likewise.
53104 (tr_reallochook): Likewise.
53105 (tr_memalignhook): Likewise.
53107 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53108 used and couldn't be at all thread-safe.
53110 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53112 * libio/freopen.c (freopen): Don't close old file descriptor
53113 before the new one is opened. Instead dup the new file descriptor
53114 to the old one after the new stream is created.
53115 * libio/freopen64.c (freopen64): Likewise.
53116 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53117 * libio/fileops.c (_IO_new_file_close_it): Handle new
53118 _IO_FLAGS2_NOCLOSE flag.
53119 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53120 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53121 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53122 _IO_FLAGS2_NOCLOSE flag.
53123 * include/unistd.h: Add hidden_proto for dup3.
53124 Define __have_dup3.
53125 * io/dup3.c: Define hidden symbol.
53126 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53129 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53130 when an incomplete long option is used.
53131 * posix/tst-getopt_long1.c: New file.
53132 * posix/Makefile (tests): Add tst-getopt_long1.
53135 * scripts/config.guess: Update from autoconf-2.68.
53136 * scripts/config.sub: Likewise.
53139 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53141 (has_cpuclock): ...this. New function.
53142 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53143 macro here based on has_cpuclock code.
53146 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53147 First byte (not low byte) is now always NUL.
53148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53151 Use non-cancelable interfaces.
53154 * locale/iso-639.def: Add entry for Sorani.
53157 * include/stdlib.h: Move include protection to the right place.
53158 Define abort_msg_s. Declare __abort_msg with it.
53159 * stdlib/abort.c (__abort_msg): Adjust type.
53160 * assert/assert.c (__assert_fail_base): New function. Majority
53161 of code from __assert_fail. Allocate memory for __abort_msg with
53163 (__assert_fail): Now call __assert_fail_base.
53164 * assert/assert-perr.c: Remove bulk of implementation. Use
53165 __assert_fail_base.
53166 * include/assert.hL Declare __assert_fail_base.
53167 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53169 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53171 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53175 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53176 until all modules are registered in the DTV.
53177 * elf/Makefile: Add rules to build and run tst-tls19.
53178 * elf/tst-tls19.c: New file.
53179 * elf/tst-tls19mod1.c: New file.
53180 * elf/tst-tls19mod2.c: New file.
53181 * elf/tst-tls19mod3.c: New file.
53182 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53185 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53189 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53190 two-byte sequence errors.
53191 * iconvdata/Makefile (tests): Add bug-iconv8.
53192 * iconvdata/bug-iconv8.c: New file.
53195 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53198 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53201 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53202 (dummy_getcfa): New function.
53203 (init): Get _Unwind_GetCFA address, use dummy if not found.
53204 (backtrace_helper): In recursion check, also check whether CFA changes.
53205 (__backtrace): Completely initialize arg.
53207 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53208 storing incomplete byte sequence in state object. Avoid testing for
53209 guaranteed too small input if we know there is enough data available.
53211 2011-05-11 Andreas Schwab <schwab@redhat.com>
53213 * Makeconfig (+link-pie): Indent.
53214 * Rules (binaries-pie): Define if $(have-fpie) and
53216 (binaries-shared): Also filter out $(binaries-pie).
53217 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53218 * nscd/Makefile (others-pie): Add nscd.
53219 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53220 ($(objpfx)nscd): Remove command override.
53221 * login/Makefile (others-pie): Add pt_chown.
53222 ($(objpfx)pt_chown): Remove command override.
53223 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53224 remove command overrides.
53226 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53228 * libio/tst_putwc.c: Fix error messages.
53231 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53232 currently writing and seek to current position when not.
53233 * libio/Makefile (tests): Add bug-fclose1.
53234 * libio/bug-fclose1.c: New file.
53236 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53239 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53240 don't set DF_1_NODELETE here.
53241 (do_lookup_x): When entering new entry test for copy relocation
53242 and if necessary set DF_1_NODELETE flag.
53243 * elf/tst-unique4.cc: New file.
53244 * elf/tst-unique4.h: New file.
53245 * elf/tst-unique4lib.cc: New file.
53246 * elf/Makefile: Add rules to build and run tst-unique4.
53247 Patch by Piotr Bury <pbury@goahead.com>.
53249 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53252 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53255 * misc/mntent_r.c (addmntent): Flush the stream after the output
53258 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53259 (is_trusted_path_normalize): Skip initial colon. Append slash
53260 to empty buffer. Duplicate is_trusted_path code but allow
53261 constructed patch to be prefix.
53262 (is_dst): Allow $ORIGIN followed by /.
53263 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53264 Correct testing of result of is_trusted_path_normalize
53265 (decompose_rpath): Fix warning.
53267 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53270 * grp/initgroups.c (internal_getgrouplist): When we found the service
53271 list through the initgroups entry in nsswitch.conf do not always
53272 continue on a successful lookup. Don't always use the
53273 __nss_group_database value if it is set.
53274 * nss/nsswitch.conf (initgroups): Change action for successful db
53275 lookup to continue for compatibility.
53277 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53280 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53282 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53284 * iconvdata/tst-tables.sh: Likewise.
53285 * iconvdata/cp770.c: New file.
53286 * iconvdata/cp771.c: New file.
53287 * iconvdata/cp772.c: New file.
53288 * iconvdata/cp773.c: New file.
53289 * iconvdata/cp774.c: New file.
53290 * iconvdata/testdata/CP770: New file.
53291 * iconvdata/testdata/CP770..UTF8: New file.
53292 * iconvdata/testdata/CP771: New file.
53293 * iconvdata/testdata/CP771..UTF8: New file.
53294 * iconvdata/testdata/CP772: New file.
53295 * iconvdata/testdata/CP772..UTF8: New file.
53296 * iconvdata/testdata/CP773: New file.
53297 * iconvdata/testdata/CP773..UTF8: New file.
53298 * iconvdata/testdata/CP774: New file.
53299 * iconvdata/testdata/CP774..UTF8: New file.
53301 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53303 * iconvdata/gen-8bit-gap.sh: Likewise.
53304 * iconvdata/gen-8bit.sh: Likewise.
53306 * locale/iso-639.def: Add ary entry.
53309 * locale/C-translit.h.in: Add U20A1 transliteration.
53312 * locale/iso-639.def: Add wae entry.
53313 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53316 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53320 * locale/C-translit.h.in: Add entry for U20B9.
53321 Patch by pravin.d.s@gmail.com.
53323 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53326 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53327 ENAMETOOLONG use generic getcwd.
53328 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53329 in rtld. Use *stat64.
53330 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53331 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53332 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53333 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53334 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53335 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53336 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53337 __fstatat64 macros.
53338 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53339 * dirent/rewinddir.c: Add libc_hidden_def.
53340 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53341 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53343 * include/dirent.h (__alloc_dir): Add flags parameter.
53344 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53345 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53347 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53348 from fdopendir if O_CLOEXEC is already set.
53350 2011-03-15 Alan Modra <amodra@gmail.com>
53352 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53353 l_tls_firstbyte_offset non-zero. Save padding offset in
53354 l_tls_firstbyte_offset for later use.
53355 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53356 freeing static tls block.
53358 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53360 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53361 where #ifdef was intended. The intent is to prevent ARG_MAX from
53362 being defined by the kernel headers.
53364 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53367 * resolv/resolv.h: Define RES_NOTLDQUERY.
53368 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53369 no-tld-query and set RES_NOTLDQUERY.
53370 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53371 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53372 modern BIND to search name as TLD unless forbidden.
53374 2011-05-07 Petr Baudis <pasky@suse.cz>
53375 Ulrich Drepper <drepper@gmail.com>
53378 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53379 (is_trusted_path): ...to here.
53380 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53381 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53382 using is_trusted_path_normalize() in setuid scripts.
53384 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53386 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53387 __BEGIN/__END_DECLS.
53389 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53392 NSS_STATUS_NOTFOUND if no record was found.
53394 2011-05-05 Andreas Schwab <schwab@redhat.com>
53396 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53397 (headers-not-in-tirpc): Remove rpc/netdb.h
53398 * resolv/netdb.h: Revert last change.
53400 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53402 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53403 circular dependency between libgcc.a and libc.a.
53405 2011-05-05 Andreas Schwab <schwab@redhat.com>
53407 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53408 * nis/Makefile: Don't install rpcsvc/*.
53409 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53410 instead of <rpc/types.h>.
53411 (MAXHOSTNAMELEN): Define.
53413 2011-05-03 Andreas Schwab <schwab@redhat.com>
53415 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53417 2011-04-28 Maciej Babinski <mbabinski@google.com>
53420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53421 gethostbyname4_r when IPv6 results are possible.
53423 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53426 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53427 _PC_PIPE_BUF handling.
53429 2011-04-30 Bruno Haible <bruno@clisp.org>
53432 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53433 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53435 * inet/getnameinfo.c (getnameinfo): Likewise.
53437 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53439 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53440 to groups setting in database lookup.
53441 * nss/nsswitch.conf: Add initgroups entry.
53443 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53446 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53448 Patch by Eric Blake <eblake@redhat.com>.
53450 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53452 * sunrpc/Makefile (need-export-routines): Add svc_run.
53453 (routines): Remove svc_run.
53454 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53455 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53456 * sunrpc/svc_run.c (svc_run): Likewise.
53457 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53459 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53461 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53462 problem in reallocation in last patch.
53464 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53466 * sunrpc/Makefile: Move inclusion of Rules.
53468 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53470 * nss/nss_files/files-initgroups.c: New file.
53471 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53472 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53473 _nss_files_initgroups_dyn.
53475 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53477 * elf/elf.h (R_ARM_IRELATIVE): Define.
53479 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53481 * po/ru.po: Update from translation team.
53483 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53485 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53488 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53491 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53492 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53495 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53497 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53499 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53501 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53505 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53508 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53510 * stdlib/bug-getcontext.c: New file.
53511 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53513 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53515 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53516 instructions into .machine "z9-109".
53517 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53518 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53520 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53522 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53523 between environment variables and auxiliary vector.
53525 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53527 * Makefile: Add rules to build linkobj/libc.so.
53528 * include/libc-symbols.h: Define libc_hidden_nolink.
53529 * include/rpc/auth.h: Mark functions which are to be hidden.
53530 * include/rpc/auth_des.h: Likewise.
53531 * include/rpc/auth_unix.h: Likewise.
53532 * include/rpc/clnt.h: Likewise.
53533 * include/rpc/des_crypt.h: Likewise.
53534 * include/rpc/key_prot.h: Likewise.
53535 * include/rpc/pmap_clnt.h: Likewise.
53536 * include/rpc/pmap_prot.h: Likewise.
53537 * include/rpc/pmap_rmt.h: Likewise.
53538 * include/rpc/rpc_msg.h: Likewise.
53539 * include/rpc/svc.h: Likewise.
53540 * include/rpc/svc_auth.h: Likewise.
53541 * include/rpc/xdr.h: Likewise.
53542 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53543 * nss/Makefile: Likewise.
53544 * sunrpc/Makefile: Don't install headers. Build library with normal
53545 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53546 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53547 for the compat linking library. Remove use of INTDEF/INTUSE.
53548 * sunrpc/auth_none.c: Likewise.
53549 * sunrpc/auth_unix.c: Likewise.
53550 * sunrpc/authdes_prot.c: Likewise.
53551 * sunrpc/authuxprot.c: Likewise.
53552 * sunrpc/clnt_gen.c: Likewise.
53553 * sunrpc/clnt_perr.c: Likewise.
53554 * sunrpc/clnt_raw.c: Likewise.
53555 * sunrpc/clnt_simp.c: Likewise.
53556 * sunrpc/clnt_tcp.c: Likewise.
53557 * sunrpc/clnt_udp.c: Likewise.
53558 * sunrpc/clnt_unix.c: Likewise.
53559 * sunrpc/des_crypt.c: Likewise.
53560 * sunrpc/des_soft.c: Likewise.
53561 * sunrpc/get_myaddr.c: Likewise.
53562 * sunrpc/key_call.c: Likewise.
53563 * sunrpc/key_prot.c: Likewise.
53564 * sunrpc/netname.c: Likewise.
53565 * sunrpc/pm_getmaps.c: Likewise.
53566 * sunrpc/pm_getport.c: Likewise.
53567 * sunrpc/pmap_clnt.c: Likewise.
53568 * sunrpc/pmap_prot.c: Likewise.
53569 * sunrpc/pmap_prot2.c: Likewise.
53570 * sunrpc/pmap_rmt.c: Likewise.
53571 * sunrpc/publickey.c: Likewise.
53572 * sunrpc/rpc_cmsg.c: Likewise.
53573 * sunrpc/rpc_common.c: Likewise.
53574 * sunrpc/rpc_dtable.c: Likewise.
53575 * sunrpc/rpc_prot.c: Likewise.
53576 * sunrpc/rpc_thread.c: Likewise.
53577 * sunrpc/rtime.c: Likewise.
53578 * sunrpc/svc.c: Likewise.
53579 * sunrpc/svc_auth.c: Likewise.
53580 * sunrpc/svc_authux.c: Likewise.
53581 * sunrpc/svc_raw.c: Likewise.
53582 * sunrpc/svc_run.c: Likewise.
53583 * sunrpc/svc_simple.c: Likewise.
53584 * sunrpc/svc_tcp.c: Likewise.
53585 * sunrpc/svc_udp.c: Likewise.
53586 * sunrpc/svc_unix.c: Likewise.
53587 * sunrpc/svcauth_des.c: Likewise.
53588 * sunrpc/xcrypt.c: Likewise.
53589 * sunrpc/xdr.c: Likewise.
53590 * sunrpc/xdr_array.c: Likewise.
53591 * sunrpc/xdr_float.c: Likewise.
53592 * sunrpc/xdr_intXX_t.c: Likewise.
53593 * sunrpc/xdr_mem.c: Likewise.
53594 * sunrpc/xdr_rec.c: Likewise.
53595 * sunrpc/xdr_ref.c: Likewise.
53596 * sunrpc/xdr_sizeof.c: Likewise.
53597 * sunrpc/xdr_stdio.c: Likewise.
53599 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53602 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53603 * sysdeps/ia64/dl-tls.h: Likewise.
53604 * sysdeps/powerpc/dl-tls.h: Likewise.
53605 * sysdeps/s390/dl-tls.h: Likewise.
53606 * sysdeps/sh/dl-tls.h: Likewise.
53607 * sysdeps/sparc/dl-tls.h: Likewise.
53608 * sysdeps/x86_64/dl-tls.h: Likewise.
53609 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53611 2011-03-14 Andreas Schwab <schwab@redhat.com>
53613 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53614 rpath element also skip the following colon.
53615 (expand_dynamic_string_token): Add is_path parameter and pass
53616 down to DL_DST_REQUIRED and _dl_dst_substitute.
53617 (decompose_rpath): Call expand_dynamic_string_token with
53618 non-zero is_path. Ignore empty rpaths.
53619 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53622 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53627 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53630 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53631 Patch by Filipe David Manana <fdmanana@apache.org>.
53633 2011-04-07 Andreas Schwab <schwab@redhat.com>
53635 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53636 Maintain aligned stack.
53637 (CHECK_RSP): Remove unused macro.
53639 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53641 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53642 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53644 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53646 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53648 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53650 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53653 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53654 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53655 * sysdeps/x86_64/memmove.c: New file.
53656 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53657 (memcpy): Renamed to ...
53658 (__new_memcpy): This.
53659 (memcpy): Provide GLIBC_2_14 memcpy.
53660 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53661 (memcpy): Provide GLIBC_2_2_5 memcpy.
53663 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53666 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53668 2011-03-30 Andreas Schwab <schwab@redhat.com>
53670 * misc/syncfs.c: New file.
53671 * misc/Makefile (routines): Add syncfs.
53672 * posix/unistd.h: Declare syncfs.
53673 * sysdeps/unix/syscalls.list: Add syncfs.
53675 2011-04-01 Andreas Schwab <schwab@redhat.com>
53677 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53682 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53684 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53687 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53689 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53691 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53693 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53695 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53697 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53698 sync_file_range.c with -fexceptions.
53699 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53700 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53701 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53702 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53703 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53704 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53705 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53706 sync_file_range as cancellation point
53707 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53708 now a wrapper around __call_sync_file_range with cancellation handling.
53709 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53710 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53711 function name to __call_sync_file_range.
53712 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53713 Add call_sync_file_range.
53715 2011-04-01 Andreas Schwab <schwab@redhat.com>
53717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53720 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53722 * iconv/iconv.h: Fix typo in comment.
53723 * io/fcntl.h: Likewise.
53724 * libio/stdio.h: Likewise.
53725 * posix/spawn.h: Likewise.
53726 * posix/unistd.h: Likewise.
53727 * stdlib/stdlib.h: Likewise.
53728 * time/time.h: Likewise.
53729 * wcsmbs/wchar.h: Likewise.
53731 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53732 open_by_handle): Add.
53733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53734 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53735 Augment a few comments.
53736 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53741 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53744 * io/fcntl.h (AT_EMPTY_PATH): Define.
53746 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53748 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53749 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53750 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53752 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53753 * Versions.def: Add GLIBC_2.14.
53754 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53757 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53759 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53761 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53763 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53766 * string/test-strncmp.c (do_page_test): New function.
53767 (check2): Likewise.
53768 (test_main): Call check2.
53769 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53771 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53774 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53775 Handle cache information in CPU leaf 4.
53776 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53778 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53781 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53782 character representation.
53783 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53785 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53787 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53788 END(__isnan) to END(__isnanf) to match function entry point/label
53789 EALIGN(__isnanf,...).
53791 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53793 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53795 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53798 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53799 copy from the symbol referenced in the relocation to initialize the
53801 Patch by Piotr Bury <pbury@goahead.com>.
53802 * elf/Makefile: Add rules to build and tst-unique3.
53803 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53804 * elf/tst-unique3.cc: New file.
53805 * elf/tst-unique3.h: New file.
53806 * elf/tst-unique3lib.cc: New file.
53807 * elf/tst-unique3lib2.cc: New file.
53809 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53811 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53813 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53814 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53817 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53819 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53820 to-be-loaded object along a path to loader is ld.so.
53822 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53823 Ulrich Drepper <drepper@gmail.com>
53825 * sysdeps/x86_64/memset.S: After aligning destination, code
53826 branches to different locations depending on the value of
53827 misalignment, when multiarch is enabled. Fix this.
53829 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53831 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53832 Set _x86_64_preferred_memory_instruction for AMD processsors.
53833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53834 Set bit_Prefer_SSE_for_memop for AMD processors.
53836 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53838 * libio/fmemopen.c (fmemopen): Optimize a bit.
53840 2011-03-03 Andreas Schwab <schwab@redhat.com>
53842 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53844 2011-03-03 Roland McGrath <roland@redhat.com>
53846 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53848 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53850 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53851 __bzero_ultra1 instead of __memset_ultra1.
53853 2011-02-23 Andreas Schwab <schwab@redhat.com>
53854 Ulrich Drepper <drepper@gmail.com>
53857 * include/link.h (struct link_map): Add l_orig_initfini.
53858 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53859 returning unsuccessfully.
53860 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53861 close of a file loaded at startup, restore the original l_initfini
53863 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53864 list, store the pointer.
53865 * elf/Makefile ($(objpfx)noload-mem): New rule.
53866 (noload-ENV): Define.
53867 (tests): Add $(objpfx)noload-mem.
53868 * elf/noload.c: Include <memcheck.h>.
53869 (main): Call mtrace. Close all opened handles.
53871 2011-02-17 Andreas Schwab <schwab@redhat.com>
53874 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53875 dependencies are missing.
53877 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53879 Fix __if_freereq crash: Unlike the generic version which uses free,
53881 * sysdeps/mach/hurd/ifreq.h: New file.
53883 2011-01-27 Petr Baudis <pasky@suse.cz>
53884 Ulrich Drepper <drepper@gmail.com>
53887 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53888 to extend_alloca().
53889 * stdio-common/bug23.c: New file.
53890 * stdio-common/Makefile (tests): Add bug23.
53892 2010-09-28 Andreas Schwab <schwab@redhat.com>
53893 Ulrich Drepper <drepper@gmail.com>
53896 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53897 before performing relro protection. At old place add assertion
53898 to make sure nothing changed.
53900 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53901 Glauber de Oliveira Costa <glommer@gmail.com>
53903 * elf/elf.h: Add new ARM TLS relocs.
53905 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53908 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53910 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53912 * sysdeps/wordsize-64/tst-writev.c: New file.
53914 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53916 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53917 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53918 insns in _dl_start to prevent a TOC reference before relocs are
53921 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53924 * Makeconfig: Remove RANLIB definition.
53925 * Makerules: Don't use RANLIB.
53926 * aclocal.m4: Remove ranlib test.
53927 * configure.in: No need to check for ranlib.
53928 * elf/rtld-Rules: Don't use RANLIB.
53930 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53932 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53934 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53935 inclusion protection macro.
53937 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53938 SIGRTMIN and SIGRTMAX and print information in that case only when
53939 SIGRTMIN is defined.
53941 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53943 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53944 arginfo fn returning -1.
53946 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53947 and thousands string is zero terminated.
53949 2011-02-03 Andreas Schwab <schwab@redhat.com>
53951 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53952 sysdeps/unix/sysv/linux/bits/socket.h.
53954 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53956 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53957 (__CPU_COUNT): Remove old macros.
53958 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53959 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53960 (__CPU_ALLOC, __CPU_FREE): Add macros.
53961 (__sched_cpualloc, __sched_cpufree): Add declarations.
53963 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53965 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53966 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53967 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53968 (readdhstai): Return value of addhstaiX call.
53969 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53970 (addgrbyX): Return value returned by cache_addgr.
53971 (readdgrbyname): Return value returned by addgrbyX.
53972 (readdgrbygid): Likewise.
53973 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53974 (addpwbyX): Return value returned by cache_addpw.
53975 (readdpwbyname): Return value returned by addhstbyX.
53976 (readdpwbyuid): Likewise.
53977 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53978 (addservbyX): Return value returned by cache_addserv.
53979 (readdservbyname): Return value returned by addservbyX:
53980 (readdservbyport): Likewise.
53981 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53982 (addhstbyX): Return value returned by cache_addhst.
53983 (readdhstbyname): Return value returned by addhstbyX.
53984 (readdhstbyaddr): Likewise.
53985 (readdhstbynamev6): Likewise.
53986 (readdhstbyaddrv6): Likewise.
53987 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53988 (readdinitgroups): Return value returned by addinitgroupsX.
53989 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53990 (prune_cache): Keep track of timeout value of re-added entries.
53991 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53992 * nscd/nscd.h: Adjust prototypes of readd* functions.
53994 2011-02-04 Roland McGrath <roland@redhat.com>
53996 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53997 (nis_stats): Likewise.
53998 * nis/nis_modify.c (nis_modify): Likewise.
53999 * nis/nis_remove.c (nis_remove): Likewise.
54000 * nis/nis_add.c (nis_add): Likewise.
54002 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54004 * posix/fnmatch_loop.c: Add some consts.
54006 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54008 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54011 * config.make.in (config-cflags-novzeroupper): Define.
54012 * configure.in: Substitute libc_cv_cc_novzeroupper.
54013 * elf/Makefile (AVX-CFLAGS): Define.
54014 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54015 (CFLAGS-tst-auditmod4a.c): Likewise.
54016 (CFLAGS-tst-auditmod4b.c): Likewise.
54017 (CFLAGS-tst-auditmod6b.c): Likewise.
54018 (CFLAGS-tst-auditmod6c.c): Likewise.
54019 (CFLAGS-tst-auditmod7b.c): Likewise.
54020 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54022 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54024 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54025 function to the callback.
54026 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54028 2011-02-02 Andreas Schwab <schwab@redhat.com>
54030 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54033 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54036 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54038 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54040 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54043 * elf/Makefile: Add rules to build and run new test.
54044 * elf/tst-initorder.c: New file.
54045 * elf/tst-initorder.exp: New file.
54046 * elf/tst-initordera1.c: New file.
54047 * elf/tst-initordera2.c: New file.
54048 * elf/tst-initordera3.c: New file.
54049 * elf/tst-initordera4.c: New file.
54050 * elf/tst-initorderb1.c: New file.
54051 * elf/tst-initorderb2.c: New file.
54052 * elf/tst-order-a1.c: New file.
54053 * elf/tst-order-a2.c: New file.
54054 * elf/tst-order-a3.c: New file.
54055 * elf/tst-order-a4.c: New file.
54056 * elf/tst-order-b1.c: New file.
54057 * elf/tst-order-b2.c: New file.
54058 * elf/tst-order-main.c: New file.
54059 New test case by George Gensure <werkt0@gmail.com>.
54061 2010-10-01 Andreas Schwab <schwab@redhat.com>
54063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54064 decoding ACE if AI_CANONIDN.
54066 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54068 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54070 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54072 * version.h (RELEASE): Bump for 2.13 release.
54073 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54075 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54077 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54079 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54080 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54081 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54082 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54083 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54086 * posix/getconf.c: Update copyright year.
54087 * catgets/gencat.c: Likewise.
54088 * csu/version.c: Likewise.
54089 * debug/catchsegv.sh: Likewise.
54090 * debug/xtrace.sh: Likewise.
54091 * elf/ldconfig.c: Likewise.
54092 * elf/ldd.bash.in: Likewise.
54093 * elf/sprof.c (print_version): Likewise.
54094 * iconv/iconv_prog.c: Likewise.
54095 * iconv/iconvconfig.c: Likewise.
54096 * locale/programs/locale.c: Likewise.
54097 * locale/programs/localedef.c: Likewise.
54098 * malloc/memusage.sh: Likewise.
54099 * malloc/mtrace.pl: Likewise.
54100 * nscd/nscd.c (print_version): Likewise.
54101 * nss/getent.c: Likewise.
54103 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54104 PF_CAIF, and PF_ALG.
54105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54107 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54109 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54110 (modules-names): Use them.
54111 (ifunc-test-modules, ifunc-pie-tests): Define.
54112 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54113 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54114 (test-extras): Likewise.
54115 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54116 $(compile-command.c).
54117 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54118 (all-built-dso): Define.
54119 (check-textrel.out, check-execstack.out): Depend on it.
54121 * configure.in: Don't override --enable-multi-arch.
54123 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54126 * nscd/hstcache.c (tryagain): Define.
54127 (cache_addhst): Return tryagain not notfound for temporary errors.
54128 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54131 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54135 to make the syscall.
54136 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54139 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54140 and fall back to matching as normal character if the string ends before
54141 the matching ']' is found. This is what POSIX requires.
54142 * posix/testfnm.c: Adjust test result.
54143 * posix/globtest.sh: Adjust test result. Add new test.
54144 * posix/tst-fnmatch.input: Likewise.
54145 * posix/tst-fnmatch2.c: Add new test.
54147 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54149 * elf/Makefile (check-execstack): Revert last change. Depend on
54151 (check-execstack.h): New target.
54152 (generated): Add check-execstack.h.
54153 * elf/check-execstack.c: Include "check-execstack.h".
54154 (main): Revert last change.
54155 (handle_file): Return zero if GNU_STACK is absent and
54156 DEFAULT_STACK_PERMS doesn't include PF_X.
54158 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54160 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54161 in child fails because the descriptor is already closed.
54162 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54163 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54164 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54167 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54171 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54172 temporary buffer used to handle multi lookups locally.
54173 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54175 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54177 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54180 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54182 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54183 alignment for SSE2.
54185 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54188 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54189 characters. When rounding increased number of integer digits recompute
54191 * stdio-common/tst-grouping.c: New file.
54192 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54194 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54196 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54197 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54199 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54201 * bits/select.h: Likewise.
54203 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54205 * po/ja.po: Update from translation team.
54207 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54210 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54211 implementation just like for lxstat, fxstatat, et al.
54213 2010-12-27 Jim Meyering <meyering@redhat.com>
54216 * posix/regexec.c (build_trtable): Return failure indication upon
54217 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54219 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54222 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54223 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54224 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54225 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54228 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54231 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54232 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54234 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54236 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54237 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54238 script has SORT_BY_INIT_PRIORITY.
54239 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54240 NO_CTORS_DTORS_SECTIONS is defined.
54241 * elf/soinit.c: Likewise.
54242 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54243 NO_CTORS_DTORS_SECTIONS is defined.
54244 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54245 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54246 * sysdeps/sh/init-first.c: Likewise.
54247 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54249 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54251 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54252 always use the slow path.
54254 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54256 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54257 similar rule which adds the sysdep directories to the header search in
54258 order to pick up the correct platform stackinfo.h.
54259 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54260 perform test if it is, otherwise return successfully without testing.
54261 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54262 DEFAULT_STACK_PERMS define in stackinfo.h.
54263 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54264 defined in stackinfo.h.
54265 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54266 DEFAULT_STACK_PERMS defined in stackinfo.h.
54267 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54268 * sysdeps/ia64/stackinfo.h: Likewise.
54269 * sysdeps/s390/stackinfo.h: Likewise.
54270 * sysdeps/sh/stackinfo.h: Likewise.
54271 * sysdeps/sparc/stackinfo.h: Likewise.
54272 * sysdeps/x86_64/stackinfo.h: Likewise.
54273 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54274 PF_X for powerpc64. Retain PF_X for powerpc32.
54276 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54278 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54280 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54281 GETDENTS_64BIT_ALIGNED.
54283 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54285 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54287 2010-12-10 Andreas Schwab <schwab@redhat.com>
54289 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54292 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54293 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54295 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54296 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54298 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54301 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54304 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54306 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54308 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54310 * po/it.po: Update from translation team.
54312 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54314 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54317 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54319 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54321 2010-11-24 Andreas Schwab <schwab@redhat.com>
54323 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54325 (gaih_getanswer_slice): Likewise.
54327 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54331 2010-05-31 Petr Baudis <pasky@suse.cz>
54334 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54335 silently even in the chroot mode.
54337 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54339 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54340 last patch a bit. Pretty printing
54342 2010-05-31 Petr Baudis <pasky@suse.cz>
54345 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54346 initialization of skip_initgroups_dyn.
54348 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54353 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54355 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54357 2010-11-11 Andreas Schwab <schwab@redhat.com>
54359 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54360 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54361 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54362 ($(objpfx)tst-fnmatch-mem): New rule.
54363 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54364 * posix/tst-fnmatch.c (main): Call mtrace.
54366 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54369 Support Intel processor model 6 and model 0x2c.
54371 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54373 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54376 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54379 * string/test-strncasecmp.c (check_result): New function.
54380 (do_one_test): Use it.
54381 (check1): New function.
54382 (test_main): Use it.
54383 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54384 Support strcasecmp and strncasecmp.
54386 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54389 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54392 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54394 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54398 * sysdeps/x86_64/multiarch/bzero.S: New file.
54399 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54400 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54401 * sysdeps/x86_64/multiarch/memset.S: New file.
54402 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54404 Set bit_Prefer_SSE_for_memop for Intel processors.
54405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54407 (index_Prefer_SSE_for_memop): Define.
54408 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54410 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54412 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54413 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54415 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54418 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54419 (__x86_64_raw_data_cache_size_half): Likewise.
54420 (__x86_64_raw_shared_cache_size): Likewise.
54421 (__x86_64_raw_shared_cache_size_half): Likewise.
54423 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54424 (__x86_64_raw_data_cache_size_half): Likewise.
54425 (__x86_64_raw_shared_cache_size): Likewise.
54426 (__x86_64_raw_shared_cache_size_half): Likewise.
54427 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54428 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54429 and __x86_64_raw_shared_cache_size_half. Round
54430 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54431 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54432 to multiple of 256 bytes.
54434 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54437 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54438 of inacessible symlinks. Verify result of symlink before returning it.
54439 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54440 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54442 2010-10-28 Erich Ritz <erichritz@gmail.com>
54444 * math/math.h (isinf): Fix typo in comment.
54446 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54448 * po/da.po: Update from translation team.
54450 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54452 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54453 is added to the list.
54455 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54456 Ulrich Drepper <drepper@gmail.com>
54458 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54459 the global list here. Move code to...
54460 (_dl_add_to_namespace_list): ...here. New function.
54461 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54462 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54463 * elf/dl-load.c (lose): Don't remove the element from the list.
54464 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54465 (_dl_map_object): Likewise.
54467 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54470 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54471 into all bytes of SSE register.
54472 Patch by Richard Li <richardpku@gmail.com>.
54474 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54477 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54480 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54482 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54483 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54484 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54485 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54490 2010-10-22 Andreas Schwab <schwab@redhat.com>
54492 * include/dlfcn.h (__RTLD_SECURE): Define.
54493 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54494 mode & __RTLD_SECURE instead.
54495 (open_path): Rename preloaded parameter to secure.
54496 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54497 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54498 * elf/dl-deps.c (openaux): Likewise.
54499 * elf/rtld.c (struct map_args): Remove is_preloaded.
54500 (map_doit): Don't use it.
54501 (dl_main): Likewise.
54502 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54503 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54505 2010-09-09 Andreas Schwab <schwab@redhat.com>
54507 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54508 (sysd-rules-targets): Remove duplicates.
54509 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54510 rtld-%.$o dependency.
54512 2010-10-18 Andreas Schwab <schwab@redhat.com>
54514 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54515 _dl_map_object do it.
54517 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54519 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54520 fast fma builtins, define the macros in the C99 standard.
54521 (FP_FAST_FMAF): Likewise.
54522 (FP_FAST_FMAL): Likewise.
54523 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54525 * bits/mathdef.h: Update copyright year.
54526 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54528 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54530 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54531 builtins, define the macros in the C99 standard.
54532 (FP_FAST_FMAF): Likewise.
54533 (FP_FAST_FMAL): Likewise.
54534 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54536 (FP_FAST_FMAF): Likewise.
54538 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54541 * math/libm-test.inc (fma_test): Some new testcases.
54542 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54543 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54544 y and infinite z. Do multiplication by C already in long double.
54545 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54547 y and infinite z. Do bitwise or of inexact bit into u.d.
54548 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54549 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54550 * sysdeps/i386/fpu/s_fma.S: Removed.
54551 * sysdeps/i386/fpu/s_fmal.S: Removed.
54553 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54556 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54558 computation is not scheduled after fetestexcept. Fix value
54559 of minimum denormal long double.
54561 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54564 * math/libm-test.inc (fma_test): Add some more tests.
54565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54568 2010-10-15 Andreas Schwab <schwab@redhat.com>
54570 * scripts/data/localplt-s390-linux-gnu.data: New file.
54571 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54573 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54576 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54577 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54579 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54581 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54583 if one of x and y is very large and the other is subnormal.
54584 * sysdeps/s390/fpu/s_fmaf.c: New file.
54585 * sysdeps/s390/fpu/s_fma.c: New file.
54586 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54587 * sysdeps/powerpc/fpu/s_fma.S: New file.
54588 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54589 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54590 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54592 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54595 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54597 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54598 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54599 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54600 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54601 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54602 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54603 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54605 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54608 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54609 * posix/bug-regex31.input: Add test case.
54611 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54613 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54614 * posix/bug-regex31.input: New file.
54617 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54618 (parse_sub_exp): Fix last change, use postorder.
54620 * posix/bug-regex31.c: New file.
54621 * posix/Makefile: Add rules to build and run bug-regex31.
54623 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54626 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54629 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54630 to have entries in sys_siglist.
54633 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54636 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54639 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54640 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54641 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54642 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54644 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54645 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54646 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54647 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54648 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54649 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54650 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54651 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54652 * math/ftestexcept.c (fetestexcept): Likewise.
54653 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54654 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54655 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54656 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54657 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54658 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54659 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54661 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54664 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54667 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54669 * string/bug-strstr1.c: New file.
54670 * string/Makefile: Add rules to build and run bug-strstr1.
54672 2010-10-05 Eric Blake <eblake@redhat.com>
54675 * string/str-two-way.h (two_way_long_needle): Always clear memory
54676 when skipping input due to the shift table.
54678 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54681 * malloc/mcheck.c: Handle large requests.
54684 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54685 for strncmp and strncasecmp.
54686 * string/stratcliff.c: Add tests for strcmp and strncmp.
54687 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54689 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54691 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54694 2010-09-30 Andreas Jaeger <aj@suse.de>
54696 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54697 (CGROUP_SUPER_MAGIC): Define.
54698 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54699 Handle btrfs and cgroup file systems.
54700 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54703 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54705 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54706 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54708 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54711 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54712 trying to locate the ELF header.
54714 2010-09-27 Andreas Schwab <schwab@redhat.com>
54717 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54718 Mask out sign-bit copies when constructing f_fsid.
54720 2010-09-24 Petr Baudis <pasky@suse.cz>
54722 * debug/stack_chk_fail_local.c: Add missing licence exception.
54723 * debug/warning-nop.c: Likewise.
54725 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54727 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54728 implementing getdents64 using getdents syscall, set d_type if
54729 __ASSUME_GETDENTS32_D_TYPE.
54731 2010-09-16 Andreas Schwab <schwab@redhat.com>
54733 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54734 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54736 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54739 * posix/unistd.h: Undo change of feature selection for ftruncate from
54742 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54744 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54747 2010-09-20 Andreas Schwab <schwab@redhat.com>
54749 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54753 2010-09-14 Andreas Schwab <schwab@redhat.com>
54755 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54756 variables after CHECK_SP call.
54757 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54759 2010-09-13 Andreas Schwab <schwab@redhat.com>
54760 Ulrich Drepper <drepper@redhat.com>
54762 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54763 re-relocationg ld.so.
54764 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54765 _dl_init_paths call.
54766 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54769 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54771 * resolv/res_init.c (__res_vinit): Count the default server we added.
54773 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54774 Ulrich Drepper <drepper@redhat.com>
54777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54778 (____longjmp_chk): Use %ebx for saving value across system call.
54781 2010-09-06 Andreas Schwab <schwab@redhat.com>
54783 * manual/Makefile: Don't mix pattern rules with normal rules.
54785 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54787 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54789 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54790 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54791 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54792 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54796 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54799 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54800 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54802 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54804 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54805 * sysdeps/x86_64/addmul_1.S: Likewise.
54806 * sysdeps/x86_64/lshift.S: Likewise.
54807 * sysdeps/x86_64/mul_1.S: Likewise.
54808 * sysdeps/x86_64/rshift.S: Likewise.
54809 * sysdeps/x86_64/sub_n.S: Likewise.
54810 * sysdeps/x86_64/submul_1.S: Likewise.
54812 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54814 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54815 Define __sched_param instead of SCHED_* and sched_param when
54816 <bits/sched.h> is included with __need_schedparam defined.
54817 * bits/sched.h [__need_schedparam]
54818 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54819 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54820 (__defined_schedparam): Define to 1.
54821 (__sched_param): New structure, identical to sched_param.
54822 (__need_schedparam): Undefine.
54824 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54826 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54827 (epoll_create1): Declare.
54829 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54831 2010-08-31 Andreas Schwab <schwab@redhat.com>
54834 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54835 shifting retval into place.
54837 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54839 * nis/rpcsvc/nis.h: Update copyright notice.
54840 * nis/rpcsvc/nis.x: Likewise.
54841 * nis/rpcsvc/nis_callback.h: Likewise.
54842 * nis/rpcsvc/nis_callback.x: Likewise.
54843 * nis/rpcsvc/nis_object.x: Likewise.
54844 * nis/rpcsvc/nis_tags.h: Likewise.
54845 * nis/rpcsvc/yp.h: Likewise.
54846 * nis/rpcsvc/yp.x: Likewise.
54847 * nis/rpcsvc/ypupd.h: Likewise.
54848 * nis/yp_xdr.c: Likewise.
54849 * nis/ypupdate_xdr.c: Likewise.
54851 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54852 mainly the body of pmap_getport. Add parameters to specify timeouts.
54853 (pmap_getport): Use __libc_rpc_getport.
54854 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54855 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54856 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54858 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54863 2010-08-27 Roland McGrath <roland@redhat.com>
54865 * sysdeps/i386/i686/multiarch/Makefile
54866 (CFLAGS-varshift.c): New variable.
54868 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54870 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54871 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54873 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54875 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54877 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54879 * sysdeps/x86_64/strlen.S: Unroll the loop.
54880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54881 strlen-sse2 strlen-sse2-bsf.
54882 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54883 __strlen_no_bsf if bit_Slow_BSF is set.
54884 (__strlen_sse42): Removed.
54885 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54886 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54888 2010-08-25 Roland McGrath <roland@redhat.com>
54890 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54891 * sysdeps/x86_64/multiarch/varshift.c: New file.
54892 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54893 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54894 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54895 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54897 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54900 strlen-sse2 strlen-sse2-bsf.
54901 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54902 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54903 (__strlen_sse2): Removed.
54904 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54905 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54907 bit_Slow_BSF for Atom.
54908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54909 (index_Slow_BSF): Define.
54910 (HAS_SLOW_BSF): Define.
54912 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54915 * resolv/res_init.c (__res_vinit): When no server address at all
54916 is given default to loopback.
54918 2010-08-24 Roland McGrath <roland@redhat.com>
54920 * configure.in: Remove config-name.h generation.
54921 * configure: Regenerated.
54922 * config-name.in: File removed.
54923 * scripts/config-uname.sh: New file.
54924 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54925 ($(objdir)config-name.h): New target.
54927 * sunrpc/rpc_parse.h: Avoid nested comment.
54929 2010-08-24 Richard Henderson <rth@redhat.com>
54930 Ulrich Drepper <drepper@redhat.com>
54931 H.J. Lu <hongjiu.lu@intel.com>
54933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54935 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54936 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54937 _mm_alignr_epi8 with _mm_loadu_si128.
54938 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54939 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54940 (__m128i_shift_right): Removed.
54941 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54942 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54943 * sysdeps/x86_64/multiarch/varshift.h: New file.
54944 * sysdeps/x86_64/multiarch/varshift.S: New file.
54946 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54948 * configure.in: Move assembler checks to before sysdep dir checking.
54950 2010-08-20 Petr Baudis <pasky@suse.cz>
54952 * LICENSES: Sync the sunrpc license.
54954 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54956 * sunrpc/auth_des.c: Update copyright notice once again.
54957 * sunrpc/auth_none.c: Likewise.
54958 * sunrpc/auth_unix.c: Likewise.
54959 * sunrpc/authdes_prot.c: Likewise.
54960 * sunrpc/authuxprot.c: Likewise.
54961 * sunrpc/bindrsvprt.c: Likewise.
54962 * sunrpc/clnt_gen.c: Likewise.
54963 * sunrpc/clnt_perr.c: Likewise.
54964 * sunrpc/clnt_raw.c: Likewise.
54965 * sunrpc/clnt_simp.c: Likewise.
54966 * sunrpc/clnt_tcp.c: Likewise.
54967 * sunrpc/clnt_udp.c: Likewise.
54968 * sunrpc/clnt_unix.c: Likewise.
54969 * sunrpc/des_crypt.c: Likewise.
54970 * sunrpc/des_soft.c: Likewise.
54971 * sunrpc/get_myaddr.c: Likewise.
54972 * sunrpc/getrpcport.c: Likewise.
54973 * sunrpc/key_call.c: Likewise.
54974 * sunrpc/key_prot.c: Likewise.
54975 * sunrpc/openchild.c: Likewise.
54976 * sunrpc/pm_getmaps.c: Likewise.
54977 * sunrpc/pm_getport.c: Likewise.
54978 * sunrpc/pmap_clnt.c: Likewise.
54979 * sunrpc/pmap_prot.c: Likewise.
54980 * sunrpc/pmap_prot2.c: Likewise.
54981 * sunrpc/pmap_rmt.c: Likewise.
54982 * sunrpc/rpc/auth.h: Likewise.
54983 * sunrpc/rpc/auth_unix.h: Likewise.
54984 * sunrpc/rpc/clnt.h: Likewise.
54985 * sunrpc/rpc/des_crypt.h: Likewise.
54986 * sunrpc/rpc/key_prot.h: Likewise.
54987 * sunrpc/rpc/netdb.h: Likewise.
54988 * sunrpc/rpc/pmap_clnt.h: Likewise.
54989 * sunrpc/rpc/pmap_prot.h: Likewise.
54990 * sunrpc/rpc/pmap_rmt.h: Likewise.
54991 * sunrpc/rpc/rpc.h: Likewise.
54992 * sunrpc/rpc/rpc_des.h: Likewise.
54993 * sunrpc/rpc/rpc_msg.h: Likewise.
54994 * sunrpc/rpc/svc.h: Likewise.
54995 * sunrpc/rpc/svc_auth.h: Likewise.
54996 * sunrpc/rpc/types.h: Likewise.
54997 * sunrpc/rpc/xdr.h: Likewise.
54998 * sunrpc/rpc_clntout.c: Likewise.
54999 * sunrpc/rpc_cmsg.c: Likewise.
55000 * sunrpc/rpc_common.c: Likewise.
55001 * sunrpc/rpc_cout.c: Likewise.
55002 * sunrpc/rpc_dtable.c: Likewise.
55003 * sunrpc/rpc_hout.c: Likewise.
55004 * sunrpc/rpc_main.c: Likewise.
55005 * sunrpc/rpc_parse.c: Likewise.
55006 * sunrpc/rpc_parse.h: Likewise.
55007 * sunrpc/rpc_prot.c: Likewise.
55008 * sunrpc/rpc_sample.c: Likewise.
55009 * sunrpc/rpc_scan.c: Likewise.
55010 * sunrpc/rpc_scan.h: Likewise.
55011 * sunrpc/rpc_svcout.c: Likewise.
55012 * sunrpc/rpc_tblout.c: Likewise.
55013 * sunrpc/rpc_util.c: Likewise.
55014 * sunrpc/rpc_util.h: Likewise.
55015 * sunrpc/rpcinfo.c: Likewise.
55016 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55017 * sunrpc/rpcsvc/key_prot.x: Likewise.
55018 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55019 * sunrpc/rpcsvc/mount.x: Likewise.
55020 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55021 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55022 * sunrpc/rpcsvc/rex.x: Likewise.
55023 * sunrpc/rpcsvc/rstat.x: Likewise.
55024 * sunrpc/rpcsvc/rusers.x: Likewise.
55025 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55026 * sunrpc/rpcsvc/spray.x: Likewise.
55027 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55028 * sunrpc/rtime.c: Likewise.
55029 * sunrpc/svc.c: Likewise.
55030 * sunrpc/svc_auth.c: Likewise.
55031 * sunrpc/svc_authux.c: Likewise.
55032 * sunrpc/svc_raw.c: Likewise.
55033 * sunrpc/svc_run.c: Likewise.
55034 * sunrpc/svc_simple.c: Likewise.
55035 * sunrpc/svc_tcp.c: Likewise.
55036 * sunrpc/svc_udp.c: Likewise.
55037 * sunrpc/svc_unix.c: Likewise.
55038 * sunrpc/svcauth_des.c: Likewise.
55039 * sunrpc/xcrypt.c: Likewise.
55040 * sunrpc/xdr.c: Likewise.
55041 * sunrpc/xdr_array.c: Likewise.
55042 * sunrpc/xdr_float.c: Likewise.
55043 * sunrpc/xdr_mem.c: Likewise.
55044 * sunrpc/xdr_rec.c: Likewise.
55045 * sunrpc/xdr_ref.c: Likewise.
55046 * sunrpc/xdr_sizeof.c: Likewise.
55047 * sunrpc/xdr_stdio.c: Likewise.
55049 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55052 2010-08-19 Andreas Schwab <schwab@redhat.com>
55054 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55056 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55058 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55059 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55060 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55061 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55062 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55063 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55064 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55065 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55066 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55067 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55068 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55069 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55070 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55071 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55073 2010-07-26 Anton Blanchard <anton@samba.org>
55075 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55076 * malloc/arena.c (heap_trim): Likewise.
55078 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55080 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55082 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55083 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55085 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55087 * sysdeps/i386/elf/Makefile: New file.
55089 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55091 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55092 from fanotify_init.
55093 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55094 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55096 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55098 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55100 * sysdeps/multiarch/strcmp.S: Likewise.
55102 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55104 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55105 strncase_l-nonascii.
55106 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55107 Add strncase_l-ssse3.
55108 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55109 * sysdeps/x86_64/strcmp.S: Likewise.
55110 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55111 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55112 * sysdeps/x86_64/strncase.S: New file.
55113 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55114 * sysdeps/x86_64/strncase_l.S: New file.
55115 * string/Makefile (strop-tests): Add strncasecmp.
55116 * string/test-strncasecmp.c: New file.
55118 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55121 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55122 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55124 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55126 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55128 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55130 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55131 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55132 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55134 2010-05-01 Alan Modra <amodra@gmail.com>
55136 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55137 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55138 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55139 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55140 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55141 tidying. Don't tail-call __sigjmp_save for static lib.
55142 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55144 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55145 (CALL_MCOUNT): Add eh info, and nop after bl.
55146 (TAIL_CALL_SYSCALL_ERROR): New macro.
55147 (PSEUDO_RET): Use it.
55148 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55149 Correct save location of integer regs and cr.
55150 (_dl_profile_resolve): Correct cr save location. Delete nops
55151 after bl when SHARED. Reduce cfi size a little by better
55152 placement of cfi directives.
55153 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55154 make a stack frame. Instead use parm save area as a temp.
55155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55156 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55158 Don't make a stack frame for parent, use parm save area.
55159 Increase child stack frame to 112 bytes. Don't save unused reg,
55160 and adjust reg usage. Set up cfi on error recovery and
55161 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55163 (__makecontext): Add dummy nop after jump to exit.
55164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55165 Use correct parm save area and cr save, reduce stack frame.
55166 Correct cfi for possible PSEUDO_RET frame setup.
55167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55168 Branch to local label emitted by PSEUDO_RET rather than
55171 2010-08-12 Andreas Schwab <schwab@redhat.com>
55174 * locale/programs/locale.c (print_assignment): New function.
55175 (show_locale_vars): Use it.
55177 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55179 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55181 (struct statfs64): Likewise.
55182 (_STATFS_F_FLAGS): Define.
55183 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55185 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55186 (ST_VALID): Define locally.
55187 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55188 __statvfs_getflags, use the provided value.
55189 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55190 __ASSUME_STATFS_F_FLAGS.
55192 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55194 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55195 Add sys/fanotify.h.
55196 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55197 fanotify_mask for GLIBC_2.13.
55198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55199 fanotify_init and fanotify_mark.
55200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55201 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55205 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55206 prlimit64 for GLIBC_2.13.
55207 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55209 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55212 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55213 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55214 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55215 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55217 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55220 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55221 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55223 * nss/Makefile: Add rules to build and run tst-nss-test1.
55224 * shlib-versions: Add entry for libnss_test1.
55225 * nss/nss_test1.c: New file.
55226 * nss/tst-nss-test1.c: New file.
55228 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55229 (__nss_configure_lookup): Set appropriate entry in
55230 __nss_configure_lookup to true.
55231 * nss/nsswitch.h: Define enum with indeces of databases in
55232 databases and __nss_database_custom arrays. Declare
55233 __nss_database_custom.
55234 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55235 to avoid using nscd when custom rules are installed.
55236 * nss/getXXbyYY_r.c: Likewise.
55237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55239 * nss/nss_files/files-parse.c: Whitespace fixes.
55241 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55244 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55245 * posix/fnmatch_loop.c: Likewise.
55247 2010-07-17 Andi Kleen <ak@linux.intel.com>
55249 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55250 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55251 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55252 * Versions.def [GLIBC_2.13]: Add.
55254 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55256 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55257 Also fail if tpwd after pwuid call is NULL.
55259 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55261 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55262 when converting to ms.
55264 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55266 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55267 EOPNOTSUPP errors with ENOTTY.
55268 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55269 EOPNOTSUPP errors with ENOTTY.
55271 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55273 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55274 Add strcasecmp_l-ssse3.
55275 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55277 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55278 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55279 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55281 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55283 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55285 * string/Makefile (strop-tests): Add strcasecmp.
55286 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55287 strcasecmp_l-nonascii.
55288 (gen-as-const-headers): Add locale-defines.sym.
55289 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55290 * sysdeps/x86_64/strcasecmp.S: New file.
55291 * sysdeps/x86_64/strcasecmp_l.S: New file.
55292 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55293 * sysdeps/x86_64/locale-defines.sym: New file.
55294 * string/test-strcasecmp.c: New file.
55296 * string/test-strcasestr.c: Test both ends of the range of characters.
55297 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55299 2010-07-29 Roland McGrath <roland@redhat.com>
55302 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55304 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55306 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55309 2010-07-27 Andreas Schwab <schwab@redhat.com>
55311 * manual/memory.texi (Malloc Tunable Parameters): Document
55314 2010-07-26 Roland McGrath <roland@redhat.com>
55317 * configure.in (-fgnu89-inline check): Set and substitute
55318 gnu89_inline, not libc_cv_gnu89_inline.
55319 * configure: Regenerated.
55320 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55322 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55324 * string/test-strnlen.c: New file.
55325 * string/Makefile (strop-tests): Add strnlen.
55326 * string/tester.c (test_strnlen): Add a few more test cases.
55327 * string/tst-strlen.c: Better error reporting.
55329 * sysdeps/x86_64/strnlen.S: New file.
55331 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55333 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55334 lower-latency instructions.
55336 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55338 * string/test-strcasestr.c: New file.
55339 * string/test-strstr.c: New file.
55340 * string/Makefile (strop-tests): Add strstr and strcasestr.
55341 * string/str-two-way.h: Don't undefine MAX.
55342 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55344 2010-07-21 Andreas Schwab <schwab@redhat.com>
55346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55347 strcasestr-nonascii.
55348 (CFLAGS-strcasestr-nonascii.c): Define.
55349 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55350 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55351 Remove unused attribute.
55353 2010-07-20 Roland McGrath <roland@redhat.com>
55355 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55356 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55357 ld.so.cache was broken. With it, there is no way to disable dsocaps
55358 like LD_HWCAP_MASK can disable hwcaps.
55360 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55362 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55364 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55366 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55367 call in strcasestr.
55368 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55369 __strcasestr_sse42_nonascii.
55370 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55371 strcasestr-nonascii.c.
55372 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55374 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55376 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55377 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55378 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55379 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55381 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55383 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55386 2010-07-06 Andreas Schwab <schwab@redhat.com>
55389 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55392 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55394 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55395 _PC_PIPE_BUF using F_GETPIPE_SZ.
55397 2010-07-05 Roland McGrath <roland@redhat.com>
55399 * manual/arith.texi (Rounding Functions): Fix rint description
55400 implicit in round description.
55402 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55404 * elf/Makefile: Fix linking for a few tests to make recent linker
55407 2010-06-30 Andreas Schwab <schwab@redhat.com>
55409 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55410 $(common-objpfx)libc_nonshared.a.
55412 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55414 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55415 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55416 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55417 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55418 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55419 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55420 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55421 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55436 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55437 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55438 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55439 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55440 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55441 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55442 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55443 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55444 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55445 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55446 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55447 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55463 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55465 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55466 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55467 * string/memmove.c (memmove): Renamed to ...
55468 (MEMMOVE): ...this. Default to memmove.
55469 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55470 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55473 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55474 mempcpy-ssse3-back memmove-ssse3-back.
55475 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55477 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55478 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55479 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55480 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55481 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55482 * sysdeps/x86_64/multiarch/memmove.c: New file.
55483 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55484 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55485 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55486 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55487 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55488 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55490 (index_Fast_Copy_Backward): Define.
55491 (HAS_ARCH_FEATURE): Define.
55492 (HAS_FAST_REP_STRING): Define.
55493 (HAS_FAST_COPY_BACKWARD): Define.
55495 2010-06-21 Andreas Schwab <schwab@redhat.com>
55497 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55498 Restore proper fallback handling.
55500 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55503 * posix/group_member.c (__group_member): Correct checking loop.
55505 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55506 OOM in getpwuid_r correctly. Return error number when the caller
55507 should return, otherwise -1.
55508 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55509 call returning > 0 value.
55510 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55512 2010-06-07 Andreas Schwab <schwab@redhat.com>
55514 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55515 libc_nonshared.a from targets in modules-names.
55517 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55519 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55522 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55524 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55525 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55526 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55527 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55529 2010-06-02 Andreas Schwab <schwab@redhat.com>
55531 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55533 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55535 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55537 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55540 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55544 2010-06-14 Roland McGrath <roland@redhat.com>
55546 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55548 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55550 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55551 __REDIRECT followed by __THROW.
55552 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55553 * posix/getopt.h (getopt): Likewise.
55555 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55557 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55558 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55559 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55561 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55562 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55564 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55566 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55568 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55572 Properly check family and model.
55574 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55578 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55580 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55582 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55584 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55587 2010-05-19 Andreas Schwab <schwab@redhat.com>
55589 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55592 2010-05-21 Andreas Schwab <schwab@redhat.com>
55594 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55595 and internal_recvmmsg.
55596 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55597 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55599 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55601 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55602 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55603 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55605 2010-05-20 Andreas Schwab <schwab@redhat.com>
55607 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55609 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55611 POWER7 optimizations.
55612 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55613 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55615 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55617 * version.h: Update for 2.13 development version.
55619 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55621 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55622 exceptions. Return 0.
55624 2010-05-07 Roland McGrath <roland@redhat.com>
55626 * elf/ldconfig.c (main): Add a const.
55628 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55630 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55631 (args_options): Add no-idn option.
55632 (ahosts_keys_int): Add idn_flags to ai_flags.
55633 (parse_option): Handle 'i' option to clear idn_flags.
55635 * malloc/malloc.c (_int_free): Possible race in the most recently
55636 added check. Only act on the data if no current modification
55639 See ChangeLog.17 for earlier changes.