1 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4 * sysdeps/s390/s390-32/memcmp.S
5 (memcmp_g5): Rename to __memcmp_g5.
6 * sysdeps/s390/s390-32/memcpy.S
7 (memcpy_g5): Rename to __memcpy_g5.
8 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9 (memcpy_mvcle) Rename to __memcpy_mvcle.
10 * sysdeps/s390/s390-32/memset.S
11 (memset_g5): Rename to __memset_g5.
12 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13 (IFUNC_RESOLVE): Prefix ifunc-resolve function
14 and use prefixed functions.
15 * sysdeps/s390/s390-32/multiarch/memcmp.S
16 (memcmp_z196): Rename to __memcmp_z196.
17 (memcmp_z10): Rename to __memcmp_z10.
18 (memcmp): Set alias to __memcmp_g5.
19 (bcmp): Set alias to __memcmp_g5.
20 * sysdeps/s390/s390-32/multiarch/memcpy.S
21 (memcpy_z196): Rename to __memcpy_z196.
22 Jump to __memcpy_mvcle instead of memcpy_mvcle.
23 (memcpy_z10): Rename to __memcpy_z10.
24 Jump to __memcpy_mvcle instead of memcpy_mvcle.
25 (memcpy): Set alias to __memcpy_g5.
26 * sysdeps/s390/s390-32/multiarch/memset.S
27 (memset_z196): Rename to __memset_z196.
28 Jump to __memset_mvcle instead of memset_mvcle.
29 (memset_z10): Rename to __memset_z10.
30 Jump to __memset_mvcle instead of memset_mvcle.
31 (memset_mvcle) Rename to __memset_mvcle.
32 (memset): Set alias to __memset_g5.
33 * sysdeps/s390/s390-64/memcmp.S
34 (memcmp_z900): Rename to __memcmp_z900.
35 * sysdeps/s390/s390-64/memcpy.S
36 (memcpy_z900): Rename to __memcpy_z900.
37 Jump to __memcpy_mvcle instead of memcpy_mvcle.
38 (memcpy_mvcle) Rename to __memcpy_mvcle.
39 * sysdeps/s390/s390-64/memset.S
40 (memset_z900): Rename to __memset_z900.
41 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
42 (IFUNC_RESOLVE): Prefix ifunc-resolve function
43 and use prefixed functions.
44 * sysdeps/s390/s390-64/multiarch/memcmp.S
45 (memcmp_z196): Rename to __memcmp_z196.
46 (memcmp_z10): Rename to __memcmp_z10.
47 (memcmp): Set alias to __memcmp_z900.
48 (bcmp): Set alias to __memcmp_z900.
49 * sysdeps/s390/s390-64/multiarch/memcpy.S
50 (memcpy_z196): Rename to __memcpy_z196.
51 Jump to __memcpy_mvcle instead of memcpy_mvcle.
52 (memcpy_z10): Rename to __memcpy_z10.
53 Jump to __memcpy_mvcle instead of memcpy_mvcle.
54 (memcpy): Set alias to __memcpy_z900.
55 * sysdeps/s390/s390-64/multiarch/memset.S
56 (memset_z196): Rename to __memset_z196.
57 Jump to __memset_mvcle instead of memset_mvcle.
58 (memset_z10): Rename to __memset_z10.
59 Jump to __memset_mvcle instead of memset_mvcle.
60 (memset_mvcle) Rename to __memset_mvcle.
61 (memset): Set alias to __memset_z900.
63 2015-01-14 Joseph Myers <joseph@codesourcery.com>
66 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
67 __fesetenv instead of fesetenv.
69 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
71 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
74 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
79 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
80 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
81 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
82 strncmp-power8 object.
83 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
84 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
85 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
88 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
89 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
94 2015-01-13 David S. Miller <davem@davemloft.net>
96 * include/signal.h (__sigreturn): Guard with __USE_MISC.
98 2015-01-13 Roland McGrath <roland@hack.frob.com>
100 * login/logout.c (logout): Use memset rather than bzero.
101 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
102 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
103 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
104 (_gethtbyaddr): Likewise.
105 * locale/programs/simple-hash.c (bcopy): Macro removed.
107 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
110 Add strcmp-power8 object.
111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
112 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
113 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
114 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
115 __strcmp_power8 implementation.
116 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
119 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
120 Add strncpy-power8 and stpncpy-power8 objects.
121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
122 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
124 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
125 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
126 __stpncpy_power8 implementation.
127 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
128 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
129 __strncpy_power8 implementation.
130 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
131 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
134 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
135 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
136 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
138 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
139 strncat-power8 object.
140 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
141 __strcat_power8 implementation.
142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
143 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
144 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
145 optimized strcat for power8.
147 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
148 strcpy-power8 and stpcpy-power8 objects.
149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
150 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
152 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
153 multiarch stpcpy implementation for POWER8.
154 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
155 multiarch strcpy implementation for POWER8.
156 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
157 __strcpy_power8 function.
158 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
160 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
164 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
167 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
168 weights and rules. Use do_xfrm_cached if data fits in cache,
169 do_xfrm otherwise. Moved former main loop to...
170 * (do_xfrm_cached): New function.
171 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
172 find_idx, find_position and stack_push.
173 * (find_idx): New function.
174 * (find_position): Likewise.
175 * localedata/sort-test.sh: Added test run for do_xfrm.
176 * localedata/xfrm-test.c (main): Added command line option
177 -nocache to run the test with strings that are too large for
180 2015-01-13 Torvald Riegel <triegel@redhat.com>
182 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
183 variable to lll_futex_wake call, not the value itself.
185 2015-01-12 Joseph Myers <joseph@codesourcery.com>
188 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
189 twom64. Adjust value to 0x1p-64L.
190 (__scalblnl): Only return standard underflowing result for K <=
191 -64 not K <= -63; adjust exponent for underflowing result by 64
193 * math/libm-test.inc (scalbn_test_data): Add more tests.
194 (scalbln_test_data): Likewise.
197 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
199 (__scalblnl): Get new exponent of adjusted subnormal value from ES
201 * math/libm-test.inc (scalbn_test_data): Add more tests.
202 (scalbln_test_data): Likewise.
204 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205 Stefani Seibold <stefani@seibold.net>
207 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
208 (sysdep_routines): Add dl-vdso here, ...
209 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
210 (sysdep_routines): ... not here.
211 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
212 fallback when vDSO is not presented.
213 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
214 Define with libc_hidden_proto/libc_hidden_data_def definitions.
215 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
216 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
217 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
218 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
219 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
221 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
223 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
224 fallback configurable symbol when vDSO is not available.
225 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
226 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
227 be able to redefine fallback symbol when vDSO is not available.
228 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
229 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
231 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
234 (TLS_INIT_TP): Add tm_capable initialization.
235 (TLS_DEFINE_INIT_TP): Likewise.
236 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
238 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
239 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
241 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
242 transactoion is lock elision is built and TCB tm_capable is set.
243 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
245 (INTERNAL_SYSCALL_NCS): Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
247 (INTERNAL_SYSCALL_NCS): Likewise.
248 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
250 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
252 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
253 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
254 and remove it for 32 bits case.
255 [pthread_rwlock_t] (__rwelision): New field for lock elision.
256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
258 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
259 Disable lock elision with rdlocks if elision is not available.
261 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
262 (sysdep_routines): Add lock elision objects.
263 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
264 [pthread_mutex_t] (__spins): Rework to add lock elision field.
265 [pthread_mutex_t] (__elision): Add field.
266 [__PTHREAD_SPINS]: Adjust to init lock elision field.
267 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
268 elision definitions for powerpc.
269 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
270 implementation of lock elision for powerpc.
271 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
272 implementation of timed lock elision for powerpc.
273 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
274 implementation of trylock with lock elision for powerpc.
275 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
276 implementaion of unlock for lock elision for powerpc.
277 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
278 automatic enable lock elision for mutexes.
279 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
280 transaction execution definitions for powerpc.
281 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
283 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
284 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
285 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
286 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
289 2015-01-09 Roland McGrath <roland@hack.frob.com>
291 * sysdeps/posix/shm-directory.c: Use <> rather than ""
292 for #include of <shm-directory.h>.
294 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
297 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
299 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
302 * NEWS: Mention bug fix.
303 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
304 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
305 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
307 2015-01-09 Torvald Riegel <triegel@redhat.com>
309 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
311 2015-01-09 Torvald Riegel <triegel@redhat.com>
313 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
315 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
317 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
318 pointer and cast to uintptr_t.
320 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
322 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
324 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
326 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
328 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
331 2015-01-08 Roland McGrath <roland@hack.frob.com>
333 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
334 <nptl/pthreadP.h> instead.
335 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
337 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
339 [__SIGRTMIN] (init): Function removed.
340 [__SIGRTMIN] (initialized): Variable removed.
341 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
342 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
343 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
344 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
345 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
346 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
347 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
348 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
349 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
350 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
351 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
352 * sysdeps/nptl/allocrtsig.c: New file.
353 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
354 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
355 * sysdeps/generic/testrtsig.h: File removed.
357 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
358 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
360 * nptl/nptl-init.c (pthread_functions): Conditionalize
361 .ptr__nptl_setxid initialization on [SIGSETXID].
363 * sysdeps/nptl/sys/procfs.h: New file.
364 * nptl_db/Makefile (headers): Add it.
365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
367 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
368 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
369 * nptl/pthread_attr_setaffinity.c: Include it.
370 * nptl/pthread_setattr_default_np.c: Likewise.
371 * nptl/check-cpuset.h: New file.
373 2015-01-08 Richard Henderson <rth@redhat.com>
375 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
376 (CFLAGS-tst-execstack-prog.c): Likewise.
377 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
379 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
380 Sandra Loosemore <sandra@codesourcery.com>
381 Andrew Jenner <andrew@codesourcery.com>
382 Joseph Myers <joseph@codesourcery.com>
383 Nathan Sidwell <nathan@codesourcery.com>
385 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
386 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
387 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
388 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
389 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
390 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
391 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
392 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
393 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
394 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
395 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
396 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
397 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
398 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
399 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
400 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
401 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
403 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
405 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
406 timespec struct member in syscall macro.
407 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
408 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
409 first timeval struct member in syscall macro.
410 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
412 2015-01-07 Joseph Myers <joseph@codesourcery.com>
415 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
416 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
417 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
418 __feupdateenv and define as weak alias of __feupdateenv. Use
420 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
422 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
423 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
424 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
425 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
427 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
428 __feupdateenv and define as weak alias of __feupdateenv. Use
430 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
432 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
433 __feupdateenv and define as weak alias of __feupdateenv. Use
435 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
437 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
438 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
439 (__feupdateenv): Likewise.
440 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
441 __feupdateenv and define as weak alias of __feupdateenv. Use
443 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
444 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
446 * sysdeps/tile/math_private.h (__feupdateenv): New inline
448 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
450 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
451 __feupdateenv instead of feupdateenv.
452 (default_libc_feupdateenv_test): Likewise.
453 (libc_feresetround_ctx): Likewise.
455 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
457 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
460 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
462 * posix/regcomp.c (parse_bracket_exp): Initialize type to
463 COLL_SYM in a couple of places to avoid uninitialized variable
464 wanings on tilegx gcc 4.8.2.
466 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
468 * sysdeps/aarch64/strcpy.S: New file.
469 * sysdeps/aarch64/stpcpy.S: New file.
472 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
474 * sysdeps/aarch64/strrchr.S: New file.
477 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
480 * stdlib/setenv.c: Fix memory leak when setting large,
483 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
486 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
487 and tabs from buffer before parsing fstab entry.
488 * misc/tst-mntent.c (main): Add test for mount entry with
489 trailing spaces and tabs.
491 2015-01-06 Joseph Myers <joseph@codesourcery.com>
494 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
495 * math/fesetround.c (fesetround): Rename to __fesetround and
496 define as weak alias of __fesetround. Use libm_hidden_weak.
497 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
498 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
499 * sysdeps/arm/fesetround.c (fesetround): Likewise.
500 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
501 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
502 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
503 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
504 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
505 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
507 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
508 __fesetround_inline instead of __fesetround.
509 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
510 __fesetround and define as weak alias of __fesetround. Use
511 libm_hidden_weak. Call __fesetround_inline instead of
513 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
514 __fesetround and define as weak alias of __fesetround. Use
516 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
518 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
519 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
520 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
521 * sysdeps/tile/math_private.h (__fesetround): New inline function.
522 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
523 __fesetround and define as weak alias of __fesetround. Use
525 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
526 __fesetround instead of fesetround.
527 (default_libc_feholdexcept_setround): Likewise.
528 (libc_feholdsetround_ctx): Likewise.
529 (libc_feholdsetround_noex_ctx): Likewise.
532 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
533 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
534 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
535 and define as weak alias of __fesetenv. Use libm_hidden_weak.
536 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
537 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
538 define as weak alias of __fesetenv. Use libm_hidden_weak.
539 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
540 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
541 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
542 define as weak alias of __fesetenv. Use libm_hidden_weak.
543 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
544 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
545 define as weak alias of __fesetenv. Use libm_hidden_weak.
546 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
548 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
549 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
551 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
552 define as weak alias of __fesetenv. Use libm_hidden_weak.
553 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
554 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
555 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
556 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
557 and define as weak alias of __fesetenv. Use libm_hidden_weak.
558 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
559 __fesetenv instead of fesetenv.
560 (libc_feresetround_noex_ctx): Likewise.
561 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
562 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
563 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
564 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
565 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
566 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
567 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
568 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
569 (__feupdateenv): Likewise.
570 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
571 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
572 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
573 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
575 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
578 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
579 addresses have been freed.
581 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
583 * resolv/res_init.c (__res_vinit): Improve comments about nserv
586 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
588 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
589 Clean up check_pf allocation pattern. addresses
591 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
594 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
595 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
596 * nptl/pthread_exit.c (__pthread_exit): Likewise.
597 * nptl/pthread_join.c (pthread_join): Likewise.
598 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
599 * sysdeps/posix/waitid.c (__waitid): Likewise.
600 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
601 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
602 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
603 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
604 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
606 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
607 (__libc_pread64): Likewise.
608 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
609 (__libc_pwrite): Likewise.
610 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
611 (__libc_pwrite64): Likewsie.
612 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
613 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
614 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
615 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
616 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
617 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
618 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
622 (__libc_pread64): Likewise.
623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
626 (__libc_pwrite64): Likewise.
627 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
628 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
629 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
630 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
631 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
632 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
633 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
634 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
635 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
636 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
637 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
638 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
639 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
640 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
641 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
642 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
645 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
647 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
648 (CFLAGS-test-double.c): Likewise.
649 (CFLAGS-test-ldouble.c): Likewise.
650 (CPPFLAGS-test-ifloat.c): Likewise.
651 (CPPFLAGS-test-idouble.c): Likewise.
652 (CPPFLAGS-test-ildoubl.c): Likewise.
653 (CFLAGS-test-test-fenv.c): Remove variable.
654 (CFLAGS-test-misc.c): Likewise.
656 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
659 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
660 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
661 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
662 CLOCKS_PER_SEC == 1000000.
663 * time/clocktest.c (main): Replace %ld with %jd and cast to
666 2015-01-05 Roland McGrath <roland@hack.frob.com>
668 * sysdeps/generic/unwind-resume.h: New file.
669 * sysdeps/gnu/unwind-resume.c: Include it.
670 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
671 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
673 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
674 global rather than static.
675 (_Unwind_Resume): Update user.
676 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
677 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
678 rather than static. Add __attribute__ ((cold)).
679 (_Unwind_Resume, __gcc_personality_v0): Update callers.
680 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
681 * sysdeps/arm/arm-unwind-resume.S: New file.
682 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
683 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
684 * sysdeps/arm/Makefile [$(subdir) = csu]
685 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
686 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
687 Add rt-arm-unwind-resume.
689 (libpthread-sysdep_routines, libpthread-shared-only-routines):
690 Add pt-arm-unwind-resume.
691 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
692 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
694 2015-01-05 Joseph Myers <joseph@codesourcery.com>
697 * include/fenv.h (__feholdexcept): Declare. Use
699 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
700 define as weak alias of __feholdexcept. Use libm_hidden_weak.
701 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
702 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
703 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
704 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
705 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
706 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
707 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
708 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
709 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
710 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
711 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
712 (feholdexcept): Likewise.
713 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
714 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
715 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
716 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
717 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
718 __feholdexcept instead of feholdexcept.
719 (default_libc_feholdexcept_setround): Likewise.
721 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
723 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
724 to avoid using stl/str to align destination.
726 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
728 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
730 2015-01-05 Joseph Myers <joseph@codesourcery.com>
733 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
734 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
735 Define as weak alias not strong alias.
737 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
739 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
743 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
745 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
746 for __vdso_* functions in declarations.
747 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
749 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
750 INTERNAL_VSYSCALL): Use struct return types to check for error.
752 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
753 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
754 function with cast from llround().
755 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
756 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
759 2015-01-05 Joseph Myers <joseph@codesourcery.com>
762 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
763 Define as weak alias not strong alias.
766 * ctype/ctype-c99.c: New file. isblank implementation moved from
768 * ctype/ctype-extn.c: ... here.
769 (__isblank_l): Move to ...
770 * ctype/ctype-c99_l.c: ... here. New file.
771 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
772 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
774 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
775 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
776 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
777 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
778 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
781 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
782 (posix_fadvise64): Define as weak alias not strong alias.
783 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
784 (posix_fallocate64): Likewise.
785 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
787 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
788 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
789 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
790 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
791 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
793 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
796 * NEWS: Mention bug fix.
797 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
798 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
799 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
800 (HOST_STACK_END_ADDR): Likewise.
802 2015-01-02 Joseph Myers <joseph@codesourcery.com>
805 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
806 * math/fegetround.c (fegetround): Rename to __fegetround and
807 define as weak alias of __fegetround. Use libm_hidden_weak.
808 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
809 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
810 * sysdeps/arm/fegetround.c (fegetround): Likewise.
811 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
812 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
813 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
814 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
815 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
816 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
817 Undefine after rather than before function definition; use
818 parentheses around function name in definition.
819 (__fegetround): Also undefine macro after function definition.
820 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
821 __fegetround and define as weak alias of __fegetround. Use
822 libm_hidden_weak. Do not undefine as macro.
823 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
825 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
826 __fegetround and define as weak alias of __fegetround. Use
828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
829 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
830 * sysdeps/tile/math_private.h (__fegetround): New inline function.
831 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
832 __fegetround and define as weak alias of __fegetround. Use
834 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
835 __fegetround instead of fegetround.
838 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
839 Condition macro definition on [__USE_MISC].
842 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
843 (struct sigaction): Change type of sa_flags field to int.
846 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
847 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
850 * nptl/version.c (banner): Use single year in copyright notice.
852 * NEWS: Update copyright dates.
853 * catgets/gencat.c (print_version): Likewise.
854 * csu/version.c (banner): Likewise.
855 * debug/catchsegv.sh: Likewise.
856 * debug/pcprofiledump.c (print_version): Likewise.
857 * debug/xtrace.sh (do_version): Likewise.
858 * elf/ldconfig.c (print_version): Likewise.
859 * elf/ldd.bash.in: Likewise.
860 * elf/pldd.c (print_version): Likewise.
861 * elf/sotruss.sh: Likewise.
862 * elf/sprof.c (print_version): Likewise.
863 * iconv/iconv_prog.c (print_version): Likewise.
864 * iconv/iconvconfig.c (print_version): Likewise.
865 * locale/programs/locale.c (print_version): Likewise.
866 * locale/programs/localedef.c (print_version): Likewise.
867 * login/programs/pt_chown.c (print_version): Likewise.
868 * malloc/memusage.sh (do_version): Likewise.
869 * malloc/memusagestat.c (print_version): Likewise.
870 * malloc/mtrace.pl: Likewise.
871 * manual/libc.texinfo: Likewise.
872 * nptl/version.c (banner): Likewise.
873 * nscd/nscd.c (print_version): Likewise.
874 * nss/getent.c (print_version): Likewise.
875 * nss/makedb.c (print_version): Likewise.
876 * posix/getconf.c (main): Likewise.
877 * scripts/test-installation.pl: Likewise.
878 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
880 2015-01-02 Will Newton <will.newton@linaro.org>
882 * sysdeps/arm/armv7/configure: Removed.
883 * sysdeps/arm/armv7/configure.ac: Likewise.
885 2015-01-02 Joseph Myers <joseph@codesourcery.com>
887 * All files with FSF copyright notices: Update copyright dates
888 using scripts/update-copyrights.
889 * intl/plural.c: Regenerated.
890 * locale/programs/charmap-kw.h: Likewise.
891 * locale/programs/locfile-kw.h: Likewise.
893 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
895 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
897 2014-12-31 Joseph Myers <joseph@codesourcery.com>
900 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
901 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
902 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
903 and define as weak alias of __fegetenv. Use libm_hidden_weak.
904 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
905 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
906 define as weak alias of __fegetenv. Use libm_hidden_weak.
907 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
908 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
909 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
910 define as weak alias of __fegetenv. Use libm_hidden_weak.
911 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
912 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
913 define as weak alias of __fegetenv. Use libm_hidden_weak.
914 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
916 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
919 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
920 define as weak alias of __fegetenv. Use libm_hidden_weak.
921 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
922 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
923 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
924 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
925 and define as weak alias of __fegetenv. Use libm_hidden_weak.
926 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
927 __fegetenv instead of fegetenv.
928 (libc_feholdsetround_noex_ctx): Likewise.
930 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
932 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
933 (Elf_MIPS_ABIFlags_v0): New structure.
934 (EF_MIPS_FP64): Define.
935 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
936 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
937 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
938 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
939 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
940 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
941 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
942 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
943 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
944 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
945 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
946 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
947 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
948 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
949 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
950 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
951 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
952 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
953 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
954 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
955 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
956 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
958 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
960 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
961 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
962 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
963 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
964 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
965 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
966 * sysdeps/mips/tst-abi-interlink.c: Likewise.
967 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
968 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
969 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
970 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
971 record the current FP ABI extension.
972 (mips-mode-switch): Define to show if kernel headers support mode
974 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
975 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
976 supported SYSV ABI version to 3.
977 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
980 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
981 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
985 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
987 2014-12-31 Joseph Myers <joseph@codesourcery.com>
989 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
990 __fegetround and redefine to call __fegetround. Remove condition
991 on [!__NO_MATH_INLINES].
992 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
994 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
995 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
997 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
998 instead of <fenv_libc.h>.
999 (__llrintl): Call fegetround instead of __fegetround.
1000 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1001 instead of <fenv_libc.h>.
1002 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1003 (__lrintl): Call fegetround instead of __fegetround.
1004 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1005 instead of <fenv_libc.h>.
1006 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1007 (__rintl): Call fegetround instead of __fegetround.
1009 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1011 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1014 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1017 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1018 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1019 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1021 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1023 * sysdeps/i386/tls-macros.h: Include <features.h>.
1024 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1028 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1029 define for GCC >= 5.0.
1031 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1033 * math/test-fenv.c (test_single_exception, set_single_exc,
1034 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1035 feexcp_mask_test, feenable_test, fe_single_test): Add
1036 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1037 case where they are not used.
1038 * math/libm-test.inc: Likewise.
1039 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1040 unused in the absence of FP rounding/exception support.
1041 * stdio-common/tst-printf-round.c: Likewise.
1042 * stdlib/tst-strtod-round.c: Likewise.
1043 * stdlib/tst-strtod-underflow.c: Likewise.
1045 2014-12-30 Joseph Myers <joseph@codesourcery.com>
1048 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1049 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1050 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1051 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1053 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1054 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1055 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1057 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1058 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1060 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1062 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1063 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1064 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1066 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1068 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1069 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1070 (__feraiseexcept): Likewise.
1071 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1072 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1074 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1075 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1077 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1078 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1079 Use libm_hidden_def.
1080 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1082 (feraiseexcept): Define as weak not strong alias. Use
1084 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1085 New inline function. Factored out of ...
1086 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1087 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1088 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1090 * math/w_acos.c (__acos): Likewise.
1091 * math/w_asin.c (__asin): Likewise.
1092 * math/w_ilogb.c (__ilogb): Likewise.
1093 * math/w_j0.c (y0): Likewise.
1094 * math/w_j1.c (y1): Likewise.
1095 * math/w_jn.c (yn): Likewise.
1096 * math/w_log.c (__log): Likewise.
1097 * math/w_log10.c (__log10): Likewise.
1098 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1099 * sysdeps/aarch64/fpu/math_private.h
1100 (libc_feupdateenv_test_aarch64): Likewise.
1101 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1102 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1103 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1104 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1105 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1106 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1107 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1108 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1109 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1110 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1112 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1115 * io/test-utime.c (main): Replace %ld with %jd and cast to
1117 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1118 * nptl/tst-mutex5.c: Include <stdint.h>.
1119 (do_test): Replace %ld with %jd and cast to intmax_t.
1120 * posix/tst-regex.c (run_test): Likewise.
1121 (run_test_backwards): Likewise.
1122 * rt/tst-clock.c: Include <stdint.h>.
1123 (clock_test): Replace %ld with %jd and cast to intmax_t.
1124 * rt/tst-cpuclock1.c: Include <stdint.h>.
1125 (do_test): Replace %lu with %ju and cast to uintmax_t.
1126 * rt/tst-cpuclock2.c: Include <stdint.h>.
1127 (do_test): Replace %lu with %ju and cast to uintmax_t.
1128 * rt/tst-mqueue1.c: Include <stdint.h>.
1129 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1130 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1132 * rt/tst-mqueue4.c (do_test): Likewise.
1133 * rt/tst-timer4.c: Include <stdint.h>.
1134 (check_ts): Replace %ld with %jd and cast to intmax_t.
1135 (do_test): Likewise.
1136 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1137 and cast to intmax_t.
1138 * sysdeps/pthread/tst-timer.c (main): Likewise.
1139 * time/clocktest.c (main): Likewise.
1140 * time/tst-posixtz.c (do_test): Likewise.
1141 * timezone/tst-timezone.c (main): Likewise.
1143 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1144 H.J. Lu <hongjiu.lu@intel.com>
1146 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1147 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1148 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1149 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1150 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1151 version if bit_Fast_Unaligned_Load is set.
1152 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1153 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1154 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1155 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1156 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1157 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1159 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1160 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1161 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1163 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1164 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1165 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1166 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1168 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1170 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1171 instead of #if to avoid a Wundef warning.
1172 * stdlib/tst-limits.c (do_test): Likewise.
1174 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1175 parallel other exception macros.
1176 (fegetenv): Convert from macro to extern inline so that it applies
1177 retroactively to inline functions already seen by the compiler.
1178 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1180 * posix/Makefile (before-compile): Use $(objpfx) for
1181 posix-conf-vars-def.h.
1183 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1185 * posix/getconf.c (main): Use size_t for type of I.
1186 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1189 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1190 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1191 * posix/posix-envs.def: Likewise.
1192 * sysdeps/posix/sysconf.c: Likewise.
1193 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1194 (specs): Remove array.
1195 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1198 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1199 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1200 (__sysconf): Use CONF_IS_* macros.
1202 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1203 ($(objpfx)posix-conf-vars-def.h): New target.
1204 * posix/posix-conf-vars.list: New file.
1205 * posix/posix-conf-vars.h: New file.
1206 * posix/confstr.c: Include posix-conf-vars.h.
1207 (confstr): Use CONF_IS_* macros.
1208 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1210 * scripts/gen-posix-conf-vars.awk: New file.
1212 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1214 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1215 fegetround): Add no-op macros to avoid linknamespace issues.
1217 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1218 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1220 * sysdeps/unix/sysv/linux/tile/sysdep.h
1221 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1222 assembly-specific section to avoid a redefinition warning.
1224 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1225 long before casting to pointer to avoid a cast warning.
1227 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1229 * sysdeps/tile/tilegx/Implies: New file.
1231 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
1233 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1235 2014-12-23 Florian Weimer <fweimer@redhat.com>
1237 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1239 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1243 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1244 <kernel-features.h>.
1245 (__utimes) [__NR_utimes]: Make code unconditional.
1246 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1247 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1248 (__ASSUME_UTIMES): Do not undefine.
1249 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1250 (__ASSUME_UTIMES): Likewise.
1251 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1252 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1253 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1254 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1256 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1258 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1260 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1263 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1264 alias to weak alias for j0l, y0l.
1265 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1266 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1269 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1272 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
1274 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1275 to zero if not already defined.
1277 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1280 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1281 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1282 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1283 (char *) casts added.
1284 * sysdeps/ieee754/k_standardf.c: New file.
1285 * sysdeps/ieee754/k_standardl.c: Likewise.
1286 * math/Makefile (libm-support): Remove k_standard.
1287 (libm-calls): Add k_standard.
1289 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1291 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1292 Optimize to avoid an unnecessary FPCR read.
1294 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1296 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1297 Optimize to reduce FPCR/FPSR accesses.
1299 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1301 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1302 Call libc_fetestexcept_aarch64.
1304 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1306 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1307 Call libc_fesetround_aarch64.
1309 2014-12-22 Joseph Myers <joseph@codesourcery.com>
1312 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1313 (__bind): Do not define as weak alias.
1314 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1316 (__getsockname): Do not define as weak alias.
1318 2014-12-22 Will Newton <will.newton@linaro.org>
1320 * manual/install.texi: Document that we require bison 2.7
1322 * INSTALL: Regenerate.
1323 * configure.ac: Use AC_CHECK_PROG_VER instead of
1324 AC_PATH_PROG when checking for bison and check for
1325 version 2.7 or above.
1326 * configure: Regenerate.
1328 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1331 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1332 * sysdeps/tile/ffsll.c (ffsll): To here.
1334 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1336 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1338 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1340 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1342 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1343 hidden ___tls_get_addr.
1344 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1345 hidden __tls_get_addr.
1346 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1347 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1350 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1352 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1355 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1357 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1358 from "call _dl_init@PLT".
1359 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1361 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1363 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1366 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1368 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1370 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1373 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1376 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1378 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1380 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1381 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1382 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1383 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1384 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1386 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1388 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1389 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1390 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1391 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1392 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1394 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1396 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1398 * string/strncat.c (STRNCAT): Simplify implementation.
1400 2014-12-19 David S. Miller <davem@davemloft.net>
1402 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1403 access the quad as both a long double and as a series of 4 words.
1405 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1406 link_map->l_info array access.
1408 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1410 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1412 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1413 * math/atest-exp2.c (TIMEOUT): Likewise.
1414 * math/atest-sincos.c (TIMEOUT): Likewise.
1416 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1418 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1419 -Wno-error with -fno-builtin-lround.
1421 2014-12-19 Torvald Riegel <triegel@redhat.com>
1423 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1424 Contains futex constants and functions moved over from ...
1425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1426 <lowlevellock-futex.h>.
1427 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1428 (lll_timedwait_tid): Add comments and parentheses around macro
1431 2014-12-19 Torvald Riegel <triegel@redhat.com>
1433 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1434 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1435 (__lll_private_flag): Remove.
1436 (lll_futex_wait): Likewise.
1437 (lll_futex_timed_wait): Likewise.
1438 (lll_futex_wake): Likewise.
1439 (lll_futex_requeue): Likewise.
1440 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1441 (__lll_timedwait_tid): Spell out argument names.
1442 (lll_timedwait_tid): Add comments and parentheses around macro
1444 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1445 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1447 2014-12-19 Torvald Riegel <triegel@redhat.com>
1449 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1450 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1451 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1452 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1453 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1454 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1455 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1456 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1457 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1458 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1459 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1460 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1461 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1462 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1463 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1464 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1465 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1466 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1467 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1469 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1471 * sysdeps/x86_64/x32/Makefile: New file.
1473 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1475 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1476 1L with (mp_limb_t) 1.
1478 2014-12-17 Roland McGrath <roland@hack.frob.com>
1480 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1481 * nptl/libc_pthread_init.c: ... here.
1482 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1483 * nptl/register-atfork.c: ... here.
1485 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1486 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1487 Use assert_perror to check its return value.
1488 (__gai_create_helper_thread): Likewise.
1490 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1492 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1494 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1497 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1499 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1501 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1503 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1505 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1506 (profil_counter): Likewise.
1507 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1508 (profil_counter): Likewise.
1509 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1511 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1513 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1514 (profil_counter): Likewise.
1515 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1517 [!__profil_counter] (profil_counter): Define as weak alias of
1519 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1520 (profil_counter): Rename to __profil_counter.
1521 [!__profil_counter] (profil_counter): Define as weak alias of
1523 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1524 (profil_counter): Rename to __profil_counter.
1525 [!__profil_counter] (profil_counter): Define as weak alias of
1527 * sysdeps/posix/profil.c: Update comment referring to
1529 (__profil): Use __profil_counter instead of profil_counter.
1530 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1531 __profil_counter. Use __profil_counter_ushort and
1532 __profil_counter_uint in definitions.
1533 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1534 instead of profil_counter_uint and profil_counter_ushort.
1537 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1538 define as weak alias of __inet_makeaddr.
1539 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1540 as weak alias of __inet_addr.
1541 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1542 as weak alias of __inet_pton. Use libc_hidden_weak.
1543 * include/arpa/inet.h (__inet_pton): Declare. Use
1545 (inet_makeaddr): Don't use libc_hidden_proto.
1546 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1547 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1548 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1549 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1551 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1552 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1554 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1556 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1558 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1560 * stdio-common/bug-vfprintf-nargs.c (do_test):
1561 Cast value to intptr_t to avoid format warning
1562 for usage with PRIdPTR printing macro.
1564 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1566 * libio/tst-widetext.c (do_test):
1567 Use format type %td instead of %Zd for ptrdiff_t
1568 in order to avoid format warning.
1570 2014-12-17 Andreas Schwab <schwab@suse.de>
1572 * nscd/mem.c (gc): Add size_t cast to match printf format.
1574 2014-12-16 Roland McGrath <roland@hack.frob.com>
1576 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1577 (init): Apply PTR_MANGLE to pointers before storing them.
1578 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1581 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1584 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1585 define as weak alias of __memrchr.
1586 (__memrchr): Do not define as strong alias of memrchr.
1587 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1589 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1590 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1591 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1594 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1595 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1596 (if_indextoname): Rename to __if_indextoname and define as weak
1597 alias of __if_indextoname. Use libc_hidden_weak.
1598 (if_freenameindex): Rename to __if_freenameindex and define as
1599 weak alias of __if_freenameindex.
1600 (if_nameindex): Rename to __if_nameindex and define as weak alias
1602 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1603 __if_nametoindex and define as weak alias of __if_nametoindex.
1604 Use libc_hidden_weak.
1605 (if_freenameindex): Rename to __if_freenameindex and define as
1606 weak alias of __if_freenameindex.
1607 (if_nameindex): Rename to __if_nameindex and define as weak alias
1609 (if_indextoname): Rename to __if_indextoname and define as weak
1610 alias of __if_indextoname. Use libc_hidden_weak.
1611 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1612 __if_nametoindex and define as weak alias of __if_nametoindex.
1613 Use libc_hidden_weak.
1614 (if_freenameindex): Rename to __if_freenameindex and define as
1615 weak alias of __if_freenameindex. Use libc_hidden_weak.
1616 (if_nameindex_netlink): Use __if_freenameindex instead of
1618 (if_nameindex): Rename to __if_nameindex and define as weak alias
1619 of __if_nameindex. Use libc_hidden_weak.
1620 (if_indextoname): Rename to __if_indextoname and define as weak
1621 alias of __if_indextoname. Use libc_hidden_weak.
1622 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1624 [!_ISOMAC] (__if_freenameindex): Likewise.
1625 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1627 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1629 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1630 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1631 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1632 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1633 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1634 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1635 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1637 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1639 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1640 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1642 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1644 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1645 subscript above bounds'
1647 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1650 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1652 * libio/tst-fopenloc.c: Use test-skeleton.c.
1654 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1655 (entry): Rename to ITEM.
1656 (do_test, comp): Adjust.
1658 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1660 2014-12-16 Torvald Riegel <triegel@redhat.com>
1662 * string/tester.c: Include <libc-internal.h>.
1663 (test_memset): Ignore -Wmemset-transposed-args.
1665 2014-12-16 Torvald Riegel <triegel@redhat.com>
1667 * misc/tst-mntent2.c (do_test): Fix warning.
1669 2014-12-16 Torvald Riegel <triegel@redhat.com>
1671 * elf/tst-unique4lib.cc(a): Mark as used.
1673 2014-12-16 Florian Weimer <fweimer@redhat.com>
1676 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1679 2014-12-16 Allan McRae <allan@archlinux.org>
1681 * stdio-common/Makefile (tests): Re-add bug26.
1683 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1686 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1689 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1691 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1692 (__lll_lock_wait): Likewise.
1693 (__lll_timedlock_wait): Likewise.
1694 (__lll_timedwait_tid): Likewise.
1695 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1696 (__lll_robust_timedlock_wait): Likewise.
1697 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1698 (lll_cond_trylock): Likewise.
1699 (__lll_lock): Likewise.
1700 (__lll_robust_lock): Likewise.
1701 (__lll_cond_lock): Likewise.
1702 (lll_robust_cond_lock): Likewise.
1703 (__lll_timedlock): Likewise.
1704 (__lll_robust_timedlock): Likewise.
1705 (__lll_unlock): Likewise.
1706 (__lll_robust_unlock): Likewise.
1707 (lll_wait_tid): Likewise.
1708 (lll_timedwait_tid): Likewise.
1710 2014-12-15 Torvald Riegel <triegel@redhat.com>
1712 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1714 2014-12-15 Torvald Riegel <triegel@redhat.com>
1716 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1718 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1720 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1721 * stdio-common/tst-sprintf.c: Likewise.
1723 2014-12-15 Torvald Riegel <triegel@redhat.com>
1725 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1727 2014-12-15 Jeff Law <law@redhat.com>
1730 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1731 on the heap. (CVE-2012-3406)
1732 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1733 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1734 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1736 2014-12-15 Will Newton <will.newton@linaro.org>
1738 * manual/install.texi: Bump required version of texinfo
1740 * INSTALL: Regenerated.
1741 * configure.ac: Check for makeinfo version 4.7 and above.
1742 * configure: Regenerated.
1744 2014-12-12 Roland McGrath <roland@hack.frob.com>
1746 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1747 PREFIX, string constant to insert between directory and name.
1748 * sysdeps/posix/shm_open.c: Update caller.
1749 * sysdeps/posix/shm_unlink.c: Likewise.
1750 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1751 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1752 (SEM_SHM_PREFIX): New macro.
1753 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1754 [$(have-thread-library) = no].
1755 * nptl/Makefile (libpthread-routines): Add shm-directory.
1756 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1757 * sysdeps/nptl/shm-directory.h: New file.
1758 * sysdeps/posix/shm-directory.c
1759 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1760 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1761 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1763 (__where_is_shmfs): Function removed.
1764 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1766 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1768 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1770 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1771 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1772 unconditional for use inside libpthread.
1773 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1775 2014-12-12 Roland McGrath <roland@hack.frob.com>
1777 * nptl/pthread_getaffinity.c: New file.
1778 * nptl/pthread_setaffinity.c: New file.
1779 * nptl/pthread_getname.c: New file.
1780 * nptl/pthread_setname.c: New file.
1782 * nptl/pthread_create.c (START_THREAD_DEFN)
1783 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1785 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1786 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1788 * resolv/res_send.c (send_vc): Disable warning resplen may
1789 be used uninitialized.
1791 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1794 (ATTR_NULL): New define checks ATTR against NULL.
1795 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1796 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1798 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1802 (mem2mem_check): Revert my previous change.
1803 (malloc_check_get_size): Revert my previous change.
1804 (mem2chunk_check): Revert my previous change.
1806 2014-12-11 Roland McGrath <roland@hack.frob.com>
1808 * sysdeps/posix/shm-directory.c: New file.
1809 * sysdeps/posix/shm-directory.h: New file.
1810 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1811 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1812 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1813 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1814 Transmute EPERM to EACCES.
1815 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1817 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1818 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1820 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1822 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1823 pointer and cast to uintptr_t.
1824 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1825 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1826 Add cast to avoid warning.
1827 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1829 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1831 * nptl/semaphore.h: Move to ...
1832 * sysdeps/pthread/semaphore.h: ... here.
1833 * Makefile (installed-headers): Change nptl/semaphore.h to
1834 sysdeps/pthread/semaphore.h.
1836 2014-12-11 Roland McGrath <roland@hack.frob.com>
1838 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1839 generated error format strings.
1841 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1842 -Wformat-extra-args warnings for scanf formats.
1843 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1844 test of zero-length format (duh).
1845 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1846 corner-case scanf format test.
1847 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1848 generated fprintf format string.
1849 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1850 corner-case sprintf format tests.
1851 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1852 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1853 -Wformat-extra-args warnings throughout.
1854 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1855 (CFLAGS-scanf4.c): Likewise.
1856 (CFLAGS-scanf7.c): Likewise.
1857 (CFLAGS-tst-sprintf.c): Likewise.
1858 (CFLAGS-tst-printf.c): Likewise.
1859 (CFLAGS-tst-printfsz.c): Likewise.
1861 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1863 * include/cpio.h: New file.
1864 * include/fmtmsg.h: Likewise.
1866 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1867 corresponding format argument to size_t.
1868 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1870 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1871 corresponding format argument to size_t.
1872 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1874 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1875 corresponding format argument to size_t.
1876 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1877 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1878 (CFLAGS-tst-mbswcs2.c): Likewise.
1879 (CFLAGS-tst-mbswcs3.c): Likewise.
1880 (CFLAGS-tst-mbswcs4.c): Likewise.
1881 (CFLAGS-tst-mbswcs5.c): Likewise.
1882 (CFLAGS-tst-trans.c): Likewise
1884 2014-12-11 Roland McGrath <roland@hack.frob.com>
1886 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1887 rather than assuming they won't contain any '%'s.
1889 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1891 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1892 inhibit_loop_to_libcall to avoid recursive calls.
1893 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1894 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1896 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1898 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1901 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1903 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1904 integer value instead of boolean.
1906 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1908 * malloc/malloc.c: Fix powerof2 check.
1910 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1912 * locale/programs/locfile.h (maybe_swap_uint32):
1913 Remove inline and add unused attribute.
1915 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1918 Truncating assembler expression to a .long expression.
1920 2014-12-11 Andreas Schwab <schwab@suse.de>
1922 * elf/rtld.c (struct map_args): Constify str member.
1923 (do_preload): Constify fname argument.
1925 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1928 constants definition.
1930 2014-12-11 Andreas Schwab <schwab@suse.de>
1933 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1934 FORCE_ELISION instead of DO_ELISION.
1935 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1937 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1940 * iconvdata/gconv-modules: Remove duplicate entry.
1942 2014-12-11 Will Newton <will.newton@linaro.org>
1944 Merge gettext 0.19.3 into intl/.
1946 This involves a number of cosmetic changes to comments
1947 and ANSI function definitions and prototypes throughout
1948 all the files. The gettext copyright header is used but
1949 with the date ranges taken from the glibc copy.
1951 * NEWS: Add gettext merge to 2.21.
1952 * intl/bindtextdom.c: Switch to gettext copyright.
1953 Use ANSI definitions and prototypes.
1954 Use gl_* locking primitives rather than __libc_* ones.
1955 Use __builtin_expect rather than __glibc_likely/unlikely.
1956 * intl/dcgettext.c: Switch to gettext copyright.
1957 Use ANSI definitions and prototypes.
1958 * intl/dcigettext.c: Switch to gettext copyright.
1959 Use ANSI definitions and prototypes.
1960 (INTDIV0_RAISES_SIGFPE): New define.
1961 Use gl_* locking primitives rather than __libc_* ones.
1962 Include eval-plural.h instead of plural-eval.c.
1963 Use __builtin_expect rather than __glibc_likely/unlikely.
1964 * intl/dcngettext.c: Switch to gettext copyright.
1965 Use ANSI definitions and prototypes.
1966 * intl/dgettext.c: Likewise.
1967 * intl/dngettext.c: Likewise.
1968 * intl/plural-eval.c: Renamed to...
1969 * intl/eval-plural.h: ...this.
1970 * intl/explodename.c: Switch to gettext copyright.
1971 Use ANSI definitions and prototypes.
1972 (_nl_explode_name): Use strchr instead of __rawmemchr.
1973 * intl/finddomain.c: Switch to gettext copyright.
1974 Use ANSI definitions and prototypes.
1975 Use gl_* locking primitives rather than __libc_* ones.
1976 (_nl_find_domain): Use malloc rather than alloca for
1977 allocation of temporary locale name.
1978 * intl/gettext.c: Switch to gettext copyright.
1979 Use ANSI definitions and prototypes.
1980 * intl/gettextP.h: Switch to gettext copyright.
1981 Use ANSI definitions and prototypes.
1982 Use gl_* locking primitives rather than __libc_* ones.
1983 * intl/gmo.h: Switch to gettext copyright.
1984 (struct sysdep_string): Move struct segment_pair outside of
1986 * intl/hash-string.c: Use ANSI definitions and prototypes.
1987 * intl/hash-string.h: Switch to gettext copyright.
1988 Use ANSI definitions and prototypes.
1989 * intl/l10nflist.c: Switch to gettext copyright.
1990 Use ANSI definitions and prototypes.
1991 (_nl_normalize_codeset): Avoid integer overflow.
1992 * intl/loadinfo.h: Switch to gettext copyright.
1993 Use ANSI definitions and prototypes.
1994 (LIBINTL_DLL_EXPORTED): New define.
1995 (PATH_SEPARATOR): New define.
1996 * intl/loadmsgcat.c: Switch to gettext copyright.
1997 * intl/localealias.c: Switch to gettext copyright.
1998 Use ANSI definitions and prototypes.
1999 (_nl_expand_alias): Use PATH_SEPARATOR.
2000 * intl/ngettext.c: Switch to gettext copyright.
2001 Use ANSI definitions and prototypes.
2002 * intl/plural-exp.c: Likewise.
2003 * intl/plural-exp.h: Switch to gettext copyright.
2004 Use ANSI definitions and prototypes.
2005 (struct expression): Move definition of enum operator outside
2006 of struct definition.
2007 * intl/plural.c: Regenerate.
2008 * intl/plural.y: Switch to gettext copyright.
2009 Use ANSI definitions and prototypes.
2011 * intl/textdomain.c: Switch to gettext copyright.
2012 Use ANSI definitions and prototypes.
2013 Use gl_* locking primitives rather than __libc_* ones.
2015 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
2017 * debug/warning-nop.c: Add used atrribute.
2019 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2021 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2023 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2024 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2025 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2027 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2028 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2031 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2032 Undefine after defining function. Define as weak alias of
2033 __wcschr. Use libc_hidden_weak.
2034 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2035 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2036 (libc_hidden_def): Also define __GI___wcschr alias.
2037 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2038 __wcschr and define as weak alias of __wcschr.
2039 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2041 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2042 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2043 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2044 libc_hidden_weak. Do not use libc_hidden_def.
2045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2046 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2047 __GI___wcschr alias.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2049 [IS_IN (libc)] (wcschr): Define as macro expanding to
2051 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2052 [IS_IN (libc)] (__wcschr_power6): Likewise.
2053 [IS_IN (libc)] (__wcschr_power7): Likewise.
2054 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2056 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2058 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2059 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2060 __wcschr and define as weak alias of __wcschr. Use
2061 libc_hidden_builtin_def.
2062 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2063 as weak alias of __wcschr. Use libc_hidden_weak.
2064 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2066 * time/era.c (_nl_init_era_entries): Likewise.
2067 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2069 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2070 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2072 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2074 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2075 format for long int variable.
2077 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2080 * manual/search.texi: (Array Sort Function): Remove claim how to make
2083 2014-12-10 Andreas Schwab <schwab@suse.de>
2086 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2087 user-controlled locks.
2089 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
2091 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2094 2014-12-10 Joseph Myers <joseph@codesourcery.com>
2096 * configure.ac (--disable-werror): New configure option.
2097 (enable_werror): New AC_SUBST.
2098 * configure: Regenerated.
2099 * config.make.in (enable-werror): New variable.
2100 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2102 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2103 * manual/install.texi (Configuring and compiling): Document
2105 * INSTALL: Regenerated.
2106 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2107 (CFLAGS-tst-chk2.c): Likewise.
2108 (CFLAGS-tst-chk3.c): Likewise.
2109 (CFLAGS-tst-chk4.cc): Likewise.
2110 (CFLAGS-tst-chk5.cc): Likewise.
2111 (CFLAGS-tst-chk6.cc): Likewise.
2112 (CFLAGS-tst-lfschk1.c): Likewise.
2113 (CFLAGS-tst-lfschk2.c): Likewise.
2114 (CFLAGS-tst-lfschk3.c): Likewise.
2115 (CFLAGS-tst-lfschk4.cc): Likewise.
2116 (CFLAGS-tst-lfschk5.cc): Likewise.
2117 (CFLAGS-tst-lfschk6.cc): Likewise.
2119 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2120 (main): Disable -Wdeprecated-declarations around calls to
2121 register_printf_function.
2123 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2124 (do_test): Disable -Wdiv-by-zero around some calls to
2125 fwrite_unlocked and fread_unlocked.
2127 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2128 (DIAG_POP_NEEDS_COMMENT): Likewise.
2129 (_DIAG_STR1): Likewise.
2130 (_DIAG_STR): Likewise.
2131 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2132 * stdio-common/bug21.c: Include <libc-internal.h>.
2133 (do_test): Disable -Wformat around call to sscanf.
2134 * stdio-common/scanf14.c: Include <libc-internal.h>.
2135 (main): Disable -Wformat around some calls to scanf functions.
2137 2014-12-09 Torvald Riegel <triegel@redhat.com>
2139 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2141 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2143 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2144 stack variable alignment.
2146 2014-12-06 Joseph Myers <joseph@codesourcery.com>
2149 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2150 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2151 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2152 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2153 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2154 __getrlimit instead of getrlimit.
2155 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2156 __gettimeofday instead of gettimeofday.
2157 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2159 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2161 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2162 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2164 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2165 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2167 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2170 for wide-character tests.
2172 2014-12-04 Roland McGrath <roland@hack.frob.com>
2174 * io/openat64.c: #include <libc-internal.h>
2175 (__openat64): Prototypify. Use ignore_value on MODE.
2176 * io/openat.c: Likewise.
2177 * misc/reboot.c: #include <libc-internal.h>
2178 (reboot): Prototypify. Use ignore_value on HOWTO.
2179 * misc/ptrace.c: #include <libc-internal.h>
2180 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2182 2014-12-04 Joseph Myers <joseph@codesourcery.com>
2184 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2185 XPG4, UNIX98 and XOPEN2K.
2186 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2188 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2190 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2192 * libio/fileops.c: Use ISO C style for function definitions.
2193 * libio/iofopen.c: Likewise.
2194 * libio/wfileops.c: Likewise.
2197 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2199 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2200 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2201 (fgets_func): Function pointer to fgets and fgetws.
2202 (do_ftell_test): Add test to verify ftell value after read
2204 (do_test): Set fgets_func.
2206 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2207 O_TRUNC flag for w and w+ modes.
2208 (do_rewind_test): Likewise.
2209 (do_ftell_test): Likewise.
2210 (do_write_test): Likewise.
2213 * libio/fileops.c (do_ftell): Seek only when there are
2215 * libio/wfileops.c (do_ftell_wide): Likewise.
2216 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2218 (do_one_test): Call it.
2220 2014-12-03 Joseph Myers <joseph@codesourcery.com>
2222 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2223 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2224 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2226 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2227 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2228 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2230 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2232 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2234 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2237 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2238 as weak alias of __getifaddrs. Use libc_hidden_weak.
2239 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2240 __freeifaddrs. Use libc_hidden_weak.
2241 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2242 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2243 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2244 __freeifaddrs. Use libc_hidden_weak.
2245 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2246 __getifaddrs and define as weak alias of __getifaddrs. Use
2248 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2249 __freeifaddrs. Use libc_hidden_weak.
2250 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2252 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2253 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2255 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2258 * sysdeps/mips/start.S (__start): Use indirect jump to call
2261 2014-12-02 Joseph Myers <joseph@codesourcery.com>
2263 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2265 * nptl/tst-mutex1.c: Include <stdbool.h>.
2266 [!ATTR] (ATTR_NULL): New macro.
2267 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2268 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2269 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2271 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2275 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2276 Change conditional to [__USE_MISC].
2279 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2281 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2283 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2285 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2287 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2288 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2289 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2290 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2291 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2292 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2293 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2294 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2295 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2297 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2299 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2302 Remove strpbrk objects.
2303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2304 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2305 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2306 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2307 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2308 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2310 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2311 Remove strcspn objects.
2312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2313 (__libc_ifunc_impl_list): Remove strcspn implementation.
2314 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2315 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2316 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2317 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2319 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2320 Remove strspn objetcs.
2321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2322 (__libc_ifunc_impl_list): Remove strspn implementation.
2323 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2324 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2325 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2326 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2328 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2332 (mem2mem_check): Add a terminator to the chain of checking blocks.
2333 (malloc_check_get_size): Use it here.
2334 (mem2chunk_check): Ditto.
2336 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2338 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2339 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2341 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2343 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2345 * nptl/nptl-init.c: Include libc-internal.h.
2346 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2348 * elf/ldconfig.c (search_dir): Expand comment.
2350 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2352 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2354 (linknamespace-symlist-stdlibs-tests): Likewise.
2355 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2356 instead of $(objpfx)symlist-stdlibs.
2357 (linknamespace-libs-isoc): New variable.
2358 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2359 (linknamespace-libs-ISO): New variable.
2360 (linknamespace-libs-ISO99): Likewise.
2361 (linknamespace-libs-ISO11): Likewise.
2362 (linknamespace-libs-XPG3): Likewise.
2363 (linknamespace-libs-XPG4): Likewise.
2364 (linknamespace-libs-POSIX): Likewise.
2365 (linknamespace-libs-UNIX98): Likewise.
2366 (linknamespace-libs-XOPEN2K): Likewise.
2367 (linknamespace-libs-POSIX2008): Likewise.
2368 (linknamespace-libs-XOPEN2K8): Likewise.
2369 ($(objpfx)symlist-stdlibs): Replace by
2370 $(linknamespace-symlist-stdlibs-tests). Use
2371 $(linknamespace-libs-$*) as set of libraries.
2372 ($(linknamespace-header-tests)): Update dependencies. Use
2373 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2374 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2375 * conform/linknamespace.pl: Remove comment about considering
2376 definitions of symbols from irrelevant libraries.
2378 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2381 * elf/dl-tls.c: Include <atomic.h>.
2382 (oom): Remove #ifdef SHARED/#endif.
2383 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2384 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2385 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2387 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2388 * nptl/Makefile (tests): Add tst-stack4.
2389 (modules-names): Add tst-stack4mod.
2390 ($(objpfx)tst-stack4): New.
2391 (tst-stack4mod.sos): Likewise.
2392 ($(objpfx)tst-stack4.out): Likewise.
2393 ($(tst-stack4mod.sos)): Likewise.
2395 * nptl/tst-stack4.c: New file.
2396 * nptl/tst-stack4mod.c: Likewise.
2398 2014-11-27 J. Brown <jb999@gmx.de>
2400 * sysdeps/x86/bits/string.h: Add recent CPUs.
2402 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2404 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2407 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2410 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2413 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2415 * nscd/connections.c: Include libc-internal.h because of macro
2418 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2420 * string/bits/string3.h (__warn_memset_zero_len): Don't
2421 declare for gcc newer than 5.0.
2422 (memset): Don't test for zero-length __LEN for gcc newer than
2425 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2427 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2428 size_t for %zu format.
2430 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2431 difference, not %ju.
2433 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2435 * include/libc-internal.h (ignore_value): New macro.
2436 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2439 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2442 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2443 pthread_cleanup_push to void *.
2445 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2450 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2451 instead of 1L << 52.
2453 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2454 * libio/bug-rewind2.c (do_test): Likewise.
2456 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2457 * debug/test-strcpy_chk-ifunc.c: Likewise.
2458 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2459 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2460 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2461 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2462 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2463 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2464 * Rules [$(multi-arch) = no] (tests): Do not filter out
2466 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2467 * debug/Makefile (tests-ifunc): Remove variable.
2468 (tests): Do not add $(tests-ifunc).
2469 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2470 (tests): Do not add $(tests-ifunc).
2471 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2472 [TEST_IFUNC]: Remove conditionals.
2473 * string/test-string.h (TEST_IFUNC): Remove macro.
2474 [TEST_IFUNC]: Remove conditionals.
2476 * string/test-strchr.c [!WIDE] (L): New macro.
2477 [WIDE] (L): Likewise.
2478 (check1): Use CHAR instead of char. Use L on string and character
2481 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2483 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2485 * sysdeps/powerpc/bits/atomic.h
2486 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2487 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2488 (atomic_exchange_and_add_acq): Likewise.
2489 (atomic_exchange_and_add_rel): Likewise.
2490 * sysdeps/powerpc/powerpc32/bits/atomic.h
2491 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2492 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2493 * sysdeps/powerpc/powerpc64/bits/atomic.h
2494 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2495 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2497 2014-11-26 Torvald Riegel <triegel@redhat.com>
2499 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2500 Change synchronization of __sched_fifo_min_prio and
2501 __sched_fifo_max_prio.
2502 * nptl/pthread_mutexattr_getprioceiling.c
2503 (pthread_mutexattr_getprioceiling): Likewise.
2504 * nptl/pthread_mutexattr_setprioceiling.c
2505 (pthread_mutexattr_setprioceiling): Likewise.
2506 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2507 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2510 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2512 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2515 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2517 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2518 third argument const.
2520 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2522 fnmatch: work around GCC compiler warning bug with uninit var
2523 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2524 This works around a bug with x86-64 GCC 4.9.2 and earlier
2525 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2526 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2527 used uninitialized in this function [-Wmaybe-uninitialized]".
2529 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2531 * posix/bug-regex31.c (main): Return RES not 0.
2533 2014-11-25 Anton Blanchard <anton@samba.org>
2535 * sysdeps/powerpc/bits/atomic.h
2536 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2538 2014-11-24 Sterling Augustine <saugustine@google.com>
2540 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2542 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2545 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2547 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2550 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2551 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2553 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2554 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2556 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2558 * string/strncpy.c (strncpy): Improve performance by using memset.
2560 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2562 * string/strcpy.c (strcpy):
2563 Improve performance by using strlen and memcpy.
2565 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2567 * string/strcoll_l.c (get_next_seq): __always_inline.
2568 * string/strcoll_l.c (do_compare): __always_inline.
2570 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2572 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2574 * include/mqueue.h: Likewise.
2575 * include/stdlib.h: Likewise.
2577 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2578 (get_null_defines): Adjust.
2579 * sunrpc/Makefile: Adjust comment.
2580 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2581 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2582 (CFLAGS-interp.c): Likewise.
2583 (CFLAGS-ldconfig.c): Likewise.
2584 (CPPFLAGS-.os): Likewise.
2585 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2586 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2587 * extra-modules.mk (extra-modules.mk): Likewise.
2588 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2589 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2590 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2591 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2592 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2593 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2594 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2595 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2596 * iconvdata/Makefile (CPPFLAGS): Likewise.
2597 (cpp-srcs-left): Add libof for all iconvdata routines.
2598 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2599 * include/assert.h: Likewise.
2600 * include/ctype.h: Likewise.
2601 * include/errno.h: Likewise.
2602 * include/libc-symbols.h: Likewise.
2603 * include/math.h: Likewise.
2604 * include/netdb.h: Likewise.
2605 * include/resolv.h: Likewise.
2606 * include/stdio.h: Likewise.
2607 * include/stdlib.h: Likewise.
2608 * include/string.h: Likewise.
2609 * include/sys/stat.h: Likewise.
2610 * include/wctype.h: Likewise.
2611 * intl/l10nflist.c: Likewise.
2612 * libidn/idn-stub.c: Likewise.
2613 * libio/libioP.h: Likewise.
2614 * nptl/libc_multiple_threads.c: Likewise.
2615 * nptl/pthreadP.h: Likewise.
2616 * posix/regex_internal.h: Likewise.
2617 * resolv/res_hconf.c: Likewise.
2618 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2619 * sysdeps/arm/memmove.S: Likewise.
2620 * sysdeps/arm/sysdep.h: Likewise.
2621 * sysdeps/generic/_itoa.h: Likewise.
2622 * sysdeps/generic/symbol-hacks.h: Likewise.
2623 * sysdeps/gnu/errlist.awk: Likewise.
2624 * sysdeps/gnu/errlist.c: Likewise.
2625 * sysdeps/i386/i586/memcpy.S: Likewise.
2626 * sysdeps/i386/i586/memset.S: Likewise.
2627 * sysdeps/i386/i686/memcpy.S: Likewise.
2628 * sysdeps/i386/i686/memmove.S: Likewise.
2629 * sysdeps/i386/i686/mempcpy.S: Likewise.
2630 * sysdeps/i386/i686/memset.S: Likewise.
2631 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2632 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2633 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2634 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2635 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2637 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2638 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2639 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2640 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2647 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2648 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2655 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2657 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2658 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2671 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2675 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2677 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2678 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2679 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2680 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2681 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2683 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2685 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2686 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2687 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2688 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2689 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2691 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2692 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2693 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2694 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2695 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2696 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2697 * sysdeps/posix/closedir.c: Likewise.
2698 * sysdeps/posix/opendir.c: Likewise.
2699 * sysdeps/posix/readdir.c: Likewise.
2700 * sysdeps/posix/rewinddir.c: Likewise.
2701 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2702 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2703 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2704 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2705 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2706 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2707 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2708 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2709 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2710 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2711 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2712 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2713 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2714 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2715 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2716 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2717 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2718 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2719 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2720 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2721 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2722 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2723 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2724 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2726 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2728 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2729 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2736 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2737 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2738 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2739 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2740 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2741 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2742 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2743 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2744 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2745 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2746 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2747 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2749 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2750 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2751 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2752 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2753 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2755 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2756 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2758 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2759 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2760 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2761 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2762 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2763 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2764 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2765 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2766 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2767 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2768 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2769 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2770 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2771 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2772 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2773 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2774 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2775 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2776 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2777 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2778 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2779 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2780 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2782 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2783 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2784 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2785 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2786 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2787 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2788 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2789 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2790 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2791 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2792 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2793 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2794 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2797 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2799 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2800 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2802 * sysdeps/unix/alpha/sysdep.S: Likewise.
2803 * sysdeps/unix/alpha/sysdep.h: Likewise.
2804 * sysdeps/unix/make-syscalls.sh: Likewise.
2805 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2807 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2808 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2809 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2810 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2811 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2812 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2813 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2814 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2815 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2816 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2818 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2819 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2820 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2821 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2822 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2823 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2824 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2825 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2826 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2827 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2828 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2829 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2830 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2831 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2834 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2835 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2838 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2839 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2840 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2843 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2844 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2845 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2846 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2847 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2848 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2855 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2856 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2857 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2858 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2859 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2860 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2861 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2863 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2864 * sysdeps/x86_64/memcpy.S: Likewise.
2865 * sysdeps/x86_64/memmove.c: Likewise.
2866 * sysdeps/x86_64/memset.S: Likewise.
2867 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2868 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2869 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2870 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2871 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2874 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2875 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2876 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2877 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2878 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2879 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2880 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2881 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2882 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2883 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2884 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2885 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2886 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2888 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2891 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2892 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2893 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2894 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2895 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2896 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2897 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2899 * sysdeps/x86_64/strcmp.S: Likewise.
2901 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2903 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2904 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2905 * elf/rtld-Rules: Likewise.
2906 * elf/setup-vdso.h: Likewise.
2907 * include/assert.h: Likewise.
2908 * include/bits/stdlib-float.h: Likewise.
2909 * include/errno.h: Likewise.
2910 * include/sys/stat.h: Likewise.
2911 * include/unistd.h: Likewise.
2912 * sysdeps/aarch64/setjmp.S: Likewise.
2913 * sysdeps/alpha/setjmp.S: Likewise.
2914 * sysdeps/arm/__longjmp.S: Likewise.
2915 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2916 * sysdeps/arm/setjmp.S: Likewise.
2917 * sysdeps/arm/sysdep.h: Likewise.
2918 * sysdeps/generic/_itoa.h: Likewise.
2919 * sysdeps/generic/dl-sysdep.h: Likewise.
2920 * sysdeps/generic/ldsodefs.h: Likewise.
2921 * sysdeps/i386/dl-tls.h: Likewise.
2922 * sysdeps/i386/setjmp.S: Likewise.
2923 * sysdeps/m68k/setjmp.c: Likewise.
2924 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2925 * sysdeps/mach/hurd/opendir.c: Likewise.
2926 * sysdeps/posix/getcwd.c: Likewise.
2927 * sysdeps/posix/opendir.c: Likewise.
2928 * sysdeps/posix/profil.c: Likewise.
2929 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2930 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2931 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2932 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2933 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2936 * sysdeps/s390/dl-tls.h: Likewise.
2937 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2938 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2939 * sysdeps/sh/sh3/setjmp.S: Likewise.
2940 * sysdeps/sh/sh4/setjmp.S: Likewise.
2941 * sysdeps/unix/alpha/sysdep.h: Likewise.
2942 * sysdeps/unix/arm/sysdep.S: Likewise.
2943 * sysdeps/unix/i386/sysdep.S: Likewise.
2944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2945 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2946 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2947 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2949 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2950 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2951 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2952 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2953 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2954 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2955 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2956 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2959 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2961 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2962 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2963 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2967 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2968 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2969 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2970 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2971 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2972 * sysdeps/x86_64/setjmp.S: Likewise.
2974 * include/math.h: Use IS_IN instead of IS_IN_libm.
2975 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2976 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2978 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2979 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2980 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2982 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2983 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2984 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2985 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2986 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2987 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2988 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2989 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2990 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2991 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2992 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2993 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2994 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2995 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2996 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2997 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2998 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2999 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3000 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3001 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3002 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3003 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3004 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3005 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3006 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3007 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3018 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3019 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3020 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3021 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3023 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3029 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3030 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3031 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3032 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3033 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3034 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3035 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3036 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3037 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3038 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3039 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3041 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3042 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3044 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3046 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3047 * nptl/pthreadP.h: Likewise.
3048 * nptl_db/structs.def: Likewise.
3049 * sysdeps/arm/sysdep.h: Likewise.
3050 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3051 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3052 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3053 * sysdeps/unix/alpha/sysdep.h: Likewise.
3054 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3056 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3057 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3058 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3059 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3060 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3061 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3062 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3063 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3064 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3065 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3066 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3067 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3072 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3075 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3076 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3077 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3078 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3079 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3081 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3082 * nptl/pthreadP.h: Likewise.
3083 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3084 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3085 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3086 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3087 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3088 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3089 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3090 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3091 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3092 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3093 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3094 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3101 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3104 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3105 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3106 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3108 * dlfcn/dladdr.c: Use IS_IN.
3109 * dlfcn/dladdr1.c: Likewise.
3110 * dlfcn/dlclose.c: Likewise.
3111 * dlfcn/dlerror.c: Likewise.
3112 * dlfcn/dlinfo.c: Likewise.
3113 * dlfcn/dlmopen.c: Likewise.
3114 * dlfcn/dlopen.c: Likewise.
3115 * dlfcn/dlsym.c: Likewise.
3116 * dlfcn/dlvsym.c: Likewise.
3118 * include/ifaddrs.h: Use IS_IN.
3119 * inet/check_pf.c: Likewise.
3120 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3121 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3123 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3125 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3126 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3128 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3129 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3132 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3134 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3135 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3136 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3137 * include/libc-symbols.h (IS_IN_LIB): New macro.
3138 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3139 * include/netdb.h: Likewise.
3140 * include/stap-probe.h: Remove all uses of IN_LIB.
3142 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3143 instead of IN_MODULE.
3144 * include/libc-symbols.h (IN_MODULE): Define using
3146 (PASTE_NAME, PASTE_NAME1): New macros.
3147 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3149 (STAP_PROBE_ASM): Likewise.
3151 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3153 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3154 __mach_init in dlopened libc.
3156 2014-11-22 Mike Frysinger <vapier@gentoo.org>
3158 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3159 * sysdeps/arm/preconfigure: Regenerate.
3161 2014-11-21 Roland McGrath <roland@hack.frob.com>
3163 * nptl/pthread_create.c (__pthread_create_2_1): Set
3164 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3165 when copying values from IATTR into PD.
3167 2014-11-21 Will Newton <will.newton@linaro.org>
3168 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3170 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3171 Refactor inline-asm. Also add comment.
3173 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3174 ElfW macro instead of hardcoded Elf64 types.
3175 (la_aarch64_gnu_pltenter): Likewise.
3176 * sysdeps/aarch64/dl-machine.h
3177 (elf_machine_runtime_setup): Use ElfW(Addr).
3179 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3180 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3181 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3182 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3183 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3184 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3185 (R_AARCH64_TLS_DTPMOD): This.
3186 (R_AARCH64_TLS_DTPREL64): Rename to ...
3187 (R_AARCH64_TLS_DTPREL): This.
3188 (R_AARCH64_TLS_TPREL64): Rename to ...
3189 (R_AARCH64_TLS_TPREL): This.
3190 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3191 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3192 R_AARCH64_TLS_TPREL64.
3193 (elf_machine_rela): Likewise.
3195 2014-11-21 Torvald Riegel <triegel@redhat.com>
3197 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3198 by setting it to 0. 64b atomics are not supported currently.
3200 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3203 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3204 search domain names.
3206 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3210 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3212 * posix/tst-getaddrinfo5.c: New.
3213 * posix/Makefile (tests): Add it.
3215 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3219 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3220 after parsing line but before break_if_match.
3221 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3222 if there is a protocol mismatch.
3224 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3226 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3227 because the potential race is on the user-supplied stream.
3229 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3231 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3232 string literal if not passed a buffer.
3233 * manual/job.texi (ctermid): Update reasoning, note deviation
3234 from posix, suggest mtasurace when not passed a buffer, for
3235 future non-preliminary safety notes.
3237 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3239 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3240 of not passing it a buffer.
3241 Reported by Peng Haitao.
3243 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
3245 * manual/Makefile ($(objpfx)stamp-summary): Require
3246 check-safety.sh to pass.
3247 * manual/check-safety.sh: Wish for verification that every
3248 @deftypefn and @deftypefun is followed by a @safety remark.
3250 2014-11-20 Roland McGrath <roland@hack.frob.com>
3252 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3254 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3255 PTHREAD_CANCEL_ASYNCHRONOUS.
3256 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3259 * nptl/default-sched.h: New file.
3260 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3261 * nptl/pthread_create.c: Include it.
3262 (__pthread_create_2_1): Use collect_default_sched instead of making
3263 Linux syscalls here directly.
3265 2014-11-20 Torvald Riegel <triegel@redhat.com>
3267 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3268 __pthread_once): Use C11 atomics.
3270 2014-11-20 Torvald Riegel <triegel@redhat.com>
3272 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3274 2014-11-20 Torvald Riegel <triegel@redhat.com>
3276 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3277 atomic_thread_fence_acquire, atomic_thread_fence_release,
3278 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3279 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3280 atomic_compare_exchange_weak_relaxed,
3281 atomic_compare_exchange_weak_acquire,
3282 atomic_compare_exchange_weak_release,
3283 atomic_exchange_acquire, atomic_exchange_release,
3284 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3285 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3286 atomic_fetch_and_acquire,
3287 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3289 2014-11-20 Torvald Riegel <triegel@redhat.com>
3291 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3292 USE_ATOMIC_COMPILER_BUILTINS): Define.
3293 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3295 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3297 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3298 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3299 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3301 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3303 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3305 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3307 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3309 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3311 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3313 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3314 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3315 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3317 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3319 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3320 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3321 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3323 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3325 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3326 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3327 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3328 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3329 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3330 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3331 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3332 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3334 2014-11-19 Roland McGrath <roland@hack.frob.com>
3336 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3337 the sched_priority value here. It was already checked when the user
3338 called pthread_attr_setschedparam.
3340 * nptl/tst-bad-schedattr.c: New file.
3341 * nptl/Makefile (tests): Add it.
3343 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3344 Florian Weimer <fweimer@redhat.com>
3345 Joseph Myers <joseph@codesourcery.com>
3346 Adam Conrad <adconrad@0c3.net>
3347 Andreas Schwab <schwab@suse.de>
3348 Brooks <bmoses@google.com>
3351 * wordexp-test.c (__dso_handle): Add prototype.
3352 (__register_atfork): Likewise.
3353 (__app_register_atfork): New function.
3354 (registered_forks): New global.
3355 (register_fork): New function.
3356 (test_case): Add 3 new tests for WRDE_CMDSUB.
3357 (main): Call __app_register_atfork.
3358 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3359 fork count is non-zero fail the test.
3360 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3362 (parse_dollars): Remove check for WRDE_NOCMD.
3363 (parse_dquote): Likewise.
3365 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3367 * Makeconfig (built-modules): List non-library modules to be
3369 (module-cppflags): Include libc-modules.h for
3370 everything except shlib-versions.v.i.
3372 (before-compile): Add libc-modules.h.
3373 ($(common-objpfx)libc-modules.h,
3374 $(common-objpfx)libc-modules.stmp): New targets.
3375 (common-generated): Add libc-modules.h and libc-modules.stmp.
3376 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3377 * include/libc-symbols.h: Don't include libc-modules.h.
3378 * include/libc-modules.h: Remove file.
3379 * scripts/gen-libc-modules.awk: New script to generate
3381 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3382 Depend on libc-modules.stmp.
3384 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3386 * Makeconfig (in-module): Get value of libof set for the
3388 (CPPFLAGS): Use $(in-module).
3389 * Makerules: Don't suffix routine names for nonlib.
3390 * include/libc-modules.h: New file.
3391 * include/libc-symbols.h: Include libc-modules.h
3392 (IS_IN): New macro to replace IS_IN_* macros.
3393 * elf/Makefile: Set libof-* for each routine.
3394 * elf/rtld-Rules: Likewise.
3395 * extra-modules.mk: Likewise.
3396 * iconv/Makefile: Likewise.
3397 * iconvdata/Makefile: Likewise.
3398 * locale/Makefile: Likewise.
3399 * malloc/Makefile: Likewise.
3400 * nss/Makefile: Likewise.
3401 * sysdeps/gnu/Makefile: Likewise.
3402 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3403 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3404 * sysdeps/s390/s390-64/Makefile: Likewise.
3405 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3406 CPPFLAGS for nscd instead of nonlib.
3408 2014-11-18 Roland McGrath <roland@hack.frob.com>
3410 * nptl/createthread.c: New file.
3412 * nptl/createthread.c: Moved ...
3413 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3415 * nptl/createthread.c: Add proper top-line comment.
3416 (do_clone): Folded into ...
3417 (create_thread): ... here. Take new arguments STOPPED_START and
3418 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3419 increment __nptl_threads, do event-reporting logic, do
3420 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3421 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3422 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3423 just send SIGCANCEL.
3424 * nptl/pthread_create.c: Forward-declare create_thread before
3425 including createthread.c.
3426 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3427 declaration, and new macro START_THREAD_SELF to replace argument.
3428 Remove return statement.
3429 (report_thread_creation): New function.
3430 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3431 synchronization logic, and __nptl_nthreads increment here, around
3432 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3433 PD->parent_cancelhandling here, before create_thread. When
3434 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3435 __deallocate_stack, and ENOMEM translation here.
3437 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3440 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3441 (mptwo): Rename to __mptwo.
3442 (__inv): Use __mptwo instead of mptwo.
3443 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3444 (mptwo): Rename to __mptwo.
3445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3446 of mpone and __mptwo instead of mptwo.
3447 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3449 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3450 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3451 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3452 of mpone and __mptwo instead of mptwo.
3453 (__mpranred): Use __mpone instead of mpone.
3454 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3456 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3457 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3458 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3459 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3460 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3461 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3462 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3463 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3464 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3465 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3466 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3467 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3468 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3469 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3470 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3471 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3472 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3473 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3474 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3476 2014-11-18 Tom de Vries <tom@codesoucery.com>
3478 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3479 replace BSD Handler xref with BSD Signal Handling.
3481 2014-11-17 Richard Henderson <rth@redhat.com>
3483 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3484 (_FP_PACK_RAW_2): Remove.
3485 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3486 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3487 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3488 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3489 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3490 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3491 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3492 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3493 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3494 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3495 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3496 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3497 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3498 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3499 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3500 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3502 2014-11-14 Roland McGrath <roland@hack.frob.com>
3504 * signal/signal.h [__USE_MISC]
3505 (struct sigvec): Remove type.
3506 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3507 (sigvec): Remove declaration.
3508 * sysdeps/posix/sigvec.c: Moved ...
3509 * signal/sigvec.c: ... here, replacing old file.
3510 (struct sigvec): New type, copied from old signal.h definition.
3511 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3512 (__sigvec): Convert definition to prototype.
3513 (sigvec): Replace weak_alias with compat_symbol.
3514 * signal/Versions (libc: GLIBC_2.21): New version set.
3515 * include/signal.h: Remove __sigvec declaration.
3516 * sysdeps/unix/bsd/sigvec.c: Remove file.
3517 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3518 * manual/signal.texi (BSD Handler): Remove subsection.
3519 Move siginterrupt up to ...
3520 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3521 (Blocking in BSD): Fold subsection into its parent.
3522 * NEWS: Mention sigvec removal.
3524 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3526 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3527 (DLA_FMS): Make definition conditional only on [__FMA4__].
3528 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3531 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3532 Make definition conditional only on [PROF].
3533 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3535 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3536 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3538 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3540 * include/signal.h (__sigpause): Move declaration above call to
3542 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3544 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3545 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3547 2014-11-14 David S. Miller <davem@davemloft.net>
3549 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3550 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3552 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3554 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3555 * configure: Regenerated.
3556 * manual/install.texi (Tools for Compilation): Document a
3557 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3558 compiler verified to work.
3559 * INSTALL: Regenerated.
3561 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3562 redeclare with asm name.
3563 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3564 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3565 including <string.h>.
3566 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3567 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3568 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3569 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3570 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3571 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3572 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3574 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3576 * stdlib/strtol.c (__strtol): Use prototype definition.
3579 * stdlib/strtol.c (SYM__): New macro.
3581 (__strtol): Likewise.
3582 (strtol): Rename to __strtol and define as weak alias of
3583 __strtol. Use libc_hidden_weak.
3585 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3587 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3588 Use numbered labels in inline assembly.
3590 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3592 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3593 Add setjmp LIBC_PROBE.
3594 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3596 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3597 Add longjmp, longjmp_target LIBC_PROBE.
3598 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3601 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3604 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3605 to get rid of unused variable warning.
3607 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3609 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3610 Check for unwind_backtrace == NULL only in SHARED case.
3611 (__backchain_backtrace): Compile only in SHARED case.
3612 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3614 (__backchain_backtrace): Declare as static.
3616 2014-11-12 Roland McGrath <roland@hack.frob.com>
3618 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3619 (__libc_multiple_threads_ptr): Variable moved ...
3620 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3622 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3624 * conform/GlibcConform.pm: New file.
3625 * conform/conformtest.pl: Use GlibcConform module.
3626 * conform/linknamespace.pl: New file.
3627 * conform/list-header-symbols.pl: Likewise.
3628 * conform/Makefile (linknamespace-symlists-base): New variable.
3629 (linknamespace-symlists-tests): Likewise.
3630 (linknamespace-header-base): Likewise.
3631 (linknamespace-header-tests): Likewise.
3632 (tests-special): Add new tests.
3633 ($(linknamespace-symlists-tests)): New rule.
3634 (linknamespace-libs): New variable.
3635 ($(objpfx)symlist-stdlibs): New rule.
3636 ($(linknamespace-header-tests)): Likewise.
3637 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3638 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3639 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3640 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3641 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3642 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3643 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3644 (test-xfail-ISO/math.h/linknamespace): Likewise.
3645 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3646 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3647 (test-xfail-ISO/time.h/linknamespace): Likewise.
3648 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3649 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3650 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3651 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3652 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3653 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3654 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3655 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3656 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3657 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3658 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3659 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3660 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3661 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3662 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3663 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3664 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3665 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3666 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3667 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3668 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3669 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3670 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3671 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3672 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3673 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3674 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3675 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3676 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3677 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3678 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3679 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3680 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3681 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3682 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3683 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3684 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3685 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3686 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3687 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3688 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3689 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3690 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3691 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3692 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3693 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3694 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3695 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3696 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3697 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3698 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3699 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3700 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3701 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3702 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3703 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3704 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3705 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3706 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3707 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3708 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3709 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3710 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3711 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3712 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3713 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3714 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3715 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3716 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3717 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3718 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3719 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3720 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3721 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3722 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3723 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3724 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3725 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3726 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3727 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3728 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3729 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3730 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3731 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3732 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3733 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3734 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3735 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3736 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3737 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3738 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3739 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3740 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3741 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3742 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3743 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3744 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3745 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3746 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3747 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3748 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3749 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3750 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3751 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3752 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3753 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3754 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3755 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3756 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3757 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3758 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3759 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3760 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3761 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3762 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3763 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3764 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3765 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3766 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3767 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3768 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3769 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3770 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3771 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3772 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3773 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3774 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3775 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3776 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3777 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3778 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3779 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3780 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3781 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3782 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3783 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3784 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3785 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3786 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3787 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3788 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3789 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3790 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3791 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3792 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3793 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3794 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3795 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3796 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3797 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3800 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3804 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3805 (memmem): Rename to __memmem and define as weak alias of
3806 __memmem. Use libc_hidden_weak.
3807 (__memmem): Use libc_hidden_def.
3808 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3809 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3813 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3814 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3815 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3816 and define as weak alias of __fgets_unlocked. Use
3818 (__fgets_unlocked): Use libc_hidden_def.
3819 * include/stdio.h (__fgets_unlocked): Declare. Use
3821 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3822 __fgets_unlocked instead of fgets_unlocked.
3823 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3824 (GET_NPROCS_CONF_PARSER): Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3826 (GET_NPROCS_CONF_PARSER): Likewise.
3829 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3830 weak alias of __wmemset. Use libc_hidden_weak.
3831 (__wmemset): Use libc_hidden_def.
3832 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3833 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3837 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3838 with asm name __mempcpy.
3839 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3842 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3843 and define as weak alias of __rawmemchr.
3844 (__rawmemchr): Do not define as strong alias of rawmemchr.
3847 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3849 (qsort): Call __qsort_r instead of qsort_r.
3850 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3851 (__qsort_r): Declare. Call libc_hidden_proto.
3852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3854 * nscd/gai.c (__qsort_r): Define to qsort_r.
3855 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3856 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3857 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3860 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3861 define as weak alias of __malloc_info.
3864 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3865 as weak alias of __rewinddir. Don't use libc_hidden_def.
3866 (__rewinddir): Use libc_hidden_def.
3867 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3868 as weak alias of __rewinddir. Don't use libc_hidden_def.
3869 (__rewinddir): Use libc_hidden_def.
3870 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3871 weak alias of __rewinddir. Don't use libc_hidden_def.
3872 (__rewinddir): Use libc_hidden_def.
3873 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3874 (__rewinddir): Use libc_hidden_proto.
3875 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3877 (__getcwd): Use __rewinddir instead of rewinddir.
3880 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3881 alias of __fileno. Use libc_hidden_weak.
3882 (__fileno): Use libc_hidden_def.
3883 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3884 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3886 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3888 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3889 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3891 (fread_unlocked): Don't use libc_hidden_ver.
3892 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3893 and define as weak alias of __fread_unlocked. Don't use
3895 (__fread_unlocked): Use libc_hidden_def.
3896 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3897 (ftello): Don't use libc_hidden_proto.
3898 (__ftello): Declare. Use libc_hidden_proto.
3899 (fread_unlocked): Don't use libc_hidden_proto.
3900 (__fread_unlocked): Declare. Use libc_hidden_proto.
3901 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3902 and __ftello instead of fileno, fread_unlocked and ftello.
3904 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3906 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3908 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3910 (_dl_start_user): Likewise.
3911 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3913 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3914 Siddhesh Poyarekar <siddhesh@redhat.com>
3916 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3917 Move argv and envp down instead of moving argc up.
3918 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3920 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3923 * test-skeleton.c (main): Return successful if one of
3924 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3925 * string/tst-strcoll-overflow.c: Define expected status.
3927 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3930 * locale/iso-639.def: Define Bhili and Tulu language codes.
3932 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3934 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3936 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3939 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3941 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3943 * configure.ac: Updated check of minimal required version to
3945 * manual/install.texi (Tools for Compilation): Updated version
3947 * configure: Regenerated.
3948 * INSTALL: Likewise.
3950 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3952 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3955 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3957 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3958 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3959 (__waitpid): Don't define as alias. Use libc_hidden_def not
3961 (waitpid): Define as alias of __waitpid.
3962 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3964 (__waitpid): Don't define as alias. Use libc_hidden_def not
3966 (waitpid): Define as alias of __waitpid.
3967 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3968 __libc_waitpid alias.
3969 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3972 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3974 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3976 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3978 (__waitpid): Don't define as alias. Use libc_hidden_def not
3980 (waitpid): Define as alias of __waitpid.
3982 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3984 * manual/llio.texi: Add comment that write safety has been
3987 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3988 (localplt-build-dso): Add elf/ld.so.
3989 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3990 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3993 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3998 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3999 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4000 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4001 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4002 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4003 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4004 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4005 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4006 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4007 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4008 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4010 2014-11-05 Joseph Myers <joseph@codesourcery.com>
4013 * include/libc-symbols.h (INTUSE): Remove macro.
4015 (INTVARDEF): Likewise.
4016 (_INTVARDEF): Likewise.
4017 (INTDEF2): Likewise.
4018 (INTVARDEF2): Likewise.
4019 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4020 rtld_hidden_def instead of INTVARDEF.
4021 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4022 (_dl_starting_up_internal): Remove declaration.
4023 (_dl_starting_up): Use rtld_hidden_proto.
4024 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4026 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4027 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4029 * elf/dl-writev.h (_dl_writev): Likewise.
4030 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4031 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4032 _dl_starting_up_internal.
4034 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4036 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4039 2014-11-05 Will Newton <will.newton@linaro.org>
4041 * benchtests/Makefile: (bench-malloc): Add malloc thread
4042 scalability benchmark.
4043 * benchtests/bench-malloc-threads.c: New file.
4045 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
4047 * sysdeps/aarch64/strchrnul.S: New file.
4049 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4051 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4053 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4055 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4057 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4059 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4061 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4064 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
4066 * catgets/test-gencat.c: Use test-skeleton.c.
4067 * catgets/tst-catgets.c: Likewise.
4068 * csu/tst-empty.c: Likewise.
4069 * elf/tst-audit2.c: Likewise.
4070 * elf/tst-global1.c: Likewise.
4071 * elf/tst-pathopt.c: Likewise.
4072 * elf/tst-piemod1.c: Likewise.
4073 * elf/tst-tls10.c: Likewise.
4074 * elf/tst-tls11.c: Likewise.
4075 * elf/tst-tls12.c: Likewise.
4076 * gnulib/tst-gcc.c: Likewise.
4077 * iconvdata/tst-e2big.c: Likewise.
4078 * iconvdata/tst-loading.c: Likewise.
4079 * iconv/tst-iconv1.c: Likewise.
4080 * iconv/tst-iconv2.c: Likewise.
4081 * inet/test-inet6_opt.c: Likewise.
4082 * inet/tst-gethnm.c: Likewise.
4083 * inet/tst-network.c: Likewise.
4084 * inet/tst-ntoa.c: Likewise.
4085 * intl/tst-codeset.c: Likewise.
4086 * intl/tst-gettext2.c: Likewise.
4087 * intl/tst-gettext3.c: Likewise.
4088 * intl/tst-ngettext.c: Likewise.
4089 * intl/tst-translit.c: Likewise.
4090 * io/test-stat.c: Likewise.
4091 * libio/test-fmemopen.c: Likewise.
4092 * libio/tst-freopen.c: Likewise.
4093 * libio/tst-sscanf.c: Likewise.
4094 * libio/tst-ungetwc1.c: Likewise.
4095 * libio/tst-ungetwc2.c: Likewise.
4096 * libio/tst-widetext.c: Likewise.
4097 * localedata/tst-ctype.c: Likewise.
4098 * localedata/tst-digits.c: Likewise.
4099 * localedata/tst-leaks.c: Likewise.
4100 * localedata/tst-mbswcs1.c: Likewise.
4101 * localedata/tst-mbswcs2.c: Likewise.
4102 * localedata/tst-mbswcs3.c: Likewise.
4103 * localedata/tst-mbswcs4.c: Likewise.
4104 * localedata/tst-mbswcs5.c: Likewise.
4105 * localedata/tst-setlocale.c: Likewise.
4106 * localedata/tst-trans.c: Likewise.
4107 * localedata/tst-wctype.c: Likewise.
4108 * localedata/tst-xlocale1.c: Likewise.
4109 * login/tst-grantpt.c: Likewise.
4110 * malloc/tst-calloc.c: Likewise.
4111 * malloc/tst-malloc.c: Likewise.
4112 * malloc/tst-mallocstate.c: Likewise.
4113 * malloc/tst-mcheck.c: Likewise.
4114 * malloc/tst-mtrace.c: Likewise.
4115 * malloc/tst-obstack.c: Likewise.
4116 * math/atest-exp2.c: Likewise.
4117 * math/atest-exp.c: Likewise.
4118 * math/atest-sincos.c: Likewise.
4119 * math/test-matherr.c: Likewise.
4120 * math/test-misc.c: Likewise.
4121 * math/test-powl.c: Likewise.
4122 * math/tst-definitions.c: Likewise.
4123 * misc/tst-dirname.c: Likewise.
4124 * misc/tst-efgcvt.c: Likewise.
4125 * misc/tst-fdset.c: Likewise.
4126 * misc/tst-hsearch.c: Likewise.
4127 * misc/tst-mntent2.c: Likewise.
4128 * nptl/tst-sem7.c: Likewise.
4129 * nptl/tst-sem8.c: Likewise.
4130 * nptl/tst-sem9.c: Likewise.
4131 * nss/test-netdb.c: Likewise.
4132 * posix/tst-fnmatch.c: Likewise.
4133 * posix/tst-getlogin.c: Likewise.
4134 * posix/tst-gnuglob.c: Likewise.
4135 * posix/tst-mmap.c: Likewise.
4136 * pwd/tst-getpw.c: Likewise.
4137 * resolv/tst-inet_ntop.c: Likewise.
4138 * rt/tst-timer.c: Likewise.
4139 * stdio-common/test-fseek.c: Likewise.
4140 * stdio-common/test-popen.c: Likewise.
4141 * stdio-common/test-vfprintf.c: Likewise.
4142 * stdio-common/tst-cookie.c: Likewise.
4143 * stdio-common/tst-fileno.c: Likewise.
4144 * stdio-common/tst-gets.c: Likewise.
4145 * stdio-common/tst-obprintf.c: Likewise.
4146 * stdio-common/tst-perror.c: Likewise.
4147 * stdio-common/tst-sprintf2.c: Likewise.
4148 * stdio-common/tst-sprintf3.c: Likewise.
4149 * stdio-common/tst-sprintf.c: Likewise.
4150 * stdio-common/tst-swprintf.c: Likewise.
4151 * stdio-common/tst-tmpnam.c: Likewise.
4152 * stdio-common/tst-unbputc.c: Likewise.
4153 * stdio-common/tst-wc-printf.c: Likewise.
4154 * stdlib/tst-environ.c: Likewise.
4155 * stdlib/tst-fmtmsg.c: Likewise.
4156 * stdlib/tst-limits.c: Likewise.
4157 * stdlib/tst-rand48-2.c: Likewise.
4158 * stdlib/tst-rand48.c: Likewise.
4159 * stdlib/tst-random2.c: Likewise.
4160 * stdlib/tst-random.c: Likewise.
4161 * stdlib/tst-strtol.c: Likewise.
4162 * stdlib/tst-strtoll.c: Likewise.
4163 * stdlib/tst-tls-atexit.c: Likewise.
4164 * stdlib/tst-xpg-basename.c: Likewise.
4165 * string/test-ffs.c: Likewise.
4166 * string/tst-bswap.c: Likewise.
4167 * string/tst-inlcall.c: Likewise.
4168 * string/tst-strtok.c: Likewise.
4169 * string/tst-strxfrm.c: Likewise.
4170 * sysdeps/x86_64/tst-audit10.c: Likewise.
4171 * sysdeps/x86_64/tst-audit3.c: Likewise.
4172 * sysdeps/x86_64/tst-audit4.c: Likewise.
4173 * sysdeps/x86_64/tst-audit5.c: Likewise.
4174 * time/tst-ftime_l.c: Likewise.
4175 * time/tst-getdate.c: Likewise.
4176 * time/tst-mktime3.c: Likewise.
4177 * time/tst-mktime.c: Likewise.
4178 * time/tst-posixtz.c: Likewise.
4179 * time/tst-strptime2.c: Likewise.
4180 * time/tst-strptime3.c: Likewise.
4181 * wcsmbs/tst-btowc.c: Likewise.
4182 * wcsmbs/tst-mbrtowc.c: Likewise.
4183 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4184 * wcsmbs/tst-wchar-h.c: Likewise.
4185 * wcsmbs/tst-wcpncpy.c: Likewise.
4186 * wcsmbs/tst-wcrtomb.c: Likewise.
4187 * wcsmbs/tst-wcsnlen.c: Likewise.
4188 * wcsmbs/tst-wcstof.c: Likewise.
4190 2014-11-04 Joseph Myers <joseph@codesourcery.com>
4193 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4195 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4197 (_dl_mcount): Use rtld_hidden_proto.
4198 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4200 * elf/rtld.c (_rtld_global_ro): Likewise.
4203 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4204 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4205 of _dl_init_internal.
4206 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4207 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4208 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4209 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4210 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4211 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4212 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4213 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4214 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4215 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4216 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4217 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4218 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4219 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4220 * sysdeps/tile/dl-start.S (_start): Likewise.
4221 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4222 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4225 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4226 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4227 (rtld_progname): Make macro definition unconditional.
4228 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4230 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4231 (dl_main): Likewise.
4232 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4233 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4234 instead of _dl_argv_internal.
4235 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4236 __GI__dl_argv instead of INTUSE(_dl_argv).
4237 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4238 __GI__dl_argv instead of _dl_argv_internal.
4240 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4241 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4243 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4244 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4246 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4247 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4249 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4250 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4252 2014-11-04 Andreas Schwab <schwab@suse.de>
4254 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4256 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4258 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4259 mtvsrd instruction in binary form.
4261 2014-11-03 Andreas Schwab <schwab@suse.de>
4264 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4265 for less than MB_LEN_MAX use a local buffer of that size.
4266 * libio/tst-fputws.c: New file.
4267 * libio/Makefile (tests): Add tst-fputws.
4269 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4271 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4272 the size of the fpu_fr.fpu_dregs[] array.
4274 2014-11-01 Joseph Myers <joseph@codesourcery.com>
4276 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4277 (__nanosleep): Do not define as alias.
4278 (nanosleep): Define as alias of __nanosleep.
4279 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4280 __libc_nanosleep name.
4282 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4284 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4285 install.texi in comment.
4287 2014-10-31 Torvald Riegel <triegel@redhat.com>
4289 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4290 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4291 ... add here and use lwsync or sync ...
4292 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4293 ... and add here using lwsync.
4295 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4297 * elf/dl-machine-reject-phdr.h: New file.
4298 * elf/dl-load.c: #include that.
4299 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4300 if that returned true.
4302 2014-10-31 Roland McGrath <roland@hack.frob.com>
4305 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4306 gen-as-const-headers chunk. Add a big scare comment after the last
4307 safe place to touch before-compile.
4309 2014-10-31 Joseph Myers <joseph@codesourcery.com>
4311 * manual/install.texi (Tools for Compilation): Update autoconf
4312 version requirements.
4313 * INSTALL: Regenerated.
4315 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4316 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4317 (__libc_pselect): Likewise.
4320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4325 2014-10-31 Torvald Riegel <triegel@redhat.com>
4327 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4328 correct barrier instruction.
4329 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4331 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4334 2014-10-30 Roland McGrath <roland@hack.frob.com>
4336 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4337 after defining inlines. Instead, just use parens to defeat macro
4338 expansion of __isctype in its declaration.
4340 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4342 * include/sys/uio.h (__libc_readv): Remove declaration.
4343 (__libc_writev): Likewise.
4344 * misc/readv.c (__libc_readv): Rename to __readv.
4345 (__readv): Do not define as alias.
4346 (readv): Define as alias of __readv.
4347 * misc/writev.c (__libc_writev): Rename to __writev.
4348 (__writev): Do not define as alias.
4349 (writev): Define as alias of __writev.
4350 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4351 (__readv): Do not define as alias.
4352 (readv): Define unconditionally as alias of __readv.
4353 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4354 (__writev): Do not define as alias.
4355 (writev): Define unconditionally as alias of __writev.
4356 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4358 (writev): Do not define __libc_writev name.
4360 2014-10-30 Roland McGrath <roland@hack.frob.com>
4362 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4363 (convert_charseq): New function, broken out of ...
4364 (use_from_charmap): ... here. Call it.
4365 (use_to_charmap): Use convert_charseq and free instead of duplicating
4366 its code with a variable-length stack struct.
4368 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4370 * include/fcntl.h (__libc_creat): Remove declaration.
4371 * io/creat.c (__libc_creat): Rename to creat.
4372 (creat): Do not define as alias.
4373 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4374 of creat instead of __libc_creat.
4375 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4377 (creat): Do not define as alias.
4378 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4380 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4385 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4387 * manual/llio.texi: Add comments discussing why write() may be
4388 considered MT-unsafe on Linux.
4390 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4392 * dl-load.c (local_strdup): Remove.
4393 (expand_dynamic_string_token): Use __strdup.
4394 (decompose_rpath): Likewise.
4395 (_dl_map_object): Likewise.
4397 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4400 * sysdeps/generic/unwind-dw2-fde.c
4401 (__register_frame_info_bases_internal): Do not declare.
4402 (__register_frame_info_table_bases_internal): Likewise.
4403 (__deregister_frame_info_bases_internal): Likewise.
4404 (__register_frame_info_bases): Declare and use hidden_proto before
4405 definition. Use hidden_def instead of INTDEF.
4406 (__register_frame_info_table_bases): Likewise.
4407 (__deregister_frame_info_bases): Likewise.
4408 (__register_frame_info): Do not use INTUSE.
4409 (__register_frame): Likewise.
4410 (__register_frame_info_table): Likewise.
4411 (__register_frame_table): Likewise.
4412 (__deregister_frame_info): Likewise.
4413 (__deregister_frame): Likewise.
4415 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4418 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4420 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4422 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4425 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4428 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4429 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4430 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4431 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4432 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4433 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4434 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4435 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4436 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4437 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4439 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4440 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4442 (setfsuid): Likewise.
4443 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4444 (setfsuid): Likewise.
4445 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4446 (setfsuid): Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4449 (setfsuid): Likewise.
4450 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4451 (setfsuid): Likewise.
4452 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4454 (setfsuid): Likewise.
4456 2014-10-27 Andreas Schwab <schwab@suse.de>
4459 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4460 check for Slow_SSE4_2 feature bit.
4461 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4462 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4463 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4464 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4466 2014-10-24 Roland McGrath <roland@hack.frob.com>
4468 * configure.ac: Validate compiler version with a empirical test of
4469 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4471 * configure: Regenerated.
4473 * inet/htons.c (htons): Prototypify.
4474 * inet/htonl.c (htonl): Likewise.
4476 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4478 * string/strncat.c (strncat): Improve performance by using strlen.
4480 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4482 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4484 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4486 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4487 Call libc_fetestexcept_aarch64.
4489 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4491 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4492 Call libc_feholdexcept_aarch64.
4494 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4496 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4497 Call get_rounding_mode.
4499 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4501 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4504 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4506 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4509 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4512 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4513 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4514 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4515 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4516 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4517 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4518 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4519 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4520 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4521 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4522 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4523 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4524 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4525 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4526 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4527 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4528 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4529 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4530 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4531 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4532 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4533 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4534 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4535 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4536 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4537 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4538 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4539 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4540 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4541 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4542 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4543 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4544 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4545 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4546 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4547 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4549 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4551 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4552 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4554 (geteuid): Likewise.
4557 (getresgid): Likewise.
4558 (getresuid): Likewise.
4559 (getgroups): Likewise.
4560 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4561 (geteuid): Likewise.
4564 (getresgid): Likewise.
4565 (getresuid): Likewise.
4566 (getgroups): Likewise.
4567 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4568 (geteuid): Likewise.
4571 (getresgid): Likewise.
4572 (getresuid): Likewise.
4573 (getgroups): Likewise.
4574 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4576 (geteuid): Likewise.
4579 (getresgid): Likewise.
4580 (getresuid): Likewise.
4581 (getgroups): Likewise.
4582 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4583 (geteuid): Likewise.
4586 (getresgid): Likewise.
4587 (getresuid): Likewise.
4588 (getgroups): Likewise.
4589 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4591 (geteuid): Likewise.
4594 (getgroups): Likewise.
4597 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4598 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4599 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4601 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4602 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4603 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4604 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4605 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4606 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4607 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4608 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4609 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4611 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4618 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4621 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4626 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4628 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4631 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4633 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4636 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4638 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4639 Remove unused include.
4641 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4643 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4644 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4645 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4646 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4648 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4649 Helge Deller <deller@gmx.de>
4652 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4653 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4654 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4656 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4659 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4660 Remove macro definition.
4661 (__ashrdi3_v_glibc20): Likewise.
4662 (__lshrdi3_v_glibc20): Likewise.
4663 (__cmpdi2_v_glibc20): Likewise.
4664 (__ucmpdi2_v_glibc20): Likewise.
4665 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4666 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4667 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4668 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4669 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4670 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4672 2014-10-22 Roland McGrath <roland@hack.frob.com>
4674 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4675 old GNU extension [0] syntax.
4676 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4677 alloca rather than an array member with variable length.
4678 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4679 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4680 (parse_opt): ... here. Likewise use alloca there.
4681 Validate the -i argument before checking for rootness.
4682 (send_shutdown): New function, broken out of ...
4683 (parse_opt): ... here.
4685 2014-10-22 Roland McGrath <roland@hack.frob.com>
4687 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4688 macro to get at the _rt_local_ro field.
4689 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4690 ([PIC] case) or _dl_hwcap ([!PIC] case).
4691 * sysdeps/arm/setjmp.S: Likewise.
4693 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4694 * sysdeps/arm/configure.ac: New check to define it.
4695 * sysdeps/arm/configure: Regenerated.
4696 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4697 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4698 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4699 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4700 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4701 Use move/movt pair instead of a load.
4702 (LDST_GLOBAL): Macro removed.
4703 (LDR_GLOBAL): New macro replaces it.
4704 (LDR_HIDDEN): New macro.
4705 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4706 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4708 * setjmp/tst-setjmp-static.c: New file.
4709 * setjmp/Makefile (tests): Add it.
4710 (tests-static): New variable.
4712 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4715 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4717 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4720 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4722 2014-10-21 Roland McGrath <roland@hack.frob.com>
4724 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4726 2014-10-20 Roland McGrath <roland@hack.frob.com>
4728 * io/fts.c (dirent_not_directory): New function.
4729 (fts_build): Call it.
4731 2014-10-20 Roland McGrath <roland@hack.frob.com>
4733 * nptl/version.c (__nptl_main): Use normal __write rather than
4735 (banner): Update copyright years.
4737 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4739 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4740 * nptl/pthread_cond_timedwait.c: Likewise.
4741 * nptl/pthread_mutex_timedlock.c: Likewise.
4742 * nptl/sem_timedwait.c: Likewise.
4744 * sysdeps/nptl/bits/libc-lock.h
4745 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4746 (__libc_lock_init_recursive): Return void, not 0.
4747 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4748 (__libc_rwlock_init): Likewise.
4749 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4751 2014-10-20 Torvald Riegel <triegel@redhat.com>
4754 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4755 (__pthread_once_slow): ... here.
4756 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4757 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4759 2014-10-20 Torvald Riegel <triegel@redhat.com>
4762 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4763 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4764 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4765 * nptl/pthread_once.c (__pthread_once): Likewise.
4768 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4771 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4773 (writev): Use __libc_writev as strong name.
4774 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4775 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4777 2014-10-17 Roland McGrath <roland@hack.frob.com>
4779 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4781 * sysdeps/i386/nptl/tls.h
4782 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4783 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4785 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4786 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4787 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4788 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4789 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4790 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4792 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4793 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4795 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4797 (__pthread_mutex_init): ... here. Call it.
4798 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4799 Conditionalize PI cases on [__NR_futex].
4800 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4801 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4802 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4804 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4805 conditional on [SIGSETXID].
4806 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4807 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4808 is defined. Likewise for SIGSETXID.
4809 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4810 Conditionalize definitions on [SIGSETXID].
4811 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4812 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4813 unblocking on [SIGCANCEL].
4815 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4816 [__NR_set_robust_list].
4818 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4820 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4821 (do_compare): Likewise.
4823 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4826 * string/strcoll_l.c: Don't include stdio.h.
4827 (coll_seq): Remove members idxarr and rulearr.
4828 (get_next_seq_cached): Remove function.
4829 (get_next_seq): Likewise.
4830 (get_next_seq_nocache): Rename to get_next_seq.
4831 (do_compare): Remove function.
4832 (do_compare_nocache): Rename to do_compare.
4833 (STRCOLL): Remove weight and rules cache.
4835 2014-10-16 Roland McGrath <roland@hack.frob.com>
4837 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4838 * sysdeps/arm/sfp-machine.h: ... to here.
4839 * sysdeps/arm/Implies: Remove arm/soft-fp.
4841 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4843 * conform/data/sys/utsname.h-data (*_t): Allow.
4844 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4845 [POSIX] (WEXITED): Do not expect constant.
4846 [POSIX] (WSTOPPED): Likewise.
4847 [POSIX] (WNOHANG): Likewise.
4848 [POSIX] (WNOWAIT): Likewise.
4849 [POSIX] (siginfo_t): Do not expect type or elements.
4850 [POSIX] (pid_t): Do not expect type.
4851 [POSIX] (signal.h): Do not allow header.
4852 [POSIX] (sys/resource.h): Likewise.
4853 [POSIX] (si_*): Do not allow pattern.
4854 [POSIX] (W*): Likewise.
4855 [POSIX] (P_*): Likewise.
4856 [POSIX] (BUS_*): Likewise.
4857 [POSIX] (CLD_*): Likewise.
4858 [POSIX] (FPE_*): Likewise.
4859 [POSIX] (ILL_*): Likewise.
4860 [POSIX] (POLL_*): Likewise.
4861 [POSIX] (SEGV_*): Likewise.
4862 [POSIX] (SI_*): Likewise.
4863 [POSIX] (TRAP_*): Likewise.
4864 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4867 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4870 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4871 infinite loop when __recvmsg returns 0.
4873 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4875 * CANCEL-FCT-WAIVE: Remove file.
4876 * CANCEL-FILE-WAIVE: Likewise.
4879 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4880 instead of INTVARDEF.
4881 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4882 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4883 rtld_hidden_data_def instead of INTVARDEF.
4884 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4885 * elf/dl-deps.c (expand_dst): Likewise.
4886 * elf/dl-load.c (_dl_dst_count): Likewise.
4887 (_dl_dst_substitute): Likewise.
4888 (decompose_rpath): Likewise.
4889 (_dl_init_paths): Likewise.
4890 (open_path): Likewise.
4891 (_dl_map_object): Likewise.
4892 * elf/rtld.c (dl_main): Likewise.
4893 (process_dl_audit): Likewise.
4894 (process_envvars): Likewise.
4895 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4897 (__libc_enable_secure): Use rtld_hidden_proto.
4899 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4902 (add_path): New function broken out of _dl_rtld_di_serinfo.
4903 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4905 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4907 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4908 parentheses around macro arguments.
4909 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4911 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4912 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4913 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4914 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4915 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4916 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4917 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4918 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4919 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4920 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4921 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4922 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4923 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4924 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4925 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4926 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4927 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4929 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4930 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4931 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4932 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4933 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4934 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4935 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4936 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4937 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4938 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4939 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4940 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4941 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4942 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4943 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4944 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4946 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4947 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4948 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4949 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4950 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4951 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4952 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4953 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4954 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4955 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4956 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4957 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4958 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4959 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4960 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4961 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4962 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4963 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4964 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4965 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4966 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4967 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4968 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4969 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4970 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4971 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4972 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4973 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4974 (_FP_FRAC_SRS_1): Likewise.
4975 (_FP_FRAC_CLZ_1): Likewise.
4976 (_FP_MUL_MEAT_1_imm): Likewise.
4977 (_FP_MUL_MEAT_1_wide): Likewise.
4978 (_FP_MUL_MEAT_1_hard): Likewise.
4979 (_FP_SQRT_MEAT_1): Likewise.
4980 (_FP_FRAC_ASSEMBLE_1): Likewise.
4981 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4982 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4983 (__FP_CLZ_2): Likewise.
4984 (_FP_MUL_MEAT_2_wide): Likewise.
4985 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4986 (_FP_MUL_MEAT_2_gmp): Likewise.
4987 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4988 (_FP_SQRT_MEAT_2): Likewise.
4989 (_FP_FRAC_ASSEMBLE_2): Likewise.
4990 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4991 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4992 (_FP_FRAC_CLZ_4): Likewise.
4993 (_FP_MUL_MEAT_4_wide): Likewise.
4994 (_FP_MUL_MEAT_4_gmp): Likewise.
4995 (_FP_SQRT_MEAT_4): Likewise.
4996 (_FP_FRAC_ASSEMBLE_4): Likewise.
4997 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4998 * soft-fp/op-common.h (_FP_CMP): Likewise.
4999 (_FP_CMP_EQ): Likewise.
5000 (_FP_CMP_UNORD): Likewise.
5001 (_FP_TO_INT): Likewise.
5002 (_FP_FROM_INT): Likewise.
5003 [!__FP_CLZ] (__FP_CLZ): Likewise.
5004 (_FP_DIV_HELP_imm): Likewise.
5005 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5007 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5009 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5010 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5011 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5012 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5013 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5014 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5015 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5016 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5017 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5018 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5019 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5020 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5021 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5022 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5023 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5024 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5025 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5027 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5028 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5029 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5030 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5031 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5032 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5033 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5034 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5035 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5036 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5037 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5038 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5039 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5040 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5041 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5042 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5043 (FP_UNPACK_RAW_SP): Likewise.
5044 (FP_PACK_RAW_S): Likewise.
5045 (FP_PACK_RAW_SP): Likewise.
5046 (FP_UNPACK_S): Likewise.
5047 (FP_UNPACK_SP): Likewise.
5048 (FP_UNPACK_SEMIRAW_S): Likewise.
5049 (FP_UNPACK_SEMIRAW_SP): Likewise.
5050 (FP_PACK_S): Likewise.
5051 (FP_PACK_SP): Likewise.
5052 (FP_PACK_SEMIRAW_S): Likewise.
5053 (FP_PACK_SEMIRAW_SP): Likewise.
5054 (_FP_SQRT_MEAT_S): Likewise.
5055 (FP_CMP_S): Likewise.
5056 (FP_CMP_EQ_S): Likewise.
5057 (FP_CMP_UNORD_S): Likewise.
5058 (FP_TO_INT_S): Likewise.
5059 (FP_FROM_INT_S): Likewise.
5061 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5063 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5064 (FP_EX_INVALID_IMZ): Likewise.
5065 (FP_EX_INVALID_IMZ_FMA): Likewise.
5066 (FP_EX_INVALID_ISI): Likewise.
5067 (FP_EX_INVALID_ZDZ): Likewise.
5068 (FP_EX_INVALID_IDI): Likewise.
5069 (FP_EX_INVALID_SQRT): Likewise.
5070 (FP_EX_INVALID_CVI): Likewise.
5071 (FP_EX_INVALID_VC): Likewise.
5072 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5073 "invalid" exceptions.
5074 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5075 (_FP_ADD_INTERNAL): Likewise.
5076 (_FP_MUL): Likewise.
5077 (_FP_FMA): Likewise.
5078 (_FP_DIV): Likewise.
5079 (_FP_CMP_CHECK_NAN): Likewise.
5080 (_FP_SQRT): Likewise.
5081 (_FP_TO_INT): Likewise.
5082 (FP_EXTEND): Likewise.
5084 2014-10-09 Allan McRae <allan@archlinux.org>
5086 * po/fr.po: Update French translation from translation project.
5088 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5091 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5093 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5094 (__cxa_atexit): Use libc_hidden_proto.
5095 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5098 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5100 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5101 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5102 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5103 [!_ISOMAC] (__iswctype_internal): Likewise.
5104 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5105 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5107 (fcntl): Remove __fcntl_internal alias.
5108 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5109 __connect_internal alias.
5110 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5113 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5114 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5116 (_FP_CHECK_FLUSH_ZERO): New macro.
5117 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5118 (_FP_CMP): Likewise.
5119 (_FP_CMP_EQ): Likewise.
5120 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5122 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5123 (FP_TRUNC): Likewise.
5125 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5126 treated as invalid conversion, not as normal exponent.
5128 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5129 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5130 (_FP_CMP_EQ): Likewise.
5131 (_FP_CMP_UNORD): Likewise.
5132 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5133 (FP_CMP_EQ_D): Likewise.
5134 (FP_CMP_UNORD_D): Likewise.
5135 * soft-fp/extended.h (FP_CMP_E): Likewise.
5136 (FP_CMP_EQ_E): Likewise.
5137 (FP_CMP_UNORD_E): Likewise.
5138 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5139 (FP_CMP_EQ_Q): Likewise.
5140 (FP_CMP_UNORD_Q): Likewise.
5141 * soft-fp/single.h (FP_CMP_S): Likewise.
5142 (FP_CMP_EQ_S): Likewise.
5143 (FP_CMP_UNORD_S): Likewise.
5144 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5145 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5146 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5147 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5148 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5149 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5150 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5151 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5152 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5153 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5154 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5155 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5156 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5158 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5160 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5161 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5163 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5165 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5166 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5167 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5168 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5170 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5172 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5173 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5175 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5177 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5178 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5179 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5180 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5183 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5184 a subnormal result, set the underflow exception if trapping on
5185 underflow is enabled.
5186 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5187 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5188 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5190 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5191 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5192 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5193 * soft-fp/extendxftf2.c (__extendxftf2): Use
5194 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5196 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5197 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5198 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5199 FP_HANDLE_EXCEPTIONS.
5200 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5201 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5202 FP_HANDLE_EXCEPTIONS.
5203 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5204 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5205 FP_HANDLE_EXCEPTIONS.
5206 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5207 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5208 FP_HANDLE_EXCEPTIONS.
5210 2014-10-08 Joseph Myers <joseph@codesourcery.com>
5213 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5214 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5216 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5217 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5219 (__adjtimex): Define using libc_hidden_ver.
5220 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5222 (ntp_gettime): Call __adjtimex directly.
5223 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5225 (ntp_gettimex): Call __adjtimex directly.
5226 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5227 __adjtimex_internal alias.
5229 2014-10-08 Roland McGrath <roland@hack.frob.com>
5232 * nscd/nscd.c (more_help): Rewrite list of tables collection
5233 using xstrdup and asprintf.
5235 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5237 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5238 Roland McGrath <roland@hack.frob.com>
5240 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5241 (do_lookup_unique): ... local function 'enter' here; update callers.
5243 2014-10-06 Joseph Myers <joseph@codesourcery.com>
5245 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5246 compat_symbol calls on [SHARED].
5247 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5248 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5250 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5251 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5252 (oldsetrlimit): Remove.
5253 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5255 (lchown): New syscall entry.
5256 (oldsetrlimit): Remove.
5257 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5258 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5259 (oldsetrlimit): Remove.
5260 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5263 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5264 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5265 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5266 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5267 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5268 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5270 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5275 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5277 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5278 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5279 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5280 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5281 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5283 (__old_sem_post): Likewise.
5285 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
5287 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5288 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5289 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5290 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5291 Use INLINE_VSYSCALL macro.
5292 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5293 __vdso_clock_gettime.
5294 * sysdeps/unix/sysv/linux/tile/init-first.c
5295 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5296 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5297 __vdso_clock_gettime.
5299 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5300 to set up frame more cleanly.
5302 * sysdeps/tile/memcmp.c: New file.
5304 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5306 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5307 * sysdeps/tile/tilegx/strcasestr.c: New file.
5308 * sysdeps/tile/tilegx/strnlen.c: New file.
5309 * sysdeps/tile/tilegx/strstr.c: New file.
5311 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5313 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
5315 * nptl/tst-setuid3.c: Write errors to stdout.
5317 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5320 (preload): New functions broken out of _dl_map_object_deps.
5321 (_dl_map_object_deps): Remove a nested function. Update call sites.
5323 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5326 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5327 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5329 2014-10-01 Steve Ellcey <sellcey@mips.com>
5331 * sysdeps/mips/strcmp.S: New.
5333 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5336 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5338 (mkdirat): Likewise.
5339 (readlinkat): Likewise.
5340 (renameat): Likewise.
5341 (symlinkat): Likewise.
5342 (unlinkat): Likewise.
5343 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5344 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5345 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5346 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5347 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5348 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5349 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5351 2014-09-30 Will Newton <will.newton@linaro.org>
5353 * math/math.h: Define long double math functions if
5354 _LIBC_TEST is defined.
5355 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5357 * localedata/Makefile: Move assignment to tests-special
5358 into an ifdef testing run-built-tests.
5359 * timezone/Makefile: Likewise.
5361 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5363 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5364 with $(BASH) not $(SHELL).
5366 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5367 Matthew LeGendre <legendre1@llnl.gov>
5370 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5373 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5375 * stdio-common/printf_fp.c
5376 (hack_digit): New function, broken out of ...
5377 (__printf_fp): ... local function here. Update call sites.
5378 hack_digit now takes an additional parameter that is a pointer
5379 to a struct of the referenced locals. Those locals moved inside
5380 the struct and references updated.
5382 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5384 * aclocal.m4: Require autoconf 2.69.
5385 * configure: Regenerated.
5386 * sysdeps/aarch64/configure: Likewise.
5387 * sysdeps/alpha/configure: Likewise.
5388 * sysdeps/arm/armv7/configure: Likewise.
5389 * sysdeps/arm/configure: Likewise.
5390 * sysdeps/ia64/configure: Likewise.
5391 * sysdeps/mach/configure: Likewise.
5392 * sysdeps/mips/configure: Likewise.
5393 * sysdeps/s390/configure: Likewise.
5394 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5397 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5399 * sysdeps/ia64/configure.ac: Likewise.
5401 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5404 specify symbol version for ld.so. Do not include entry for
5406 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5407 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5408 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5411 * Makeconfig [$(build-shared) = yes]
5412 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5414 [$(build-shared) = yes && $(soversions.mk-done) = t]
5415 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5416 [$(build-shared) = yes && $(soversions.mk-done) = t]
5417 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5419 [$(build-shared) = yes && $(soversions.mk-done) = t]
5420 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5422 [$(build-shared) = yes && $(soversions.mk-done) = t]
5423 (common-generated): Don't append gnu/lib-names.h and
5424 gnu/lib-names.stmp here.
5425 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5426 (lib-names-h-abi): New variable.
5427 [$(build-shared) = yes && $(soversions.mk-done) = t]
5428 (lib-names-stmp-abi): Likewise.
5429 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5430 abi-variants] (before-compile): Append
5431 $(common-objpfx)$(lib-names-h-abi).
5432 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5433 abi-variants] (common-generated): Append gnu/lib-names.h.
5434 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5435 abi-variants] (install-others-nosubdir): Depend on
5436 $(inst_includedir)/$(lib-names-h-abi).
5437 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5438 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5439 [$(build-shared) = yes && $(soversions.mk-done) = t]
5440 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5441 [$(build-shared) = yes && $(soversions.mk-done) = t]
5442 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5443 [$(build-shared) = yes && $(soversions.mk-done) = t]
5444 (common-generated): Append $(lib-names-h-abi) and
5445 $(lib-names-stmp-abi).
5446 * scripts/lib-names.awk: Do not handle multi being set.
5447 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5449 (abi-lp64_be-ld-soname): Likewise.
5450 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5452 (abi-hard-ld-soname): Likewise.
5453 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5454 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5456 (abi-o32_hard-ld-soname): Likewise.
5457 (abi-o32_soft_2008-ld-soname): Likewise.
5458 (abi-o32_hard_2008-ld-soname): Likewise.
5459 (abi-n32_soft-ld-soname): Likewise.
5460 (abi-n32_hard-ld-soname): Likewise.
5461 (abi-n32_soft_2008-ld-soname): Likewise.
5462 (abi-n32_hard_2008-ld-soname): Likewise.
5463 (abi-n64_soft-ld-soname): Likewise.
5464 (abi-n64_hard-ld-soname): Likewise.
5465 (abi-n64_soft_2008-ld-soname): Likewise.
5466 (abi-n64_hard_2008-ld-soname): Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5469 (abi-64-v2-ld-soname): Likewise.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5472 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5474 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5476 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5478 (abi-64-ld-soname): Likewise.
5479 (abi-x32-ld-soname): Likewise.
5480 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5482 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5484 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5487 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5488 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5489 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5490 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5491 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5492 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5493 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5494 syscall entry for GLIBC_2.2 symbol version.
5495 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5498 (setrlimit): Likewise.
5499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5502 2014-09-23 Will Newton <will.newton@linaro.org>
5504 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5505 _LINUX_ARM_SYSDEP_H include guard too.
5506 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5509 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5511 * sysdeps/unix/sysv/linux/eventfd.c:
5512 Make first argument unsigned.
5513 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5514 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5516 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5518 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5519 * socket/sys/socket.h: Likewise
5520 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5522 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5524 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5526 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5528 * time/tst-ftime.c: New test.
5529 * time/Makefile (tests): Add tst-ftime.
5531 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5533 * soft-fp/extended.h: Fix comment formatting.
5534 * soft-fp/op-1.h: Likewise.
5535 * soft-fp/op-2.h: Likewise.
5536 * soft-fp/op-4.h: Likewise.
5537 * soft-fp/op-8.h: Likewise.
5538 * soft-fp/op-common.h: Likewise.
5539 * soft-fp/soft-fp.h: Likewise.
5541 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5543 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5546 * Makeconfig (soversions-default-setname): Remove variable.
5547 ($(common-objpfx)soversions.i): Don't pass default_setname to
5549 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5550 oldest_abi to abi-versions.awk.
5551 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5552 * config.make.in (oldest-abi): Remove variable.
5553 * configure.ac (--enable-oldest-abi): Remove configure option.
5554 * configure: Regenerated.
5555 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5557 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5558 * scripts/soversions.awk: Do not handle default_setname variable.
5559 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5561 * sysdeps/mach/hurd/configure: Regenerated.
5562 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5564 * sysdeps/unix/sysv/linux/configure: Regenerated.
5566 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5568 * elf/Makefile (CFLAGS-interp.c): Remove.
5569 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5571 * elf/interp.c: Include generated runtime-linker.h
5573 * Makerules (lib%.so): Don't include $(+interp) in
5575 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5576 * dlfcn/eval.c: Remove file.
5578 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5582 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5586 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5588 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5589 Jakub Jelinek <jakub@redhat.com>
5592 * libio/stdio.h: Check definition of __fortify_function
5593 instead of __extern_always_inline to include bits/stdio2.h.
5594 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5595 check if __extern_always_inline is defined.
5596 [__USE_MISC || __USE_XOPEN]: Likewise.
5597 [__USE_ISOC99] Likewise.
5598 * misc/sys/cdefs.h (__fortify_function): Define only if
5599 __extern_always_inline is defined.
5600 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5601 __extern_always_inline and __extern_inline only for g++-4.3
5602 and newer or a compatible gcc.
5604 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5607 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5608 last change to handle zero prefix length.
5610 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5612 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5615 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5618 2014-09-13 Allan McRae <allan@archlinux.org>
5620 * po/ru.po: Update Russian translation from translation project.
5622 2014-09-12 Roland McGrath <roland@hack.frob.com>
5624 * locale/programs/locale.c (show_locale_vars): Inline local function
5625 into its sole call site. Clean up some style nits.
5626 (print_item): New function, broken out of ...
5627 (show_info): ... local function here. Clean up style nits.
5629 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5631 (set_class_defaults): ... local function set_default here.
5632 Define set_default as a macro locally to pass constant parameters.
5633 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5634 rather than a shared local.
5636 * stdlib/rpmatch.c (try): New function, broken out of ...
5637 (rpmatch): ... local function here. Also, prototypify definition.
5639 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5641 * scripts/soversions.awk: Do not handle configuration names.
5642 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5643 vendor and os variables to soversions.awk.
5644 * configure.ac: Do not modify gnu-* host_os.
5645 * configure: Regenerated
5646 * shlib-versions: Remove first column with configuration names.
5647 * nptl/shlib-versions: Likewise.
5648 * nptl_db/shlib-versions: Likewise.
5649 * sysdeps/hppa/shlib-versions: Likewise.
5650 * sysdeps/m68k/shlib-versions: Likewise.
5651 * sysdeps/mach/hurd/shlib-versions: Likewise.
5652 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5653 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5654 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5655 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5656 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5657 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5658 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5659 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5662 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5663 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5664 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5665 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5667 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5668 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5672 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5675 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5677 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5679 * shlib-versions: Remove OS-specific entries. Moved to files in
5681 * sysdeps/mach/hurd/shlib-versions: New file.
5682 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5684 * nptl/shlib-versions: Remove architecture-specific entries.
5685 Moved to files in sysdeps.
5686 * shlib-versions: Likewise.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5689 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5690 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5691 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5692 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5694 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5695 (UDP_NO_CHECK6_RX): Likewise.
5697 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5699 * sysdeps/posix/sysconf.c (__sysconf): Spell
5700 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5702 2014-08-12 Florian Weimer <fweimer@redhat.com>
5704 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5706 * iconv/Versions (__gconv_transliterate): Export for use from
5708 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5709 (struct __gconv_trans_data, __gconv_trans_fct,
5710 __gconv_trans_context_fct, __gconv_trans_query_fct,
5711 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5713 (struct __gconv_step_data): Remove __trans member.
5714 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5715 longer hidden. Remove unused trans_data argument.
5716 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5717 (__gconv_translit_find): Remove declaration.
5718 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5720 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5721 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5722 trans_data argument. Add hidden definition.
5723 (__gconv_translit_find): Remove.
5724 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5725 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5726 * iconv/skeleton.c: Remove transliteration initialization.
5727 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5728 __gconv_step_data initialization.
5729 * libio/iofwide.c (__libio_translit_): Remove.
5730 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5731 * wcsmbs/btowc.c (__btowc): Likewise.
5732 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5733 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5734 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5735 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5736 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5737 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5738 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5739 * wcsmbs/wctob.c (wctob): Likewise.
5741 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5744 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5745 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5747 * sysdeps/x86/Makefile: Adjust.
5749 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5750 Roland McGrath <roland@hack.frob.com>
5752 * locale/weight.h: Add include guard.
5753 (findidx): Make static rather than auto; take new parameters
5754 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5755 * locale/weightwc.h: Likewise.
5756 * posix/fnmatch_loop.c
5757 (FCT): Change type of EXTRA from int32_t to wint_t.
5758 Don't include either header inside the function.
5759 Call FINDIDX rather than findidx, and pass new arguments.
5760 #undef FINDIDX at the end of the file.
5761 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5762 FINDIDX before including fnmatch_loop.c for the non-wide version.
5763 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5764 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5765 for the wide version.
5766 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5767 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5768 Pass new arguments to findidx.
5769 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5770 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5771 Don't #include it inside the function. Pass new arguments to findidx.
5772 * posix/regex_internal.h
5773 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5774 (re_string_elem_size_at): Don't #include it inside the function.
5775 Pass new arguments to findidx.
5776 * string/strcoll_l.c: #include WEIGHT_H at top level.
5777 (get_next_seq): Don't #include it inside the function.
5778 Pass new arguments to findidx.
5779 (get_next_seq_nocache): Likewise.
5780 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5781 (STRXFRM): Don't #include it inside the function.
5782 Pass new arguments to findidx.
5784 2014-09-11 Florian Weimer <fweimer@redhat.com>
5787 * malloc/malloc.c (unlink): Turn asserts into a call to
5790 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5793 * libio/wfileops (do_ftell_wide): Free OUT.
5795 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5797 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5799 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5802 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5803 group if the current group is empty.
5805 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5807 * benchtests/bench-memset.c (test_main): Add more test from size
5808 from 32 to 512 bytes.
5809 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5810 Add POWER8 memset object.
5811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5812 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5813 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5815 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5817 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5818 multiarch POWER8 memset optimization.
5819 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5820 POWER8 memset optimization.
5822 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5823 Remove bzero multiarch objects.
5824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5825 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5826 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5827 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5829 [__bzero]: Redefine to specific name.
5830 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5831 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5832 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5834 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5835 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5837 2014-09-10 Florian Weimer <fweimer@redhat.com>
5839 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5840 warnings into errors.
5842 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5843 __cxa_thread_atexit_impl prototype.
5845 2014-09-09 Steve Ellcey <sellcey@mips.com>
5847 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5848 Fix capitalization of error message.
5850 2014-09-09 Steve Ellcey <sellcey@mips.com>
5852 * sysdeps/mips/preconfigure: Modify ABI tests.
5854 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5856 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5858 2014-09-07 Roland McGrath <roland@hack.frob.com>
5859 Carlos O'Donell <carlos@systemhalted.org>
5861 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5862 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5863 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5864 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5865 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5866 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5867 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5868 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5869 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5870 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5871 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5872 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5873 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5874 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5875 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5876 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5877 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5878 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5879 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5880 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5881 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5882 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5883 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5884 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5885 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5886 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5887 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5888 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5889 Deconditionalize the code that was previously under [RESET_PID].
5890 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5891 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5892 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5893 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5896 2014-09-08 Allan McRae <allan@archlinux.org>
5898 * version.h (RELEASE): Set to "development".
5899 (VERSION): Set to "2.20.90"
5901 2014-09-07 Allan McRae <allan@archlinux.org
5903 * version.h (RELEASE): Set to "stable".
5904 (VERSION): Set to "2.20"
5905 * include/features.h (__GLIBC_MINOR__): Set to 20.
5907 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5910 * po/ko.po: Update Korean translation from translation project.
5912 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5915 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5916 macro for handling signed relocations.
5918 2014-09-03 Florian Weimer <fweimer@redhat.com>
5921 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5922 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5924 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5925 * iconvdata/ibm935.c (BODY): Likewise.
5926 * iconvdata/ibm937.c (BODY): Likewise.
5927 * iconvdata/ibm939.c (BODY): Likewise.
5928 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5930 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5932 * iconvdata/run-iconv-test.sh: New test loop for checking for
5935 2014-09-02 Khem Raj <raj.khem@gmail.com>
5937 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5940 2014-09-01 Allan McRae <allan@archlinux.org>
5942 * po/eo.po: Update Esperanto translation from translation project.
5944 * po/ca.po: Update Catalan translation from translation project.
5946 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5948 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5951 2014-08-27 Mark Wielaard <mjw@redhat.com>
5954 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5955 to call set_thread_area instead of hand written asm.
5956 (__NR_set_thread_area): Removed define.
5957 (TLS_FLAG_WRITABLE): Likewise.
5958 (__ASSUME_SET_THREAD_AREA): Remove check.
5959 (TLS_EBX_ARG): Remove define.
5960 (TLS_LOAD_EBX): Likewise.
5962 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5964 Simplify atomicity of socket creation in bind.
5966 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5967 looking up the name after linking the file.
5969 2014-08-27 Allan McRae <allan@archlinux.org>
5971 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5973 2014-08-26 Florian Weimer <fweimer@redhat.com>
5976 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5977 trans_compare, open_translit, __gconv_translit_find):
5978 Remove module loading code.
5980 2014-08-26 Allan McRae <allan@archlinux.org>
5982 * po/vi.po: Update Vietnamese translation from translation project.
5984 * po/uk.po: Update Ukrainian translation from translation project.
5986 * po/fr.po: Update French translation from translation project.
5988 * po/ru.po: Update Russian translation from translation project.
5990 * po/pl.po: Update Polish translation from translation project.
5992 * po/cs.po: Update Czech translation from translation project.
5994 * po/de.po: Update German translation from translation project.
5996 * po/bg.po: Update Bulgarian translation from translation project.
5998 * po/sv.po: Update Sweedish translation from translation project.
6000 * po/nl.po: Update Dutch translation from translation project.
6002 * po/es.po: Update Spanish translation from translation project.
6004 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6006 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6008 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6009 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6010 (CPPFLAGS-iconvconfig): Likewise.
6011 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6013 * include/libc-symbols.h: Remove unnecessary check for
6015 * nptl/pthreadP.h: Likewise.
6016 * sysdeps/aarch64/setjmp.S: Likewise.
6017 * sysdeps/alpha/setjmp.S: Likewise.
6018 * sysdeps/arm/sysdep.h: Likewise.
6019 * sysdeps/i386/setjmp.S: Likewise.
6020 * sysdeps/m68k/setjmp.c: Likewise.
6021 * sysdeps/posix/getcwd.c: Likewise.
6022 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6023 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6024 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6025 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6026 * sysdeps/sh/sh3/setjmp.S: Likewise.
6027 * sysdeps/sh/sh4/setjmp.S: Likewise.
6028 * sysdeps/unix/alpha/sysdep.h: Likewise.
6029 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6030 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6031 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6032 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6037 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6040 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6042 * sysdeps/x86_64/setjmp.S: Likewise.
6044 2014-08-13 Joseph Myers <joseph@codesourcery.com>
6047 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6049 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6050 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6052 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6054 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6057 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6058 and __x86_64__ when disabling x87 inline functions.
6060 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6063 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6064 asm statement with __cpuid_count.
6066 2014-08-12 Mike Frysinger <vapier@gentoo.org>
6068 * configure.ac: Change __ehdr_start code to dereference the struct.
6069 Run readelf on the output to look for relocations.
6070 * configure: Regenerated.
6072 2014-08-12 Joseph Myers <joseph@codesourcery.com>
6075 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6077 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6079 2014-08-12 Roland McGrath <roland@hack.frob.com>
6081 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6083 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6086 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6087 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6089 2014-08-12 Sean Anderson <seanga2@gmail.com>
6091 * malloc/malloc.c: Fix typo in comment.
6093 2014-08-09 Allan McRae <allan@archlinux.org>
6095 * Regenerate libc.po.
6097 2014-08-08 Mike Frysinger <vapier@gentoo.org>
6099 * intl/tst-gettext2.sh: Check every lang file for creation.
6101 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6103 * sysdeps/aarch64/fpu/math_private.h
6104 (libc_feholdsetround_noex_aarch64_ctx): New function.
6106 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6108 * sysdeps/arm/armv6/strcpy.S (strcpy):
6109 Fix performance issue in misaligned cases.
6111 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6114 Move definition from termios.h.
6115 (struct termio): Likewise.
6116 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6117 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6118 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6119 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6122 Move definition to ioctl-types.h
6123 (struct termio): Likewise.
6124 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6125 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6126 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6127 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6130 2014-08-05 Richard Henderson <rth@redhat.com>
6132 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6134 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6136 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6137 Use __feraiseexcept.
6138 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6139 Protect libm symbols with IS_IN_libm.
6141 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6143 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6145 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6147 2014-08-04 Will Newton <will.newton@linaro.org>
6149 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6152 2014-08-04 Mike Frysinger <vapier@gentoo.org>
6154 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6155 variants for each function.
6157 2014-08-04 Roland McGrath <roland@hack.frob.com>
6159 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6161 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6162 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6164 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6165 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6166 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6167 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6168 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6169 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6170 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6171 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6172 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6173 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6174 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6175 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6176 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6177 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6178 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6179 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6180 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6181 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6182 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6183 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6184 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6185 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6186 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6187 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6188 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6189 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6190 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6191 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6192 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6193 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6194 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6195 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6198 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6199 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6200 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6201 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6202 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6203 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6204 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6206 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6207 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6208 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6209 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6210 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6211 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6212 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6213 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6214 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6215 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6216 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6218 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6219 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6221 2014-08-04 Roland McGrath <roland@hack.frob.com>
6223 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6224 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6225 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6226 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6227 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6228 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6230 2014-08-04 Roland McGrath <roland@hack.frob.com>
6232 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6233 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6234 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6235 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6237 2014-08-04 Roland McGrath <roland@hack.frob.com>
6239 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6240 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6241 (__libc_vfork): Define function under this name.
6242 (__vfork): Define as an alias.
6243 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6244 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6246 2014-08-04 Roland McGrath <roland@hack.frob.com>
6248 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6249 that was previously under [RESET_PID].
6250 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6252 2014-08-04 Andreas Schwab <schwab@suse.de>
6254 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6256 2014-08-03 Mike Frysinger <vapier@gentoo.org>
6258 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6261 2014-08-01 Roland McGrath <roland@hack.frob.com>
6263 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6265 2014-08-01 Richard Henderon <rth@redhat.com>
6267 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6268 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6269 typo in exact zero test.
6270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6271 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6274 2014-08-01 Roland McGrath <roland@hack.frob.com>
6276 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6277 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6278 * sysdeps/arm/sysdep.h: ... here.
6279 [!__ASSEMBLER__]: Include <stdint.h>.
6281 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6283 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6284 (HAVE_WCTYPE_H): Likewise.
6285 (HAVE_ISWCTYPE): Likewise.
6286 (ENABLE_NLS): Likewise.
6287 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6288 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6290 * posix/regex_internal.c: Check if DEBUG is defined and is
6293 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6294 (HAVE_MBSRTOWCS): Likewise.
6295 * posix/fnmatch.c: Include string.h unconditionally.
6297 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6299 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6302 2014-07-31 Roland McGrath <roland@hack.frob.com>
6304 * sysdeps/generic/safe-fatal.h: New file.
6305 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6306 * nptl/forward.c: Include it.
6307 (__pthread_unwind): Use __safe_fatal as default action, rather
6308 than a bogus use of INTERNAL_SYSCALL that could never work.
6310 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6311 * configure.ac (libc_cv_builtin_trap): New test.
6312 * configure: Regenerated.
6313 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6314 (ABORT_INSTRUCTION): Define using __builtin_trap.
6316 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6317 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6318 * sysdeps/nptl/nptl-signals.h: New file.
6319 * nptl/pthreadP.h: Include <nptl-signals.h>.
6321 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6323 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6324 (ONE_DIRECTION): Define.
6325 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6326 (ONE_DIRECTION): Define.
6327 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6328 (ONE_DIRECTION): Define.
6330 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6332 * sysdeps/s390/Makefile: Delete file.
6333 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6334 * sysdeps/s390/__longjmp.c: Delete file.
6335 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6336 Remove fields __flags and __reserved.
6337 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6339 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6340 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6341 * sysdeps/s390/rtld-setjmp.S: Likewise.
6342 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6343 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6344 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6345 * sysdeps/s390/s390-32/setjmp.S: ... here.
6347 (__sigsetjmp): Remove setting __flags field.
6348 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6349 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6350 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6351 * sysdeps/s390/s390-64/setjmp.S: ... here.
6353 (__sigsetjmp): Remove setting __flags field.
6354 * sysdeps/s390/setjmp.S: Delete file.
6355 * sysdeps/s390/sigjmp.c: Likewise.
6356 * sysdeps/s390/v1-longjmp.c: Likewise.
6357 * sysdeps/s390/v1-setjmp.h: Likewise.
6358 * sysdeps/s390/v1-sigjmp.c: Likewise.
6359 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6360 Remove v1-longjmp_chk.
6361 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6362 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6363 Include debug/longjmp_chk.c and add versioning.
6364 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6365 Include nptl/pt-longjmp.c and add versioning.
6366 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6367 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6368 Include __longjmp.c.
6369 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6371 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6372 (__getcontext): Remove setting __flags field.
6374 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6375 Don't restore upper high grps.
6376 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6378 (__swapcontext): Remove setting uc_flags field.
6379 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6381 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6382 Include __longjmp.c.
6383 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6385 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6386 (__getcontext): Remove setting __flags field.
6388 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6389 (__swapcontext): Remove setting uc_flags field.
6390 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6391 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6392 Remove fields uc_high_gprs and __reserved.
6393 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6394 New file with reverted content.
6395 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6396 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6398 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6401 2014-07-31 Andreas Schwab <schwab@suse.de>
6403 * config.h.in (HAVE_IFUNC): Define to 0.
6404 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6407 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6410 memmove-avx-unaligned, memcpy-avx-unaligned and
6411 mempcpy-avx-unaligned.
6412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6413 Add tests for AVX memcpy functions.
6414 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6415 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6417 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6418 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6420 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6421 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6423 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6424 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6425 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6427 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6430 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6433 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6436 * manual/llio.texi: Add section about open file description locks.
6437 * manual/examples/ofdlocks.c: Example of open file description
6439 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6440 F_OFD_SETLK, and F_OFD_SETLKW.
6442 2014-07-23 Allan McRae <allan@archlinux.org>
6444 * po/es.po: Update Spanish translation from translation project.
6446 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6448 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6450 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6453 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6454 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6455 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6457 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6460 * math/fesetenv.c (__fesetenv)
6461 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6462 * math/feupdateenv.c (__feupdateenv)
6463 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6465 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6466 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6467 (__ASSUME_SOCKETCALL): Do not define.
6469 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6470 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6471 (__ASSUME_SOCKETCALL): Do not define.
6472 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6473 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6474 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6475 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6476 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6477 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6478 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6479 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6481 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6482 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6483 (__ASSUME_SOCKETCALL): Do not define.
6484 (__ASSUME_IPC64): Define unconditionally.
6485 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6486 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6487 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6488 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6489 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6490 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6491 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6494 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6495 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6496 (__ASSUME_SOCKETCALL): Do not define.
6497 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6498 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6499 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6500 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6501 (__ASSUME_REQUEUE_PI): Define unconditionally.
6502 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6503 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6504 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6505 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6506 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6507 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6509 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6510 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6511 (__ASSUME_SOCKETCALL): Do not define.
6512 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6513 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6514 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6515 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6516 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6517 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6519 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6520 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6521 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6522 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6523 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6524 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6526 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6527 (__ASSUME_GETCPU_SYSCALL): Likewise.
6529 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6530 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6531 cases for individual architectures.
6532 * sysdeps/gnu/configure: Regenerated.
6533 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6534 LIBC_SLIBDIR_RTLDDIR.
6535 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6536 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6537 LIBC_SLIBDIR_RTLDDIR.
6538 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6540 LIBC_SLIBDIR_RTLDDIR.
6541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6543 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6544 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6546 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6547 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6549 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6550 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6552 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6554 * sysdeps/aarch64/shlib-versions: Move to ...
6555 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6556 * sysdeps/alpha/shlib-versions: Move to ...
6557 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6558 * sysdeps/arm/shlib-versions: Move to ...
6559 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6560 * sysdeps/hppa/shlib-versions: Move all contents except for
6561 libgcc_s entry to ...
6562 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6564 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6565 * sysdeps/ia64/shlib-versions: Move to ...
6566 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6568 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6569 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6570 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6571 * sysdeps/microblaze/shlib-versions: Move to ...
6572 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6573 * sysdeps/mips/shlib-versions: Move to ...
6574 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6576 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6577 * sysdeps/tile/shlib-versions: Move to ...
6578 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6579 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6581 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6582 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6584 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6586 2014-07-17 Will Newton <will.newton@linaro.org>
6588 * sysdeps/arm/bits/atomic.h
6589 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6590 (__arch_compare_and_exchange_bool_16_int): Likewise.
6591 (__arch_compare_and_exchange_bool_64_int): Likewise.
6593 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6594 into an #else block.
6596 2014-07-16 Roland McGrath <roland@hack.frob.com>
6598 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6599 just Linux configurations. Test empirically that the compiler sets
6600 __ARM_EABI__, rather than using the tuple to decide.
6601 * sysdeps/arm/preconfigure: Regenerated.
6602 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6603 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6604 contents appended ...
6605 * sysdeps/arm/configure.ac: ... here.
6606 * sysdeps/arm/configure: Regenerated.
6608 2014-07-15 Roland McGrath <roland@hack.frob.com>
6610 * nptl/pthread_kill.c: New file.
6611 * nptl/pthread_sigmask.c: New file.
6612 * nptl/pthread_sigqueue.c: New file.
6614 * sysdeps/nptl/lowlevellock.h: New file.
6615 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6616 * sysdeps/nptl/lowlevellock-futex.h: New file.
6618 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6619 Remove dead declarations.
6621 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6623 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6624 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6626 * sysdeps/x86_64/configure.ac: Likewise.
6627 * sysdeps/i386/configure: Regenerated.
6628 * sysdeps/x86_64/configure: Likewise.
6629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6630 memset-avx2 only if config-cflags-avx2 is yes.
6631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6632 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6634 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6635 only if HAVE_AVX2_SUPPORT is defined.
6636 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6638 2014-07-14 Alan Modra <amodra@gmail.com>
6641 * elf/elf.h (DT_PPC64_NUM): Correct value.
6642 * NEWS: Add to fixed bug list.
6644 2014-07-13 Jim Meyering <meyering@fb.com>
6647 regex: don't deref NULL upon heap allocation failure
6648 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6649 failure in one more place.
6650 To trigger the segfault, configure grep -with-included-regex,
6651 build it, and run these commands:
6652 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6654 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6656 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6658 2014-07-11 Richard Henderson <rth@redhat.com>
6660 * sysdeps/aarch64/libm-test-ulps: Update.
6662 2014-07-10 Florian Weimer <fweimer@redhat.com>
6665 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6666 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6667 (__nptl_setxid): Initialize error member. Call
6668 __nptl_setxid_error.
6669 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6670 * nptl/descr.h (struct xid_command): Add error member.
6671 * nptl/tst-setuid3.c: New file.
6672 * nptl/Makefile (tests): Add it.
6674 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6676 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6678 (__lll_trylock): Use __lll_base_trylock.
6679 (__lll_cond_trylock): Likewise.
6681 2014-07-10 Roland McGrath <roland@hack.frob.com>
6683 * nptl/pthread_create.c (start_thread): Use atomic_or and
6684 lll_futex_wake directly rather than lll_robust_dead.
6685 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6686 (lll_robust_dead): Macro removed.
6687 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6688 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6689 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6690 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6691 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6692 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6693 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6694 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6695 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6697 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6698 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6699 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6700 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6701 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6703 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6704 Use atomic_compare_and_exchange_val_acq directly rather than
6706 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6707 (__lll_robust_trylock, lll_robust_trylock): Removed.
6708 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6709 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6710 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6711 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6712 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6713 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6714 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6715 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6716 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6717 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6718 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6719 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6720 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6721 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6723 2014-07-02 Florian Weimer <fweimer@redhat.com>
6725 * manual/locale.texi (Locale Names): New section documenting
6726 locale name syntax. Adjust menu and node chaining accordingly.
6727 (Choosing Locale): Reference Locale Names, Locale Categories.
6728 Mention setting LC_ALL=C. Reflect that name syntax is now
6730 (Locale Categories): New section title. Reference Locale Names.
6731 LC_ALL is an environment variable, but not a category.
6732 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6733 description, now in Locale Name. Reference that section. Locale
6734 name syntax is now documented.
6736 2014-07-02 Florian Weimer <fweimer@redhat.com>
6739 * locale/findlocale.c (name_present, valid_locale_name): New
6741 (_nl_find_locale): Use the loc_name variable to store name
6742 candidates. Call name_present and valid_locale_name to check and
6743 validate locale names. Return an error if the locale is invalid.
6745 2014-07-02 Florian Weimer <fweimer@redhat.com>
6747 * locale/setlocale.c (setlocale): Use strdup for allocating
6748 composite name copy.
6750 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6752 Sync up with gnulib.
6753 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6754 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6755 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6756 and _GL_ARG_NONNULL.
6757 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6758 [!_LIBC]: Include code for Windows and Cygwin.
6759 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6760 Include prototype for int strerror_r.
6761 [!_LIBC] (is_open): New function.
6762 (flush_stdout): New function.
6763 (print_errno_message): Use it.
6765 (error_at_line): Likewise.
6766 (error_tail) Add function attribute macros. Use
6769 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6771 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6773 * io/ftw.c: Include sys/param.h unconditionally.
6775 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6778 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6780 (freecache): New function to free CACHE on exit.
6782 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6785 2014-07-09 David S. Miller <davem@davemloft.net>
6787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6789 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6790 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6791 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6792 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6793 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6794 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6795 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6796 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6797 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6798 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6799 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6800 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6801 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6803 2014-07-09 Andreas Schwab <schwab@suse.de>
6805 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6807 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6808 (do_test): Likewise.
6810 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6812 2014-07-09 Will Newton <will.newton@linaro.org>
6814 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6815 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6816 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6817 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6818 * sysdeps/hppa/start.S (_start): Likewise.
6820 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6824 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6827 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6829 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6830 after checking that it is non-NULL.
6832 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6834 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836 * sysdeps/powerpc/memmove.c: Remove file.
6837 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6838 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6839 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6840 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6842 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6843 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6844 string memmove instead of removed powerpc one.
6846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6847 [weak_alias]: Fix compiler warning due trailing data.
6848 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6849 [weak_alias]: Likewise.
6850 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6851 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6854 (__libc_ifunc_impl_list): Add memmove functions.
6856 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6858 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6860 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6862 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6864 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6866 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6868 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6870 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6872 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6874 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6876 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6878 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6880 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6882 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6884 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6886 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6888 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6890 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6893 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6896 to avoid alignment traps in non-cacheable memory.
6897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6902 file: multiarch power7 memmove.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6904 multiarch default memmove.
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6906 multiarch memove for powerpc32/power4.
6908 * string/bcopy.c: Use full path to include memmove.c.
6909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6911 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6912 bcopy for powerpc64.
6913 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6914 bcopy for powerpc64.
6915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6916 and memmove implementations.
6917 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6918 optimized multiarch memmove for POWER7/powerpc64.
6919 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6920 default multiarch memmove for powerpc64.
6921 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6922 multiarch for powerpc64.
6923 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6924 for POWER7/powerpc64.
6925 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6926 memmove for POWER7/powerpc64.
6928 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6931 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6932 __ELF_NATIVE_CLASS equal to 64.
6934 2014-07-07 Roland McGrath <roland@hack.frob.com>
6936 * sysdeps/nptl/lowlevellock.h: File removed.
6938 * NEWS: NPTL is no longer an add-on!
6939 * nptl/internaltypes.h: Moved ...
6940 * sysdeps/nptl/internaltypes.h: ... here.
6941 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6942 * sysdeps/nptl/fork.c: Likewise.
6943 * sysdeps/nptl/gai_misc.h: Likewise.
6944 * sysdeps/nptl/librt-cancellation.c: Likewise.
6945 * sysdeps/nptl/jmp-unwind.c: Likewise.
6946 * sysdeps/nptl/setxid.h: Likewise.
6947 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6948 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6949 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6950 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6951 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6952 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6953 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6954 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6955 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6956 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6957 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6958 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6959 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6960 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6961 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6962 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6964 * nptl/Makeconfig: Moved ...
6965 * sysdeps/nptl/Makeconfig: ... here.
6966 * nptl/configure: File removed.
6967 * nptl/ANNOUNCE: File removed.
6968 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6969 * sysdeps/unix/sysv/linux/configure: Regenerated.
6971 * nptl/Makefile (routines): Add libc_pthread_init,
6972 libc_multiple_threads, register-atfork and unregister-atfork.
6973 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6974 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6975 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6976 pthread-pi-defines.sym, structsem.sym.
6977 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6978 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6979 [$(subdir) = nptl] (tests): Add tst-setgetname.
6980 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6981 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6982 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6983 [!LIBC_SIGACTION]: Remove aliases.
6984 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6985 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6986 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6987 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6988 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6989 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6991 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6992 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6993 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6994 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6995 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6996 __libc_allocate_rtsig_private.
6997 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6998 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6999 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7000 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7001 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7002 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7003 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7004 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7005 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7006 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7007 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7008 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7009 * nptl/internaltypes.h: ... here.
7010 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7011 * sysdeps/nptl/jmp-unwind.c: ... here.
7012 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7013 * nptl/libc-lowlevellock.c: ... here.
7014 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7015 * nptl/libc_multiple_threads.c: ... here.
7016 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7017 * nptl/libc_pthread_init.c: ... here.
7018 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7019 * nptl/lowlevelbarrier.sym: ... here.
7020 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7021 * nptl/lowlevelcond.sym: ... here.
7022 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7023 * nptl/lowlevellock.c: ... here.
7024 * nptl/lowlevellock.h: Moved ...
7025 * sysdeps/nptl/lowlevellock.h: ... here.
7026 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7027 * nptl/lowlevelrobustlock.c: ... here.
7028 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7029 * nptl/lowlevelrobustlock.sym: ... here.
7030 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7031 * nptl/lowlevelrwlock.sym: ... here.
7032 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7033 * nptl/pt-fork.c: ... here.
7034 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7035 * nptl/pthread-pi-defines.sym: ... here.
7036 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7037 * nptl/pthread_attr_getaffinity.c: ... here.
7038 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7039 * nptl/pthread_attr_setaffinity.c: ... here.
7040 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7041 * nptl/pthread_mutex_cond_lock.c: ... here.
7042 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7044 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7045 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7046 * nptl/pthread_once.c: ... here, replacing old file.
7047 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7048 * nptl/pthread_yield.c: ... here.
7049 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7050 * nptl/register-atfork.c: ... here.
7051 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7052 * nptl/sem_post.c: ... here.
7053 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7054 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7055 * nptl/sem_timedwait.c: ... here.
7056 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7057 * nptl/sem_trywait.c: ... here.
7058 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7059 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7060 * nptl/sem_wait.c: ... here.
7061 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7062 * nptl/structsem.sym: ... here.
7063 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7064 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7065 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7066 * nptl/unregister-atfork.c: ... here.
7067 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7068 * nptl/unwindbuf.sym: ... here.
7069 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7070 * sysdeps/nptl/fork.c: ... here.
7071 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7072 * sysdeps/nptl/fork.h: ... here.
7073 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7074 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7075 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7076 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7077 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7078 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7079 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7080 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7081 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7082 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7083 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7084 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7085 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7086 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7087 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7088 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7089 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7090 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7091 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7092 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7093 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7094 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7095 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7096 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7097 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7098 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7099 * sysdeps/unix/sysv/linux/raise.c: ... here.
7100 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7101 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7102 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7103 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7104 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7105 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7106 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7107 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7108 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7109 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7110 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7111 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7112 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7113 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7114 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7116 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7118 * sysdeps/generic/memcopy.h: Add comment for
7119 MEMCPY_OK_FOR_FWD_MEMMOVE.
7121 2014-07-04 Will Newton <will.newton@linaro.org>
7123 * string/memchr.c: Merge from gnulib.
7124 [_LIBC]: Remove conditionals.
7125 (__ptr_t): Remove define.
7126 (LONG_MAX_32_BITS): Likewise.
7127 (LONG_MAX): Likewise.
7128 (MEMCHR): Use ANSI prototype and optimize algorithm.
7130 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7132 2014-07-03 Roland McGrath <roland@hack.frob.com>
7134 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7135 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7137 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7138 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7139 in a bare environment with no <stdlib.h> installed.
7140 * sysdeps/nptl/configure: Regenerated.
7142 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7144 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7145 AC_EGREP_CPP for kernel header checks, so they only succeed if
7146 including <linux/version.h> actually works right.
7147 * sysdeps/unix/sysv/linux/configure: Regenerated.
7149 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7150 value so it's not diagnosed as unused.
7152 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7153 thing) with "ifeq ($(subdir),rt)".
7155 2014-07-03 Richard Henderson <rth@redhat.com>
7157 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7158 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7159 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7161 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7162 (math_force_eval): New.
7164 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7165 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7167 * sysdeps/alpha/fpu/s_round.c: Remove file.
7168 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7170 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7171 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7172 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7173 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7174 (_dl_start, print_statistics): Likewise.
7175 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7176 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7178 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7179 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7180 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7181 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7182 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7183 (HP_SMALL_TIMING_AVAIL): Define.
7184 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7185 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7186 (HP_SMALL_TIMING_AVAIL): Define.
7187 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7188 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7190 * sysdeps/aarch64/hp-timing.h: New file.
7192 * sysdeps/generic/hp-timing.h: Remove dead comment.
7193 * sysdeps/generic/hp-timing-common.h: New file.
7194 * sysdeps/alpha/hp-timing.h: Include it.
7195 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7196 * sysdeps/i386/i686/hp-timing.h: Likewise.
7197 * sysdeps/ia64/hp-timing.h: Likewise.
7198 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7199 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7200 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7201 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7202 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7203 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7206 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7207 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7208 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7209 * elf/rtld.c (_dl_start_final): Likewise.
7210 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7211 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7212 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7213 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7214 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7215 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7216 (HP_TIMING_DIFF_INIT): Remove.
7217 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7218 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7219 (HP_TIMING_DIFF_INIT): Remove.
7220 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7221 * sysdeps/i386/i686/hp-timing.c: Remove file.
7222 * sysdeps/x86_64/hp-timing.c: Remove file.
7223 * sysdeps/ia64/hp-timing.c: Remove file.
7224 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7225 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7227 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7229 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7230 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7231 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7232 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7233 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7234 (HP_TIMING_ACCUM): Remove.
7235 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7236 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7237 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7239 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7240 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7241 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7242 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7243 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7244 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7246 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7248 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7250 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7252 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7254 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7256 Sync up with gettext.
7257 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7258 [_MSC_VER]: Include malloc.h
7259 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7260 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7261 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7262 TEMP_FAILURE_RETRY. Cast return of alloca.
7263 [!_LIBC] Call gl_rwlock_init.
7264 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7266 2014-07-02 Roland McGrath <roland@hack.frob.com>
7268 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7269 before checking its value.
7271 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7273 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7275 * debug/memcpy_chk.c: Don't include pagecopy.h.
7276 * debug/mempcpy_chk.c: Likewise.
7277 * string/memcpy.c: Likewise.
7278 * string/memmove.c: Likewise.
7279 * sysdeps/powerpc/memmove.c: Likewise.
7280 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7281 definition of PAGE_COPY_FWD_MAYBE here...
7282 * sysdeps/generic/pagecopy.h: ... from here.
7283 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7285 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7286 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7288 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7292 (__libc_ifunc_impl_list): Likewise.
7293 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7294 multiarch strcat for PPC64.
7295 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7296 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7298 2014-07-02 Roland McGrath <roland@hack.frob.com>
7300 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7302 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7304 * intl/loadmsgcat.c: Remove declaration of
7305 get_sysdep_segment_value.
7306 (get_sysdep_segment_value): Use ISO C style.
7307 (_nl_load_domain): Use ISO C style. Get rid of redundant
7308 semicolon. Fix typo and formatting in comment.
7309 (_nl_unload_domain): Use ISO C style.
7311 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7313 2014-07-02 Will Newton <will.newton@linaro.org>
7315 * malloc/obstack.c: Merge from gnulib master.
7316 [HAVE_CONFIG_H]: Remove conditional code.
7317 [!_LIBC]: Include config.h.
7318 [!ELIDE_CODE]: Don't include inttypes.h, include
7319 stdint.h unconditionally.
7320 (print_and_abort): Mark as _Noreturn.
7321 (_obstack_allocated_p): Mark as __attribute_pure__.
7322 (obstack_free): Rename to __obstack_free.
7323 [!__attribute__]: Remove conditional code.
7324 * malloc/obstack.h: Merge from gnulib master.
7325 [__cplusplus]: Move conditional down.
7326 [!__attribute_pure__]: Define __attribute_pure__ here
7327 if it is not already defined.
7328 (_obstack_memory_used): Mark as __attribute_pure__.
7329 [!__obstack_free]: Define as obstack_free.
7330 [__GNUC__]: Remove check for ancient NeXT gcc.
7332 2014-07-02 Will Newton <will.newton@linaro.org>
7333 Paul Eggert <eggert@cs.ucla.edu>
7335 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7337 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7339 * resolv/gethnamaddr.c: Add comment warning that the file is
7342 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7344 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7347 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7348 entry for aio_cancel and aio_cancel64.
7349 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7350 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7351 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7352 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7353 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7354 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7355 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7356 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7357 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7358 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7359 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7360 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7361 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7363 2014-07-01 Roland McGrath <roland@hack.frob.com>
7365 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7366 * nptl/pthread_mutex_lock.c: Likewise.
7367 * nptl/pthread_mutex_timedlock.c: Likewise.
7368 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7370 2014-07-01 Richard henderson <rth@redhat.com>
7372 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7373 (__isnan, __isnanl): Remove.
7374 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7376 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7378 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7380 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7382 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7384 * resolv/nss_dns/dns-host.c (getanswer_r)
7385 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7387 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7390 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7392 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7393 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7395 2014-07-01 Roland McGrath <roland@hack.frob.com>
7397 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7398 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7400 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7401 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7403 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7404 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7406 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7407 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7409 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7410 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7411 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7412 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7414 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7415 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7416 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7420 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7422 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7431 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7433 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7435 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7436 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7437 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7438 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7439 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7441 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7443 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7446 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7447 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7448 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7449 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7450 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7452 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7454 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7455 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7456 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7459 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7463 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7465 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7466 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7468 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7470 * sysdeps/arm/libm-test-ulps: Regenerated.
7472 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7473 Roland McGrath <roland@hack.frob.com>
7475 * test-skeleton.c (signal_handler): Kill the whole process group
7476 before killing the child individually.
7477 (main): Report any failure on `setpgid'.
7479 2014-06-30 Roland McGrath <roland@hack.frob.com>
7481 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7482 from _TLS_H to _ARM_NPTL_TLS_H.
7483 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7484 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7486 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7489 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7490 (__expm1l): Return argument unchanged when small but not
7493 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7495 (_FP_UNPACK_RAW_1_P): Likewise.
7496 (_FP_PACK_RAW_1): Likewise.
7497 (_FP_PACK_RAW_1_P): Likewise.
7498 (_FP_MUL_MEAT_1_wide): Likewise.
7499 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7500 (_FP_MUL_MEAT_1_hard): Likewise.
7501 (_FP_DIV_MEAT_1_imm): Likewise.
7502 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7503 (_FP_DIV_MEAT_1_udiv): Likewise.
7504 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7505 (_FP_UNPACK_RAW_2): Likewise.
7506 (_FP_UNPACK_RAW_2_P): Likewise.
7507 (_FP_PACK_RAW_2): Likewise.
7508 (_FP_PACK_RAW_2_P): Likewise.
7509 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7510 (_FP_MUL_MEAT_2_wide): Likewise.
7511 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7512 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7513 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7514 (_FP_MUL_MEAT_2_gmp): Likewise.
7515 (_FP_DIV_MEAT_2_udiv): Likewise.
7516 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7517 (_FP_FRAC_SRL_4): Likewise.
7518 (_FP_FRAC_SRST_4): Likewise.
7519 (_FP_FRAC_SRS_4): Likewise.
7520 (_FP_UNPACK_RAW_4): Likewise.
7521 (_FP_UNPACK_RAW_4_P): Likewise.
7522 (_FP_PACK_RAW_4): Likewise.
7523 (_FP_PACK_RAW_4_P): Likewise.
7524 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7525 (_FP_MUL_MEAT_4_wide): Likewise.
7526 (_FP_MUL_MEAT_4_gmp): Likewise.
7527 (umul_ppppmnnn): Likewise.
7528 (_FP_DIV_MEAT_4_udiv): Likewise.
7529 (__FP_FRAC_ADD_4): Likewise.
7530 (__FP_FRAC_SUB_3): Likewise.
7531 (__FP_FRAC_SUB_4): Likewise.
7532 (__FP_FRAC_DEC_3): Likewise.
7533 (__FP_FRAC_DEC_4): Likewise.
7534 (__FP_FRAC_ADDI_4): Likewise.
7535 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7536 (_FP_FRAC_SRL_8): Likewise.
7537 (_FP_FRAC_SRS_8): Likewise.
7539 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7541 (FP_UNPACK_RAW_EP): Likewise.
7542 (FP_PACK_RAW_E): Likewise.
7543 (FP_PACK_RAW_EP): Likewise.
7544 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7545 (_FP_ISSIGNAN): Likewise.
7546 (_FP_ADD_INTERNAL): Likewise.
7547 (_FP_FMA): Likewise.
7548 (_FP_CMP): Likewise.
7549 (_FP_SQRT): Likewise.
7550 (_FP_TO_INT): Likewise.
7551 (_FP_FROM_INT): Likewise.
7552 (FP_EXTEND): Likewise.
7553 (_FP_DIV_MEAT_N_loop): Likewise.
7555 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7557 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7560 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7563 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7564 result with correct sign in case of exponents that produce
7565 overflow except for X very close to 1.
7567 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7569 mktime: merge #if/#ifdef usage from glibc
7570 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7571 as that works with both Glibc's and Gnulib's style.
7572 See thread starting at Siddhesh Poyarekar's bug report at:
7573 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7575 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7577 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7578 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7579 * sysdeps/tile/tilegx/memmove.c: Remove file.
7581 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7583 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7584 abi-name definition.
7585 * scripts/soversions.awk: Do not handle or generate ABI lines.
7586 * shlib-versions: Remove ABI entries.
7587 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7588 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7590 2014-06-27 Roland McGrath <roland@hack.frob.com>
7592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7593 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7600 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7603 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7605 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7606 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7607 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7609 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7610 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7611 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7613 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7616 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7618 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7620 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7626 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7628 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7631 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7632 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7633 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7634 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7635 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7637 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7640 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7641 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7642 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7643 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7645 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7646 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7648 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7649 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7650 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7651 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7653 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7656 Identical file removed.
7657 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7659 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7660 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7661 Identical file removed.
7662 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7663 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7664 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7666 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7668 Identical file removed.
7669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7670 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7672 Identical file removed.
7673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7674 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7675 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7676 Identical file removed.
7677 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7678 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7680 Identical file removed.
7681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7683 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7684 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7685 Identical file removed.
7686 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7688 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7692 Identical file removed.
7693 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7695 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7697 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7698 Identical file removed.
7699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7701 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7703 Identical file removed.
7704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7706 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7707 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7708 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7710 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7711 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7713 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7714 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7715 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7717 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7718 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7719 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7720 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7721 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7723 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7726 * nscd/nscd.c (monitor_child): Return exit status of child
7727 instead of return value from wait syscall.
7729 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7731 * configure.ac (libc_commonpagesize): Remove variable.
7732 (libc_relro_required): Likewise.
7733 (libc_cv_z_relro): Remove configure test.
7734 * configure: Regenerated.
7735 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7737 (libc_relro_required): Likewise.
7738 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7739 (libc_relro_required): Likewise.
7740 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7741 (libc_relro_required): Likewise.
7742 * sysdeps/arm/preconfigure: Regenerated.
7743 * sysdeps/ia64/preconfigure: Remove file.
7744 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7746 (libc_relro_required): Likewise.
7750 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7751 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7752 recompute overflowing results in original rounding mode.
7753 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7754 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7755 recompute overflowing results in original rounding mode.
7756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7757 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7758 recompute overflowing results in original rounding mode.
7759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7760 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7761 recompute overflowing results in original rounding mode.
7762 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7763 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7764 recompute overflowing results in original rounding mode.
7765 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7766 (libc_feholdsetround_ctx): New macro.
7767 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7768 * sysdeps/i386/fpu/libm-test-ulps: Update.
7769 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7771 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7773 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7774 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7775 corresponding .cpsetup call.
7777 2014-06-26 Roland McGrath <roland@hack.frob.com>
7779 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7780 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7781 * sysdeps/arm/Makefile [$(subdir) = csu]
7782 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7783 (static-only-routines): Add aeabi_read_tp here.
7784 (shared-only-routines): Add libc-aeabi_read_tp here.
7785 (CFLAGS-libc-start.c): Add -fexceptions here.
7786 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7787 (sysdep_routines, static-only-routines, shared-only-routines):
7788 Don't add to these here.
7789 (CFLAGS-libc-start.c): Likewise.
7791 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7792 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7793 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7794 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7795 * sysdeps/arm/Makefile [$(subdir) = rt]
7796 (librt-sysdep_routines, librt-shared-only-routines):
7797 Append rt-aeabi_unwind_cpp_pr1 here.
7798 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7799 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7800 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7801 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7802 Append nptl-aeabi_unwind_cpp_pr1 here.
7803 (tests): Filter out tst-cleanupx4 here.
7804 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7805 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7806 Don't do those here.
7808 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7810 * scripts/list-sources.sh: Do not handle ports specially.
7812 2014-06-26 Roland McGrath <roland@hack.frob.com>
7814 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7815 * sysdeps/arm/feupdateenv.c: Likewise.
7817 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7819 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7821 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7822 trailing whitespace removed.
7823 * scripts/config.guess: Update to version 2014-03-23.
7824 * scripts/config.sub: Update to version 2014-05-01
7825 * scripts/install-sh: Update to version 2013-12-25.23.
7826 * scripts/move-if-change: Update from gnulib.
7828 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7830 * debug/memmove_chk.c: Remove pagecopy.h include.
7832 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7834 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7835 identical to gnulib mktime.
7837 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7839 * configure.ac: Do not test for machine being rs6000. Do not test
7841 * configure: Regenerated.
7843 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7845 * configure: Regenerated.
7846 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7847 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7848 Remove configure test.
7849 * sysdeps/arm/configure: Regenerated.
7850 * sysdeps/nptl/configure.ac: Do not check
7851 libc_cv_asm_cfi_directives.
7852 * sysdeps/nptl/configure: Regenerated.
7853 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7854 * sysdeps/x86_64/nptl/configure: Remove generated file.
7855 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7857 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7859 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7861 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7862 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7863 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7866 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7867 instead of whether it is defined.
7868 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7869 * sysdeps/hppa/dl-machine.h: Likewise.
7870 * sysdeps/ia64/dl-machine.h: Likewise.
7871 * sysdeps/m68k/dl-machine.h: Likewise.
7872 * sysdeps/microblaze/dl-machine.h: Likewise.
7873 * sysdeps/mips/dl-machine.: Likewise.
7874 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7875 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7876 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7877 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7878 * sysdeps/sh/dl-machine.h: Likewise.
7879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7881 * sysdeps/tile/dl-machine.h: Likewise.
7882 * sysdeps/x86_64/dl-machine.h: Likewise.
7884 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7886 (verify_persistent_db): Likewise.
7888 2014-06-26 Roland McGrath <roland@hack.frob.com>
7890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7891 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7893 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7896 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7899 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7901 Identical file removed.
7902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7905 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7907 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7911 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7914 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7916 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7918 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7921 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7925 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7927 Identical file removed.
7928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7929 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7931 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7934 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7939 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7941 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7943 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7945 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7948 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7951 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7953 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7956 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7958 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7960 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7962 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7963 * sysdeps/unix/sysv/linux/s390/Versions
7964 (libpthread: GLIBC_2.19): New version set.
7965 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7966 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7967 (librt: GLIBC_2.3.3): New version set.
7968 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7969 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7970 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7971 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7972 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7973 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7974 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7975 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7976 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7977 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7978 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7979 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7980 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7982 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7983 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7984 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7985 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7986 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7987 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7988 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7990 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7991 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7992 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7993 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7994 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7996 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7997 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7998 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7999 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8001 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8002 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8004 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8005 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8006 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8007 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8008 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8010 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8011 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8012 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8014 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8015 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8016 (__libc_vfork): Define the function under this name.
8017 [!NOT_IN_libc] (__vfork): Make this an alias.
8018 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8020 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8021 (__libc_vfork): Define the function under this name.
8022 [!NOT_IN_libc] (__vfork): Make this an alias.
8023 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8024 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8027 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8028 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8030 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8031 code that was previously under [RESET_PID].
8032 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8033 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8034 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8036 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8037 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8038 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8039 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8040 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8041 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8042 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8043 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8044 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8045 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8046 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8048 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8049 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8050 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8051 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8052 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8053 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8054 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8055 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8056 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8057 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8058 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8059 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8060 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8061 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8062 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8063 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8064 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8065 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8066 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8067 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8068 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8069 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8072 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8073 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8074 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8076 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8078 2014-06-25 Roland McGrath <roland@hack.frob.com>
8080 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8081 that was previously under [RESET_PID].
8082 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8084 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8086 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8087 not undefine and redefine.
8088 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8089 [O_CLOEXEC]: Make code unconditional.
8090 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8091 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8092 <kernel-features.h>.
8093 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8094 conditional variable definition.
8095 (shm_open) [O_CLOEXEC]: Make code unconditional.
8096 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8099 * configure.ac (USE_REGPARMS): Don't define here.
8100 * configure: Regenerated.
8101 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8102 * sysdeps/i386/configure: Regenerated.
8104 * nptl/createthread.c: Don't include kernel-features.h.
8105 * nptl/pthread_cancel.c: Likewise.
8106 * nptl/pthread_condattr_setclock.c: Likewise.
8107 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8108 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8109 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8110 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8111 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8112 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8113 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8116 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8117 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8118 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8119 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8120 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8121 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8122 * nscd/gai.c: Likewise.
8123 * nss/nss_db/db-open.c: Likewise.
8124 * sysdeps/generic/ldsodefs.h: Likewise.
8125 * sysdeps/sh/nptl/tls.h: Likewise.
8126 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8127 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8128 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8129 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8130 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8131 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8132 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8133 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8135 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8136 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8137 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8138 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8139 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8140 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8141 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8142 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8143 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8144 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8145 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8146 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8147 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8148 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8149 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8150 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8151 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8152 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8153 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8154 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8155 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8156 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8157 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8158 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8159 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8160 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8161 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8162 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8163 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8164 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8165 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8166 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8167 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8168 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8169 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8170 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8171 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8172 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8173 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8174 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8175 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8176 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8177 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8178 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8179 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8180 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8181 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8182 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8183 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8206 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8207 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8208 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8209 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8210 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8212 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8213 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8214 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8215 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8216 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8217 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8218 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8219 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8220 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8221 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8223 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8224 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8225 * sysdeps/unix/sysv/linux/system.c: Likewise.
8226 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8227 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8228 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8229 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8230 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8231 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8232 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8234 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8235 * configure: Regenerated.
8236 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8238 * configure.ac (base_machine): Do not set specially for particular
8240 * configure: Regenerated.
8241 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8242 settings from configure.ac.
8243 * sysdeps/i386/preconfigure: New file.
8244 * sysdeps/s390/preconfigure: Likewise.
8245 * sysdeps/sh/preconfigure: Likewise.
8246 * sysdeps/sparc/preconfigure: Likewise.
8248 2014-06-25 Roland McGrath <roland@hack.frob.com>
8250 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8251 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8252 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8253 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8254 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8255 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8256 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8257 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8258 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8259 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8260 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8261 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8262 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8263 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8264 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8265 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8266 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8267 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8268 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8270 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8271 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8272 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8273 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8274 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8275 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8276 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8277 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8278 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8279 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8280 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8281 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8282 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8283 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8284 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8285 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8286 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8287 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8288 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8289 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8290 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8291 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8292 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8293 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8294 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8295 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8296 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8297 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8298 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8299 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8300 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8301 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8302 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8303 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8304 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8305 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8306 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8307 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8310 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8312 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8315 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8318 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8320 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8323 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8325 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8329 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8332 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8335 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8337 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8340 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8342 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8344 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8346 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8348 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8351 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8356 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8359 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8361 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8363 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8365 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8368 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8371 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8373 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8376 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8378 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8380 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8382 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8384 * timezone/checktab.awk: Update from tzcode 2014e.
8385 * timezone/private.h: Likewise.
8386 * timezone/tzfile.h: Likewise.
8387 * timezone/zdump.c: Likewise.
8388 * timezone/zic.c: Likewise.
8390 * sysdeps/unix/sysv/linux/kernel-features.h
8391 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8392 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8393 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8394 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8395 Remove conditional code.
8397 2014-06-25 Will Newton <will.newton@linaro.org>
8399 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8400 (_dl_arm_cap_flags): Add HWCAP2 values.
8401 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8402 (_DL_HWCAP_COUNT): Increase to 37.
8403 (_DL_HWCAP_LAST): New define.
8404 (_DL_HWCAP2_LAST): New define.
8405 (_dl_procinfo): Add support for printing
8407 (_dl_string_hwcap): Use _dl_hwcap_string.
8409 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8413 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8415 * README: Do not mention ports directory.
8417 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8419 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8420 <kernel-features.h>.
8421 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8422 conditional variable definition.
8423 (__futimes): Update comment.
8424 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8425 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8428 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8429 arguments close to 0.
8430 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8432 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8434 * math/auto-libm-test-in: Add more tests of exp10.
8435 * math/auto-libm-test-out: Regenerated.
8436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8438 * sysdeps/unix/sysv/linux/kernel-features.h
8439 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8440 * sysdeps/unix/sysv/linux/readv.c: Do not include
8441 <kernel-features.h>.
8442 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8443 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8444 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8446 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8448 * sysdeps/unix/sysv/linux/writev.c: Do not include
8449 <kernel-features.h>.
8450 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8451 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8452 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8454 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8457 2014-06-25 Will Newton <will.newton@linaro.org>
8459 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8460 comment changes throughout the file. Remove checks
8461 for HAVE_*_H definitions that are not required.
8462 (__gen_tempname): Call abort if an unknown kind value is
8465 2014-06-25 Andreas Schwab <schwab@suse.de>
8468 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8469 scalbln, scalblnf, scalblnl in libc.
8471 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8474 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8475 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8476 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8478 2014-06-24 Roland McGrath <roland@hack.frob.com>
8480 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8481 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8482 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8483 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8485 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8486 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8488 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8489 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8490 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8491 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8492 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8493 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8494 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8495 * sysdeps/x86/bits/semaphore.h: ... here.
8496 * sysdeps/x86/nptl/elide.h: Moved ...
8497 * sysdeps/x86/elide.h: ... here.
8498 * sysdeps/x86_64/nptl/Implies: File removed.
8499 * sysdeps/i386/nptl/Implies: File removed.
8501 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8505 return the argument for normal arguments with exponent below -64.
8506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8508 * math/auto-libm-test-in: Add another test of expm1.
8509 * math/auto-libm-test-out: Regenerated.
8512 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8513 calling __erfcl for arguments at least 16.
8514 * math/auto-libm-test-in: Add more tests of erf.
8515 * math/auto-libm-test-out: Regenerated.
8517 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8518 individual architectures.
8519 * sysdeps/unix/sysv/linux/configure: Regenerated.
8520 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8521 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8522 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8523 (ldd_rewrite_script): Define variable.
8524 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8529 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8530 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8531 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8532 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8533 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8534 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8535 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8536 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8538 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8541 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8542 Rename member __data.d to __data.__elision_data.
8544 2014-06-24 Wilco <wdijkstr@arm.com>
8546 * NEWS: Add 16918 to fixed bug list.
8548 2014-06-24 Wilco <wdijkstr@arm.com>
8550 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8552 2014-06-24 Wilco <wdijkstr@arm.com>
8554 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8555 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8556 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8557 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8558 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8559 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8560 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8563 2014-06-24 Wilco <wdijkstr@arm.com>
8565 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8567 2014-06-24 Wilco <wdijkstr@arm.com>
8569 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8570 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8571 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8572 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8574 2014-06-24 Wilco <wdijkstr@arm.com>
8577 * sysdeps/arm/feupdateenv.c (feupdateenv):
8578 Rewrite to reduce FPSCR accesses and fix return value.
8580 2014-06-24 Wilco <wdijkstr@arm.com>
8582 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8583 Optimize to avoid unnecessary FPSCR writes.
8584 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8585 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8586 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8587 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8589 2014-06-24 Wilco <wdijkstr@arm.com>
8591 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8592 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8593 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8594 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8595 Call libc_fetestexcept_vfp.
8596 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8597 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8598 __SOFTFP__ ifdef so that they can be built for softfp.
8600 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8603 argument type signed char.
8605 * Makerules (check-abi): Dump diff of symlist if the test
8608 2014-06-23 Roland McGrath <roland@hack.frob.com>
8610 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8613 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8614 Remove unused variable ST.
8616 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8620 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8621 small arguments before calling __expm1.
8622 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8623 small arguments before calling __expm1f.
8624 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8625 small arguments before calling __expm1l.
8626 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8628 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8629 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8630 spurious underflow for some cosh tests.
8631 * math/auto-libm-test-out: Regenerated.
8632 * sysdeps/i386/fpu/libm-test-ulps: Update.
8635 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8636 (__ieee754_y1): Set errno if return value overflows.
8637 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8638 (__ieee754_y1f): Set errno if return value overflows.
8639 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8640 (__ieee754_y1l): Set errno if return value overflows.
8641 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8642 (__ieee754_y1l): Set errno if return value overflows.
8643 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8644 * math/auto-libm-test-out: Regenerated.
8646 * math/gen-auto-libm-tests.c: Document use of
8647 ignore-zero-inf-sign.
8648 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8649 (input_flags): Add ignore-zero-inf-sign.
8650 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8651 * math/gen-libm-test.pl (generate_testfile): Handle
8652 ignore-zero-inf-sign.
8653 * math/auto-libm-test-in: Mark some cpow tests with
8654 ignore-zero-inf-sign and some with xfail-rounding.
8655 * math/auto-libm-test-out: Regenerated.
8656 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8657 * sysdeps/i386/fpu/libm-test-ulps: Update.
8658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8661 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8662 overflowing or underflowing operations take place with sign of
8664 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8665 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8666 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8667 (__ieee754_pow): Recompute overflowing and underflowing results in
8668 original rounding mode.
8669 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8670 (__powl_helper): Allow negative argument X and scale negated value
8671 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8672 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8673 overflowing or underflowing operations take place with sign of
8675 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8677 * math/auto-libm-test-in: Add more tests of pow.
8678 * math/auto-libm-test-out: Regenerated.
8679 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8680 (pow_tonearest_test_data): Remove.
8681 (pow_test_tonearest): Likewise.
8682 (pow_towardzero_test_data): Likewise.
8683 (pow_test_towardzero): Likewise.
8684 (pow_downward_test_data): Likewise.
8685 (pow_test_downward): Likewise.
8686 (pow_upward_test_data): Likewise.
8687 (pow_test_upward): Likewise.
8688 (main): Don't call removed functions.
8689 * sysdeps/i386/fpu/libm-test-ulps: Update.
8690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8692 2014-06-23 Roland McGrath <roland@hack.frob.com>
8694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8868 2014-06-23 Will Newton <will.newton@linaro.org>
8869 Wilco <wdijkstr@arm.com>
8871 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8872 implementation. Include get-rounding-mode.h.
8873 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8874 [!libc_feholdsetround_noex_ctx]: Define
8875 libc_feholdsetround_noex_ctx.
8876 [!libc_feholdsetround_noexf_ctx]: Define
8877 libc_feholdsetround_noexf_ctx.
8878 [!libc_feholdsetround_noexl_ctx]: Define
8879 libc_feholdsetround_noexl_ctx.
8880 (libc_feholdsetround_ctx): New function.
8881 (libc_feresetround_ctx): New function.
8882 (libc_feholdsetround_noex_ctx): New function.
8883 (libc_feresetround_noex_ctx): New function.
8885 2014-06-23 Roland McGrath <roland@hack.frob.com>
8887 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8888 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8889 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8890 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8891 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8892 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8894 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8895 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8896 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8897 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8898 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8899 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8900 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8901 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8902 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8903 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8906 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8909 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8910 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8911 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8912 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8914 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8916 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8923 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8926 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8928 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8931 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8932 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8933 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8934 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8935 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8936 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8937 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8938 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8939 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8942 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8944 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8947 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8949 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8951 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8953 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8954 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8955 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8956 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8958 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8960 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8961 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8962 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8965 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8966 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8967 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8968 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8969 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8971 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8972 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8973 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8974 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8975 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8976 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8977 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8978 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8980 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8981 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8982 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8983 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8984 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8985 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8986 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8987 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8988 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8990 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8994 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8996 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8997 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8998 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9000 2014-06-23 Joseph Myers <joseph@codesourcery.com>
9002 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9003 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9004 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9005 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9006 (IPV6_PMTUDISC_INTERFACE): Likewise.
9007 (IPV6_PMTUDISC_OMIT): Likewise.
9009 2014-06-23 Andreas Schwab <schwab@suse.de>
9011 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9012 Remove unused errout label.
9014 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9017 macro: hardware supports Vector Crypto instructions.
9019 2014-06-23 Will Newton <will.newton@linaro.org>
9021 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9022 rather than __builtin_expect.
9024 * elf/dl-lookup.c (undefined_msg): Remove variable.
9025 (_dl_lookup_symbol_x): Replace undefined_msg with string
9028 * elf/dl-lookup.c (do_lookup_unique): New function.
9029 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9030 to a separate function.
9032 2014-06-23 Andreas Schwab <schwab@suse.de>
9035 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9036 before reading the next line.
9038 2014-06-23 Will Newton <will.newton@linaro.org>
9040 * test-skeleton.c (signal_handler): Use printf and %m
9041 rather than perror. Use printf rather than fprintf to
9042 stderr. Use puts rather than fputs to stderr.
9045 2014-06-22 Ludovic Courtès <ludo@gnu.org>
9047 * nscd/nscd.c (thread_info_t): Remove typedef.
9048 (thread_info): Remove variable.
9050 2014-06-21 Allan McRae <allan@archlinux.org>
9052 * NEWS: Mention CVE-2014-4043.
9054 2014-06-20 Roland McGrath <roland@hack.frob.com>
9056 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9057 * nptl/smp.h: ... here.
9059 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9061 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9062 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9063 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9064 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9066 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9067 * nptl/stack-aliasing.h: New file.
9068 * sysdeps/i386/i686/stack-aliasing.h: New file.
9069 * sysdeps/i386/i686/nptl/Makefile: File removed.
9070 * sysdeps/x86_64/stack-aliasing.h: New file.
9071 * sysdeps/x86_64/nptl/Makefile
9072 (CFLAGS-pthread_create.c): Variable removed.
9074 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9075 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9077 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9078 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9081 2014-06-21 Joseph Myers <joseph@codesourcery.com>
9083 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9084 (__ASSUME_SIGFRAME_V2): Remove macro.
9085 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9086 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9087 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9088 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9089 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9090 Declare as function. Remove conditional macro definitions.
9091 (__default_rt_sa_restorer): Likewise.
9092 (__default_sa_restorer_v1): Remove declaration.
9093 (__default_sa_restorer_v2): Likewise.
9094 (__default_rt_sa_restorer_v1): Likewise.
9095 (__default_rt_sa_restorer_v2): Likewise.
9096 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9097 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9098 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9100 2014-06-20 Roland McGrath <roland@hack.frob.com>
9102 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9103 (libpthread-routines): Add sysdep.
9104 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9105 * sysdeps/unix/sysv/linux/sparc/Versions
9106 (libpthread: GLIBC_2.3.3): New version set.
9107 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9108 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9109 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9110 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9111 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9112 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9114 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9115 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9116 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9117 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9118 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9119 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9120 * sysdeps/sparc/nptl/sem_init.c: ... here.
9121 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9122 * sysdeps/sparc/nptl/sem_post.c: ... here.
9123 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9124 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9125 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9126 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9127 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9128 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9129 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9130 (libpthread-routines): Add cpu_relax.
9131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9133 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9134 (librt: GLIBC_2.3.3): New version set.
9135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9136 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9137 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9138 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9141 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9144 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9146 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9148 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9150 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9152 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9155 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9175 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9178 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9184 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9186 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9187 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9189 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9191 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9193 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9195 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9197 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9198 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9199 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9200 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9201 * nscd/nscd.c: Likewise.
9202 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9203 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9204 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9205 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9207 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9208 <kernel-features.h>.
9209 (init_mq_netlink): Remove conditional have_sock_cloexec
9210 definitions. Remove code conditional on have_sock_cloexec < 0.
9211 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9212 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9213 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9214 <kernel-features.h>.
9215 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9216 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9218 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9221 Add tests for memset_chk and memset.
9223 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9226 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9229 * elf/tst-dl-iter-static.c: New file.
9230 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9232 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9235 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9237 * sysdeps/unix/sysv/linux/kernel-features.h
9238 (__ASSUME_F_GETOWN_EX): Remove macro.
9239 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9240 <kernel-features.h>.
9241 (miss_F_GETOWN_EX): Remove variable or macro.
9242 (do_fcntl): Do not check miss_F_GETOWN_EX.
9243 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9245 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9248 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9249 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9251 * sysdeps/unix/sysv/linux/kernel-features.h
9252 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9253 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9254 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9255 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9257 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9260 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9261 Fix calculation of the symbol's value.
9262 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9263 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9264 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9265 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9266 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9267 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9268 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9269 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9270 (modules-names): Add `tst-armtlsdescmod',
9271 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9272 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9273 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9274 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9275 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9276 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9277 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9278 ($(objpfx)tst-armtlsdescloc): New dependency.
9279 ($(objpfx)tst-armtlsdescextnow): Likewise.
9280 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9281 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9283 * sysdeps/arm/configure: Regenerate.
9285 2014-06-20 Joseph Myers <joseph@codesourcery.com>
9287 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9288 (__atfct_seterrno_2): Likewise.
9289 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9290 <kernel-features.h>.
9291 (__ASSUME_ATFCTS): Do not undefine and redefine.
9292 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9293 (__have_atfcts): Remove conditional definition.
9294 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9295 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9296 unreachable if [__ASSUME_ATFCTS].
9297 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9298 not undefine and redefine.
9299 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9300 <kernel-features.h>.
9301 (faccessat) [__NR_faccessat]: Make code unconditional.
9302 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9303 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9304 <kernel-features.h>.
9305 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9306 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9307 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9308 <kernel-features.h>.
9309 (fchownat) [__NR_fchownat]: Make code unconditional.
9310 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9311 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9312 <kernel-features.h>.
9313 (futimesat) [__NR_futimesat]: Make code unconditional.
9314 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9315 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9316 <kernel-features.h>.
9317 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9318 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9319 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9320 <kernel-features.h>.
9321 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9322 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9323 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9324 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9325 <kernel-features.h>.
9326 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9327 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9328 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9329 <kernel-features.h>.
9330 (linkat) [__NR_linkat]: Make code unconditional.
9331 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9332 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9333 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9334 <kernel-features.h>.
9335 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9336 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9337 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9338 <kernel-features.h>.
9339 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9340 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9341 * sysdeps/unix/sysv/linux/openat.c: Do not include
9342 <kernel-features.h>.
9343 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9344 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9345 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9346 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9347 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9348 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9349 <kernel-features.h>.
9350 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9351 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9352 result of INLINE_SYSCALL directly, not via int variable.
9353 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9354 <kernel-features.h>.
9355 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9356 (renameat) [__NR_renameat]: Make code unconditional.
9357 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9358 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9359 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9360 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9361 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9362 (__ASSUME_ATFCTS): Do not undefine and redefine.
9363 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9364 <kernel-features.h>.
9365 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9366 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9367 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9368 <kernel-features.h>.
9369 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9370 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9371 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9372 (__ASSUME_ATFCTS): Do not undefine and redefine.
9373 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9374 <kernel-features.h>.
9375 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9376 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9377 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9378 <kernel-features.h>.
9379 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9380 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9382 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9384 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9386 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9389 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9390 constructed tree before returning error.
9391 * posix/bug-regexp36.c: Expand test case.
9393 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9396 * math/libm-test.inc (scalbln_test_date):
9397 Add errno expectations.
9398 * math/w_scalblnf.c: New File.
9399 Add wrapper which checks for setting errno to ERANGE.
9400 Add weak_alias for corresponding scalbln function.
9401 * math/w_scalbln.c: Likewise.
9402 * math/w_scalblnl.c: Likewise.
9403 * math/Makefile (libm-calls): Add w_scalbln.
9404 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9405 Remove weak_alias for corresponding scalbln function.
9406 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9408 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9410 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9411 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9412 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9413 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9414 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9415 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9416 Remove long_double_symbol for scalblnl function in libm, libc.
9417 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9418 Add wrapper which checks for setting errno to ERANGE.
9419 Add long_double_symbol for scalblnl function in libm, libc.
9420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9421 Remove long_double_symbol for scalblnl in libm.
9422 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9423 Add wrapper which checks for setting errno to ERANGE.
9424 Add long_double_symbol for scalblnl function in libm.
9425 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9426 Do not use wrapper because of own implementation.
9428 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9430 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9431 3 bytes for __pad1 for x32.
9432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9434 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9435 H.J. Lu <hongjiu.lu@intel.com>
9437 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9438 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9439 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9441 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9443 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9446 * posix/regcomp.c (parse_expression): Deallocate partially
9447 constructed tree before returning error.
9448 * posix/Makefile.c (tests): Add bug-regex36.
9449 (generated): Add bug-regex36.mtrace.
9450 (tests-special): Add $(objpfx)bug-regex36-mem.out
9451 (bug-regex36-ENV): New variable.
9452 ($(objpfx)bug-regex36-mem.out): New rule.
9453 * posix/bug-regex36.c: New file.
9455 2014-06-19 Will Newton <will.newton@linaro.org>
9457 * malloc/malloc.c (systrim): If extra is zero then return
9460 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9462 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9464 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9466 * sysdeps/aarch64/strchr.S: New file.
9468 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9471 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9472 from arguments -2 or below.
9473 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9474 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9476 2014-06-18 Andreas Schwab <schwab@suse.de>
9479 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9480 of a bracket expr not to run off the end of the string.
9481 * posix/Makefile (tests): Add tst-fnmatch3.
9482 * posix/tst-fnmatch3.c: New file.
9484 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9486 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9487 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9488 [$(cross-compiling) = no]: Likewise.
9489 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9490 [$(cross-compiling) = no]: Likewise.
9492 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9495 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9496 double, adjusted for any remainder from the high double.
9497 * math/libm-test.inc (nearbyint): Add tests.
9500 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502 * nptl/sysdeps/powerpc/Makefile: Moved ...
9503 * sysdeps/powerpc/nptl/Makefile: ... here.
9504 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9505 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9506 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9507 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9508 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9509 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9510 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9511 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9512 * nptl/sysdeps/powerpc/tls.h: Moved ...
9513 * sysdeps/powerpc/nptl/tls.h: ... here.
9515 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9518 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9519 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9520 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9521 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9522 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9523 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9524 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9525 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9526 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9528 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9530 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9532 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9534 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9537 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9540 2014-06-16 Florian Weimer <fweimer@redhat.com>
9543 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9544 non-executed part of the test.
9546 2014-06-16 Andreas Schwab <schwab@suse.de>
9548 * string/bits/string2.h (strdup, strndup): Update feature guard.
9550 2014-06-14 David S. Miller <davem@davemloft.net>
9552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9554 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9556 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9557 that was previously under [RESET_PID].
9558 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9560 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9561 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9562 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9563 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9564 (__libc_vfork): New strong alias.
9565 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9567 2014-06-14 Andi Kleen <ak@linux.intel.com>
9569 * sysdeps/generic/elide.h: New file.
9571 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9573 * Makefile (installed-headers): Adjust path of pthread.h header.
9575 2014-06-13 Roland McGrath <roland@hack.frob.com>
9577 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9578 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9579 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9580 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9582 * nptl/sysdeps/s390/Makefile: Moved ...
9583 * sysdeps/s390/nptl/Makefile: ... here.
9584 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9585 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9586 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9587 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9588 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9589 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9590 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9591 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9592 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9593 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9594 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9595 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9596 * nptl/sysdeps/s390/tls.h: Moved ...
9597 * sysdeps/s390/nptl/tls.h: ... here.
9599 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9600 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9602 2014-06-13 David S. Miller <davem@davemloft.net>
9604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9607 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9611 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9612 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9613 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9614 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9615 Remove RESET_PID cpp guards.
9616 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9617 Remove RESET_PID cpp guards.
9618 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9620 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9622 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9625 2014-06-13 Andi Kleen <ak@linux.intel.com>
9627 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9628 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9629 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9630 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9631 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9632 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9633 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9634 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9635 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9636 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9638 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9639 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9640 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9641 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9643 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9644 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9645 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9646 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9648 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9649 (pthread_rwlock_rdlock): Add elision.
9650 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9651 (pthread_rwlock_wrlock): Add elision.
9652 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9653 (pthread_rwlock_trywrlock): Add elision.
9654 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9655 (pthread_rwlock_tryrdlock): Add elision.
9656 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9657 (pthread_rwlock_tryrdlock): Add elision unlock.
9658 * nptl/sysdeps/pthread/pthread.h:
9659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9660 (PTHREAD_RWLOCK_INITIALIZER,
9661 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9662 Handle new elision field.
9663 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9664 * sysdeps/arm/nptl/bits/pthreadtypes.h
9665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9666 * sysdeps/sh/nptl/bits/pthreadtypes.h
9667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9668 * sysdeps/tile/nptl/bits/pthreadtypes.h
9669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9670 * sysdeps/a/nptl/bits/pthreadtypes.h
9671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9672 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9674 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9676 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9678 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9680 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9682 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9683 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9684 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9685 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9686 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9687 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9688 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9689 (elision_init): Set try_xbegin to zero when no RTM.
9690 * sysdeps/x86/nptl/bits/pthreadtypes.h
9691 (pthread_rwlock_t): Change __pad1 to __rwelision.
9692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9694 2014-06-13 Andi Kleen <ak@linux.intel.com>
9696 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9697 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9698 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9699 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9701 2014-06-13 Meador Inge <meadori@codesourcery.com>
9704 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9705 that the cached result has been set before returning it.
9707 2014-06-12 Roland McGrath <roland@hack.frob.com>
9709 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9710 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9711 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9712 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9713 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9714 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9716 * nptl/sysdeps/sparc/Makefile: Moved ...
9717 * sysdeps/sparc/nptl/Makefile: ... here.
9718 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9719 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9720 * nptl/sysdeps/sparc/tls.h: Moved ...
9721 * sysdeps/sparc/nptl/tls.h: ... here.
9722 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9723 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9724 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9725 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9726 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9727 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9728 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9729 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9730 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9731 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9732 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9733 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9734 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9735 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9736 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9737 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9738 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9739 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9741 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9742 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9744 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9745 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9747 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9751 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9753 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9754 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9756 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9757 (struct list_links): Type removed.
9758 (struct thread_node, struct timer_node): Replace struct list_links
9759 with struct list_head.
9760 (list_unlink_ip): Likewise.
9761 * sysdeps/pthread/timer_routines.c
9762 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9763 (list_append, list_insbefore): Likewise.
9764 (list_init): Function removed.
9765 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9766 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9767 * sysdeps/pthread/Makefile: ... here, new file.
9769 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9770 * sysdeps/nptl/Implies: ... here.
9771 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9772 * nptl/sysdeps/pthread/list.h: Moved ...
9773 * include/list.h: ... here.
9774 * nptl/sysdeps/pthread/createthread.c: Moved ...
9775 * nptl/createthread.c: ... here.
9776 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9777 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9778 * nptl/pt-longjmp.c: ... here.
9779 * nptl/sysdeps/pthread/Makefile: Moved ...
9780 * sysdeps/nptl/Makefile: ... here.
9781 * nptl/sysdeps/pthread/Subdirs: Moved ...
9782 * sysdeps/nptl/Subdirs: ... here.
9783 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9784 * sysdeps/nptl/aio_misc.h: ... here.
9785 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9786 * sysdeps/nptl/bits/libc-lock.h: ... here.
9787 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9788 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9789 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9790 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9791 * nptl/sysdeps/pthread/configure: Moved ...
9792 * sysdeps/nptl/configure: ... here.
9793 * nptl/sysdeps/pthread/configure.ac: Moved ...
9794 * sysdeps/nptl/configure.ac: ... here.
9795 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9796 * sysdeps/nptl/gai_misc.h: ... here.
9797 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9798 * sysdeps/nptl/librt-cancellation.c: ... here.
9799 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9800 * sysdeps/nptl/malloc-machine.h: ... here.
9801 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9802 * sysdeps/nptl/pthread-functions.h: ... here.
9803 * nptl/sysdeps/pthread/pthread.h: Moved ...
9804 * sysdeps/nptl/pthread.h: ... here.
9805 * nptl/sysdeps/pthread/setxid.h: Moved ...
9806 * sysdeps/nptl/setxid.h: ... here.
9807 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9808 * sysdeps/nptl/sigfillset.c: ... here.
9809 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9810 * sysdeps/nptl/tcb-offsets.h: ... here.
9811 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9812 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9813 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9814 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9815 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9816 * sysdeps/pthread/allocalim.h: ... here.
9817 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9818 * sysdeps/pthread/bits/sigthread.h: ... here.
9819 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9820 * sysdeps/pthread/flockfile.c: ... here.
9821 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9822 * sysdeps/pthread/ftrylockfile.c: ... here.
9823 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9824 * sysdeps/pthread/funlockfile.c: ... here.
9825 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9826 * sysdeps/pthread/posix-timer.h: ... here.
9827 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9828 * sysdeps/pthread/timer_create.c: ... here.
9829 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9830 * sysdeps/pthread/timer_delete.c: ... here.
9831 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9832 * sysdeps/pthread/timer_getoverr.c: ... here.
9833 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9834 * sysdeps/pthread/timer_gettime.c: ... here.
9835 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9836 * sysdeps/pthread/timer_routines.c: ... here.
9837 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9838 * sysdeps/pthread/timer_settime.c: ... here.
9839 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9840 * sysdeps/pthread/tst-timer.c: ... here.
9841 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9842 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9844 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9845 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9847 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9848 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9849 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9850 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9851 Update #include target.
9852 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9853 * sysdeps/i386/i686/nptl/Makefile: ... here.
9854 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9855 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9856 Update #include target.
9857 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9858 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9859 * nptl/sysdeps/i386/Makefile: Moved ...
9860 * sysdeps/i386/nptl/Makefile: ... here.
9861 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9862 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9863 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9864 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9865 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9866 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9867 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9868 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9869 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9870 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9871 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9872 * nptl/sysdeps/i386/tls.h: Moved ...
9873 * sysdeps/i386/nptl/tls.h: ... here.
9875 * sysdeps/sh/Makefile [$(subdir) = csu]
9876 (gen-as-const-headers): Add tcb-offsets.sym.
9877 * nptl/sysdeps/sh/Makefile: File removed.
9878 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9879 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9880 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9881 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9882 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9883 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9884 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9885 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9886 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9887 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9888 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9889 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9890 * nptl/sysdeps/sh/tls.h: Moved ...
9891 * sysdeps/sh/nptl/tls.h: ... here.
9892 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9893 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9894 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9895 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9896 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9897 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9898 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9899 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9900 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9901 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9903 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9905 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9907 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9909 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9910 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9911 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9912 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9913 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9918 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9919 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9921 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9922 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9923 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9924 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9925 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9926 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9927 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9928 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9929 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9930 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9931 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9933 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9934 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9935 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9936 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9937 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9938 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9939 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9941 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9943 * posix/spawn_faction_addopen.c: Include string.h.
9945 2014-06-11 Roland McGrath <roland@hack.frob.com>
9947 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9948 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9949 * nptl/sysdeps/x86_64/Makefile: Moved ...
9950 * sysdeps/x86_64/nptl/Makefile: ... here.
9951 * nptl/sysdeps/x86_64/configure: Moved ...
9952 * sysdeps/x86_64/nptl/configure: ... here.
9953 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9954 * sysdeps/x86_64/nptl/configure.ac: ... here.
9955 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9956 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9957 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9958 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9959 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9960 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9961 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9962 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9963 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9964 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9965 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9966 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9967 * nptl/sysdeps/x86_64/tls.h: Moved ...
9968 * sysdeps/x86_64/nptl/tls.h: ... here.
9969 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9970 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9971 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9972 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9974 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9976 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9982 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9984 [POSIX] (off_t): Likewise.
9985 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9986 [POSIX] (S_ISBLK): Require macro.
9987 [POSIX] (S_ISCHR): Likewise.
9988 [POSIX] (S_ISDIR): Likewise.
9989 [POSIX] (S_ISFIFO): Likewise.
9990 [POSIX] (S_ISREG): Likewise.
9991 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9993 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9995 [POSIX] (time_t): Likewise.
9996 [POSIX] (timer_t): Likewise.
9998 2014-06-11 Florian Weimer <fweimer@redhat.com>
10001 * posix/spawn_int.h (struct __spawn_action): Make the path string
10002 non-const to support deallocation.
10003 * posix/spawn_faction_addopen.c
10004 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10005 * posix/spawn_faction_destroy.c
10006 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10007 path in all spawn_do_open actions.
10008 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10009 posix_spawn_file_actions_addopen.
10011 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10013 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10014 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10015 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10016 conditional code always true.
10017 (__libc_vfork): New alias.
10019 2014-06-11 Roland McGrath <roland@hack.frob.com>
10021 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10022 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10024 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10026 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10027 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10029 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10030 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10032 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10033 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10035 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10037 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10038 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10039 multiarch strcmp for PPC64.
10040 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10041 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10043 multiarch optimizations.
10044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10045 (__libc_ifunc_impl_list): Likewise.
10047 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10049 * benchtests/scripts/validate_benchout.py: New script.
10050 * benchtests/Makefile (bench-func): Call it.
10051 * benchtests/scripts/benchout.schema.json: New file.
10053 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10055 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10056 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10057 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10058 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10059 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10060 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10061 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10062 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10063 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10064 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10065 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10066 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10067 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10068 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10069 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10070 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10175 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10177 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10180 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10183 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10189 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10190 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10191 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10193 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10196 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10199 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10200 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10201 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10202 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10204 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10206 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10207 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10208 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10209 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10210 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10212 2014-06-10 Wilco <wdijkstr@arm.com>
10214 * math/test-fenv-return.c: New file.
10215 * math/Makefile: Add new test test-fenv-return.
10217 2014-06-10 Joseph Myers <joseph@codesourcery.com>
10220 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10221 when x - 1 is zero.
10222 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10223 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10224 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10225 0.0L for an argument of 1.0L.
10226 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10228 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10229 value when x - 1 is zero.
10230 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10231 * sysdeps/i386/fpu/libm-test-ulps: Update.
10232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10234 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10237 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10239 2014-06-09 Roland McGrath <roland@hack.frob.com>
10241 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10242 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10244 2014-06-09 Roland McGrath <roland@hack.frob.com>
10246 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10247 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10249 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10250 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10252 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10253 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10255 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10256 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10258 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10259 if not already defined.
10260 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10261 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10262 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10263 (TLS_INIT_TP): Use it.
10264 (TLS_DEFINE_INIT_TP): New macro.
10265 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10267 2014-06-09 Joseph Myers <joseph@codesourcery.com>
10269 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10271 [POSIX] (IXANY): Likewise.
10272 [POSIX] (OLCUC): Likewise.
10273 [POSIX || POSIX2008] (CBAUD): Do not allow.
10274 [POSIX || POSIX2008] (DEFECHO): Likewise.
10275 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10276 [POSIX || POSIX2008] (ECHOKE): Likewise.
10277 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10278 [POSIX || POSIX2008] (EXTA): Likewise.
10279 [POSIX || POSIX2008] (EXTB): Likewise.
10280 [POSIX || POSIX2008] (FLUSHO): Likewise.
10281 [POSIX || POSIX2008] (LOBLK): Likewise.
10282 [POSIX || POSIX2008] (PENDIN): Likewise.
10283 [POSIX || POSIX2008] (SWTCH): Likewise.
10284 [POSIX || POSIX2008] (VDISCARD): Likewise.
10285 [POSIX || POSIX2008] (VDSUSP): Likewise.
10286 [POSIX || POSIX2008] (VLNEXT): Likewise.
10287 [POSIX || POSIX2008] (VREPRINT): Likewise.
10288 [POSIX || POSIX2008] (VSTATUS): Likewise.
10289 [POSIX || POSIX2008] (VWERASE): Likewise.
10290 (B*): Change to B[0123456789]*.
10291 * conform/data/time.h-data [POSIX || UNIX98]
10292 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10293 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10294 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10295 [POSIX] (tm_*): Do not allow.
10297 2014-06-07 Joseph Myers <joseph@codesourcery.com>
10299 * Makefile (install): Don't set LANGUAGE.
10300 * Makefile.in (install): Likewise.
10301 * assert/Makefile (test-assert-ENV): Remove variable.
10302 (test-assert-perr-ENV): Likewise.
10303 * elf/Makefile (neededtest4-ENV): Likewise.
10304 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10305 [$(cross-compiling) = no]: Don't set LANGUAGE.
10306 * io/ftwtest-sh (LANG): Remove variable.
10307 * libio/Makefile (tst-widetext-ENV): Likewise.
10308 * manual/install.texi (Running make install): Don't refer to
10309 environment settings for make install.
10310 * INSTALL: Regenerated.
10311 * nptl/tst-tls6.sh: Don't set LANG.
10312 * posix/globtest.sh (LANG): Remove variable.
10313 * string/Makefile (tester-ENV): Likewise.
10314 (inl-tester-ENV): Likewise.
10315 (noinl-tester-ENV): Likewise.
10316 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10317 [$(cross-compiling) = no]: Don't set LANGUAGE.
10318 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10319 without explicit environment settings.
10321 2014-06-06 Roland McGrath <roland@hack.frob.com>
10323 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10324 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10325 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10326 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10328 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10330 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10331 other files in the crypt directory.
10332 * crypt/crypt.c: Remove duplicate includes.
10333 * crypt/crypt-entry.c: Likewise.
10334 * crypt/crypt_util.c: Likewise.
10336 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10338 * Makeconfig (run-program-env): New variable.
10339 (run-program-prefix-before-env): Likewise.
10340 (run-program-prefix-after-env): Likewise.
10341 (run-program-prefix): Define in terms of new variables.
10342 (built-program-cmd-before-env): New variable.
10343 (built-program-cmd-after-env): Likewise.
10344 (built-program-cmd): Define in terms of new variables.
10345 (test-program-prefix-before-env): New variable.
10346 (test-program-prefix-after-env): Likewise.
10347 (test-program-prefix): Define in terms of new variables.
10348 (test-program-cmd-before-env): New variable.
10349 (test-program-cmd-after-env): Likewise.
10350 (test-program-cmd): Define in terms of new variables.
10351 * Rules (make-test-out): Use $(run-program-env).
10352 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10353 (help): Do not mention environment variables. Mention
10354 --timeoutfactor option.
10355 (timeoutfactor): New variable.
10356 (blacklist_exports): Remove function.
10357 (exports): Remove variable.
10358 (command): Do not include ${exports}.
10359 * manual/install.texi (Configuring and compiling): Do not mention
10360 test wrappers preserving environment variables. Mention that last
10361 assignment to a variable must take precedence.
10362 * INSTALL: Regenerated.
10363 * benchtests/Makefile (run-bench): Use $(run-program-env).
10364 * catgets/Makefile ($(objpfx)test1.cat): Use
10365 $(built-program-cmd-before-env), $(run-program-env) and
10366 $(built-program-cmd-after-env).
10367 ($(objpfx)test2.cat): Do not specify environment variables
10369 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10370 $(run-program-env) and $(built-program-cmd-after-env).
10371 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10372 $(run-program-env) and $(test-program-cmd-after-env).
10373 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10375 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10376 run_program_env and test_program_cmd_after_env arguments.
10377 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10378 * elf/tst-pathopt.sh: Use run_program_env argument.
10379 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10380 $(test-wrapper-env) and $(run-program-env).
10381 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10382 run_program_env arguments.
10383 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10384 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10385 $(test-program-prefix-before-env), $(run-program-env) and
10386 $(test-program-prefix-after-env).
10387 ($(objpfx)tst-gettext2.out): Likewise.
10388 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10389 run_program_env and test_program_prefix_after_env arguments.
10390 * intl/tst-gettext2.sh: Likewise.
10391 * intl/tst-gettext4.sh: Do not set environment variables
10393 * intl/tst-gettext6.sh: Likewise.
10394 * intl/tst-translit.sh: Likewise.
10395 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10396 $(test-program-prefix-before-env), $(run-program-env) and
10397 $(test-program-prefix-after-env).
10398 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10399 run_program_env and test_program_prefix_after_env arguments.
10400 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10401 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10402 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10403 explicitly with each use of ${test_wrapper_env}.
10404 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10405 $(test-program-prefix-before-env), $(run-program-env) and
10406 $(test-program-prefix-after-env).
10407 * posix/tst-getconf.sh: Do not set environment variables
10409 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10410 run_program_env and test_program_prefix_after_env arguments.
10411 * stdio-common/tst-printf.sh: Do not set environment variables
10413 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10414 $(test-program-prefix-before-env), $(run-program-env) and
10415 $(test-program-prefix-after-env).
10416 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10417 run_program_env and test_program_prefix_after_env arguments.
10418 Split $test calls into $test_pre and $test.
10419 * timezone/Makefile (build-testdata): Use
10420 $(built-program-cmd-before-env), $(run-program-env) and
10421 $(built-program-cmd-after-env).
10423 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10425 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10426 strlen for non SHARED builds.
10428 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10430 * nptl/allocatestack.c (check_list): Inlined function...
10431 (__reclaim_stacks): ... here.
10433 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10436 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10439 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10441 * Rules (make-test-out): Include
10442 LOCPATH=$(common-objpfx)localedata in default environment.
10443 * debug/Makefile (tst-chk1-ENV): Remove variable.
10444 (tst-chk2-ENV): Likewise.
10445 (tst-chk3-ENV): Likewise.
10446 (tst-chk4-ENV): Likewise.
10447 (tst-chk5-ENV): Likewise.
10448 (tst-chk6-ENV): Likewise.
10449 (tst-lfschk1-ENV): Likewise.
10450 (tst-lfschk2-ENV): Likewise.
10451 (tst-lfschk3-ENV): Likewise.
10452 (tst-lfschk4-ENV): Likewise.
10453 (tst-lfschk5-ENV): Likewise.
10454 (tst-lfschk6-ENV): Likewise.
10455 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10456 (tst-iconv7-ENV): Likewise.
10457 * intl/Makefile (LOCPATH-ENV): Likewise.
10458 (tst-codeset-ENV): Likewise.
10459 (tst-gettext3-ENV): Likewise.
10460 (tst-gettext5-ENV): Likewise.
10461 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10462 (tst-fopenloc-ENV): Likewise.
10463 (tst-fgetws-ENV): Remove variable.
10464 (tst-ungetwc1-ENV): Likewise.
10465 (tst-ungetwc2-ENV): Likewise.
10466 (bug-ungetwc2-ENV): Likewise.
10467 (tst-swscanf-ENV): Likewise.
10468 (bug-ftell-ENV): Likewise.
10469 (tst-fgetwc-ENV): Likewise.
10470 (tst-fseek-ENV): Likewise.
10471 (tst-ftell-partial-wide-ENV): Likewise.
10472 (tst-ftell-active-handler-ENV): Likewise.
10473 (tst-ftell-append-ENV): Likewise.
10474 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10475 (tst-regexloc-ENV): Likewise.
10476 (bug-regex1-ENV): Likewise.
10477 (tst-regex-ENV): Likewise.
10478 (tst-regex2-ENV): Likewise.
10479 (bug-regex5-ENV): Likewise.
10480 (bug-regex6-ENV): Likewise.
10481 (bug-regex17-ENV): Likewise.
10482 (bug-regex18-ENV): Likewise.
10483 (bug-regex19-ENV): Likewise.
10484 (bug-regex20-ENV): Likewise.
10485 (bug-regex22-ENV): Likewise.
10486 (bug-regex23-ENV): Likewise.
10487 (bug-regex25-ENV): Likewise.
10488 (bug-regex26-ENV): Likewise.
10489 (bug-regex30-ENV): Likewise.
10490 (bug-regex32-ENV): Likewise.
10491 (bug-regex33-ENV): Likewise.
10492 (bug-regex34-ENV): Likewise.
10493 (bug-regex35-ENV): Likewise.
10494 (tst-rxspencer-ENV): Likewise.
10495 (tst-rxspencer-no-utf8-ENV): Likewise.
10496 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10497 (tst-sscanf-ENV): Likewise.
10498 (tst-swprintf-ENV): Likewise.
10499 (tst-swscanf-ENV): Likewise.
10500 (test-vfprintf-ENV): Likewise.
10501 (scanf13-ENV): Likewise.
10502 (bug14-ENV): Likewise.
10503 (tst-grouping-ENV): Likewise.
10504 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10505 (tst-strtod3-ENV): Likewise.
10506 (tst-strtod4-ENV): Likewise.
10507 (tst-strtod5-ENV): Likewise.
10508 (testmb2-ENV): Likewise./
10509 * string/Makefile (tst-strxfrm-ENV): Likewise.
10510 (tst-strxfrm2-ENV): Likewise.
10511 (bug-strcoll1-ENV): Likewise.
10512 (test-strcasecmp-ENV): Likewise.
10513 (test-strncasecmp-ENV): Likewise.
10514 * time/Makefile (tst-strptime-ENV): Likewise.
10515 (tst-ftime_l-ENV): Likewise.
10516 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10517 (tst-mbrtowc-ENV): Likewise.
10518 (tst-wcrtomb-ENV): Likewise.
10519 (tst-mbrtowc2-ENV): Likewise.
10520 (tst-c16c32-1-ENV): Likewise.
10521 (tst-mbsnrtowcs-ENV): Likewise.
10523 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10525 * manual/resource.texi (How to get information about the memory
10526 subsystem?): Fix typo.
10527 Reported by Peon de la Parra Ivan <peon@keba.com>
10529 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10532 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10533 (pthread_spin_lock): Branch out of spin loop to proper location.
10534 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10535 (pthread_spin_lock): Likewise.
10537 * nptl/tst-spin4.c: New test.
10538 * nptl/Makefile (tests): Add tst-spin4.
10540 2014-06-03 Andreas Schwab <schwab@suse.de>
10543 * resolv/res_send.c (send_dg): Reload file descriptor after
10546 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10548 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10550 2014-06-03 Richard Henderson <rth@redhat.com>
10552 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10553 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10554 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10555 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10556 in the SAVE_PID block.
10557 (__libc_vfork): New alias.
10558 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10560 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10561 child in registers, not on the stack. Remove RESET_PID conditionals.
10562 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10564 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10566 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10568 2014-06-03 Wilco <wdijkstr@arm.com>
10570 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10571 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10572 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10573 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10574 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10577 2014-06-03 Wilco <wdijkstr@arm.com>
10579 * sysdeps/aarch64/fpu/math_private.h
10580 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10581 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10582 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10583 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10586 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10588 * crypt/crypt-private.h: Include ufc-crypt.h.
10589 (__b64_from_24bit): Declare extern.
10590 * crypt/crypt_util.c(__b64_from_24bit): New function.
10591 (b64t): New static const variable.
10592 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10593 (b64t): Remove variable.
10594 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10595 * crypt/sha256-crypt.c: Include crypt-private.h.
10596 (b64t): Remove variable.
10597 (__sha256_crypt_r): Remove b64_from_24bit and replace
10598 with __b64_from_24bit.
10599 * crypt/sha512-crypt.c: Likewise.
10601 2014-06-02 Roland McGrath <roland@hack.frob.com>
10603 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10604 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10605 Label the code __libc_vfork rather than __vfork.
10606 [!NOT_IN_libc] (vfork): Define as weak alias.
10607 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10608 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10609 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10611 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10613 * malloc/malloc.c (malloc_info): Fix format specifier for
10616 2014-06-02 Wilco <wdijkstr@arm.com>
10618 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10621 2014-06-02 Wilco <wdijkstr@arm.com>
10624 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10625 Rewrite to reduce FPCR/FPSR accesses.
10627 2014-06-01 David S. Miller <davem@davemloft.net>
10629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10631 2014-05-31 David S. Miller <davem@davemloft.net>
10633 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10634 to occur in round to nearest mode when |x| >= 2.0
10636 2014-05-30 Richard Henderson <rth@twiddle.net>
10638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10639 (PSEUDO_RET_NOERRNO): Remove.
10640 (ret): Don't redefine.
10641 (ret_NOERRNO): Define in terms of ret.
10642 (ret_ERRVAL): Likewise.
10644 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10645 use of PSEUDO_RET; perform the error check directly.
10647 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10649 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10652 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10654 * malloc/malloc (malloc_info): Fix formatting.
10656 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10657 Roland McGrath <roland@hack.frob.com>
10659 * malloc/malloc (malloc_info): Also print mmapped statistics.
10661 2014-05-30 Roland McGrath <roland@hack.frob.com>
10663 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10664 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10666 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10668 * malloc/malloc.c (malloc_info): Inline mi_arena.
10670 2014-05-29 Richard Henderson <rth@twiddle.net>
10672 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10673 Remove comma before expanding ASM_ARGS_##nr.
10674 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10675 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10677 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10678 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10679 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10680 (ASM_ARGS_1): Add leading comma.
10682 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10683 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10684 to __errno_location.
10685 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10686 Remove the expected plt for __errno_location.
10688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10689 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10692 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10693 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10694 it and break it down.
10695 (DOCARGS_0, DOCARGS_1): Do nothing.
10696 (DOCARGS_2): Update to store into the new stack frame.
10697 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10698 (UNDOCARGS_1): Update to restore from the new stack frame.
10699 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10700 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10703 (SINGLE_THREAD_P): New parameter for result regno.
10704 (PSEUDO): Update to match; use cbz instead of beq.
10706 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10707 Use ENTRY to define the _nocancel entry point. Share the syscall
10708 and syscall error check paths with the cancel path.
10711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10712 whitespace; tabs before and after asm mnemonics.
10714 2014-05-29 Eric Wong <normalperson@yhbt.net>
10717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10718 Call fstat64 or stat64 internally, depending on arguments passed.
10719 Replace stat buffer argument with file descriptor argument.
10720 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10721 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10722 Pass fd to __internal_statvfs instead of calling fstat64.
10723 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10724 Pass fd to __internal_statvfs64 instead of calling fstat64.
10725 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10726 Pass -1 to __internal_statvfs instead of calling stat64.
10727 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10728 Pass -1 to __internal_statvfs64 instead of calling stat64.
10730 2014-05-28 Roland McGrath <roland@hack.frob.com>
10732 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10733 that was previously under [RESET_PID].
10734 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10736 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10737 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10739 2014-05-27 Roland McGrath <roland@hack.frob.com>
10741 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10743 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10744 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10746 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10748 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10750 2014-05-27 Andreas Schwab <schwab@suse.de>
10752 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10754 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10755 * elf/rtld.c (init_tls, dl_main): Likewise.
10756 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10757 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10758 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10759 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10760 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10761 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10762 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10763 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10764 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10765 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10766 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10767 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10768 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10769 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10770 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10771 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10772 * sysdeps/generic/tls.h: Update description.
10774 2014-05-27 Will Newton <will.newton@linaro.org>
10777 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10778 and restore r2 rather than just restoring.
10780 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10783 * libio/tst-ftell-append.c: New test case.
10784 * libio/Makefile (tests): Add test case.
10785 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10787 * libio/wfileops.c (do_ftell_wide): Likewise.
10789 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10793 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10797 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10798 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10799 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10800 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10801 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10802 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10806 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10809 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10810 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10811 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10812 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10813 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10815 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10818 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10820 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10822 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10823 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10824 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10826 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10827 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10828 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10829 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10844 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10852 conditional [RESET_PID].
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10854 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10861 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10862 (__libc_vfork): New strong alias.
10863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10865 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10870 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10871 (__libc_vfork): New strong alias.
10872 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10874 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10877 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10879 * malloc/malloc.c (mi_arena): New function.
10880 (malloc_info): Remove nested function mi_arena. Call non-nosted
10883 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10885 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10887 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10888 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10889 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10890 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10891 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10892 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10893 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10895 2014-05-26 Andreas Schwab <schwab@suse.de>
10898 * locale/programs/repertoire.c (repertoire_read): Add slash
10899 between I18NPATH element and file name.
10900 * locale/programs/locfile.c (locfile_read): Likewise.
10902 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10904 * nptl/pthread_mutexattr_settype.c
10905 (__pthread_mutexattr_settype):
10906 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10908 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10910 * nptl/tst-mutex5 (do_test):
10911 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10913 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10915 * benchtests/README: Document 'init' directive.
10916 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10918 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10919 (parse_file): Recognize 'init' directive.
10921 2014-05-26 Kyle McMartin <kyle@redhat.com>
10924 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10925 alignment of struct pthread.
10927 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10930 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10931 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10932 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10933 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10935 2014-05-25 Richard Henderson <rth@twiddle.net>
10937 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10938 (SINGLE_THREAD_P_PIC): Remove.
10939 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10940 (SINGLE_THREAD_P_PIC): Remove.
10942 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10943 branch to syscall error ...
10944 (PSEUDO): ... here.
10945 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10946 from __local_syscall_error to .Lsyscall_error.
10947 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10948 (SYSCALL_ERROR): Update label name.
10950 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10951 Do not use DOARGS/UNDOARGS.
10952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10953 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10954 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10955 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10956 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10958 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10961 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10962 define if !NOT_IN_libc.
10963 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10964 define with non-default symbol versions.
10966 2014-05-23 Richard Henderson <rth@twiddle.net>
10968 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10969 (vfork, __vfork): Define via compat_symbol.
10971 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10972 [!HAVE_IFUNC] (vfork_compat): Remove.
10973 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10975 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10978 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10979 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10982 2014-05-23 Richard Henderson <rth@twiddle.net>
10984 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10985 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10986 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10987 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10989 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10990 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10991 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10992 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10993 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10994 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10995 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10996 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10997 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10998 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10999 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11000 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11001 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11002 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11003 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11004 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11006 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11007 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11008 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11009 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11010 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11012 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11013 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11014 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11015 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11016 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11017 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11018 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11020 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11021 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11022 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11023 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11024 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11025 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11026 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11028 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11029 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11030 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11031 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11032 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11033 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11034 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11036 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11037 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11038 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11039 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11040 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11041 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11042 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11043 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11044 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11046 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11047 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11048 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11049 before exiting on error.
11050 (__libc_vfork): New strong alias.
11051 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11052 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11054 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11055 that was previously under [RESET_PID].
11056 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11058 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11060 2014-05-23 Joseph Myers <joseph@codesourcery.com>
11063 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11064 value when x - 1 is zero.
11065 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11066 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11067 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11068 0.0L for an argument of 1.0L.
11069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11071 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11072 value when x - 1 is zero.
11073 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11074 * sysdeps/i386/fpu/libm-test-ulps: Update.
11075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11077 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11079 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11080 alphasort and versionsort.
11082 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11084 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11086 [copysignf]: Likewise.
11088 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11090 * crypt/md5-crypt.c: Fix formatting.
11092 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11094 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11095 (b64_from_24bit): New function.
11097 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11100 libc_hidden_builtin_def to ifunc.
11101 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11102 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11104 2014-05-21 Roland McGrath <roland@hack.frob.com>
11106 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11107 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11109 2014-05-21 Joseph Myers <joseph@codesourcery.com>
11111 * nscd/Depend (linuxthreads): Remove.
11113 * resolv/Depend (linuxthreads): Remove.
11114 * rt/Depend (linuxthreads): Remove.
11116 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11117 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11118 $(common-objpfx)elf/.
11119 (link-libc-before-gnulib): Likewise.
11120 (elfobjdir): Remove variable.
11121 * Makefile (install): Use $(elf-objpfx) instead of
11122 $(common-objpfx)elf/.
11123 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11125 (link-libc-deps): Likewise.
11126 ($(common-objpfx)libc.so): Likewise.
11127 ($(common-objpfx)linkobj/libc.so): Likewise.
11128 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11129 instead of $(common-objpfx)elf/.
11130 (symbolic-link-list): Likewise.
11131 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11132 [$(cross-compiling) = no]: Likewise.
11133 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11135 (static-gnulib-arch): Likewise.
11136 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11137 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11138 $(common-objpfx)elf/.
11140 2014-05-21 Richard Henderson <rth@redhat.com>
11142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11143 (SINGLE_THREAD_P): Use the correct width load. Fold
11144 into the ldr offset.
11146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11147 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11149 2014-05-20 Joseph Myers <joseph@codesourcery.com>
11151 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11152 (libgcc_s_resume): Use __attribute_used__.
11153 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11156 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11158 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11159 optimization when used with float constants.
11161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11163 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11166 * locale/nl_langinfo_l.c: Make direct reference to every
11167 _nl_current_CATEGORY symbol.
11168 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11169 (tests-static): Add tst-langinfo-static.
11170 (tests-special): Add tst-langinfo-static.out.
11171 ($(objpfx)tst-langinfo.out): Redirect output.
11172 ($(objpfx)tst-langinfo-static.out): New.
11173 * localedata/tst-langinfo.sh: Send output to stdout.
11174 * localedata/tst-langinfo-static.c: New file.
11177 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11178 when the shift amount is modulo the limb size.
11180 2014-05-20 Richard Henderson <rth@redhat.com>
11183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11184 Change type of sa_flags from unsigned int to int.
11187 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11189 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11191 2014-05-20 Will Newton <will.newton@linaro.org>
11193 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11194 Test the return value of the system call in the nocancel case.
11196 2014-05-20 Will Newton <will.newton@linaro.org>
11197 Yvan Roux <yvan.roux@linaro.org>
11199 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11200 #include of asm/ptrace.h.
11201 (PTRACE_GET_THREAD_AREA): Remove #undef.
11202 (PTRACE_GETHBPREGS): Likewise.
11203 (PTRACE_SETHBPREGS): Likewise.
11204 (struct user_regs_struct): New structure.
11205 (struct user_fpsimd_struct): New structure.
11206 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11207 #include of asm/ptrace.h and second #include of sys/user.h.
11208 (PTRACE_GET_THREAD_AREA): Remove #undef.
11209 (PTRACE_GETHBPREGS): Likewise.
11210 (PTRACE_SETHBPREGS): Likewise.
11211 (ELF_NGREG): Use new struct user_regs_struct.
11212 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11214 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11219 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11223 membar to avoid block loads/stores to overlap previous stores.
11225 2014-05-17 Richard Henderson <rth@redhat.com>
11227 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11228 Create the __##syscall_name##_nocancel entry point.
11229 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11230 Remove; let the sysdep-cancel.h code create it.
11232 2014-05-17 David S. Miller <davem@davemloft.net>
11234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11235 Protect with __USE_GNU.
11236 (TIOCSET_TEMPT): Likewise.
11237 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11238 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11239 these are already provided in bits/ioctl-types.h
11241 2014-05-16 Roland McGrath <roland@hack.frob.com>
11243 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11244 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11246 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11247 Use wait4 regardless of [__NR_waitpid].
11249 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11252 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11253 (_FP_NANSIGN_Q): Set the quiet bit.
11255 2014-05-16 Joseph Myers <joseph@codesourcery.com>
11257 * benchtests/Makefile
11258 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11259 not $(common-objpfx)math/libm.so.
11260 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11261 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11262 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11263 $(common-objpfx)dlfcn/libdl.so.
11264 ($(objpfx)tst-audit8): Depend on $(libm), not
11265 $(common-objpfx)math/libm.so.
11266 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11267 not $(common-objpfx)dlfcn/libdl.so.
11269 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11270 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11271 [$(build-shared) = yes].
11272 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11273 $(common-objpfx)nptl/libpthread.so.
11274 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11275 $(common-objpfx)math/libm.so$(libm.so-version) or
11276 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11277 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11278 $(common-objpfx)dlfcn/libdl.so.
11279 * setjmp/Makefile (link-libm): Remove variable.
11280 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11281 * stdio-common/Makefile (link-libm): Remove variable.
11282 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11283 * stdlib/Makefile (link-libm): Remove variable.
11284 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11285 ($(objpfx)tst-strtod-round): Likewise.
11286 ($(objpfx)tst-tininess): Likewise.
11287 ($(objpfx)tst-strtod-underflow): Likewise.
11288 ($(objpfx)tst-strtod6): Likewise.
11289 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11290 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11291 $(common-objpfx)dlfcn/libdl.so.
11293 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11296 BSD terminal modes definitions.
11298 2014-05-16 Roland McGrath <roland@hack.frob.com>
11300 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11301 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11303 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11304 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11305 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11306 Don't do #include_next.
11307 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11308 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11309 Don't do #include_next.
11310 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11311 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11312 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11313 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11315 2014-05-16 Allan McRae <allan@archlinux.org>
11317 * po/sv.po: Update Swedish translation from translation project.
11319 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11322 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11325 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11326 errno if the TIOCGPTN ioctl fails with an error different than
11328 * login/tst-ptsname.c: New file.
11329 * login/Makefile (tests): Add tst-ptsname.
11332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11335 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11339 herrno to return EAI_AGAIN.
11341 2014-05-14 Roland McGrath <roland@hack.frob.com>
11343 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11344 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11345 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11346 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11347 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11348 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11349 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11350 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11351 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11352 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11353 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11354 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11355 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11356 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11357 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11358 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11359 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11360 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11361 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11362 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11363 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11364 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11365 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11366 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11367 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11368 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11369 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11370 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11371 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11372 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11374 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11376 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11379 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11381 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11383 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11385 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11387 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11389 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11391 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11393 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11395 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11397 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11399 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11401 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11403 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11405 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11408 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11410 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11414 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11416 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11418 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11420 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11422 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11424 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11426 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11429 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11431 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11433 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11434 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11435 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11436 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11437 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11438 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11439 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11441 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11443 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11445 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11447 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11449 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11450 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11451 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11452 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11453 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11454 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11455 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11457 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11458 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11459 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11461 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11462 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11463 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11465 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11466 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11468 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11469 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11470 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11471 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11472 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11473 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11475 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11478 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11481 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11482 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11484 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11486 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11489 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11490 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11491 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11493 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11494 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11495 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11496 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11498 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11503 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11504 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11505 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11506 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11507 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11509 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11513 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11514 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11515 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11516 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11517 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11518 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11520 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11521 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11523 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11526 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11527 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11529 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11530 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11531 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11532 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11534 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11535 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11536 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11538 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11539 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11540 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11541 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11543 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11548 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11549 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11550 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11551 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11552 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11554 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11558 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11559 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11560 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11561 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11562 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11563 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11564 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11565 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11566 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11567 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11569 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11570 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11572 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11573 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11575 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11576 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11578 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11579 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11580 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11581 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11582 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11583 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11585 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11586 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11587 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11588 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11589 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11590 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11591 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11594 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11599 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11600 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11602 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11605 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11607 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11609 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11610 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11611 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11612 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11613 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11615 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11616 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11617 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11618 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11619 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11621 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11622 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11624 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11625 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11627 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11628 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11629 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11630 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11631 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11632 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11633 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11634 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11635 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11636 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11637 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11638 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11639 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11640 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11641 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11642 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11643 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11646 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11647 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11648 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11649 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11651 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11653 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11655 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11660 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11667 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11669 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11670 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11671 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11672 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11673 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11674 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11675 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11676 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11677 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11678 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11679 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11681 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11682 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11683 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11684 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11685 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11687 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11688 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11689 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11690 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11691 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11692 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11693 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11694 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11695 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11696 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11698 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11699 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11701 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11702 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11703 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11704 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11705 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11706 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11707 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11708 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11709 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11710 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11711 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11712 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11713 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11714 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11739 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11741 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11742 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11743 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11744 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11745 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11746 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11747 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11748 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11749 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11751 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11752 that was previously under [RESET_PID].
11753 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11754 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11755 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11757 * sysdeps/i386/nptl/Implies: New file.
11758 * sysdeps/x86_64/nptl/Implies: New file.
11759 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11760 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11762 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11764 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11765 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11766 (__libc_vfork): New strong alias.
11767 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11768 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11770 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11771 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11772 (__libc_vfork): New strong alias.
11773 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11774 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11776 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11777 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11778 (__libc_vfork): New strong alias.
11779 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11780 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11781 * nptl/pt-vfork.c: New file.
11782 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11783 (libpthread: GLIBC_2.20): New version set (empty).
11785 2014-05-14 Will Newton <will.newton@linaro.org>
11787 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11790 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11793 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11794 arguments with exponent 65 or above.
11795 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11796 arguments 0x1p113L or above.
11797 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11798 to arguments 0x1p107L or above.
11799 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11800 positive arguments with exponent 65 or above.
11801 * math/auto-libm-test-in: Add more tests of log1p.
11802 * math/auto-libm-test-out: Regenerated.
11805 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11806 non-finite arguments is +0.
11807 * math/s_cacosf.c (__cacosf): Likewise.
11808 * math/s_cacosl.c (__cacosl): Likewise.
11809 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11810 * sysdeps/i386/fpu/libm-test-ulps: Update.
11811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11814 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11816 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11817 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11818 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11819 for explicit high bit of mantissa when testing for argument equal
11821 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11822 * sysdeps/i386/fpu/libm-test-ulps: Update.
11823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11827 (__erf): Scale by 16 instead of 8 in potentially underflowing
11828 case. Ensure exception if result actually underflows.
11829 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11830 (__erff): Scale by 16 instead of 8 in potentially underflowing
11831 case. Ensure exception if result actually underflows.
11832 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11833 (efx8): Remove variable.
11834 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11835 case. Ensure exception if result actually underflows.
11836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11837 (efx8): Remove variable.
11838 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11839 case. Ensure exception if result actually underflows.
11840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11841 (efx8): Remove variable.
11842 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11843 case. Ensure exception if result actually underflows.
11844 * math/auto-libm-test-in: Add more tests of erf.
11845 * math/auto-libm-test-out: Regenerated.
11847 2014-05-14 Andreas Schwab <schwab@suse.de>
11849 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11850 Remove code conditionalized on USE___THREAD.
11852 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11853 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11856 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11858 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11859 Define unconditionally.
11860 (__ASSUME_O_CLOEXEC): Likewise.
11861 (__ASSUME_SOCK_CLOEXEC): Likewise.
11862 (__ASSUME_IN_NONBLOCK): Likewise.
11863 (__ASSUME_PIPE2): Likewise.
11864 (__ASSUME_EVENTFD2): Likewise.
11865 (__ASSUME_SIGNALFD4): Likewise.
11866 (__ASSUME_DUP3): Likewise.
11867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11868 (__ASSUME_DUP3): Do not define.
11869 (__ASSUME_EVENTFD2): Likewise.
11870 (__ASSUME_IN_NONBLOCK): Likewise.
11871 (__ASSUME_O_CLOEXEC): Likewise.
11872 (__ASSUME_PIPE2): Likewise.
11873 (__ASSUME_SIGNALFD4): Likewise.
11874 (__ASSUME_SOCK_CLOEXEC): Likewise.
11875 (__ASSUME_UTIMES): Undefine.
11876 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11877 (__ASSUME_UTIMES): Do not define.
11878 (__ASSUME_O_CLOEXEC): Likewise.
11879 (__ASSUME_SOCK_CLOEXEC): Likewise.
11880 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11881 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11883 (__ASSUME_PIPE2): Likewise.
11884 (__ASSUME_EVENTFD2): Likewise.
11885 (__ASSUME_SIGNALFD4): Likewise.
11886 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11887 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11889 (__ASSUME_EVENTFD2): Likewise.
11890 (__ASSUME_SIGNALFD4): Likewise.
11891 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11892 (__ASSUME_32BITUIDS): Likewise.
11893 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11894 (__ASSUME_IPC64): Likewise.
11895 (__ASSUME_ST_INO_64_BIT): Likewise.
11896 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11897 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11898 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11899 (__ASSUME_UTIMES): Do not define.
11900 (__ASSUME_PSELECT): Likewise.
11901 (__ASSUME_PPOLL): Likewise.
11902 (__ASSUME_O_CLOEXEC): Likewise.
11903 (__ASSUME_SOCK_CLOEXEC): Likewise.
11904 (__ASSUME_IN_NONBLOCK): Likewise.
11905 (__ASSUME_PIPE2): Likewise.
11906 (__ASSUME_EVENTFD2): Likewise.
11907 (__ASSUME_SIGNALFD4): Likewise.
11908 (__ASSUME_DUP3): Likewise.
11909 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11910 (__ASSUME_UTIMES): Likewise.
11911 (__ASSUME_O_CLOEXEC): Likewise.
11912 (__ASSUME_SOCK_CLOEXEC): Likewise.
11913 (__ASSUME_IN_NONBLOCK): Likewise.
11914 (__ASSUME_PIPE2): Likewise.
11915 (__ASSUME_EVENTFD2): Likewise.
11916 (__ASSUME_SIGNALFD4): Likewise.
11917 (__ASSUME_DUP3): Likewise.
11918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11919 (__ASSUME_UTIMES): Likewise.
11920 (__ASSUME_O_CLOEXEC): Likewise.
11921 (__ASSUME_SOCK_CLOEXEC): Likewise.
11922 (__ASSUME_IN_NONBLOCK): Likewise.
11923 (__ASSUME_PIPE2): Likewise.
11924 (__ASSUME_EVENTFD2): Likewise.
11925 (__ASSUME_SIGNALFD4): Likewise.
11926 (__ASSUME_DUP3): Likewise.
11927 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11929 (__ASSUME_UTIMES): Likewise.
11930 (__ASSUME_EVENTFD2): Likewise.
11931 (__ASSUME_SIGNALFD4): Likewise.
11932 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11933 (__ASSUME_O_CLOEXEC): Likewise.
11934 (__ASSUME_SOCK_CLOEXEC): Likewise.
11935 (__ASSUME_IN_NONBLOCK): Likewise.
11936 (__ASSUME_PIPE2): Likewise.
11937 (__ASSUME_EVENTFD2): Likewise.
11938 (__ASSUME_SIGNALFD4): Likewise.
11939 (__ASSUME_DUP3): Likewise.
11940 (__ASSUME_UTIMES): Undefine.
11942 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11943 feclearexcept. Remove symbol versioning code.
11944 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11945 symbol versioning code.
11946 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11947 symbol versioning code.
11948 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11949 feupdateenv. Remove symbol versioning code.
11950 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11951 fegetexceptflag. Remove symbol versioning code.
11952 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11953 fesetexceptflag. Remove symbol versioning code.
11954 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11955 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11956 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11957 (__posix_fadvise64_l32): Remove prototype.
11958 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11961 2014-05-13 Roland McGrath <roland@hack.frob.com>
11963 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11964 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11965 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11966 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11968 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11970 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11971 current working directory
11973 2014-05-13 Roland McGrath <roland@hack.frob.com>
11975 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11976 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11977 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11978 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11979 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11980 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11981 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11982 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11983 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11984 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11985 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11986 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11987 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11988 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11989 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11990 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11991 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11992 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11993 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11994 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11996 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11997 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11998 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11999 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12000 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12001 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12002 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12003 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12004 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12005 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12006 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12007 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12008 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12009 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12010 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12011 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12012 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12013 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12014 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12015 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12016 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12018 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12019 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12021 * sysdeps/unix/sysv/linux/arm/Makefile
12022 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12023 Add rt-aeabi_unwind_cpp_pr1.
12024 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12025 Add nptl-aeabi_unwind_cpp_pr1.
12026 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12027 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12028 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12029 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12030 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12031 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12033 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12034 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12035 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12036 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12038 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12039 Deconditionalize the code that was previously under [RESET_PID].
12040 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12042 * sysdeps/generic/exit-thread.h: New file.
12043 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12044 * include/unistd.h (__exit_thread): Remove declaration.
12045 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12046 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12047 * csu/libc-start.c: Include <exit-thread.h>.
12048 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12049 * nptl/pthread_create.c: Include <exit-thread.h>.
12050 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12051 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12052 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12053 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12054 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12055 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12056 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12057 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12058 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12059 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12060 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12061 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12062 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12063 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12064 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12065 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12066 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12068 2014-05-13 Andreas Schwab <schwab@suse.de>
12070 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12072 2014-05-12 Joseph Myers <joseph@codesourcery.com>
12074 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12075 (__ASSUME_UTIMES): Do not condition on kernel version.
12076 (__ASSUME_PSELECT): Define unconditionally.
12077 (__ASSUME_PPOLL): Likewise.
12078 (__ASSUME_ATFCTS): Likewise.
12079 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12080 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12081 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12082 (__ASSUME_UTIMENSAT): Define unconditionally.
12083 (__ASSUME_PRIVATE_FUTEX): Likewise.
12084 (__ASSUME_FALLOCATE): Likewise.
12085 (__ASSUME_O_CLOEXEC): Likewise.
12086 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12087 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12088 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12089 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12090 (__ASSUME_IN_NONBLOCK): Likewise.
12091 (__ASSUME_PIPE2): Likewise.
12092 (__ASSUME_EVENTFD2): Likewise.
12093 (__ASSUME_SIGNALFD4): Likewise.
12094 (__ASSUME_DUP3): Likewise.
12095 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12096 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12097 (__ASSUME_AT_RANDOM): Likewise.
12098 (__ASSUME_PREADV): Likewise.
12099 (__ASSUME_PWRITEV): Likewise.
12100 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12101 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12102 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12103 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12104 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12105 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12106 (__ASSUME_O_CLOEXEC): Define unconditionally.
12107 (__ASSUME_PSELECT): Do not undefine conditionally.
12108 (__ASSUME_PPOLL): Likewise.
12109 (__ASSUME_ATFCTS): Likewise.
12110 (__ASSUME_SET_ROBUST_LIST): Likewise.
12111 (__ASSUME_UTIMENSAT): Likewise.
12112 (__ASSUME_FDATASYNC): Define unconditionally.
12113 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12114 (__ASSUME_SIGFRAME_V2): Likewise.
12115 )__ASSUME_EVENTFD2): Likewise.
12116 (__ASSUME_SIGNALFD4): Likewise.
12117 (__ASSUME_PSELECT): Do not undefine conditionally.
12118 (__ASSUME_PPOLL): Likewise.
12119 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12120 (__ASSUME_PSELECT): Define unconditionally.
12121 (__ASSUME_PPOLL): Likewise.
12122 (__ASSUME_O_CLOEXEC): Likewise.
12123 (__ASSUME_SOCK_CLOEXEC): Likewise.
12124 (__ASSUME_IN_NONBLOCK): Likewise.
12125 (__ASSUME_PIPE2): Likewise.
12126 (__ASSUME_EVENTFD2): Likewise.
12127 (__ASSUME_SIGNALFD4): Likewise.
12128 (__ASSUME_DUP3): Likewise.
12129 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12130 (__ASSUME_O_CLOEXEC): Likewise.
12131 (__ASSUME_SOCK_CLOEXEC): Likewise.
12132 (__ASSUME_IN_NONBLOCK): Likewise.
12133 (__ASSUME_PIPE2): Likewise.
12134 (__ASSUME_EVENTFD2): Likewise.
12135 (__ASSUME_SIGNALFD4): Likewise.
12136 (__ASSUME_DUP3): Likewise.
12137 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12138 (__ASSUME_EVENTFD2): Likewise.
12139 (__ASSUME_SIGNALFD4): Likewise.
12140 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12142 2014-05-12 Andreas Schwab <schwab@suse.de>
12145 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12146 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12147 than maximum RPC packet size.
12148 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12149 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12150 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12151 (_nss_nis_getservbyport_r): Likewise.
12153 2014-05-12 Will Newton <will.newton@linaro.org>
12155 * malloc/Makefile (tests): Add tst-mallopt.
12156 * malloc/tst-mallopt.c: New file.
12158 2014-05-09 Roland McGrath <roland@hack.frob.com>
12160 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12161 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12163 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12165 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12166 (tst-tlsmod6.so): Likewise.
12168 2014-05-09 Roland McGrath <roland@hack.frob.com>
12170 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12172 2014-05-09 Joseph Myers <joseph@codesourcery.com>
12175 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12176 and <dl-procinfo.h>.
12177 (__fegetenv): Save SSE state in envp->__eip if supported.
12178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12179 envp->__eip if supported.
12180 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12181 and <dl-procinfo.h>.
12182 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12183 __data_offset and __data_selector in environment to 0. Set SSE
12184 state if supported.
12185 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12187 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12189 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12191 2014-05-09 Will Newton <will.newton@linaro.org>
12193 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12194 and libc_relro_required for ARM.
12195 * sysdeps/arm/preconfigure: Regenerate.
12197 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12198 Stefan Liebler <stli@linux.vnet.ibm.com>
12200 * config.make.in (enable-lock-elision): New Makefile variable.
12201 * configure.ac: Likewise.
12202 * configure: Regenerate.
12203 * sysdeps/s390/configure.ac:
12204 Add check for gcc transactions support.
12205 * sysdeps/s390/configure: Regenerate.
12206 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12207 Build elision files if enabled.
12208 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12209 Add lock elision support for s390.
12210 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12211 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12212 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12213 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12214 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12215 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12216 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12218 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12220 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12222 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12224 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12225 (__lll_timedlock_elision, __lll_lock_elision)
12226 (__lll_unlock_elision, __lll_trylock_elision)
12227 (lll_timedlock_elision, lll_lock_elision)
12228 (lll_unlock_elision, lll_trylock_elision): Add.
12229 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12230 (pthread_mutex_t): Add lock elision support for s390.
12232 2014-05-14 Wilco <wdijkstr@arm.com>
12234 * sysdeps/arm/fclrexcpt.c: Cleanup.
12235 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12236 * sysdeps/arm/feenablxcpt.c: Cleanup.
12237 * sysdeps/arm/fegetenv.c: Cleanup.
12238 * sysdeps/arm/fegetexcept.c: Cleanup.
12239 * sysdeps/arm/fegetround.c: Cleanup.
12240 * sysdeps/arm/feholdexcpt.c: Cleanup.
12241 * sysdeps/arm/fesetenv.c: Cleanup.
12242 * sysdeps/arm/fesetround.c: Cleanup.
12243 * sysdeps/arm/feupdateenv.c: Cleanup.
12244 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12245 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12246 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12247 * sysdeps/arm/ftestexcept.c: Cleanup.
12248 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12249 * sysdeps/arm/setfpucw.c: Cleanup.
12251 2014-05-09 Will Newton <will.newton@linaro.org>
12253 * sysdeps/arm/armv7/strcmp.S: New file.
12254 * NEWS: Mention addition of ARMv7 optimized strcmp.
12256 2014-05-08 Roland McGrath <roland@hack.frob.com>
12258 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12259 look for %.ac rather than %.in.
12261 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12262 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12263 * sysdeps/mach/hurd/configure: Regenerated.
12264 * sysdeps/unix/sysv/linux/configure: Regenerated.
12266 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12268 2014-05-07 Steve Ellcey <sellcey@mips.com>
12271 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12275 2014-05-07 Andreas Schwab <schwab@suse.de>
12277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12278 when skipping over non-matching result from nscd.
12280 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
12283 * nptl/sockperf.c (client): Check socket return value.
12286 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12287 nscd security class.
12289 2014-05-06 Roland McGrath <roland@hack.frob.com>
12291 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12292 * sysdeps/arm/unwind.h: ... here.
12294 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12297 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12300 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12302 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12303 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12304 multiarch strncpy for PPC64.
12305 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12306 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12308 multiarch optimizations.
12309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12310 (__libc_ifunc_impl_list): Likewise.
12311 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12312 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12313 multiarch stpncpy for PPC64.
12314 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12315 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12317 2014-05-06 Andreas Schwab <schwab@suse.de>
12320 * gmon/mcount.c (_MCOUNT_DECL): Use
12321 atomic_compare_and_exchange_bool_acq instead of
12322 catomic_compare_and_exchange_bool_acq.
12324 2014-05-05 Roland McGrath <roland@hack.frob.com>
12326 * elf/Makefile (others, install-bin): Remove pldd.
12327 (pldd-modules): Variable removed.
12328 ($(objpfx)pldd): Target removed.
12329 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12330 (others, install-bin): Append pldd here.
12331 ($(objpfx)pldd): New target.
12333 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12334 to 0, so the first #if test emitted later doesn't see it undefined.
12335 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12336 * sysdeps/gnu/errlist.c: Regenerated.
12338 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12340 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12341 [libc_hidden_builtin_def]: Define to empty value.
12342 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12343 [libc_hidden_builtin_def]: Likewise.
12344 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12345 [libc_hidden_builtin_def]: Likewise.
12346 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12347 [libc_hidden_builtin_def]: Likewise.
12348 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12349 __redirect_memcpy and define ifunc as default hidden symbol.
12350 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12351 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12353 2014-05-04 Adam Conrad <adconrad@0c3.net>
12355 * locale/iso-4217.def: Reintroduce XDR currency.
12357 2014-05-04 Allan McRae <allan@archlinux.org>
12359 * po/eo.po: Update Esperanto translation from translation project.
12361 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12363 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12364 and FEATURE_INDEX_MAX to 1.
12365 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12367 2014-05-01 Steve Ellcey <sellcey@mips.com>
12369 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12370 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12371 * iconvdata/big5.c (ONE_DIRECTION): Define.
12372 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12373 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12374 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12375 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12376 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12377 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12378 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12379 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12380 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12381 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12382 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12383 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12384 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12385 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12386 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12387 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12388 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12389 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12390 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12391 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12392 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12393 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12394 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12395 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12396 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12397 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12398 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12399 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12400 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12401 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12402 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12403 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12404 * iconvdata/johab.c (ONE_DIRECTION): Define.
12405 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12406 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12407 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12408 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12409 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12410 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12411 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12412 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12413 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12414 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12416 2014-05-01 Roland McGrath <roland@hack.frob.com>
12418 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12419 (_IO_JUMPS_OFFSET): Define to 0.
12421 * nptl/sysdeps/pthread/bits/libc-lock.h
12422 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12423 (__libc_lock_define_initialized_recursive): Always define using
12424 initializer. Modern compilers treat uninitialized (implicit zero) and
12425 explicit zero initializers the same (i.e. put the datum in bss).
12427 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12429 * nscd/nscd-client.h: Include <string.h>.
12431 2014-05-01 David S. Miller <davem@davemloft.net>
12434 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12435 multiple zero bytes exist at the end of a string.
12436 Reported by Aurelien Jarno <aurelien@aurel32.net>
12438 * string/test-strcmp.c (check): Add explicit test for situations where
12439 there are multiple zero bytes after the first.
12441 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12444 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12445 when compiling wprintf.
12446 * stdio-common/tstdiomisc.c (t3): New function.
12449 2014-05-01 Steve Ellcey <sellcey@mips.com>
12451 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12452 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12453 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12454 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12456 2014-05-01 Steve Ellcey <sellcey@mips.com>
12458 * stdlib/longlong.h: Updated from GCC.
12460 2014-05-01 Will Newton <will.newton@linaro.org>
12461 Bernard Ogden <bernie.ogden@linaro.org>
12463 * NEWS: Update fixed bug list.
12466 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12468 2014-04-30 David S. Miller <davem@davemloft.net>
12470 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12471 (libc_feholdexcept_setround_sparc_ctx): New function.
12472 (libc_fesetenv_sparc_ctx): Likewise.
12473 (libc_feupdateenv_sparc_ctx): Likewise.
12474 (libc_feholdsetround_sparc_ctx): Likewise.
12475 (libc_feholdexcept_setround_ctx): Define.
12476 (libc_feholdexcept_setroundf_ctx): Likewise.
12477 (libc_feholdexcept_setroundl_ctx): Likewise.
12478 (libc_fesetenv_ctx): Likewise.
12479 (libc_fesetenvf_ctx): Likewise.
12480 (libc_fesetenvl_ctx): Likewise.
12481 (libc_feupdateenv_ctx): Likewise.
12482 (libc_feupdateenvf_ctx): Likewise.
12483 (libc_feupdateenvl_ctx): Likewise.
12484 (libc_feresetround_ctx): Likewise.
12485 (libc_feresetroundf_ctx): Likewise.
12486 (libc_feresetroundl_ctx): Likewise.
12487 (libc_feholdsetround_ctx): Likewise.
12488 (libc_feholdsetroundf_ctx): Likewise.
12489 (libc_feholdsetroundl_ctx): Likewise.
12491 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12492 with __USE_GNU instead of XOPEN cpp guards.
12494 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12498 with XOPEN cpp guards.
12500 2014-04-30 Julian Brown <julian@codesourcery.com>
12503 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12506 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12509 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12511 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12512 * sysdeps/unix/sysv/linux/configure: Regenerated.
12513 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12514 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12515 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12516 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12517 * README: Update reference to required Linux kernel version.
12518 * manual/install.texi (Linux): Update reference to required Linux
12519 kernel headers version.
12520 * INSTALL: Regenerated.
12522 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12524 [POSIX] (limits.h): Likewise.
12525 [POSIX] (math.h): Likewise.
12526 [POSIX] (sys/wait.h): Likewise.
12527 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12529 [POSIX] (stddef.h): Do not allow header inclusion.
12531 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12533 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12535 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12537 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12538 Return immediately after lll_futex_wake.
12540 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12543 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12545 (datahead_init_pos): Call datahead_init_common early.
12546 (datahead_init_neg): Likewise.
12548 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12549 datahead_init_neg): New functions.
12550 * nscd/aicache.c (addhstaiX): Use them.
12551 * nscd/grpcache.c (cache_addgr): Likewise.
12552 * nscd/hstcache.c (cache_addhst): Likewise.
12553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12554 * nscd/netgroupcache.c (do_notfound): Likewise.
12555 (addgetnetgrentX): Likewise.
12556 (addinnetgrX): Likewise.
12557 * nscd/pwdcache.c (cache_addpw): Likewise.
12558 * nscd/servicescache.c (cache_addserv): Likewise.
12560 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12561 Atsushi Onoe <atsushi@onoe.org>
12566 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12567 one response is valid.
12568 * resolv/res_send.c (send_dg): Check for validity of other
12569 response if the current response is a referral.
12571 2014-04-29 Steve Ellcey <sellcey@mips.com>
12573 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12575 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12578 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12579 Always divide by positive zero when computing -Inf result.
12580 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12581 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12583 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12586 FPSCR if value do not change.
12587 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12588 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12589 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12590 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12591 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12592 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12595 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12597 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12598 * sysdeps/unix/sysv/linux/hppa: Move directory from
12599 ports/systeps/unix/sysv/linux/hppa.
12600 * README: Update listing for hppa-*-linux-gnu.
12602 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12605 * manual/stdio.texi (Hook functions): Fix types of stream hook
12608 * socket/sys/socket.h: Fix typo in comment.
12610 2014-04-28 Wilco <wdijkstr@arm.com>
12612 * sysdeps/arm/fenv_private.h: New file.
12613 * sysdeps/arm/math_private.h: New file.
12614 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12616 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12618 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12620 (La_x86_64_retval): Likewise.
12622 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12624 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12625 fpsr if value didn't change.
12626 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12627 to fpcr if value didn't change.
12628 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12629 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12630 fpsr or fpcr if value didn't change.
12631 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12632 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12633 fpcr if value didn't change.
12634 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12635 to fpsr if value didn't change.
12637 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12639 * nptl/tst-sem3.c: Use test-skeleton.c
12640 (main): Rename to do_test. Use return instead of
12642 * nptl/tst-sem4.c: Use test-skeleton.c
12643 (main): Rename to do_test.
12645 2014-04-22 David S. Miller <davem@davemloft.net>
12647 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12648 (struct sigaction): New struct member __glibc_reserved0, change
12649 type of sa_flags to int.
12651 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12653 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12654 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12656 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12658 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12659 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12661 2014-04-22 Will Newton <will.newton@linaro.org>
12662 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12664 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12665 (__longjmp): Add longjmp and longjmp_target SystemTap
12667 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12668 (__sigsetjmp): Add setjmp SystemTap probe.
12670 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12672 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12673 match manual order.
12675 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12677 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12679 * sysdeps/powerpc/fpu/fenv_private.h
12680 (libc_feholdexcept_setroundl_ctx): Define to
12681 libc_feholdexcept_setround_ppc_ctx.
12682 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12683 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12684 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12685 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12687 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12689 * sysdeps/aarch64/math-tests.h: New file.
12691 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12693 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12696 Check and set bit_AVX2_Usable.
12697 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12699 (bit_AVX2): Likewise.
12700 (index_AVX2_Usable): Likewise.
12701 (CPUID_AVX2): Likewise.
12702 (HAS_AVX2): Likewise.
12704 2014-04-17 Will Newton <will.newton@linaro.org>
12706 * manual/setjmp.texi (System V contexts): Add note that
12707 calling setcontext on a context created by a call to a
12708 signal handler is undefined. Update text to note that
12709 setcontext from a signal handler is possible but not
12713 * stdlib/tst-setcontext.c: Include signal.h.
12714 (main): Check that the signal stack before and
12715 after swapcontext is the same.
12717 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12718 Re-implement to restore registers in user code and avoid
12719 rt_sigreturn system call.
12721 2014-04-17 Wilco <wdijkstr@arm.com>
12723 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12724 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12725 * math/test-fenv.c: Skip exception trap tests on targets which only
12726 support non-stop mode.
12728 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12729 Wilco Dijkstra <wilco.dijkstra@arm.com>
12731 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12732 (libc_feholdsetround_aarch64_ctx)
12733 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12734 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12735 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12736 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12737 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12738 (libc_feresetround_noexl_ctx): Define.
12740 2014-04-16 Richard Henderson <rth@redhat.com>
12742 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12744 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12747 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12748 const from the non-libc, non-ldso copy.
12750 * sysdeps/alpha/libm-test-ulps: Regenerate.
12752 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12753 Wilco Dijkstra <wilco.dijkstra@arm.com>
12755 * sysdeps/aarch64/fpu/math_private.h: New file.
12757 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12759 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12761 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12764 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12765 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12766 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12767 Intel MPX bound registers before _dl_profile_fixup.
12768 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12769 registers after _dl_profile_fixup. Save and restore bound
12770 registers bnd0/bnd1 when calling _dl_call_pltexit.
12771 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12772 (LR_BND_OFFSET): Likewise.
12773 (LRV_BND0_OFFSET): Likewise.
12774 (LRV_BND1_OFFSET): Likewise.
12776 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12778 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12780 * sysdeps/mach/hurd/i386/tls.h: ... here.
12781 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12782 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12785 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12787 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12789 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12791 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12793 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12796 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12797 * sysdeps/s390/configure: Regenerate.
12800 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12801 Set round-to-nearest internally to reduce error accumulation.
12803 2014-04-16 Alan Modra <amodra@gmail.com>
12807 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12808 * math/libm-test.inc (frexp_test_data): Add tests.
12809 * NEWS: Update fixed bug list.
12811 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12813 * benchtests/Makefile: Depend on libraries in build directory.
12814 (bench-math): Separate out math tests.
12815 (bench-pthread): Separate out pthread tests.
12816 (bench): Include math and pthread tests.
12818 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12821 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12822 _dl_debug_initialize.
12824 * configure.ac: Remove SELinux header check.
12825 * configure: Regenerate.
12826 * nscd/selinux.c (perms): Array of const char* to permission names.
12827 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12828 default policy. Call string_to_security_class and string_to_av_perm to
12829 translate strings. Enforce default policy and call avs_has_perm with
12830 results of translated strings.
12832 2014-04-13 David S. Miller <davem@davemloft.net>
12834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12836 2014-04-12 Allan McRae <allan@archlinux.org>
12839 * manual/string.texi (Collation Functions): Fix qsort argument
12841 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12843 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12845 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12846 Make the test a no-op if there are no exceptions defined.
12848 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12850 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12851 enable-hardcoded-path-in-tests
12853 2014-04-11 Will Newton <will.newton@linaro.org>
12855 * benchtests/Makefile (extra-objs): Add json-lib.o.
12856 (bench-func): Tidy up JSON output.
12857 * benchtests/bench-skeleton.c: Include json-lib.h.
12858 (main): Use JSON library functions to do output of
12860 * benchtests/bench-timing-type.c (main): Output the
12861 timing type simply, leaving formatting to the user.
12862 * benchtests/json-lib.c: New file.
12863 * benchtests/json-lib.h: Likewise.
12865 2014-04-11 Torvald Riegel <triegel@redhat.com>
12868 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12869 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12870 memory barriers. Add comments.
12871 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12872 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12873 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12874 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12875 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12876 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12878 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12880 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12881 * sysdeps/s390/s390-64/configure.ac: ... this ...
12882 * sysdeps/s390/configure.ac: ... to here.
12883 * sysdeps/s390/s390-32/configure: Delete file.
12884 * sysdeps/s390/s390-64/configure: Delete file.
12885 * sysdeps/s390/configure: Regenerate.
12887 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12889 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12891 2014-04-11 Will Newton <will.newton@linaro.org>
12893 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12894 to zero if it is not defined elsewhere. (mtrim): Test
12895 the value of MALLOC_DEBUG with #if rather than #ifdef.
12897 2014-04-10 Torvald Riegel <triegel@redhat.com>
12899 * benchtests/pthread_once-inputs: New file.
12900 * benchtests/pthread_once-source.c: New file.
12901 * benchtests/README: Update documentation.
12903 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12904 H.J. Lu <hongjiu.lu@intel.com>
12907 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12908 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12909 * sysdeps/x86_64/configure: Regenerated.
12910 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12912 (REGISTER_SAVE_RAX): Likewise.
12913 (REGISTER_SAVE_RCX): Likewise.
12914 (REGISTER_SAVE_RDX): Likewise.
12915 (REGISTER_SAVE_RSI): Likewise.
12916 (REGISTER_SAVE_RDI): Likewise.
12917 (REGISTER_SAVE_R8): Likewise.
12918 (REGISTER_SAVE_R9): Likewise.
12919 (REGISTER_SAVE_BND0): Likewise.
12920 (REGISTER_SAVE_BND1): Likewise.
12921 (REGISTER_SAVE_BND2): Likewise.
12922 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12923 bound registers when calling _dl_fixup.
12925 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12927 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12928 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12930 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12931 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12932 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12933 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12934 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12935 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12936 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12938 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12941 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12942 pathconf(_PC_NAME_MAX).
12944 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12946 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12947 Remove macro usage.
12948 (__PTHREAD_SPINS): Move definition to ...
12949 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12950 (__PTHREAD_SPINS): ... here.
12951 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12952 (__PTHREAD_SPIN): Likewise.
12953 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12954 (__PTHREAD_SPIN): Likewise.
12955 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12956 (__PTHREAD_SPIN): Likewise.
12957 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12958 (__PTHREAD_SPIN): Likewise.
12959 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12960 (__PTHREAD_SPIN): Likewise.
12961 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12962 (__PTHREAD_SPIN): Likewise.
12963 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12964 (__PTHREAD_SPIN): Likewise.
12965 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12966 (__PTHREAD_SPIN): Likewise.
12967 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12968 (__PTHREAD_SPIN): Likewise.
12969 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12970 (__PTHREAD_SPIN): Likewise.
12971 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12972 (__PTHREAD_SPIN): Likewise.
12973 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12974 (__PTHREAD_SPIN): Likewise.
12976 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12977 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12978 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12979 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12981 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12982 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12983 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12984 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12985 correct imply path.
12986 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12987 strlen symbol for non multi-arch builds.
12988 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12989 missing hidden_def and weak_alias.
12991 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12993 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12995 2014-04-07 Will Newton <will.newton@linaro.org>
12997 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12998 and contents. [!_LIBC] Remove #ifndef and contents.
12999 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13000 * string/memccpy.c (__memccpy): Use ANSI prototype.
13001 * string/memfrob.c (memfrob): Likewise.
13002 * string/strcoll.c (STRCOLL): Likewise.
13003 * string/strlen.c (strlen): Likewise.
13004 * string/strtok.c (STRTOK): Likewise.
13005 * string/strcat.c: Remove unused #include of memcopy.h.
13006 (strcat): Use ANSI prototype.
13007 * string/strchr.c: Remove unused #include of memcopy.h.
13008 (strchr): Use ANSI prototype.
13009 * string/strcmp.c: Remove unused #include of memcopy.h.
13010 (strcmp): Use ANSI prototype.
13011 * string/strcpy.c: Remove unused #include of memcopy.h.
13012 (strcpy): Use ANSI prototype.
13014 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13016 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13017 * config.make.in (config-extra-cppflags): Set it from
13018 libc_extra_cppflags.
13019 * configure.ac (libc_extra_cflags): Make it accumulate over
13020 configure fragments.
13021 (libc_extra_cppflags): New flag.
13022 * configure. Regenerate.
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13024 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13025 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13029 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13030 result for FE_DOWNWARD rounding mode.
13031 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13035 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13037 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13038 in function argument name.
13040 2014-04-03 David Svoboda <svoboda@cert.org>
13043 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13046 2014-04-03 Roland McGrath <roland@hack.frob.com>
13048 * elf/dl-unmap-segments.h: New file.
13049 * sysdeps/generic/ldsodefs.h
13050 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13051 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13052 * elf/dl-fptr.c: Likewise.
13053 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13054 * sysdeps/aarch64/tlsdesc.c: Likewise.
13055 * sysdeps/arm/tlsdesc.c: Likewise.
13056 * sysdeps/i386/tlsdesc.c: Likewise.
13057 * sysdeps/tile/dl-runtime.c: Likewise.
13058 * sysdeps/x86_64/tlsdesc.c: Likewise.
13059 * elf/dl-load.h: New file.
13060 * elf/dl-load.c: Include it.
13061 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13062 Macros moved to dl-load.h.
13063 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13064 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13065 Use _dl_unmap_segments in place of __munmap.
13066 Break out segment-mapping loop into ...
13067 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13069 2014-04-03 Will Newton <will.newton@linaro.org>
13071 * elf/dl-lookup.c (do_lookup_x): Remove comment
13072 referring to nested function and move variable
13073 declarations down to before first use.
13075 2014-04-02 Joseph Myers <joseph@codesourcery.com>
13079 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13081 * math/s_catanf.c (__catanf): Likewise.
13082 * math/s_catanh.c (__catanh): Likewise.
13083 * math/s_catanhf.c (__catanhf): Likewise.
13084 * math/s_catanhl.c (__catanhl): Likewise.
13085 * math/s_catanl.c (__catanl): Likewise.
13086 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13087 by positive zero when computing -Inf result.
13088 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13089 (catanh_test): Likewise.
13090 * sysdeps/i386/fpu/libm-test-ulps: Update.
13091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13094 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13095 instead of using underflowing value in computing result.
13096 * math/s_clog10.c (__clog10): Likewise.
13097 * math/s_clog10f.c (__clog10f): Likewise.
13098 * math/s_clog10l.c (__clog10l): Likewise.
13099 * math/s_clogf.c (__clogf): Likewise.
13100 * math/s_clogl.c (__clogl): Likewise.
13101 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13102 (clog10_test): Likewise.
13103 * sysdeps/i386/fpu/libm-test-ulps: Update.
13104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106 2014-04-02 Alan Modra <amodra@gmail.com>
13109 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13110 output when value is near a power of two. Use int64_t for lx and
13111 remove casts. Use decimal rather than hex exponent constants.
13112 Don't use long double multiplication when double will suffice.
13113 * math/libm-test.inc (nextafter_test_data): Add tests.
13114 * NEWS: Add 16739 and 16786 to bug list.
13116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13118 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13120 2014-04-01 Will Newton <will.newton@linaro.org>
13122 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13123 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13125 2014-04-01 Florian Weimer <fweimer@redhat.com>
13128 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13129 * nptl/tst-setuid2.c: New file.
13130 * nptl/Makefile (xtests): Add tst-setuid2.
13132 2014-04-01 Alan Modra <amodra@gmail.com>
13135 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13137 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13141 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13142 set errno as appropriate.
13143 * math/w_scalbf.c (__scalbf): Likewise.
13144 * math/w_scalbl.c (__scalbl): Likewise.
13145 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13146 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13147 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13148 Add more NaN tests.
13151 * math/w_atan2.c: Include <errno.h>.
13152 (__atan2): Set errno for result underflowing to zero.
13153 * math/w_atan2f.c: Include <errno.h>.
13154 (__atan2f): Set errno for result underflowing to zero.
13155 * math/w_atan2l.c: Include <errno.h>.
13156 (__atan2l): Set errno for result underflowing to zero.
13157 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13159 * math/auto-libm-test-out: Regenerated.
13161 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13163 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13164 Encode instruction correctly in little endian.
13165 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13167 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13169 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13171 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13174 2014-03-31 Joseph Myers <joseph@codesourcery.com>
13177 * sysdeps/unix/sysv/linux/kernel-features.h
13178 [__sparc__ && !__arch64__ && !__sparc_v9__]
13179 (__ASSUME_SET_ROBUST_LIST): Do not define.
13180 [__sparc__ && !__arch64__ && !__sparc_v9__]
13181 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13182 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13184 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13185 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13186 (__ASSUME_REQUEUE_PI): Likewise.
13187 (__ASSUME_SET_ROBUST_LIST): Likewise.
13188 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13189 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13191 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13192 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13194 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13196 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13198 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13199 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13201 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13202 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13207 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13208 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13210 2014-03-31 Will Newton <will.newton@linaro.org>
13212 * benchtests/Makefile (bench): Add ffs and ffsll to list
13214 * benchtests/ffs-inputs: New file.
13215 * benchtests/ffsll-inputs: Likewise.
13217 2014-03-29 Joseph Myers <joseph@codesourcery.com>
13220 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13221 too large before casting to int.
13222 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13223 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13224 * math/libm-test.inc (scalb_test_data): Add more tests.
13226 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13228 * benchtests/Makefile (DETAILED_OPT): New make option.
13229 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13231 * benchtests/bench-skeleton.c: Include stdbool.h.
13232 (main): Store and print timings per input.
13233 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13234 member to each argument value.
13235 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13236 (_print_arg_data): Initialize per-input timing to 0.
13238 * benchtests/Makefile (timing-type): New binary.
13239 (bench-clean): Also remove bench-timing-type.
13240 (bench): New target for timing-type.
13241 (bench-func): Print output in JSON format.
13242 * benchtests/bench-skeleton.c (main): Print output in JSON
13244 * benchtests/bench-timing-type.c: New file.
13245 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13246 (TIMING_PRINT_STATS): Remove.
13247 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13250 * benchtests/bench-modf.c: Remove.
13251 * benchtests/modf-inputs: New inputs file.
13253 2014-03-28 Joseph Myers <joseph@codesourcery.com>
13256 * math/s_clog10.c (M_PI_LOG10E): New macro.
13257 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13258 imaginary parts are 0.
13259 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13260 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13261 imaginary parts are 0.
13262 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13263 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13264 imaginary parts are 0.
13265 * math/libm-test.inc (clog10_test_data): Update expected results
13266 for when real and imaginary parts are 0.
13268 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13270 * elf/dl-load.c: Finish conversion of __builtin_expect into
13271 __glibc_{un}likely.
13273 2014-03-27 Joseph Myers <joseph@codesourcery.com>
13276 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13277 1+x for argument with exponent below -67.
13278 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13280 * math/auto-libm-test-in: Add more tests of exp.
13281 * math/auto-libm-test-out: Regenerated.
13283 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13286 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13287 (nscd_getnetgrent): Use it.
13290 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13293 2014-03-27 Andi Kleen <ak@linux.intel.com>
13295 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13296 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13297 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13298 (lll_robust_unlock): Remove out of line section. Use cfi
13300 (LLL_STUB_UNWIND_INFO*): Remove.
13301 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13302 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13303 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13304 (lll_robust_unlock): Remove out of line section. Use cfi
13306 (LLL_STUB_UNWIND_INFO*): Remove.
13308 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13311 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13314 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13316 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13318 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13321 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13323 * math/test-fenv-preserve.c: New file.
13324 * math/Makefile (tests): Add test-fenv-preserve.
13326 2014-03-26 Will Newton <will.newton@linaro.org>
13328 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13330 2014-03-25 Roland McGrath <roland@hack.frob.com>
13332 * scripts/versionlist.awk: Partition the version sets and emit all
13333 GLIBC_* (sorted) before all others (sorted).
13335 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13337 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13338 GLIBC_2.2.5 version.
13340 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13342 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13345 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13350 2014-03-25 Andreas Schwab <schwab@suse.de>
13352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13353 label to be used after in6ailist is initialized.
13355 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13357 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13358 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13360 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13364 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13366 (fp_formats): Update initializers.
13367 (init_fp_formats): Initialize new field.
13368 (output_for_one_input_case): Allow underflow for results up to
13370 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13371 * math/auto-libm-test-in: Don't mark some underflows from asin and
13373 * math/auto-libm-test-out: Regenerated.
13374 * sysdeps/i386/fpu/libm-test-ulps: Update.
13375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13377 2014-03-25 Andreas Schwab <schwab@suse.de>
13379 * libio/Makefile (tst-ftell-partial-wide-ENV)
13380 (tst-ftell-active-handler-ENV): Define.
13382 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13384 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13386 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13388 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13390 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13392 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13393 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13394 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13396 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13399 * elf/dl-load.c (open_verify): Add mode parameter.
13400 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13401 (open_path): Change from boolean 'secure' to complete flag 'mode'
13402 (_dl_map_object): Adjust.
13403 * elf/Makefile (tests): Add tst-dlopen-aout.
13404 * elf/tst-dlopen-aout.c: New test.
13406 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13409 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13410 (struct stat): Rename member pad0 to __glibc_reserved0.
13413 * sysdeps/s390/s390-32/bits/wordsize.h
13414 (__WORDSIZE32_SIZE_ULONG): New define.
13415 * sysdeps/s390/s390-64/bits/wordsize.h
13416 (__WORDSIZE32_SIZE_ULONG): Likewise.
13417 * sysdeps/generic/stdint.h (SIZE_MAX):
13418 Define as UL if __WORDSIZE32_SIZE_ULONG.
13421 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13422 (__glibc_reserved0): New variable.
13423 (sa_flags): Change type to int.
13425 * posix/Makefile (before-compile): Use += before-compile instead
13428 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13429 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13431 2014-03-20 Andreas Schwab <schwab@suse.de>
13434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13435 non-matching result from nscd.
13437 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13439 * scripts/bench.py: Moved to ...
13440 * benchtests/scripts/bench.py: ... here.
13441 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13443 2014-03-24 Andreas Schwab <schwab@suse.de>
13446 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13447 alloca_account and account alloca use for struct in6ailist.
13449 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13452 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13453 rounding mode to recompute results that overflow to infinity or
13455 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13457 * math/auto-libm-test-out: Regenerated.
13458 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13459 (ccosh_test): Likewise.
13460 (csin_test_data): Use plus_oflow.
13461 (csin_test): Use ALL_RM_TEST.
13462 (csinh_test_data): Use plus_oflow.
13463 (csinh_test): Use ALL_RM_TEST.
13464 * sysdeps/i386/fpu/libm-test-ulps: Update.
13465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13467 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13469 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13470 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13471 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13474 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13475 when x - 1 is zero.
13476 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13477 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13478 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13479 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13481 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13482 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13484 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13485 * sysdeps/i386/fpu/libm-test-ulps: Update.
13486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13488 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13490 * scripts/bench.pl: Remove file.
13491 * scripts/bench.py: New benchmark script.
13492 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13493 * benchtests/README: Mention python dependency.
13494 * scripts/pylintrc: New file.
13495 * scripts/pylint: New file.
13497 * bits/mathdef.h: Use #ifdef instead of #if.
13498 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13499 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13500 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13501 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13502 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13503 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13505 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13506 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13508 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13510 and strpbrk-ppc64 objects.
13511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13512 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13513 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13514 multiarch strpbrk for POWER7.
13515 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13516 multiarch strpbrk for PPC64.
13517 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13519 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13520 strpbrk for POWER7.
13522 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13524 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13525 (atan_test): Likewise.
13526 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13527 (atanh_test): Use ALL_RM_TEST.
13528 (atan2_test_data): Likewise.
13529 (cabs_test): Likewise.
13530 (cacosh_test): Likewise.
13531 (carg_test): Likewise.
13532 (casin_test): Likewise.
13533 (casinh_test): Likewise.
13534 (cbrt_test): Likewise.
13535 (csqrt_test): Likewise.
13536 (erf_test): Likewise.
13537 (erfc_test): Likewise.
13538 (pow10_test): Likewise.
13539 (exp2_test): Likewise.
13540 (hypot_test): Likewise.
13541 (j0_test): Likewise.
13542 (j1_test): Likewise.
13543 (lgamma_test): Likewise.
13544 (gamma_test): Likewise.
13545 (sincos_test): Likewise.
13546 (tanh_test): Likewise.
13547 (y0_test): Likewise.
13548 (y1_test): Likewise.
13549 * sysdeps/i386/fpu/libm-test-ulps: Update.
13550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13552 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13554 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13556 and strcspn-ppc64 objects.
13557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13558 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13559 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13560 multiarch strcspn for POWER7.
13561 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13562 multiarch strcspn for PPC64.
13563 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13565 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13566 strcspn for POWER7.
13568 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13570 * math/gen-libm-test.pl (generate_testfile): Expect only function
13571 name as argument to AUTO_TESTS_* and pass results for all rounding
13572 modes to parse_args.
13573 (parse_auto_input): Separate inputs of automatic tests from
13574 outputs before storing in %auto_tests.
13575 * math/libm-test.inc (acos_test_data): Update call to
13577 (acos_test): Use ALL_RM_TEST.
13578 (acos_tonearest_test_data): Remove.
13579 (acos_test_tonearest): Likewise.
13580 (acos_towardzero_test_data): Likewise.
13581 (acos_test_towardzero): Likewise.
13582 (acos_downward_test_data): Likewise.
13583 (acos_test_downward): Likewise.
13584 (acos_upward_test_data): Likewise.
13585 (acos_test_upward): Likewise.
13586 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13587 (asin_test_data): Likewise.
13588 (asin_test): Use ALL_RM_TEST.
13589 (asin_tonearest_test_data): Remove.
13590 (asin_test_tonearest): Likewise.
13591 (asin_towardzero_test_data): Likewise.
13592 (asin_test_towardzero): Likewise.
13593 (asin_downward_test_data): Likewise.
13594 (asin_test_downward): Likewise.
13595 (asin_upward_test_data): Likewise.
13596 (asin_test_upward): Likewise.
13597 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13598 (atan_test_data): Likewise.
13599 (atanh_test_data): Likewise.
13600 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13601 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13602 (carg_test_data): Likewise.
13603 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13604 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13605 (ccosh_test_data): Likewise.
13606 (cexp_test_data): Likewise.
13607 (clog_test_data): Likewise.
13608 (clog10_test_data): Likewise.
13609 (cos_test_data): Update call to AUTO_TESTS_f_f.
13610 (cos_test): Use ALL_RM_TEST.
13611 (cos_tonearest_test_data): Remove.
13612 (cos_test_tonearest): Likewise.
13613 (cos_towardzero_test_data): Likewise.
13614 (cos_test_towardzero): Likewise.
13615 (cos_downward_test_data): Likewise.
13616 (cos_test_downward): Likewise.
13617 (cos_upward_test_data): Likewise.
13618 (cos_test_upward): Likewise.
13619 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13620 (cosh_test): Use ALL_RM_TEST.
13621 (cosh_tonearest_test_data): Remove.
13622 (cosh_test_tonearest): Likewise.
13623 (cosh_towardzero_test_data): Likewise.
13624 (cosh_test_towardzero): Likewise.
13625 (cosh_downward_test_data): Likewise.
13626 (cosh_test_downward): Likewise.
13627 (cosh_upward_test_data): Likewise.
13628 (cosh_test_upward): Likewise.
13629 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13630 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13631 (ctan_test_data): Likewise.
13632 (ctan_test): Use ALL_RM_TEST.
13633 (ctan_tonearest_test_data): Remove.
13634 (ctan_test_tonearest): Likewise.
13635 (ctan_towardzero_test_data): Likewise.
13636 (ctan_test_towardzero): Likewise.
13637 (ctan_downward_test_data): Likewise.
13638 (ctan_test_downward): Likewise.
13639 (ctan_upward_test_data): Likewise.
13640 (ctan_test_upward): Likewise.
13641 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13642 (ctanh_test): Use ALL_RM_TEST.
13643 (ctanh_tonearest_test_data): Remove.
13644 (ctanh_test_tonearest): Likewise.
13645 (ctanh_towardzero_test_data): Likewise.
13646 (ctanh_test_towardzero): Likewise.
13647 (ctanh_downward_test_data): Likewise.
13648 (ctanh_test_downward): Likewise.
13649 (ctanh_upward_test_data): Likewise.
13650 (ctanh_test_upward): Likewise.
13651 (erf_test_data): Update call to AUTO_TESTS_f_f.
13652 (erfc_test_data): Likewise.
13653 (exp_test_data): Likewise.
13654 (exp_test): Use ALL_RM_TEST.
13655 (exp_tonearest_test_data): Remove.
13656 (exp_test_tonearest): Likewise.
13657 (exp_towardzero_test_data): Likewise.
13658 (exp_test_towardzero): Likewise.
13659 (exp_downward_test_data): Likewise.
13660 (exp_test_downward): Likewise.
13661 (exp_upward_test_data): Likewise.
13662 (exp_test_upward): Likewise.
13663 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13664 (exp10_test): Use ALL_RM_TEST.
13665 (exp10_tonearest_test_data): Remove.
13666 (exp10_test_tonearest): Likewise.
13667 (exp10_towardzero_test_data): Likewise.
13668 (exp10_test_towardzero): Likewise.
13669 (exp10_downward_test_data): Likewise.
13670 (exp10_test_downward): Likewise.
13671 (exp10_upward_test_data): Likewise.
13672 (exp10_test_upward): Likewise.
13673 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13674 (expm1_test_data): Likewise.
13675 (expm1_test): Use ALL_RM_TEST.
13676 (expm1_tonearest_test_data): Remove.
13677 (expm1_test_tonearest): Likewise.
13678 (expm1_towardzero_test_data): Likewise.
13679 (expm1_test_towardzero): Likewise.
13680 (expm1_downward_test_data): Likewise.
13681 (expm1_test_downward): Likewise.
13682 (expm1_upward_test_data): Likewise.
13683 (expm1_test_upward): Likewise.
13684 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13685 (fma_test): Use ALL_RM_TEST.
13686 (fma_towardzero_test_data): Remove.
13687 (fma_test_towardzero): Likewise.
13688 (fma_downward_test_data): Likewise.
13689 (fma_test_downward): Likewise.
13690 (fma_upward_test_data): Likewise.
13691 (fma_test_upward): Likewise.
13692 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13693 (j0_test_data): Update call to AUTO_TESTS_f_f.
13694 (j1_test_data): Likewise.
13695 (jn_test_data): Update call to AUTO_TESTS_if_f.
13696 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13697 (log_test_data): Update call to AUTO_TESTS_f_f.
13698 (log10_test_data): Likewise.
13699 (log1p_test_data): Likewise.
13700 (log2_test_data): Likewise.
13701 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13702 (pow_tonearest_test_data): Likewise.
13703 (sin_test_data): Update call to AUTO_TESTS_f_f.
13704 (sin_test): Use ALL_RM_TEST.
13705 (sin_tonearest_test_data): Remove.
13706 (sin_test_tonearest): Likewise.
13707 (sin_towardzero_test_data): Likewise.
13708 (sin_test_towardzero): Likewise.
13709 (sin_downward_test_data): Likewise.
13710 (sin_test_downward): Likewise.
13711 (sin_upward_test_data): Likewise.
13712 (sin_test_upward): Likewise.
13713 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13714 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13715 (sinh_test): Use ALL_RM_TEST.
13716 (sinh_tonearest_test_data): Remove.
13717 (sinh_test_tonearest): Likewise.
13718 (sinh_towardzero_test_data): Likewise.
13719 (sinh_test_towardzero): Likewise.
13720 (sinh_downward_test_data): Likewise.
13721 (sinh_test_downward): Likewise.
13722 (sinh_upward_test_data): Likewise.
13723 (sinh_test_upward): Likewise.
13724 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13725 (sqrt_test): Use ALL_RM_TEST.
13726 (sqrt_tonearest_test_data): Remove.
13727 (sqrt_test_tonearest): Likewise.
13728 (sqrt_towardzero_test_data): Likewise.
13729 (sqrt_test_towardzero): Likewise.
13730 (sqrt_downward_test_data): Likewise.
13731 (sqrt_test_downward): Likewise.
13732 (sqrt_upward_test_data): Likewise.
13733 (sqrt_test_upward): Likewise.
13734 (tan_test_data): Update call to AUTO_TESTS_f_f.
13735 (tan_test): Use ALL_RM_TEST.
13736 (tan_tonearest_test_data): Remove.
13737 (tan_test_tonearest): Likewise.
13738 (tan_towardzero_test_data): Likewise.
13739 (tan_test_towardzero): Likewise.
13740 (tan_downward_test_data): Likewise.
13741 (tan_test_downward): Likewise.
13742 (tan_upward_test_data): Likewise.
13743 (tan_test_upward): Likewise.
13744 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13745 (tgamma_test_data): Likewise.
13746 (y0_test_data): Likewise.
13747 (y1_test_data): Likewise.
13748 (yn_test_data): Update call to AUTO_TESTS_if_f.
13749 (main): Do not call removed functions.
13751 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13753 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13754 (ldexp_test_data): Remove.
13755 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13757 (scalb_test): Use ALL_RM_TEST.
13759 2014-03-19 Andreas Schwab <schwab@suse.de>
13761 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13763 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13766 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13767 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13768 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13769 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13770 (__ASSUME_PREADV): Undefine.
13771 (__ASSUME_PWRITEV): Likewise.
13773 2014-03-18 Roland McGrath <roland@hack.frob.com>
13775 * bits/mman-linux.h: Add comment about non-Linux use.
13776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13777 bits/mman-linux.h resting place.
13779 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13780 * bits/mman-linux.h: ... here.
13782 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13784 * conform/conformtest.pl: Add standard definition when calling C
13785 preprocessor on data files.
13786 (checknamespace): Remove unused variable.
13788 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13790 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13791 minus_oflow, plus_uflow and minus_uflow in expected results.
13792 * math/libm-test.inc (scalbn_test_data): Add more tests of
13793 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13795 (scalbn_test): Use ALL_RM_TEST.
13796 (scalbln_test_data): Add more tests of negative arguments. Use
13797 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13798 (scalbln_test): Use ALL_RM_TEST.
13800 2014-03-18 Roland McGrath <roland@hack.frob.com>
13802 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13804 2014-03-18 Will Newton <will.newton@linaro.org>
13806 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13807 inaccurate comment.
13809 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13811 * Makerules [!subdir] (check-abi): Exit with error status if a
13814 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13816 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13817 for rint. Include results for all rounding modes.
13818 (nearbyint_test): Use ALL_RM_TEST.
13819 (rint_test_data): Include all tests used for nearbyint.
13821 2014-03-17 Will Newton <will.newton@linaro.org>
13823 * nptl/sysdeps/pthread/pthread.h: Revert previous
13826 * sysdeps/generic/ldsodefs.h: Revert previous
13829 * libio/genops.c: Revert previous change.
13830 * libio/libioP.h: Likewise.
13831 * stdio-common/vfprintf.c: Likewise.
13833 * sysdeps/generic/math_private.h: Revert previous
13836 * sysdeps/generic/math_private.h: Check whether
13837 HAVE_RM_CTX is defined with #ifdef rather
13840 * argp/argp-fmtstream.h: Check whether
13841 __STRICT_ANSI__ is defined with #ifdef rather
13843 * argp/argp.h: Likewise.
13845 * libio/genops.c: Check whether
13846 _IO_JUMPS_OFFSET is defined with #ifdef rather
13848 * libio/libioP.h: Likewise.
13849 * stdio-common/vfprintf.c: Likewise.
13851 * sysdeps/generic/ldsodefs.h: Check whether
13852 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13855 * nptl/sysdeps/pthread/pthread.h: Check
13856 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13859 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13861 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13863 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13867 * libio/fileops.c (_IO_file_open): Seek to end of file but
13868 don't cache the offset.
13869 (get_file_offset): Remove function.
13870 (do_ftell): Use cached offset when available.
13871 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13872 don't cache the offset.
13873 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13875 (do_one_test): Call it.
13876 (do_ftell_test): Fix up expected old offset for a+ mode.
13877 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13880 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13881 up test status with function return status.
13882 (do_write_test): Likewise.
13883 (do_append_test): Likewise.
13885 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13886 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13889 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13891 * math/gen-libm-test.pl (parse_args): Handle results specified for
13892 each rounding mode separately.
13893 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13894 tests and results from lrint_tonearest_test_data,
13895 lrint_towardzero_test_data, lrint_downward_test_data and
13896 lrint_upward_test_data.
13897 (lrint_test): Use ALL_RM_TEST.
13898 (lrint_tonearest_test_data): Remove.
13899 (lrint_test_tonearest): Likewise.
13900 (lrint_towardzero_test_data): Likewise.
13901 (lrint_test_towardzero): Likewise.
13902 (lrint_downward_test_data): Likewise.
13903 (lrint_test_downward): Likewise.
13904 (lrint_upward_test_data): Likewise.
13905 (lrint_test_upward): Likewise.
13906 (llrint_test_data): Merge in per-rounding-mode tests and results
13907 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13908 llrint_downward_test_data and llrint_upward_test_data.
13909 (llrint_test): Use ALL_RM_TEST.
13910 (llrint_tonearest_test_data): Remove.
13911 (llrint_test_tonearest): Likewise.
13912 (llrint_towardzero_test_data): Likewise.
13913 (llrint_test_towardzero): Likewise.
13914 (llrint_downward_test_data): Likewise.
13915 (llrint_test_downward): Likewise.
13916 (llrint_upward_test_data): Likewise.
13917 (llrint_test_upward): Likewise.
13918 (rint_test_data): Merge in per-rounding-mode tests and results
13919 from rint_tonearest_test_data, rint_towardzero_test_data,
13920 rint_downward_test_data and rint_upward_test_data. Add
13921 per-rounding-mode results for tests not in those arrays.
13922 (rint_test): Use ALL_RM_TEST.
13923 (rint_tonearest_test_data): Remove.
13924 (rint_test_tonearest): Likewise.
13925 (rint_towardzero_test_data): Likewise.
13926 (rint_test_towardzero): Likewise.
13927 (rint_downward_test_data): Likewise.
13928 (rint_test_downward): Likewise.
13929 (rint_upward_test_data): Likewise.
13930 (rint_test_upward): Likewise.
13931 (main): Don't call removed functions.
13933 2014-03-14 Roland McGrath <roland@hack.frob.com>
13935 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13936 "Compiled on ..." crapola. It is anti-useful.
13938 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13940 * scripts/evaluate-test.sh: Handle fourth argument to determine
13941 whether test run should stop on failure.
13942 * Makeconfig (stop-on-test-failure): New variable.
13943 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13944 $(stop-on-test-failure).
13945 * Makefile (tests): Give a summary of results from testing and
13946 exit with failure status if they include an ERROR or FAIL.
13947 (xtests): Likewise.
13948 * manual/install.texi (Configuring and compiling): Mention
13949 stop-on-test-failure=y.
13950 * INSTALL: Regenerated.
13952 2014-03-14 Roland McGrath <roland@hack.frob.com>
13954 * scripts/versionlist.awk: New file.
13955 * Makerules [$(build-shared) = yes]
13956 (postclean-generated): Add Versions.def, not Versions.def.v and
13958 ($(common-objpfx)Versions.def.v.i): Target removed.
13959 ($(common-objpfx)Versions.def): New target.
13960 ($(common-objpfx)Versions.all): Depend on that rather that
13961 $(common-objpfx)Versions.def.v.
13962 * Versions.def: File removed.
13964 * Makeconfig (+gccwarn): Add -Wundef.
13965 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13966 a dl-sysdep.h breaking its contract.
13967 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13968 * include/stackinfo.h: New file.
13969 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13970 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13971 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13972 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13973 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13974 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13975 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13976 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13977 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13978 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13979 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13980 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13981 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13982 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13983 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13985 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13988 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13990 * math/libm-test.inc (round_test_data): Add more tests.
13993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13995 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13998 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14000 * math/libm-test.inc (ceil_test_data): Add more tests.
14002 * math/libm-test.inc (trunc_test_data): Add more tests related to
14005 2014-03-14 Roland McGrath <roland@hack.frob.com>
14007 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14008 with #if rather than #ifdef.
14009 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14011 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14013 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14014 first. Disable AVX-512 GCC support if assembler doesn't support
14016 * sysdeps/x86_64/configure: Regenerated.
14018 2014-03-13 Carlos O'Donell <carlos@redhat.com>
14020 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14021 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14022 (__old_pthread_attr_setstack): Likewise.
14023 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14024 [!_STACK_GROWS_DOWN]: Likewise.
14026 2014-03-13 Mike Frysinger <vapier@gentoo.org>
14028 * config.make.in (have-bash2): Delete.
14029 * configure.ac (libc_cv_have_bash2): Delete.
14030 * configure: Regenerate.
14031 * elf/Makefile (common-ldd-rewrite): Rename to ...
14032 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14033 (sh-ldd-rewrite): Delete.
14034 (bash-ldd-rewrite): Delete.
14035 (have-bash2): Delete checks.
14036 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14039 * config.make.in (have-ksh): Delete.
14041 * configure.ac (libc_cv_have_ksh): Delete.
14042 * configure: Regenerate.
14044 * elf/Makefile: Delete $(have-ksh) check.
14045 ($(objpfx)sotruss): Change KSH to BASH.
14046 * elf/sotruss.ksh: Rename to ...
14047 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14048 function style to match POSIX. Drop ksh vim mode setting.
14050 * manual/time.texi (Specifying the Time Zone with TZ): Change
14051 Tuesday to Thursday.
14053 * debug/tst-longjmp_chk2.c: Update header comment.
14054 (stackoverflow_handler): Add comment. Call assert on pass value.
14056 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14059 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14060 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14061 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14062 (La_x86_64_vector): Add zmm.
14063 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14064 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14065 ($(objpfx)tst-audit10): New target.
14066 ($(objpfx)tst-audit10.out): Likewise.
14067 (tst-audit10-ENV): New.
14068 (AVX512-CFLAGS): Likewise.
14069 (CFLAGS-tst-audit10.c): Likewise.
14070 (CFLAGS-tst-auditmod10a.c): Likewise.
14071 (CFLAGS-tst-auditmod10b.c): Likewise.
14072 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14073 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14074 * sysdeps/x86_64/configure: Regenerated.
14075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14076 AVX-512 zmm register support.
14077 (_dl_x86_64_save_sse): Likewise.
14078 (_dl_x86_64_restore_sse): Likewise.
14079 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14080 size vector registers.
14081 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14082 (ZMM_SIZE): Likewise.
14083 * sysdeps/x86_64/tst-audit10.c: New file.
14084 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14085 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14087 2014-03-13 Roland McGrath <roland@hack.frob.com>
14089 * configure.ac (HAVE_EHDR_START): New check.
14090 * configure: Regenerated.
14091 * config.h.in (HAVE_EHDR_START): New #undef.
14092 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14093 assuming the lowest-addressed segment maps the start of the file.
14095 2014-03-13 Joseph Myers <joseph@codesourcery.com>
14097 * INSTALL: Regenerated.
14099 2014-03-13 Will Newton <will.newton@linaro.org>
14101 * manual/setjmp.texi (System V contexts): Improve
14102 clarity and grammar of documentation.
14104 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14107 * elf/Makefile (tests): Add tst-pie2.
14108 (tests-pie): Add tst-pie2.
14109 * elf/tst-pie2.c: New file.
14110 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14112 * elf/rtld.c (map_doit): Load executable as lt_executable.
14113 (dl_main): Likewise.
14115 2014-03-12 Joseph Myers <joseph@codesourcery.com>
14118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14119 (__ASSUME_PSELECT): Undefine.
14121 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14125 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14127 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14128 selector for static builds.
14130 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14133 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14136 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14138 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14139 IFUNC selector for static builds.
14141 2014-03-11 Joseph Myers <joseph@codesourcery.com>
14143 * sysdeps/mips/math_private.h [__mips_hard_float]
14144 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14145 libc_feresetround_mips_ctx.
14146 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14147 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14148 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14151 * math/s_nextafter.c (__nextafter): Do not return value from
14152 overflowing computation.
14153 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14154 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14155 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14157 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14159 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14160 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14162 2014-03-11 Roland McGrath <roland@hack.frob.com>
14164 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14165 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14166 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14167 the new mov targetting sp.
14169 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14172 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14173 Define it for static builds as well.
14174 (NO_BZERO_IMPL): Likewise.
14176 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14178 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14179 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14180 multiarch strspn for PPC64.
14181 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14182 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14184 (__libc_ifunc_impl_list): Likewise.
14185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14186 multiarch optimizations
14187 * string/strspn.c (strspn): Using macro to redefine symbol name.
14189 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14190 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14192 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14193 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14194 multiarch strncat for PPC64.
14195 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14196 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14198 (__libc_ifunc_impl_list): Likewise.
14199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14200 multiarch optimizations
14202 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 * nscd/nscd.service: Make service type forking.
14207 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14209 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14210 sign in non default rounding modes.
14211 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14213 2014-03-08 Joseph Myers <joseph@codesourcery.com>
14215 * math/libm-test.inc (ALL_RM_TEST): New macro.
14216 (ceil_test): Use ALL_RM_TEST.
14217 (cimag_test): Likewise.
14218 (conj_test): Likewise.
14219 (copysign_test): Likewise.
14220 (cproj_test): Likewise.
14221 (creal_test): Likewise.
14222 (fabs_test): Likewise.
14223 (floor_test): Likewise.
14224 (fmax_test): Likewise.
14225 (fmin_test): Likewise.
14226 (fmod_test): Likewise.
14227 (fpclassify_test): Likewise.
14228 (frexp_test): Likewise.
14229 (ilogb_test): Likewise.
14230 (isfinite_test): Likewise.
14231 (finite_test): Likewise.
14232 (isgreater_test): Likewise.
14233 (isgreaterequal_test): Likewise.
14234 (isinf_test): Likewise.
14235 (isless_test): Likewise.
14236 (islessequal_test): Likewise.
14237 (islessgreater_test): Likewise.
14238 (isnan_test): Likewise.
14239 (isnormal_test): Likewise.
14240 (issignaling_test): Likewise.
14241 (isunordered_test): Likewise.
14242 (logb_test): Likewise.
14243 (logb_downward_test_data): Remove.
14244 (logb_test_downward): Likewise.
14245 (lround_test): Use ALL_RM_TEST.
14246 (llround_test): Likewise.
14247 (modf_test): Likewise.
14248 (nexttoward_test): Likewise.
14249 (remainder_test): Likewise.
14250 (drem_test): Likewise.
14251 (remainder_tonearest_test_data): Likewise.
14252 (remainder_test_tonearest): Likewise.
14253 (drem_test_tonearest): Likewise.
14254 (remainder_towardzero_test_data): Likewise.
14255 (remainder_test_towardzero): Likewise.
14256 (drem_test_towardzero): Likewise.
14257 (remainder_downward_test_data): Likewise.
14258 (remainder_test_downward): Likewise.
14259 (drem_test_downward): Likewise.
14260 (remainder_upward_test_data): Likewise.
14261 (remainder_test_upward): Likewise.
14262 (drem_test_upward): Likewise.
14263 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14264 (round_test): Use ALL_RM_TEST.
14265 (signbit_test): Likewise.
14266 (trunc_test): Likewise.
14267 (significand_test): Likewise.
14268 (main): Don't call removed functions.
14270 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14273 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14274 || __USE_XOPEN2K8].
14275 (ILL_ILLOPN): Likewise.
14276 (ILL_ILLADR): Likewise.
14277 (ILL_ILLTRP): Likewise.
14278 (ILL_PRVOPC): Likewise.
14279 (ILL_PRVREG): Likewise.
14280 (ILL_COPROC): Likewise.
14281 (ILL_BADSTK): Likewise.
14282 (FPE_INTDIV): Likewise.
14283 (FPE_INTOVF): Likewise.
14284 (FPE_FLTDIV): Likewise.
14285 (FPE_FLTOVF): Likewise.
14286 (FPE_FLTUND): Likewise.
14287 (FPE_FLTRES): Likewise.
14288 (FPE_FLTINV): Likewise.
14289 (FPE_FLTSUB): Likewise.
14290 (SEGV_MAPERR): Likewise.
14291 (SEGV_ACCERR): Likewise.
14292 (BUS_ADRALN): Likewise.
14293 (BUS_ADRERR): Likewise.
14294 (BUS_OBJERR): Likewise.
14295 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14296 (TRAP_TRACE): Likewise.
14297 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14299 (CLD_KILLED): Likewise.
14300 (CLD_DUMPED): Likewise.
14301 (CLD_TRAPPED): Likewise.
14302 (CLD_STOPPED): Likewise.
14303 (CLD_CONTINUED): Likewise.
14304 (POLL_IN): Likewise.
14305 (POLL_OUT): Likewise.
14306 (POLL_MSG): Likewise.
14307 (POLL_ERR): Likewise.
14308 (POLL_PRI): Likewise.
14309 (POLL_HUP): Likewise.
14310 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14312 (ILL_ILLOPN): Likewise.
14313 (ILL_ILLADR): Likewise.
14314 (ILL_ILLTRP): Likewise.
14315 (ILL_PRVOPC): Likewise.
14316 (ILL_PRVREG): Likewise.
14317 (ILL_COPROC): Likewise.
14318 (ILL_BADSTK): Likewise.
14319 (FPE_INTDIV): Likewise.
14320 (FPE_INTOVF): Likewise.
14321 (FPE_FLTDIV): Likewise.
14322 (FPE_FLTOVF): Likewise.
14323 (FPE_FLTUND): Likewise.
14324 (FPE_FLTRES): Likewise.
14325 (FPE_FLTINV): Likewise.
14326 (FPE_FLTSUB): Likewise.
14327 (SEGV_MAPERR): Likewise.
14328 (SEGV_ACCERR): Likewise.
14329 (BUS_ADRALN): Likewise.
14330 (BUS_ADRERR): Likewise.
14331 (BUS_OBJERR): Likewise.
14332 (BUS_MCEERR_AR): Likewise.
14333 (BUS_MCEERR_AO): Likewise.
14334 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14335 (TRAP_TRACE): Likewise.
14336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14338 (CLD_KILLED): Likewise.
14339 (CLD_DUMPED): Likewise.
14340 (CLD_TRAPPED): Likewise.
14341 (CLD_STOPPED): Likewise.
14342 (CLD_CONTINUED): Likewise.
14343 (POLL_IN): Likewise.
14344 (POLL_OUT): Likewise.
14345 (POLL_MSG): Likewise.
14346 (POLL_ERR): Likewise.
14347 (POLL_PRI): Likewise.
14348 (POLL_HUP): Likewise.
14349 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14350 (ILL_ILLOPN): Likewise.
14351 (ILL_ILLADR): Likewise.
14352 (ILL_ILLTRP): Likewise.
14353 (ILL_PRVOPC): Likewise.
14354 (ILL_PRVREG): Likewise.
14355 (ILL_COPROC): Likewise.
14356 (ILL_BADSTK): Likewise.
14357 (FPE_INTDIV): Likewise.
14358 (FPE_INTOVF): Likewise.
14359 (FPE_FLTDIV): Likewise.
14360 (FPE_FLTOVF): Likewise.
14361 (FPE_FLTUND): Likewise.
14362 (FPE_FLTRES): Likewise.
14363 (FPE_FLTINV): Likewise.
14364 (FPE_FLTSUB): Likewise.
14365 (SEGV_MAPERR): Likewise.
14366 (SEGV_ACCERR): Likewise.
14367 (BUS_ADRALN): Likewise.
14368 (BUS_ADRERR): Likewise.
14369 (BUS_OBJERR): Likewise.
14370 (BUS_MCEERR_AR): Likewise.
14371 (BUS_MCEERR_AO): Likewise.
14372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14373 (TRAP_TRACE): Likewise.
14374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14376 (CLD_KILLED): Likewise.
14377 (CLD_DUMPED): Likewise.
14378 (CLD_TRAPPED): Likewise.
14379 (CLD_STOPPED): Likewise.
14380 (CLD_CONTINUED): Likewise.
14381 (POLL_IN): Likewise.
14382 (POLL_OUT): Likewise.
14383 (POLL_MSG): Likewise.
14384 (POLL_ERR): Likewise.
14385 (POLL_PRI): Likewise.
14386 (POLL_HUP): Likewise.
14387 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14389 (ILL_ILLOPN): Likewise.
14390 (ILL_ILLADR): Likewise.
14391 (ILL_ILLTRP): Likewise.
14392 (ILL_PRVOPC): Likewise.
14393 (ILL_PRVREG): Likewise.
14394 (ILL_COPROC): Likewise.
14395 (ILL_BADSTK): Likewise.
14396 (ILL_BADIADDR): Likewise.
14397 (ILL_BREAK): Likewise.
14398 (FPE_INTDIV): Likewise.
14399 (FPE_INTOVF): Likewise.
14400 (FPE_FLTDIV): Likewise.
14401 (FPE_FLTOVF): Likewise.
14402 (FPE_FLTUND): Likewise.
14403 (FPE_FLTRES): Likewise.
14404 (FPE_FLTINV): Likewise.
14405 (FPE_FLTSUB): Likewise.
14406 (FPE_DECOVF): Likewise.
14407 (FPE_DECDIV): Likewise.
14408 (FPE_DECERR): Likewise.
14409 (FPE_INVASC): Likewise.
14410 (FPE_INVDEC): Likewise.
14411 (SEGV_MAPERR): Likewise.
14412 (SEGV_ACCERR): Likewise.
14413 (SEGV_PSTKOVF): Likewise.
14414 (BUS_ADRALN): Likewise.
14415 (BUS_ADRERR): Likewise.
14416 (BUS_OBJERR): Likewise.
14417 (BUS_MCEERR_AR): Likewise.
14418 (BUS_MCEERR_AO): Likewise.
14419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14420 (TRAP_TRACE): Likewise.
14421 (TRAP_BRANCH): Likewise.
14422 (TRAP_HWBKPT): Likewise.
14423 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14425 (CLD_KILLED): Likewise.
14426 (CLD_DUMPED): Likewise.
14427 (CLD_TRAPPED): Likewise.
14428 (CLD_STOPPED): Likewise.
14429 (CLD_CONTINUED): Likewise.
14430 (POLL_IN): Likewise.
14431 (POLL_OUT): Likewise.
14432 (POLL_MSG): Likewise.
14433 (POLL_ERR): Likewise.
14434 (POLL_PRI): Likewise.
14435 (POLL_HUP): Likewise.
14436 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14437 (ILL_ILLOPN): Likewise.
14438 (ILL_ILLADR): Likewise.
14439 (ILL_ILLTRP): Likewise.
14440 (ILL_PRVOPC): Likewise.
14441 (ILL_PRVREG): Likewise.
14442 (ILL_COPROC): Likewise.
14443 (ILL_BADSTK): Likewise.
14444 (FPE_INTDIV): Likewise.
14445 (FPE_INTOVF): Likewise.
14446 (FPE_FLTDIV): Likewise.
14447 (FPE_FLTOVF): Likewise.
14448 (FPE_FLTUND): Likewise.
14449 (FPE_FLTRES): Likewise.
14450 (FPE_FLTINV): Likewise.
14451 (FPE_FLTSUB): Likewise.
14452 (SEGV_MAPERR): Likewise.
14453 (SEGV_ACCERR): Likewise.
14454 (BUS_ADRALN): Likewise.
14455 (BUS_ADRERR): Likewise.
14456 (BUS_OBJERR): Likewise.
14457 (BUS_MCEERR_AR): Likewise.
14458 (BUS_MCEERR_AO): Likewise.
14459 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14460 (TRAP_TRACE): Likewise.
14461 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14463 (CLD_KILLED): Likewise.
14464 (CLD_DUMPED): Likewise.
14465 (CLD_TRAPPED): Likewise.
14466 (CLD_STOPPED): Likewise.
14467 (CLD_CONTINUED): Likewise.
14468 (POLL_IN): Likewise.
14469 (POLL_OUT): Likewise.
14470 (POLL_MSG): Likewise.
14471 (POLL_ERR): Likewise.
14472 (POLL_PRI): Likewise.
14473 (POLL_HUP): Likewise.
14474 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14475 (ILL_ILLOPN): Likewise.
14476 (ILL_ILLADR): Likewise.
14477 (ILL_ILLTRP): Likewise.
14478 (ILL_PRVOPC): Likewise.
14479 (ILL_PRVREG): Likewise.
14480 (ILL_COPROC): Likewise.
14481 (ILL_BADSTK): Likewise.
14482 (FPE_INTDIV): Likewise.
14483 (FPE_INTOVF): Likewise.
14484 (FPE_FLTDIV): Likewise.
14485 (FPE_FLTOVF): Likewise.
14486 (FPE_FLTUND): Likewise.
14487 (FPE_FLTRES): Likewise.
14488 (FPE_FLTINV): Likewise.
14489 (FPE_FLTSUB): Likewise.
14490 (SEGV_MAPERR): Likewise.
14491 (SEGV_ACCERR): Likewise.
14492 (BUS_ADRALN): Likewise.
14493 (BUS_ADRERR): Likewise.
14494 (BUS_OBJERR): Likewise.
14495 (BUS_MCEERR_AR): Likewise.
14496 (BUS_MCEERR_AO): Likewise.
14497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14498 (TRAP_TRACE): Likewise.
14499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14501 (CLD_KILLED): Likewise.
14502 (CLD_DUMPED): Likewise.
14503 (CLD_TRAPPED): Likewise.
14504 (CLD_STOPPED): Likewise.
14505 (CLD_CONTINUED): Likewise.
14506 (POLL_IN): Likewise.
14507 (POLL_OUT): Likewise.
14508 (POLL_MSG): Likewise.
14509 (POLL_ERR): Likewise.
14510 (POLL_PRI): Likewise.
14511 (POLL_HUP): Likewise.
14512 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14513 (ILL_ILLOPN): Likewise.
14514 (ILL_ILLADR): Likewise.
14515 (ILL_ILLTRP): Likewise.
14516 (ILL_PRVOPC): Likewise.
14517 (ILL_PRVREG): Likewise.
14518 (ILL_COPROC): Likewise.
14519 (ILL_BADSTK): Likewise.
14520 (FPE_INTDIV): Likewise.
14521 (FPE_INTOVF): Likewise.
14522 (FPE_FLTDIV): Likewise.
14523 (FPE_FLTOVF): Likewise.
14524 (FPE_FLTUND): Likewise.
14525 (FPE_FLTRES): Likewise.
14526 (FPE_FLTINV): Likewise.
14527 (FPE_FLTSUB): Likewise.
14528 (SEGV_MAPERR): Likewise.
14529 (SEGV_ACCERR): Likewise.
14530 (BUS_ADRALN): Likewise.
14531 (BUS_ADRERR): Likewise.
14532 (BUS_OBJERR): Likewise.
14533 (BUS_MCEERR_AR): Likewise.
14534 (BUS_MCEERR_AO): Likewise.
14535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14536 (TRAP_TRACE): Likewise.
14537 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14539 (CLD_KILLED): Likewise.
14540 (CLD_DUMPED): Likewise.
14541 (CLD_TRAPPED): Likewise.
14542 (CLD_STOPPED): Likewise.
14543 (CLD_CONTINUED): Likewise.
14544 (POLL_IN): Likewise.
14545 (POLL_OUT): Likewise.
14546 (POLL_MSG): Likewise.
14547 (POLL_ERR): Likewise.
14548 (POLL_PRI): Likewise.
14549 (POLL_HUP): Likewise.
14550 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14551 (ILL_ILLOPN): Likewise.
14552 (ILL_ILLADR): Likewise.
14553 (ILL_ILLTRP): Likewise.
14554 (ILL_PRVOPC): Likewise.
14555 (ILL_PRVREG): Likewise.
14556 (ILL_COPROC): Likewise.
14557 (ILL_BADSTK): Likewise.
14558 (ILL_DBLFLT): Likewise.
14559 (ILL_HARDWALL): Likewise.
14560 (FPE_INTDIV): Likewise.
14561 (FPE_INTOVF): Likewise.
14562 (FPE_FLTDIV): Likewise.
14563 (FPE_FLTOVF): Likewise.
14564 (FPE_FLTUND): Likewise.
14565 (FPE_FLTRES): Likewise.
14566 (FPE_FLTINV): Likewise.
14567 (FPE_FLTSUB): Likewise.
14568 (SEGV_MAPERR): Likewise.
14569 (SEGV_ACCERR): Likewise.
14570 (BUS_ADRALN): Likewise.
14571 (BUS_ADRERR): Likewise.
14572 (BUS_OBJERR): Likewise.
14573 (BUS_MCEERR_AR): Likewise.
14574 (BUS_MCEERR_AO): Likewise.
14575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14576 (TRAP_TRACE): Likewise.
14577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14579 (CLD_KILLED): Likewise.
14580 (CLD_DUMPED): Likewise.
14581 (CLD_TRAPPED): Likewise.
14582 (CLD_STOPPED): Likewise.
14583 (CLD_CONTINUED): Likewise.
14584 (POLL_IN): Likewise.
14585 (POLL_OUT): Likewise.
14586 (POLL_MSG): Likewise.
14587 (POLL_ERR): Likewise.
14588 (POLL_PRI): Likewise.
14589 (POLL_HUP): Likewise.
14590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14591 (ILL_ILLOPN): Likewise.
14592 (ILL_ILLADR): Likewise.
14593 (ILL_ILLTRP): Likewise.
14594 (ILL_PRVOPC): Likewise.
14595 (ILL_PRVREG): Likewise.
14596 (ILL_COPROC): Likewise.
14597 (ILL_BADSTK): Likewise.
14598 (FPE_INTDIV): Likewise.
14599 (FPE_INTOVF): Likewise.
14600 (FPE_FLTDIV): Likewise.
14601 (FPE_FLTOVF): Likewise.
14602 (FPE_FLTUND): Likewise.
14603 (FPE_FLTRES): Likewise.
14604 (FPE_FLTINV): Likewise.
14605 (FPE_FLTSUB): Likewise.
14606 (SEGV_MAPERR): Likewise.
14607 (SEGV_ACCERR): Likewise.
14608 (BUS_ADRALN): Likewise.
14609 (BUS_ADRERR): Likewise.
14610 (BUS_OBJERR): Likewise.
14611 (BUS_MCEERR_AR): Likewise.
14612 (BUS_MCEERR_AO): Likewise.
14613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14614 (TRAP_TRACE): Likewise.
14615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14617 (CLD_KILLED): Likewise.
14618 (CLD_DUMPED): Likewise.
14619 (CLD_TRAPPED): Likewise.
14620 (CLD_STOPPED): Likewise.
14621 (CLD_CONTINUED): Likewise.
14622 (POLL_IN): Likewise.
14623 (POLL_OUT): Likewise.
14624 (POLL_MSG): Likewise.
14625 (POLL_ERR): Likewise.
14626 (POLL_PRI): Likewise.
14627 (POLL_HUP): Likewise.
14628 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14629 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14632 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14633 before #include of <time.h>.
14634 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14635 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14636 (test-xfail-UNIX98/sched.h/conform): Likewise.
14638 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14640 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14641 error absence of trapping exception support.
14642 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14644 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14646 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14647 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14648 * timezone/Makefile (testdata): Move definition above include of
14650 (test-zones): New variable.
14651 (tests-special): Add zone files.
14652 (build-testdata): Use $(evaluate-test).
14654 * elf/Makefile (tests-special): Rename tests to end with .out.
14655 ($(objpfx)noload-mem): Likewise.
14656 ($(objpfx)tst-leaks1-mem): Likewise.
14657 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14658 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14659 $(objpfx)test-iconvconfig.out.
14660 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14661 set -e inside subshell and redirect output to file.
14662 * iconvdata/Makefile (generated): Rename tests to end with .out.
14664 (tests-special): Rename tests to end with .out.
14665 ($(objpfx)mtrace-tst-loading): Likewise.
14666 * intl/Makefile (generated): Likewise.
14667 (tests-special): Likewise.
14668 ($(objpfx)mtrace-tst-gettext): Likewise.
14669 * misc/Makefile (generated): Likewise.
14670 (tests-special): Likewise.
14671 ($(objpfx)tst-error1-mem): Likewise.
14672 * nptl/Makefile (tests-special): Likewise.
14673 ($(objpfx)tst-stack3-mem): Likewise.
14674 (generated): Likewise.
14675 * posix/Makefile (generated): Likewise.
14676 (tests-special): Likewise.
14677 (xtests-special): Likewise.
14678 ($(objpfx)tst-fnmatch-mem): Likewise.
14679 ($(objpfx)bug-regex2-mem): Likewise.
14680 ($(objpfx)bug-regex14-mem): Likewise.
14681 ($(objpfx)bug-regex21-mem): Likewise.
14682 ($(objpfx)bug-regex31-mem): Likewise.
14683 ($(objpfx)tst-vfork3-mem): Likewise.
14684 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14685 ($(objpfx)tst-pcre-mem): Likewise.
14686 ($(objpfx)tst-boost-mem): Likewise.
14687 ($(objpfx)bug-ga2-mem): Likewise.
14688 ($(objpfx)bug-glob2-mem): Likewise.
14689 * resolv/Makefile (generate): Likewise.
14690 (tests-special): Likewise.
14691 (xtests-special): Likewise.
14692 (generated): Likewise.
14693 ($(objpfx)mtrace-tst-leaks): Likewise.
14694 ($(objpfx)mtrace-tst-leaks2): Likewise.
14696 * scripts/merge-test-results.sh: New file.
14697 * Makefile (tests-special-notdir): New variable.
14698 (tests): Run merge-test-results.sh.
14699 (xtests): Likewise.
14700 * Rules (tests-special-notdir): New variable.
14701 (xtests-special-notdir): Likewise.
14702 (tests): Run merge-test-results.sh
14703 (xtests): Likewise.
14705 * Makeconfig (test-xfail-name): New variable.
14706 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14707 compute variable name for expected failures.
14708 * conform/Makefile (conformtest-headers-data): New variable.
14709 (conformtest-standards): Likewise.
14710 (conformtest-headers-ISO): Likewise.
14711 (conformtest-headers-ISO99): Likewise.
14712 (conformtest-headers-ISO11): Likewise.
14713 (conformtest-headers-POSIX): Likewise.
14714 (conformtest-headers-XPG3): Likewise.
14715 (conformtest-headers-XPG4): Likewise.
14716 (conformtest-headers-UNIX98): Likewise.
14717 (conformtest-headers-XOPEN2K): Likewise.
14718 (conformtest-headers-POSIX2008): Likewise.
14719 (conformtest-headers-XOPEN2K8): Likewise.
14720 (conformtest-header-list-base): Likewise.
14721 (conformtest-header-list-tests): Likewise.
14722 (conformtest-header-base): Likewise.
14723 (conformtest-header-tests): Likewise.
14724 (tests-special): Add $(conformtest-header-list-tests). If
14725 [$(fast-check) && !$(cross-compiling)], add
14726 $(conformtest-header-tests) instead of
14727 $(objpfx)run-conformtest.out.
14728 (generated): Add $(conformtest-header-list-base). If
14729 [$(fast-check) && !$(cross-compiling)], add
14730 $(conformtest-header-base). Remove previous setting.
14731 ($(conformtest-header-list-tests)): New target.
14732 (test-xfail-run-conformtest): Remove variable.
14733 ($(objpfx)run-conformtest.out): Remove target.
14734 (test-xfail-ISO11/complex.h/conform): New variable.
14735 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14736 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14737 (test-xfail-XPG3/varargs.h/conform): Likewise.
14738 (test-xfail-XPG4/varargs.h/conform): Likewise.
14739 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14740 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14741 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14742 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14743 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14744 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14745 (test-xfail-XPG3/ftw.h/conform): Likewise.
14746 (test-xfail-XPG3/grp.h/conform): Likewise.
14747 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14748 (test-xfail-XPG3/limits.h/conform): Likewise.
14749 (test-xfail-XPG3/pwd.h/conform): Likewise.
14750 (test-xfail-XPG3/search.h/conform): Likewise.
14751 (test-xfail-XPG3/signal.h/conform): Likewise.
14752 (test-xfail-XPG3/stdio.h/conform): Likewise.
14753 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14754 (test-xfail-XPG3/string.h/conform): Likewise.
14755 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14756 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14757 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14758 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14759 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14760 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14761 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14762 (test-xfail-XPG3/termios.h/conform): Likewise.
14763 (test-xfail-XPG3/time.h/conform): Likewise.
14764 (test-xfail-XPG3/unistd.h/conform): Likewise.
14765 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14766 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14767 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14768 (test-xfail-XPG4/netdb.h/conform): Likewise.
14769 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14770 (test-xfail-XPG4/signal.h/conform): Likewise.
14771 (test-xfail-XPG4/stdio.h/conform): Likewise.
14772 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14773 (test-xfail-XPG4/stropts.h/conform): Likewise.
14774 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14775 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14776 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14777 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14778 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14779 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14780 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14781 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14782 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14783 (test-xfail-XPG4/termios.h/conform): Likewise.
14784 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14785 (test-xfail-XPG4/unistd.h/conform): Likewise.
14786 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14787 (test-xfail-POSIX/sched.h/conform): Likewise.
14788 (test-xfail-POSIX/signal.h/conform): Likewise.
14789 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14790 (test-xfail-POSIX/tar.h/conform): Likewise.
14791 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14792 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14793 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14794 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14795 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14796 (test-xfail-UNIX98/sched.h/conform): Likewise.
14797 (test-xfail-UNIX98/signal.h/conform): Likewise.
14798 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14799 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14800 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14801 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14802 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14803 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14804 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14805 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14806 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14807 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14808 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14809 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14810 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14811 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14812 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14813 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14814 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14815 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14816 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14817 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14818 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14819 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14820 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14821 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14822 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14823 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14824 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14825 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14826 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14827 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14828 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14829 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14830 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14831 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14832 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14833 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14834 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14835 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14836 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14837 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14838 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14839 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14840 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14841 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14842 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14843 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14844 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14845 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14846 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14847 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14848 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14849 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14850 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14851 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14852 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14853 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14854 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14855 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14856 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14857 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14858 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14859 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14860 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14861 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14862 (conformtest-cc-flags): Likewise.
14863 ($(conformtest-header-tests): New target.
14864 * conform/check-header-lists.sh: New file.
14865 * conform/run-conformtest.sh: Remove.
14867 * conform/conformtest.pl: Allow ' and \ in values given for
14869 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14871 [POSIX] (sys/types.h): Likewise.
14872 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14874 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14876 * conform/data/signal.h-data (SIGIO): Remove expectation.
14877 [XPG3] (SIGBUS): Do not expect.
14878 [POSIX || XPG3] (SIGPOLL): Likewise.
14879 [POSIX || XPG3] (SIGPROF): Likewise.
14880 [POSIX || XPG3] (SIGSYS): Likewise.
14881 [XPG3] (SIGTRAP): Likewise.
14882 [POSIX || XPG3] (SIGURG): Likewise.
14883 [POSIX || XPG3] (SIGVTALRM): Likewise.
14884 [POSIX || XPG3] (SIGXCPU): Likewise.
14885 [POSIX || XPG3] (SIGXFSZ): Likewise.
14886 [POSIX] (SA_SIGINFO): Expect.
14887 [XPG3] (siginfo_t): Do not expect type or contents.
14888 [POSIX] (si_pid): Do not expect element.
14889 [POSIX] (si_uid): Likewise.
14890 [POSIX] (si_addr): Likewise.
14891 [POSIX] (si_status): Likewise.
14892 [POSIX] (si_band): Likewise.
14893 [XPG4] (si_value): Likewise.
14894 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14895 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14896 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14897 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14898 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14899 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14900 [POSIX || XPG3] (ILL_COPROC): Likewise.
14901 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14902 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14903 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14904 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14905 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14906 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14907 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14908 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14909 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14910 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14911 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14912 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14913 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14914 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14915 [POSIX || XPG3] (CLD_EXITED): Likewise.
14916 [POSIX || XPG3] (CLD_KILLED): Likewise.
14917 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14918 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14919 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14920 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14921 [POSIX || XPG3] (POLL_IN): Likewise.
14922 [POSIX || XPG3] (POLL_OUT): Likewise.
14923 [POSIX || XPG3] (POLL_MSG): Likewise.
14924 [POSIX || XPG3] (POLL_ERR): Likewise.
14925 [POSIX || XPG3] (POLL_PRI): Likewise.
14926 [POSIX || XPG3] (POLL_HUP): Likewise.
14927 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14928 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14929 (SIG*): Do not allow.
14930 [XPG3] (si_*): Likewise.
14931 [XPG3] (SI_*): Likewise.
14932 [XPG3 || XPG4] (sigev_*): Likewise.
14933 [XPG3 || XPG4] (SIGEV_*): Likewise.
14934 [XPG3 || XPG4] (sival_*): Likewise.
14935 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14936 [POSIX || XPG3] (BUS_*): Likewise.
14937 [POSIX || XPG3] (CLD_*): Likewise.
14938 [POSIX || XPG3] (FPE_*): Likewise.
14939 [POSIX || XPG3] (ILL_*): Likewise.
14940 [POSIX || XPG3] (POLL_*): Likewise.
14941 [POSIX || XPG3] (SEGV_*): Likewise.
14942 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14943 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14944 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14945 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14946 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14947 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14948 Specify type and value.
14949 (TVERSLEN): Likewise.
14950 (REGTYPE): Likewise.
14951 (AREGTYPE): Likewise.
14952 (LNKTYPE): Likewise.
14953 (SYMTYPE): Likewise.
14954 (CHRTYPE): Likewise.
14955 (BLKTYPE): Likewise.
14956 (DIRTYPE): Likewise.
14957 (FIFOTYPE): Likewise.
14958 (CONTTYPE): Likewise.
14962 (TUREAD): Likewise.
14963 (TUWRITE): Likewise.
14964 (TUEXEC): Likewise.
14965 (TGREAD): Likewise.
14966 (TGWRITE): Likewise.
14967 (TGEXEC): Likewise.
14968 (TOREAD): Likewise.
14969 (TOWRITE): Likewise.
14970 (TOEXEC): Likewise.
14971 [POSIX] (TSVTX): Expect constant.
14973 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14975 * Makefile (tests): Change dependencies to ....
14976 (tests-special): ... additions to this variable.
14977 (tests): Depend on $(tests-special).
14978 * Makerules (check-abi-list): New variable.
14979 (check-abi): Depend on $(check-abi-list).
14980 [$(subdir) = elf] (tests-special): Add
14981 $(objpfx)check-abi-libc.out.
14982 [$(build-shared) = yes && subdir] (tests-special): Add
14984 [$(build-shared) = yes && subdir] (tests): Do not depend on
14986 * Rules (tests): Depend on $(tests-special).
14987 (xtests): Depend on $(xtests-special).
14988 * catgets/Makefile (tests): Change dependencies to ....
14989 (tests-special): ... additions to this variable.
14990 * conform/Makefile (tests): Change dependencies to ....
14991 (tests-special): ... additions to this variable.
14992 * elf/Makefile (tests): Change dependencies to ....
14993 (tests-special): ... additions to this variable.
14994 * grp/Makefile (tests): Change dependencies to ....
14995 (tests-special): ... additions to this variable.
14996 * iconv/Makefile (xtests): Change dependencies to ....
14997 (xtests-special): ... additions to this variable.
14998 * iconvdata/Makefile (tests): Change dependencies to ....
14999 (tests-special): ... additions to this variable.
15000 * intl/Makefile (tests): Change dependencies to ....
15001 (tests-special): ... additions to this variable. Also add
15002 $(objpfx)tst-gettext.out.
15003 * io/Makefile (tests): Change dependencies to ....
15004 (tests-special): ... additions to this variable.
15005 * libio/Makefile (tests): Change dependencies to ....
15006 (tests-special): ... additions to this variable.
15007 * malloc/Makefile (tests): Change dependencies to ....
15008 (tests-special): ... additions to this variable.
15009 * misc/Makefile (tests): Change dependencies to ....
15010 (tests-special): ... additions to this variable.
15011 * nptl/Makefile (tests): Change dependencies to ....
15012 (tests-special): ... additions to this variable.
15013 * nptl_db/Makefile (tests): Change dependencies to ....
15014 (tests-special): ... additions to this variable.
15015 * posix/Makefile (tests): Change dependencies to ....
15016 (tests-special): ... additions to this variable.
15017 (xtests): Change dependencies to ....
15018 (xtests-special): ... additions to this variable.
15019 * resolv/Makefile (tests): Change dependencies to ....
15020 (tests-special): ... additions to this variable.
15021 (xtests): Change dependencies to ....
15022 (xtests-special): ... additions to this variable.
15023 * stdio-common/Makefile (tests): Change dependencies to ....
15024 (tests-special): ... additions to this variable.
15025 (do-tst-unbputc): Remove target.
15026 (do-tst-printf): Likewise.
15027 * stdlib/Makefile (tests): Change dependencies to ....
15028 (tests-special): ... additions to this variable.
15029 * string/Makefile (tests): Change dependencies to ....
15030 (tests-special): ... additions to this variable.
15031 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15032 (tests-special): ... additions to this variable.
15034 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15036 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15038 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15039 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15041 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15042 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15043 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15044 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15045 * conform/data/libgen.h-data [XPG3]: Likewise.
15046 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15047 * conform/data/ndbm.h-data [XPG3]: Likewise.
15048 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15049 * conform/data/netdb.h-data [XPG3]: Likewise.
15050 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15051 * conform/data/poll.h-data [XPG3]: Likewise.
15052 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15053 * conform/data/strings.h-data [XPG3]: Likewise.
15054 * conform/data/stropts.h-data [XPG3]: Likewise.
15055 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15056 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15057 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15059 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15060 * conform/data/sys/time.h-data [XPG3]: Likewise.
15061 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15062 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15063 * conform/data/sys/un.h-data [XPG3]: Likewise.
15064 * conform/data/syslog.h-data [XPG3]: Likewise.
15065 * conform/data/ucontext.h-data [XPG3]: Likewise.
15066 * conform/data/utmpx.h-data [XPG3]: Likewise.
15067 * conform/data/varargs.h-data [UNIX98]: Enable file.
15069 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15071 * math/libm-test.inc (struct test_f_f_data): Move expected results
15072 into structure for each rounding mode.
15073 (struct test_ff_f_data): Likewise.
15074 (struct test_ff_f_data_nexttoward): Likewise.
15075 (struct test_fi_f_data): Likewise.
15076 (struct test_fl_f_data): Likewise.
15077 (struct test_if_f_data): Likewise.
15078 (struct test_fff_f_data): Likewise.
15079 (struct test_c_f_data): Likewise.
15080 (struct test_f_f1_data): Likewise.
15081 (struct test_fF_f1_data): Likewise.
15082 (struct test_ffI_f1_data): Likewise.
15083 (struct test_c_c_data): Likewise.
15084 (struct test_cc_c_data): Likewise.
15085 (struct test_f_i_data): Likewise.
15086 (struct test_ff_i_data): Likewise.
15087 (struct test_f_l_data): Likewise.
15088 (struct test_f_L_data): Likewise.
15089 (struct test_fFF_11_data): Likewise.
15091 (RM_FE_DOWNWARD): Likewise.
15092 (RM_FE_TONEAREST): Likewise.
15093 (RM_FE_TOWARDZERO): Likewise.
15094 (RM_FE_UPWARD): Likewise.
15095 (RUN_TEST_LOOP_f_f): Update references to expected results.
15096 (RUN_TEST_LOOP_2_f): Likewise.
15097 (RUN_TEST_LOOP_fff_f): Likewise.
15098 (RUN_TEST_LOOP_c_f): Likewise.
15099 (RUN_TEST_LOOP_f_f1): Likewise.
15100 (RUN_TEST_LOOP_fF_f1): Likewise.
15101 (RUN_TEST_LOOP_fI_f1): Likewise.
15102 (RUN_TEST_LOOP_ffI_f1): Likewise.
15103 (RUN_TEST_LOOP_c_c): Likewise.
15104 (RUN_TEST_LOOP_cc_c): Likewise.
15105 (RUN_TEST_LOOP_f_i): Likewise.
15106 (RUN_TEST_LOOP_f_i_tg): Likewise.
15107 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15108 (RUN_TEST_LOOP_f_b): Likewise.
15109 (RUN_TEST_LOOP_f_b_tg): Likewise.
15110 (RUN_TEST_LOOP_f_l): Likewise.
15111 (RUN_TEST_LOOP_f_L): Likewise.
15112 (RUN_TEST_LOOP_fFF_11): Likewise.
15113 * math/gen-libm-test.pl (parse_args): Output four copies of
15114 expected results for each test.
15116 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15117 (__ASSUME_UTIMES): Remove.
15118 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15119 (__ASSUME_UTIMES): Likewise.
15121 * math/gen-auto-libm-tests.c: Update comment on output format.
15122 (output_for_one_input_case): Generate before-rounding and
15123 after-rounding information as conditions on output flags not
15124 floating-point format.
15125 * math/auto-libm-test-out: Regenerated.
15126 * math/gen-libm-test.pl (cond_value): New function.
15127 (or_cond_value): Use cond_value.
15128 (generate_testfile): Handle conditional exceptions.
15130 2014-03-05 Joseph Myers <joseph@codesourcery.com>
15132 * math/libm-test.inc (max_valid_error): New variable.
15133 (init_max_error): Take new argument specifying whether function
15134 results are exactly determined. Set max_valid_error and bound
15135 other variables for errors based on this argument.
15136 (set_max_error): Do not record results above max_valid_error.
15137 (check_float_internal): Only accept errors of up to 0.5ulps if
15138 also at most max_valid_error.
15139 (START): Take new argument EXACT and pass it to init_max_error.
15140 (acos_test): Update call to START.
15141 (acos_test_tonearest): Likewise.
15142 (acos_test_towardzero): Likewise.
15143 (acos_test_downward): Likewise.
15144 (acos_test_upward): Likewise.
15145 (acosh_test): Likewise.
15146 (asin_test): Likewise.
15147 (asin_test_tonearest): Likewise.
15148 (asin_test_towardzero): Likewise.
15149 (asin_test_downward): Likewise.
15150 (asin_test_upward): Likewise.
15151 (asinh_test): Likewise.
15152 (atan_test): Likewise.
15153 (atanh_test): Likewise.
15154 (atan2_test): Likewise.
15155 (cabs_test): Likewise.
15156 (cacos_test): Likewise.
15157 (cacosh_test): Likewise.
15158 (carg_test): Likewise.
15159 (casin_test): Likewise.
15160 (casinh_test): Likewise.
15161 (catan_test): Likewise.
15162 (catanh_test): Likewise.
15163 (cbrt_test): Likewise.
15164 (ccos_test): Likewise.
15165 (ccosh_test): Likewise.
15166 (ceil_test): Likewise.
15167 (cexp_test): Likewise.
15168 (cimag_test): Likewise.
15169 (clog_test): Likewise.
15170 (clog10_test): Likewise.
15171 (conj_test): Likewise.
15172 (copysign_test): Likewise.
15173 (cos_test): Likewise.
15174 (cos_test_tonearest): Likewise.
15175 (cos_test_towardzero): Likewise.
15176 (cos_test_downward): Likewise.
15177 (cos_test_upward): Likewise.
15178 (cosh_test): Likewise.
15179 (cosh_test_tonearest): Likewise.
15180 (cosh_test_towardzero): Likewise.
15181 (cosh_test_downward): Likewise.
15182 (cosh_test_upward): Likewise.
15183 (cpow_test): Likewise.
15184 (cproj_test): Likewise.
15185 (creal_test): Likewise.
15186 (csin_test): Likewise.
15187 (csinh_test): Likewise.
15188 (csqrt_test): Likewise.
15189 (ctan_test): Likewise.
15190 (ctan_test_tonearest): Likewise.
15191 (ctan_test_towardzero): Likewise.
15192 (ctan_test_downward): Likewise.
15193 (ctan_test_upward): Likewise.
15194 (ctanh_test): Likewise.
15195 (ctanh_test_tonearest): Likewise.
15196 (ctanh_test_towardzero): Likewise.
15197 (ctanh_test_downward): Likewise.
15198 (ctanh_test_upward): Likewise.
15199 (erf_test): Likewise.
15200 (erfc_test): Likewise.
15201 (exp_test): Likewise.
15202 (exp_test_tonearest): Likewise.
15203 (exp_test_towardzero): Likewise.
15204 (exp_test_downward): Likewise.
15205 (exp_test_upward): Likewise.
15206 (exp10_test): Likewise.
15207 (exp10_test_tonearest): Likewise.
15208 (exp10_test_towardzero): Likewise.
15209 (exp10_test_downward): Likewise.
15210 (exp10_test_upward): Likewise.
15211 (pow10_test): Likewise.
15212 (exp2_test): Likewise.
15213 (expm1_test): Likewise.
15214 (expm1_test_tonearest): Likewise.
15215 (expm1_test_towardzero): Likewise.
15216 (expm1_test_downward): Likewise.
15217 (expm1_test_upward): Likewise.
15218 (fabs_test): Likewise.
15219 (fdim_test): Likewise.
15220 (floor_test): Likewise.
15221 (fma_test): Likewise.
15222 (fma_test_towardzero): Likewise.
15223 (fma_test_downward): Likewise.
15224 (fma_test_upward): Likewise.
15225 (fmax_test): Likewise.
15226 (fmin_test): Likewise.
15227 (fmod_test): Likewise.
15228 (fpclassify_test): Likewise.
15229 (frexp_test): Likewise.
15230 (hypot_test): Likewise.
15231 (ilogb_test): Likewise.
15232 (isfinite_test): Likewise.
15233 (finite_test): Likewise.
15234 (isgreater_test): Likewise.
15235 (isgreaterequal_test): Likewise.
15236 (isinf_test): Likewise.
15237 (isless_test): Likewise.
15238 (islessequal_test): Likewise.
15239 (islessgreater_test): Likewise.
15240 (isnan_test): Likewise.
15241 (isnormal_test): Likewise.
15242 (issignaling_test): Likewise.
15243 (isunordered_test): Likewise.
15244 (j0_test): Likewise.
15245 (j1_test): Likewise.
15246 (jn_test): Likewise.
15247 (ldexp_test): Likewise.
15248 (lgamma_test): Likewise.
15249 (gamma_test): Likewise.
15250 (lrint_test): Likewise.
15251 (lrint_test_tonearest): Likewise.
15252 (lrint_test_towardzero): Likewise.
15253 (lrint_test_downward): Likewise.
15254 (lrint_test_upward): Likewise.
15255 (llrint_test): Likewise.
15256 (llrint_test_tonearest): Likewise.
15257 (llrint_test_towardzero): Likewise.
15258 (llrint_test_downward): Likewise.
15259 (llrint_test_upward): Likewise.
15260 (log_test): Likewise.
15261 (log10_test): Likewise.
15262 (log1p_test): Likewise.
15263 (log2_test): Likewise.
15264 (logb_test): Likewise.
15265 (logb_test_downward): Likewise.
15266 (lround_test): Likewise.
15267 (llround_test): Likewise.
15268 (modf_test): Likewise.
15269 (nearbyint_test): Likewise.
15270 (nextafter_test): Likewise.
15271 (nexttoward_test): Likewise.
15272 (pow_test): Likewise.
15273 (pow_test_tonearest): Likewise.
15274 (pow_test_towardzero): Likewise.
15275 (pow_test_downward): Likewise.
15276 (pow_test_upward): Likewise.
15277 (remainder_test): Likewise.
15278 (drem_test): Likewise.
15279 (remainder_test_tonearest): Likewise.
15280 (drem_test_tonearest): Likewise.
15281 (remainder_test_towardzero): Likewise.
15282 (drem_test_towardzero): Likewise.
15283 (remainder_test_downward): Likewise.
15284 (drem_test_downward): Likewise.
15285 (remainder_test_upward): Likewise.
15286 (drem_test_upward): Likewise.
15287 (remquo_test): Likewise.
15288 (rint_test): Likewise.
15289 (rint_test_tonearest): Likewise.
15290 (rint_test_towardzero): Likewise.
15291 (rint_test_downward): Likewise.
15292 (rint_test_upward): Likewise.
15293 (round_test): Likewise.
15294 (scalb_test): Likewise.
15295 (scalbn_test): Likewise.
15296 (scalbln_test): Likewise.
15297 (signbit_test): Likewise.
15298 (sin_test): Likewise.
15299 (sin_test_tonearest): Likewise.
15300 (sin_test_towardzero): Likewise.
15301 (sin_test_downward): Likewise.
15302 (sin_test_upward): Likewise.
15303 (sincos_test): Likewise.
15304 (sinh_test): Likewise.
15305 (sinh_test_tonearest): Likewise.
15306 (sinh_test_towardzero): Likewise.
15307 (sinh_test_downward): Likewise.
15308 (sinh_test_upward): Likewise.
15309 (sqrt_test): Likewise.
15310 (sqrt_test_tonearest): Likewise.
15311 (sqrt_test_towardzero): Likewise.
15312 (sqrt_test_downward): Likewise.
15313 (sqrt_test_upward): Likewise.
15314 (tan_test): Likewise.
15315 (tan_test_tonearest): Likewise.
15316 (tan_test_towardzero): Likewise.
15317 (tan_test_downward): Likewise.
15318 (tan_test_upward): Likewise.
15319 (tanh_test): Likewise.
15320 (tgamma_test): Likewise.
15321 (trunc_test): Likewise.
15322 (y0_test): Likewise.
15323 (y1_test): Likewise.
15324 (yn_test): Likewise.
15325 (significand_test): Likewise.
15327 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15328 individual tests in comment.
15329 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15330 (prev_max_error): New variable.
15331 (prev_real_max_error): Likewise.
15332 (prev_imag_max_error): Likewise.
15333 (compare_ulp_data): Don't refer to test names in comment.
15334 (find_test_ulps): Remove function.
15335 (find_function_ulps): Likewise.
15336 (find_complex_function_ulps): Likewise.
15337 (init_max_error): Take function name as argument. Look up ulps
15339 (print_ulps): Remove function.
15340 (print_max_error): Use prev_max_error instead of calling
15341 find_function_ulps.
15342 (print_complex_max_error): Use prev_real_max_error and
15343 prev_imag_max_error instead of calling find_complex_function_ulps.
15344 (check_float_internal): Take max_ulp parameter instead of calling
15345 find_test_ulps. Don't call print_ulps.
15346 (check_float): Update call to check_float_internal.
15347 (check_complex): Update calls to check_float_internal.
15348 (START): Pass argument to init_max_error.
15349 * math/gen-libm-test.pl (%results): Don't include "kind"
15351 (parse_ulps): Don't handle ulps of individual tests.
15352 (print_ulps_file): Likewise.
15353 (output_ulps): Likewise.
15354 * math/README.libm-test: Update.
15355 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15357 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15358 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15359 * sysdeps/arm/libm-test-ulps: Likewise.
15360 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15361 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15362 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15363 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15364 * sysdeps/microblaze/libm-test-ulps: Likewise.
15365 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15366 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15368 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15369 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15370 * sysdeps/sh/libm-test-ulps: Likewise.
15371 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15372 * sysdeps/tile/libm-test-ulps: Likewise.
15373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15375 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15377 * math/libm-test.inc (print_complex_max_error): Check separately
15378 whether real and imaginary errors are within allowed range and
15379 pass 0 to print_complex_function_ulps instead of value within
15382 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15384 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15386 (get_handles_fopen): Likewise.
15387 (do_write_test): Likewise.
15389 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15391 * libio/fileops.c (do_ftell): Use cached offset when
15393 * libio/iofwide.c (do_ftell_wide): Likewise.
15394 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15396 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15399 * libio/libioP.h (get_file_offset): New function.
15400 * libio/fileops.c (get_file_offset): Likewise.
15401 (do_ftell): Likewise.
15402 (_IO_new_file_seekoff): Split out ftell logic.
15403 * libio/wfileops.c (do_ftell_wide): Likewise.
15404 (_IO_wfile_seekoff): Split out ftell logic.
15405 * libio/tst-ftell-active-handler.c: New test case.
15406 * libio/Makefile (tests): Add it.
15408 2014-03-03 Roland McGrath <roland@hack.frob.com>
15410 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15411 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15413 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15416 * nscd/connections.c (nscd_init): Call do_exit.
15417 (start_threads): Call do_exit and notify_parent.
15418 (begin_drop_privileges): Call do_exit.
15419 (finish_drop_privileges): Likewise.
15420 * nscd/selinux.c (preserve_capabilities): Likewise.
15421 (install_real_capabilities): Likewise.
15422 (nscd_selinux_enabled): Likewise.
15423 (avc_create_thread): Likewise.
15424 (avc_alloc_lock): Likewise.
15425 (nscd_avc_init): Likewise.
15426 * nscd/nscd.c (parent_fd): New static variable.
15427 (main): Create a pipe between parent and child processes.
15428 Skip closing parent_fd.
15429 (monitor_child): New function.
15430 (do_exit): Likewise.
15431 (notify_parent): Likewise.
15432 * nscd/nscd.h (notify_parent): Likewise.
15433 (do_exit): Likewise.
15435 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15437 * malloc/malloc.c (__libc_calloc): Revert last change.
15439 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15443 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15445 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15449 (__libc_ifunc_impl_list): Likewise.
15450 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15451 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15452 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15453 * string/strrchr.c: Define STRRCHR.
15455 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15457 * benchtest/bench-strtok.c (simple_strtok): Delete.
15458 (strtok_string): Use as benchmark.
15459 * string/strtok (STRTOK): New macro.
15461 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15463 * manual/threads.texi: Add header and standard comments to all
15466 * elf/dl-lookup.c (check_match): New function.
15467 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15468 (do_lookup_x): Remove nested function check_match. Use non-nested
15469 function check_match.
15471 2014-02-28 Roland McGrath <roland@hack.frob.com>
15473 * csu/Makefile (generated, before-compile): Use += rather than =.
15474 * catgets/Makefile (generated, generated-dirs): Likewise.
15475 * debug/Makefile (generated): Likewise.
15476 * dlfcn/Makefile (generated): Likewise.
15477 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15478 * iconvdata/Makefile (before-compile, generated): Likewise.
15479 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15480 * libio/Makefile (generated): Likewise.
15481 * malloc/Makefile (generated): Likewise.
15482 * manual/Makefile (generated, generated-dirs): Likewise.
15483 * misc/Makefile (generated): Likewise.
15484 * posix/Makefile (generated): Likewise.
15485 * resolv/Makefile (generated): Likewise.
15486 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15487 * timezone/Makefile (generated, generated-dirs): Likewise.
15489 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15491 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15494 power8 implementation.
15495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15496 file: POWER8 llround ifunc implementation.
15497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15498 (__lllround): Add POWER8 implementation.
15499 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15500 POWER8 llround implementation.
15502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15503 power8 implementation.
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15505 file: POWER8 llrint ifunc implementation.
15506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15507 Add POWER8 implementation.
15508 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15509 POWER8 llrint implementation.
15511 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15512 power8 implementation.
15513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15514 file: POWER8 finite ifunc implementation.
15515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15516 Add POWER8 implementation.
15517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15519 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15520 POWER8 finite implementation.
15521 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15523 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15524 power8 implementation.
15525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15526 file: POWER8 isinf ifunc implementation.
15527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15528 POWER8 implementation.
15529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15531 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15532 isinf implementation.
15533 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15535 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15536 (INIT_ARCH): Add hwcap2 initialization.
15537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15538 power8 implementation.
15539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15540 file: POWER8 isnan ifunc implementation.
15541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15542 POWER8 implementation.
15543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15545 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15546 isnan implementation.
15547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15549 2014-02-27 Joey Ye <joey.ye@arm.com>
15551 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15552 (_FP_NANFRAC_Q): Set to zero.
15554 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15557 * math/auto-libm-test-in: New test inputs.
15558 * math/auto-libm-test-out: Regenerate.
15559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15562 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15564 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15566 * scripts/evaluate-test.sh: Take new argument indicating whether
15567 failure is expected.
15568 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15569 indicating whether failure is expected.
15570 * conform/Makefile (test-xfail-run-conformtest): New variable.
15571 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15573 * posix/Makefile (test-xfail-annexc): New variable.
15574 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15576 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15578 * argp/Makefile: Include Makeconfig immediately after defining
15580 * assert/Makefile: Likewise.
15581 * benchtests/Makefile: Likewise.
15582 * catgets/Makefile: Likewise.
15583 * conform/Makefile: Likewise.
15584 * crypt/Makefile: Likewise.
15585 * csu/Makefile: Likewise.
15586 (all): Remove target.
15587 * ctype/Makefile: Include Makeconfig immediately after defining
15589 * debug/Makefile: Likewise.
15590 * dirent/Makefile: Likewise.
15591 * dlfcn/Makefile: Likewise.
15592 * gmon/Makefile: Likewise.
15593 * gnulib/Makefile: Likewise.
15594 * grp/Makefile: Likewise.
15595 * gshadow/Makefile: Likewise.
15596 * hesiod/Makefile: Likewise.
15597 * hurd/Makefile: Likewise.
15598 (all): Remove target.
15599 * iconvdata/Makefile: Include Makeconfig immediately after
15601 * inet/Makefile: Likewise.
15602 * intl/Makefile: Likewise.
15603 * io/Makefile: Likewise.
15604 * libio/Makefile: Likewise.
15605 (all): Remove target.
15606 * locale/Makefile: Include Makeconfig immediately after defining
15608 * login/Makefile: Likewise.
15609 * mach/Makefile: Likewise.
15610 (all): Remove target.
15611 * malloc/Makefile: Include Makeconfig immediately after defining
15613 (all): Remove target.
15614 * manual/Makefile: Include Makeconfig immediately after defining
15616 * math/Makefile: Likewise.
15617 * misc/Makefile: Likewise.
15618 * nis/Makefile: Likewise.
15619 * nss/Makefile: Likewise.
15620 * po/Makefile: Likewise.
15621 (all): Remove target.
15622 * posix/Makefile: Include Makeconfig immediately after defining
15624 * pwd/Makefile: Likewise.
15625 * resolv/Makefile: Likewise.
15626 * resource/Makefile: Likewise.
15627 * rt/Makefile: Likewise.
15628 * setjmp/Makefile: Likewise.
15629 * shadow/Makefile: Likewise.
15630 * signal/Makefile: Likewise.
15631 * socket/Makefile: Likewise.
15632 * soft-fp/Makefile: Likewise.
15633 * stdio-common/Makefile: Likewise.
15634 * stdlib/Makefile: Likewise.
15635 * streams/Makefile: Likewise.
15636 * string/Makefile: Likewise.
15637 * sunrpc/Makefile: Likewise.
15638 (all): Remove target.
15639 * sysvipc/Makefile: Include Makeconfig immediately after defining
15641 * termios/Makefile: Likewise.
15642 * time/Makefile: Likewise.
15643 * timezone/Makefile: Likewise.
15644 (all): Remove target.
15645 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15647 * wctype/Makefile: Likewise.
15649 2014-02-26 Steve Ellcey <sellcey@mips.com>
15651 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15652 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15653 (libc_feholdexcept_setround_mips): Ditto.
15654 (libc_feholdsetround): New.
15655 (libc_feholdsetroundf): New.
15656 (libc_feholdsetroundl): New.
15657 (libc_feupdateenv_test_mips): New.
15658 (libc_feupdateenv_test): New.
15659 (libc_feupdateenv_testf): New.
15660 (libc_feupdateenv_testl): New.
15661 (libc_feresetround): New.
15662 (libc_feresetroundf): New.
15663 (libc_feresetroundl): New.
15664 (libc_fetestexcept_mips): New.
15665 (libc_fetestexcept): New.
15666 (libc_fetestexceptf): New.
15667 (libc_fetestexceptl): New.
15668 (HAVE_RM_CTX): New.
15669 (libc_feholdexcept_setround_mips_ctx): New.
15670 (libc_feholdexcept_setround_ctx): New.
15671 (libc_feholdexcept_setroundf_ctx): New.
15672 (libc_feholdexcept_setroundl_ctx): New.
15673 (libc_fesetenv_mips_ctx): New.
15674 (libc_fesetenv_ctx): New.
15675 (libc_fesetenv_ctxf): New.
15676 (libc_fesetenv_ctxl): New.
15677 (libc_feupdateenv_mips_ctx): New.
15678 (libc_feupdateenv_ctx): New.
15679 (libc_feupdateenvf_ctx): New.
15680 (libc_feupdateenvl_ctx): New.
15681 (libc_feholdsetround_mips_ctx): New.
15682 (libc_feholdsetround_ctx): New.
15683 (libc_feholdsetroundf_ctx): New.
15684 (libc_feholdsetroundl_ctx): New.
15685 (libc_feresetround_mips_ctx): New.
15686 (libc_feresetround_ctx): New.
15687 (libc_feresetroundf_ctx): New.
15688 (libc_feresetroundl_ctx): New.
15690 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15692 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15694 * manual/ipc.texi: New file.
15695 * manual/Makefile (chapters): Add ipc.
15696 * manual/job.texi: Add "Inter-Process Communication" to next.
15697 * manual/process.texi: Add "Inter-Process Communication" to prev.
15699 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15703 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15705 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15707 * manual/arith.texi: Fix spaces after sentences.
15708 * manual/charset.texi: Likewise.
15709 * manual/errno.texi: Likewise.
15710 * manual/install.texi: Likewise.
15711 * manual/llio.texi: Likewise.
15712 * manual/locale.texi: Likewise.
15713 * manual/maint.texi: Likewise.
15714 * manual/math.texi: Likewise.
15715 * manual/memory.texi: Likewise.
15716 * manual/message.texi: Likewise.
15717 * manual/probes.texi: Likewise.
15718 * manual/resource.texi: Likewise.
15719 * manual/signal.texi: Likewise.
15720 * manual/socket.texi: Likewise.
15721 * manual/stdio.texi: Likewise.
15722 * manual/string.texi: Likewise.
15723 * manual/time.texi: Likewise.
15724 * manual/users.texi: Likewise.
15726 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15729 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15730 _DEFAULT_SOURCE is defined.
15732 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15733 Carlos O'Donell <carlos@redhat.com>
15736 * elf/dl-tls.c (_dl_count_modids): New function.
15737 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15738 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15739 audit library and increment generation counter.
15740 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15741 * elf/tst-audit9.c: New file.
15742 * elf/tst-auditmod9a.c: New file.
15743 * elf/tst-auditmod9b.c: New file.
15744 * elf/Makefile: Add rules to build and run tst-audit9.
15746 2014-02-25 Florian Weimer <fweimer@redhat.com>
15749 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15751 2014-02-25 Will Newton <will.newton@linaro.org>
15753 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15754 (__longjmp): Restore sp and lr before restoring callee
15755 saved registers. Add longjmp and longjmp_target
15756 SystemTap probe point.
15757 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15758 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15759 Define to zero to match jmpbuf layout.
15760 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15761 (__sigsetjmp): Save sp and lr before saving callee
15762 saved registers. Add setjmp SystemTap probe point.
15764 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15766 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15768 2014-02-24 Andreas Schwab <schwab@suse.de>
15771 * elf/pldd.c (wait_for_ptrace_stop): New function.
15772 (main): Call it after attaching.
15774 2014-02-22 Roland McGrath <roland@hack.frob.com>
15776 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15777 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15778 Versions files is now verboten.
15779 * hurd/Versions (libc: GLIBC_2.0):
15780 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15781 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15782 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15783 * mach/Versions: Likewise.
15785 * csu/Versions: Remove unused %include.
15786 * resolv/Versions: Likewise.
15788 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15790 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15791 ($(objpfx)check-local-headers.out): Likewise.
15792 ($(objpfx)begin-end-check.out): Likewise.
15793 * Makerules (check-abi-%.out): Likewise.
15794 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15795 ($(objpfx)test2.cat): Likewise.
15796 ($(objpfx)de/libc.cat): Likewise.
15797 ($(objpfx)test-gencat.out): Likewise.
15798 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15799 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15800 ($(objpfx)noload-mem): Likewise.
15801 ($(objpfx)tst-pathopt.out): Likewise.
15802 ($(objpfx)tst-rtld-load-self.out): Likewise.
15803 ($(objpfx)tst-array1-cmp.out): Likewise.
15804 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15805 ($(objpfx)tst-array2-cmp.out): Likewise.
15806 ($(objpfx)tst-array3-cmp.out): Likewise.
15807 ($(objpfx)tst-array4-cmp.out): Likewise.
15808 ($(objpfx)tst-array5-cmp.out): Likewise.
15809 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15810 ($(objpfx)check-textrel.out): Likewise.
15811 ($(objpfx)check-execstack.out): Likewise.
15812 ($(objpfx)check-localplt.out): Likewise.
15813 ($(objpfx)order2-cmp.out): Likewise.
15814 ($(objpfx)tst-leaks1-mem): Likewise.
15815 ($(objpfx)tst-leaks1-static-mem): Likewise.
15816 ($(objpfx)tst-initorder-cmp.out): Likewise.
15817 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15818 ($(objpfx)tst-unused-dep.out): Likewise.
15819 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15821 * iconv/Makefile (test-iconvconfig): Likewise.
15822 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15823 ($(objpfx)iconv-test.out): Likewise.
15824 ($(objpfx)tst-tables.out): Likewise.
15825 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15826 ($(objpfx)tst-gettext.out): Likewise.
15827 ($(objpfx)tst-translit.out): Likewise.
15828 ($(objpfx)tst-gettext2.out): Likewise.
15829 ($(objpfx)tst-gettext4.out): Likewise.
15830 ($(objpfx)tst-gettext6.out): Likewise.
15831 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15832 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15833 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15834 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15835 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15836 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15837 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15838 ($(objpfx)wordexp-tst.out): Likewise.
15839 ($(objpfx)annexc.out): Likewise.
15840 ($(objpfx)tst-fnmatch-mem): Likewise.
15841 ($(objpfx)bug-regex2-mem): Likewise.
15842 ($(objpfx)bug-regex14-mem): Likewise.
15843 ($(objpfx)bug-regex21-mem): Likewise.
15844 ($(objpfx)bug-regex31-mem): Likewise.
15845 ($(objpfx)tst-vfork3-mem): Likewise.
15846 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15847 ($(objpfx)tst-pcre-mem): Likewise.
15848 ($(objpfx)tst-boost-mem): Likewise.
15849 ($(objpfx)tst-getconf.out): Likewise.
15850 ($(objpfx)bug-ga2-mem): Likewise.
15851 ($(objpfx)bug-glob2-mem): Likewise.
15852 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15853 ($(objpfx)mtrace-tst-leaks2): Likewise.
15854 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15855 ($(objpfx)tst-printf.out): Likewise.
15856 ($(objpfx)tst-setvbuf1.out): Likewise.
15857 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15858 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15859 ($(objpfx)tst-fmtmsg.out): Likewise.
15860 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15861 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15863 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15864 * bits/sigaction.h [__USE_MISC]: Likewise.
15865 * bits/waitstatus.h: Update #endif comments.
15866 * ctype/ctype.h: Likewise.
15867 * dirent/dirent.h: Likewise.
15868 [__USE_MISC]: Remove redundant conditionals.
15869 * grp/grp.h: Update #endif comments.
15870 [__USE_GNU]: Remove redundant conditionals.
15871 [__USE_MISC]: Likewise.
15872 * inet/netinet/in.h [__USE_GNU]: Likewise.
15873 * io/sys/stat.h [__USE_MISC]: Likewise.
15874 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15875 * libio/bits/stdio.h: Update #endif comments.
15876 [__USE_MISC]: Remove redundant conditionals.
15877 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15878 * libio/stdio.h: Update #endif comments.
15879 [__USE_MISC]: Remove redundant conditionals.
15880 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15881 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15882 * math/math.h: Update #else and #endif comments.
15883 [__USE_MISC]: Remove redundant conditionals.
15884 * misc/sys/uio.h: Update #endif comments.
15885 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15886 * posix/glob.h [__USE_MISC]: Likewise.
15887 * posix/sys/types.h: Update #endif comments.
15888 [__USE_MISC]: Remove redundant conditionals.
15889 * posix/sys/wait.h: Update #endif comments.
15890 [__USE_MISC]: Remove redundant conditionals.
15891 * posix/unistd.h: Update #endif comments.
15892 [__USE_MISC]: Remove redundant conditionals.
15893 * pwd/pwd.h [__USE_GNU]: Likewise.
15894 [__USE_MISC]: Likewise.
15895 * resolv/netdb.h [__USE_GNU]: Likewise.
15896 * signal/signal.h: Update #endif comments.
15897 [__USE_MISC]: Remove redundant conditionals.
15898 * stdlib/stdlib.h: Update #else and #endif comments.
15899 [__USE_MISC]: Remove redundant conditionals.
15900 [__USE_GNU]: Likewise.
15901 * string/bits/string2.h [__USE_MISC]: Likewise.
15902 * string/string.h: Update #endif comments.
15903 [__USE_MISC]: Remove redundant conditionals.
15904 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15906 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15907 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15908 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15910 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15912 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15914 [__USE_MISC]: Remove redundant conditionals.
15915 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15916 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15917 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15918 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15919 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15921 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15922 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15924 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15925 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15927 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15929 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15930 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15932 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15934 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15935 * sysdeps/x86/bits/string.h: Update #endif comments.
15936 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15938 * time/sys/time.h: Update #endif comments.
15939 * time/time.h: Likewise.
15940 [__USE_MISC]: Remove redundant conditionals.
15942 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15945 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15947 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15949 * Versions.def (librt): Add GLIBC_2.17.
15951 2014-02-21 Adam Conrad <adconrad@0c3.net>
15953 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15954 synonym for _SYS_AUXV_H to allow direct inclusion.
15955 * sysdeps/sparc/bits/hwcap.h: Likewise.
15956 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15957 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15958 * sysdeps/sparc/sysdep.h: Likewise.
15960 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15962 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15964 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15966 * benchtests/bench-strrchr.c: Print length instead of position.
15968 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15971 * sysdeps/unix/sysv/linux/kernel-features.h
15972 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15973 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15974 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15975 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15977 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15978 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15979 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15980 (__ASSUME_SENDMMSG): Define instead of using previous
15981 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15982 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15983 (__ASSUME_SENDMMSG_SYSCALL): Define.
15984 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15985 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15987 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15988 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15990 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15991 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15993 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15994 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15995 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15996 [__ASSUME_SENDMMSG]: Change conditionals to
15997 [__ASSUME_SENDMMSG_SOCKETCALL].
15998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15999 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16002 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16004 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16005 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16006 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16007 [!__ASSUME_SENDMMSG]: Change conditional to
16008 [!__ASSUME_SENDMMSG_SOCKETCALL].
16009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16014 * sysdeps/unix/sysv/linux/kernel-features.h
16015 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16016 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16017 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16018 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16019 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16020 [__i386__ || __sparc__]
16021 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16022 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16023 (__ASSUME_RECVMMSG): Define instead of using previous
16024 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16025 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16026 (__ASSUME_RECVMMSG_SYSCALL): Define.
16027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16028 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16030 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16031 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16033 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16034 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16036 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16037 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16038 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16039 [__ASSUME_RECVMMSG]: Change condition to
16040 [__ASSUME_RECVMMSG_SOCKETCALL].
16041 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16044 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16045 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16046 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16048 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16049 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16050 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16051 [!__ASSUME_RECVMMSG]: Change condition to
16052 [!__ASSUME_RECVMMSG_SOCKETCALL].
16053 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16054 (__ASSUME_RECVMMSG_SYSCALL): Define.
16057 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16058 __powerpc__ || __s390__ || __sh__ || __sparc__]
16059 (__ASSUME_SOCKETCALL): Define.
16060 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16061 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16062 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16063 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16064 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16065 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16066 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16067 (__ASSUME_ACCEPT4): Define instead of using previous
16068 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16069 __powerpc__ || __sparc__ || __s390__)] condition.
16070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16071 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16072 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16073 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16074 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16075 [!__ASSUME_ACCEPT4]: Change condition to
16076 [!__ASSUME_ACCEPT4_SOCKETCALL].
16077 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16078 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16079 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16080 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16081 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16082 __ASSUME_ACCEPT4_SYSCALL.
16083 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16084 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16085 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16086 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16087 __ASSUME_ACCEPT4_SYSCALL.
16088 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16089 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16090 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16091 [__ASSUME_ACCEPT4]: Change condition to
16092 [__ASSUME_ACCEPT4_SOCKETCALL].
16093 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16094 (__ASSUME_SOCKETCALL): Define.
16095 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16096 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16097 (__ASSUME_SOCKETCALL): Define.
16098 (__ASSUME_ACCEPT4): Remove.
16099 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16101 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16102 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16104 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16105 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16107 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16109 (HWCAP_ARM_LPAE): Likewise.
16110 (HWCAP_ARM_EVTSTRM): Likewise.
16111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16112 Add vpfd32, lpae and evtstrm.
16113 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16116 2014-02-19 Joseph Myers <joseph@codesourcery.com>
16118 * math/auto-libm-test-in: Add tests of clog10.
16119 * math/auto-libm-test-out: Regenerated.
16120 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16121 * sysdeps/i386/fpu/libm-test-ulps: Update.
16122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16124 2014-02-18 Andreas Schwab <schwab@suse.de>
16127 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16128 Store non-zero if the second buffer was newly allocated.
16129 (send_dg): Likewise.
16130 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16131 to send_vc and send_dg.
16132 (res_nsend): Pass NULL for ansp2_malloced.
16133 * resolv/res_query.c (__libc_res_nquery): Add parameter
16134 answerp2_malloced and pass it down to __libc_res_nsend.
16135 (res_nquery): Pass additional NULL to __libc_res_nquery.
16136 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16137 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16138 second answer buffer if answerp2_malloced was set.
16139 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16140 (__libc_res_nquerydomain): Add parameter
16141 answerp2_malloced and pass it down to __libc_res_nquery.
16142 (res_nquerydomain): Pass additional NULL to
16143 __libc_res_nquerydomain.
16144 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16145 additional NULL to __libc_res_nsend and __libc_res_nquery.
16146 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16147 additional NULL to __libc_res_nsearch.
16148 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16149 parameter of __libc_res_nsearch to check for separately allocated
16151 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16153 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16154 additional NULL to __libc_res_nquery.
16155 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16156 __libc_res_nsearch.
16157 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16158 * include/resolv.h: Update prototypes of __libc_res_nquery,
16159 __libc_res_nsearch, __libc_res_nsend.
16161 2014-02-18 Joseph Myers <joseph@codesourcery.com>
16163 * math/auto-libm-test-in: Add tests of fma.
16164 * math/auto-libm-test-out: Regenerated.
16165 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16166 (fma_towardzero_test_data): Likewise.
16167 (fma_downward_test_data): Likewise.
16168 (fma_upward_test_data): Likewise.
16169 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16171 (rounding_modes): Add values for new field.
16172 (func_calc_method): Add value mpfr_fff_f.
16173 (func_calc_desc): Add mpfr_fff_f union field.
16174 (test_function): Add field exact_args.
16175 (FUNC): Add macro argument EXACT_ARGS.
16176 (FUNC_mpfr_f_f): Update call to FUNC.
16177 (FUNC_mpfr_f_f): Likewise.
16178 (FUNC_mpfr_ff_f): Likewise.
16179 (FUNC_mpfr_if_f): Likewise.
16180 (FUNC_mpc_c_f): Likewise.
16181 (FUNC_mpc_c_c): Likewise.
16182 (test_functions): Add fma. Update calls to FUNC.
16183 (handle_input_arg): Add argument exact_args.
16184 (add_test): Update call to handle_input_arg.
16185 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16186 (output_for_one_input_case): Update call to calc_generic_results.
16187 Recalculate exact zero results in each rounding mode.
16189 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16190 non-negative before setting low bit.
16191 * math/auto-libm-test-in: Mark one asin test possibly having
16192 spurious underflow.
16193 * math/auto-libm-test-out: Regenerated.
16194 * sysdeps/i386/fpu/libm-test-ulps: Update.
16195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16197 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16199 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16200 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16201 ports/sysdeps/unix/sysv/linux/microblaze.
16202 * README: Add missing listing for microblaze*-*-linux-gnu.
16204 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
16206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16209 2014-02-16 Mike Frysinger <vapier@gentoo.org>
16211 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16212 * sysdeps/unix/sysv/linux/ia64: Move directory from
16213 ports/sysdeps/unix/sysv/linux/ia64.
16214 * README: Update listing for ia64-*-linux-gnu.
16216 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16217 Joseph Myers <joseph@codesourcery.com>
16219 * Makeconfig (test-name): New variable.
16220 (evaluate-test): Likewise.
16221 * Makerules (do-test-clean): Remove .test-result files.
16222 (common-mostlyclean): Likewise.
16223 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16224 * scripts/evaluate-test.sh: New file.
16226 2014-02-14 Joseph Myers <joseph@codesourcery.com>
16228 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16229 separate $(objpfx)tst-fopenloc-cmp.out and
16230 $(objpfx)tst-fopenloc-mem.out targets.
16231 (tests): Update dependencies.
16232 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16233 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16234 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16235 (tst-rxspencer-no-utf8-ARGS): New variable.
16236 (tst-rxspencer-no-utf8-ENV): Likewise.
16237 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16238 instead of $(objpfx)tst-rxspencer-mem.
16239 ($(objpfx)tst-rxspencer-mem): Change target to
16240 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16241 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16242 * posix/tst-rxspencer-no-utf8.c: New file.
16244 * elf/Makefile ($(objpfx)order.out): Remove rule.
16245 [$(run-built-tests) = yes] (tests): Depend on
16246 $(objpfx)order-cmp.out.
16247 ($(objpfx)order-cmp.out): New rule.
16248 [$(run-built-tests) = yes] (tests): Depend on
16249 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16250 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16251 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16252 $(objpfx)tst-array5-static-cmp.out.
16253 ($(objpfx)tst-array1.out): Remove rule.
16254 ($(objpfx)tst-array1-cmp.out): New rule.
16255 ($(objpfx)tst-array1-static.out): Remove rule.
16256 ($(objpfx)tst-array1-static-cmp.out): New rule.
16257 ($(objpfx)tst-array2.out): Remove rule.
16258 ($(objpfx)tst-array2-cmp.out): New rule.
16259 ($(objpfx)tst-array3.out): Remove rule.
16260 ($(objpfx)tst-array3-cmp.out): New rule.
16261 ($(objpfx)tst-array4.out): Remove rule.
16262 ($(objpfx)tst-array4-cmp.out): New rule.
16263 ($(objpfx)tst-array5.out): Remove rule.
16264 ($(objpfx)tst-array5-cmp.out): New rule.
16265 ($(objpfx)tst-array5-static.out): Remove rule.
16266 ($(objpfx)tst-array5-static-cmp.out): New rule.
16267 [$(run-built-tests) = yes] (tests): Depend on
16268 $(objpfx)order2-cmp.out.
16269 ($(objpfx)order2.out): Remove rule.
16270 ($(objpfx)order2-cmp.out): New rule.
16271 ($(objpfx)tst-initorder.out): Remove rule.
16272 [$(run-built-tests) = yes] (tests): Depend on
16273 $(objpfx)tst-initorder-cmp.out.
16274 ($(objpfx)tst-initorder-cmp.out): New rule.
16275 ($(objpfx)tst-initorder2.out): Remove rule.
16276 [$(run-built-tests) = yes] (tests): Depend on
16277 $(objpfx)tst-initorder2-cmp.out.
16278 ($(objpfx)tst-initorder2-cmp.out): New rule.
16279 [$(run-built-tests) = yes] (tests): Depend on
16280 $(objpfx)tst-unused-dep-cmp.out.
16281 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16282 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16283 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16284 on $(objpfx)tst-setvbuf1-cmp.out.
16285 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16286 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16287 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16288 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16289 ($(objpfx)tst-svc.out): Remove rule.
16290 ($(objpfx)tst-svc-cmp.out): New rule.
16292 2014-02-13 Joseph Myers <joseph@codesourcery.com>
16294 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16295 * ctype/ctype.h [__USE_MISC]: Likewise.
16296 * dirent/dirent.h [__USE_MISC]: Likewise.
16297 * grp/grp.h [__USE_MISC]: Likewise.
16298 * io/fcntl.h [__USE_MISC]: Likewise.
16299 * io/sys/stat.h [__USE_MISC]: Likewise.
16300 * libio/stdio.h [__USE_MISC]: Likewise.
16301 * posix/unistd.h [__USE_MISC]: Likewise.
16302 * pwd/pwd.h [__USE_MISC]: Likewise.
16303 * stdlib.h [__USE_MISC]: Likewise.
16304 * string/bits/string2.h [__USE_MISC]: Likewise.
16305 * string/string.h [__USE_MISC]: Likewise.
16306 * time/time.h [__USE_MISC]: Likewise.
16308 2014-02-13 Andreas Schwab <schwab@suse.de>
16311 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16312 second answer buffer if it was separately allocated.
16314 2014-02-12 Joseph Myers <joseph@codesourcery.com>
16316 * sysdeps/mips/math-tests.h: Include <features.h>.
16317 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16318 (ROUNDING_TESTS_long_double): Do not define.
16319 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16320 (EXCEPTION_TESTS_long_double): Likewise.
16321 * sysdeps/mips/mips64/libm-test-ulps: Update.
16323 * include/features.h (__USE_BSD): Remove macro definitions.
16324 (__USE_SVID): Likewise.
16325 (_BSD_SOURCE): Likewise.
16326 (_SVID_SOURCE): Likewise.
16327 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16328 from definition of _DEFAULT_SOURCE.
16329 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16331 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16332 * bits/mman.h [__USE_BSD]: Likewise.
16333 * bits/termios.h [__USE_BSD]: Likewise.
16334 * bits/waitstatus.h [__USE_BSD]: Likewise.
16335 * ctype/ctype.h [__USE_SVID]: Likewise.
16336 * dirent/dirent.h [__USE_BSD]: Likewise.
16337 * grp/grp.h [__USE_SVID]: Likewise.
16338 [__USE_BSD]: Likewise.
16339 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16340 * io/fcntl.h [__USE_BSD]: Likewise.
16341 * io/ftw.h [__USE_BSD]: Likewise.
16342 * io/sys/stat.h [__USE_BSD]: Likewise.
16343 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16344 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16345 * libio/stdio.h [__USE_SVID]: Likewise.
16346 [__USE_BSD]: Likewise.
16347 * math/math.h [__USE_SVID]: Likewise.
16348 [__USE_BSD]: Likewise.
16349 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16350 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16351 * misc/search.h [__USE_SVID]: Likewise.
16352 * misc/sys/mman.h [__USE_BSD]: Likewise.
16353 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16354 * misc/sys/uio.h [__USE_BSD]: Likewise.
16355 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16356 * posix/glob.h [__USE_BSD]: Likewise.
16357 * posix/regex.h [__USE_BSD]: Likewise.
16358 * posix/sys/types.h [__USE_BSD]: Likewise.
16359 [__USE_SVID]: Likewise.
16360 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16361 * posix/sys/wait.h [__USE_BSD]: Likewise.
16362 [__USE_SVID]: Likewise.
16363 * posix/unistd.h [__USE_BSD]: Likewise.
16364 [__USE_SVID]: Likewise.
16365 * pwd/pwd.h [__USE_SVID]: Likewise.
16366 * resolv/netdb.h [__USE_BSD]: Likewise.
16367 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16368 * signal/signal.h [__USE_BSD]: Likewise.
16369 [__USE_SVID]: Likewise.
16370 * socket/sys/socket.h [__USE_BSD]: Likewise.
16371 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16372 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16373 [__USE_SVID]: Likewise.
16374 * string/bits/string2.h [__USE_BSD]: Likewise.
16375 [__USE_SVID]: Likewise.
16376 * string/bits/string3.h [__USE_BSD]: Likewise.
16377 * string/endian.h [__USE_BSD]: Likewise.
16378 * string/string.h [__USE_SVID]: Likewise.
16379 [__USE_BSD]: Likewise.
16380 * string/strings.h [__USE_BSD]: Likewise.
16381 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16382 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16383 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16384 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16385 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16386 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16390 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16391 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16393 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16394 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16396 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16398 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16399 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16400 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16402 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16404 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16405 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16406 * termios/termios.h [__USE_BSD]: Likewise.
16407 * time/sys/time.h [__USE_BSD]: Likewise.
16408 * time/time.h [__USE_BSD]: Likewise.
16409 [__USE_SVID]: Likewise.
16411 * Makefile (subdir_targets): Remove subdir_lint.out.
16413 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16414 (do-tst-printf): Likewise.
16415 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16416 $(objpfx)tst-printf.out.
16418 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16420 * Makerules (check-abi-%): Change target to
16421 $(objpfx)check-abi-%.out.
16422 (check-abi target): Update dependencies.
16423 (check-abi-pattern variable): Redirect output of diff to $@.
16424 (check-abi variable): Likewise.
16425 * elf/Makefile (check-abi): Update dependencies.
16427 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16429 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16430 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16432 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16433 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16434 value has largest subnormal exponent.
16435 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16436 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16437 * sysdeps/aarch64/soft-fp/sfp-machine.h
16438 (_FP_TININESS_AFTER_ROUNDING): New macro.
16439 * sysdeps/alpha/soft-fp/sfp-machine.h
16440 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16441 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16443 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16444 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16445 * sysdeps/mips/soft-fp/sfp-machine.h
16446 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16447 * sysdeps/powerpc/soft-fp/sfp-machine.h
16448 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16449 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16451 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16452 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16453 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16454 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16455 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16458 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16461 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16464 2014-02-12 Richard Henderson <rth@redhat.com>
16466 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16467 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16468 * sysdeps/unix/sysv/linux/alpha: Move directory from
16469 ports/sysdeps/unix/sysv/linux/alpha.
16470 * README: Update listing for alpha-*-linux-gnu.
16472 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16474 * include/features.h: Update comment documenting feature test
16476 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16478 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16479 (_SVID_SOURCE): Likewise.
16480 (_DEFAULT_SOURCE): Update description of default features.
16481 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16483 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16484 (S_ISVTX): Likewise.
16485 * manual/math.texi (Mathematical Constants): Likewise.
16486 * manual/signal.texi (Interrupted Primitives): Likewise.
16487 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16488 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16489 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16490 Don't refer to _SVID_SOURCE in warning text.
16492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16494 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16496 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16497 * sysdeps/mips/dl-lookup.c: Remove.
16498 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16500 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16503 * math/auto-libm-test-in: Add testcase for expl.
16504 * math/auto-libm-test-out: Regenerate.
16505 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16506 calculation of unsafe.
16507 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16509 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16511 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16512 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16513 ports/sysdeps/unix/sysv/linux/aarch64.
16514 * README: Update listing for aarch64*-*-linux-gnu.
16516 2014-02-11 Will Newton <will.newton@linaro.org>
16518 * manual/probes.texi (Mathematical Function Probes): Use
16519 "triggered" instead of "hit".
16521 * manual/probes.texi (Internal Probes): Add documentation
16522 of setjmp, longjmp and longjmp_target probes.
16524 * include/stap-probe.h: Add comment about probe argument
16527 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16528 definition. (tr_where, tr_freehook, tr_mallochook,
16529 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16531 2014-02-11 David S. Miller <davem@davemloft.net>
16533 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16534 processing int_tests.
16536 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16538 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16539 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16540 * sysdeps/unix/sysv/linux/mips: Move directory from
16541 ports/sysdeps/unix/sysv/linux/mips.
16542 * README: Update listing for mips-*-linux-gnu and
16543 mips64-*-linux-gnu.
16545 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16547 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16548 * sysdeps/unix/sysv/linux/m68k: Move directory from
16549 ports/sysdeps/unix/sysv/linux/m68k.
16550 * README: Update listing for m68k-*-linux-gnu.
16552 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16554 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16555 * sysdeps/unix/sysv/linux/generic: Move directory from
16556 ports/sysdeps/unix/sysv/linux/generic.
16557 * sysdeps/unix/sysv/linux/tile: Move directory from
16558 ports/sysdeps/unix/sysv/linux/tile.
16559 * README: Update listing for tile*-*-linux-gnu.
16561 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16563 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16565 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16566 * catgets/open_catalog.c (__open_catalog): Likewise.
16567 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16568 * debug/confstr_chk.c: Likewise.
16569 * debug/fread_chk.c (__fread_chk): Likewise.
16570 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16571 * debug/getgroups_chk.c: Likewise.
16572 * debug/mbsnrtowcs_chk.c: Likewise.
16573 * debug/mbsrtowcs_chk.c: Likewise.
16574 * debug/mbstowcs_chk.c: Likewise.
16575 * debug/memcpy_chk.c: Likewise.
16576 * debug/memmove_chk.c: Likewise.
16577 * debug/mempcpy_chk.c: Likewise.
16578 * debug/memset_chk.c: Likewise.
16579 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16580 * debug/strcat_chk.c (__strcat_chk): Likewise.
16581 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16582 * debug/strncat_chk.c (__strncat_chk): Likewise.
16583 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16584 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16585 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16586 * debug/wcpncpy_chk.c: Likewise.
16587 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16588 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16589 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16590 * debug/wcsncpy_chk.c: Likewise.
16591 * debug/wcsnrtombs_chk.c: Likewise.
16592 * debug/wcsrtombs_chk.c: Likewise.
16593 * debug/wcstombs_chk.c: Likewise.
16594 * debug/wmemcpy_chk.c: Likewise.
16595 * debug/wmemmove_chk.c: Likewise.
16596 * debug/wmempcpy_chk.c: Likewise.
16597 * debug/wmemset_chk.c: Likewise.
16598 * dirent/scandirat.c (SCANDIRAT): Likewise.
16599 * dlfcn/dladdr1.c (dladdr1): Likewise.
16600 * dlfcn/dladdr.c (dladdr): Likewise.
16601 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16602 * dlfcn/dlerror.c (__dlerror): Likewise.
16603 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16604 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16605 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16606 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16607 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16608 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16609 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16610 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16612 * elf/dl-conflict.c: Likewise.
16613 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16614 * elf/dl-dst.h: Likewise.
16615 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16616 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16617 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16618 * elf/dl-init.c (call_init, _dl_init): Likewise.
16619 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16620 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16621 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16623 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16625 * elf/dl-minimal.c (__libc_memalign): Likewise.
16626 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16627 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16628 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16629 * elf/dl-sym.c (do_sym): Likewise.
16630 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16631 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16632 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16633 * elf/dl-writev.h (_dl_writev): Likewise.
16634 * elf/ldconfig.c (search_dir): Likewise.
16635 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16636 (dl_main): Likewise.
16637 * elf/setup-vdso.h (setup_vdso): Likewise.
16638 * grp/compat-initgroups.c (compat_call): Likewise.
16639 * grp/fgetgrent.c (fgetgrent): Likewise.
16640 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16641 * grp/putgrent.c (putgrent): Likewise.
16642 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16644 * hurd/hurdinit.c: Likewise.
16645 * iconvdata/8bit-gap.c (struct): Likewise.
16646 * iconvdata/ansi_x3.110.c : Likewise.
16647 * iconvdata/big5.c : Likewise.
16648 * iconvdata/big5hkscs.c : Likewise.
16649 * iconvdata/cp1255.c: Likewise.
16650 * iconvdata/cp1258.c : Likewise.
16651 * iconvdata/cp932.c : Likewise.
16652 * iconvdata/euc-cn.c: Likewise.
16653 * iconvdata/euc-jisx0213.c : Likewise.
16654 * iconvdata/euc-jp.c: Likewise.
16655 * iconvdata/euc-jp-ms.c : Likewise.
16656 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16657 * iconvdata/gb18030.c : Likewise.
16658 * iconvdata/gbbig5.c (const): Likewise.
16659 * iconvdata/gbgbk.c: Likewise.
16660 * iconvdata/gbk.c : Likewise.
16661 * iconvdata/ibm1364.c : Likewise.
16662 * iconvdata/ibm930.c : Likewise.
16663 * iconvdata/ibm932.c: Likewise.
16664 * iconvdata/ibm933.c : Likewise.
16665 * iconvdata/ibm935.c : Likewise.
16666 * iconvdata/ibm937.c : Likewise.
16667 * iconvdata/ibm939.c : Likewise.
16668 * iconvdata/ibm943.c: Likewise.
16669 * iconvdata/iso_11548-1.c: Likewise.
16670 * iconvdata/iso-2022-cn.c : Likewise.
16671 * iconvdata/iso-2022-cn-ext.c : Likewise.
16672 * iconvdata/iso-2022-jp-3.c: Likewise.
16673 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16674 * iconvdata/iso-2022-kr.c : Likewise.
16675 * iconvdata/iso646.c (gconv_end): Likewise.
16676 * iconvdata/iso_6937-2.c : Likewise.
16677 * iconvdata/iso_6937.c : Likewise.
16678 * iconvdata/iso8859-1.c: Likewise.
16679 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16680 * iconvdata/shift_jisx0213.c : Likewise.
16681 * iconvdata/sjis.c : Likewise.
16682 * iconvdata/t.61.c : Likewise.
16683 * iconvdata/tcvn5712-1.c : Likewise.
16684 * iconvdata/tscii.c: Likewise.
16685 * iconvdata/uhc.c : Likewise.
16686 * iconvdata/unicode.c (gconv_end): Likewise.
16687 * iconvdata/utf-16.c (gconv_end): Likewise.
16688 * iconvdata/utf-32.c (gconv_end): Likewise.
16689 * iconvdata/utf-7.c (base64): Likewise.
16690 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16691 * iconv/gconv_close.c (__gconv_close): Likewise.
16692 * iconv/gconv_open.c (__gconv_open): Likewise.
16693 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16694 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16695 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16696 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16697 (ucs4le_internal_loop_single): Likewise.
16698 * iconv/iconv.c (iconv): Likewise.
16699 * iconv/iconv_close.c: Likewise.
16700 * iconv/loop.c (SINGLE): Likewise.
16701 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16702 * include/atomic.h: Likewise.
16703 * inet/inet6_option.c (option_alloc): Likewise.
16704 * intl/bindtextdom.c (set_binding_values): Likewise.
16705 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16706 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16707 * intl/localealias.c (read_alias_file): Likewise.
16708 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16709 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16710 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16711 * libio/fmemopen.c (fmemopen): Likewise.
16712 * libio/iofgets.c (_IO_fgets): Likewise.
16713 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16714 * libio/iofgetws.c (fgetws): Likewise.
16715 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16716 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16717 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16718 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16719 * locale/findlocale.c (_nl_find_locale): Likewise.
16720 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16721 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16723 * locale/setlocale.c (setlocale): Likewise.
16724 * login/programs/pt_chown.c (main): Likewise.
16725 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16726 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16727 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16728 (mmap, mmap64, mremap, munmap): Likewise.
16729 * math/e_exp2l.c: Likewise.
16730 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16731 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16732 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16733 * math/s_catan.c (__catan): Likewise.
16734 * math/s_catanf.c (__catanf): Likewise.
16735 * math/s_catanh.c (__catanh): Likewise.
16736 * math/s_catanhf.c (__catanhf): Likewise.
16737 * math/s_catanhl.c (__catanhl): Likewise.
16738 * math/s_catanl.c (__catanl): Likewise.
16739 * math/s_ccosh.c (__ccosh): Likewise.
16740 * math/s_ccoshf.c (__ccoshf): Likewise.
16741 * math/s_ccoshl.c (__ccoshl): Likewise.
16742 * math/s_cexp.c (__cexp): Likewise.
16743 * math/s_cexpf.c (__cexpf): Likewise.
16744 * math/s_cexpl.c (__cexpl): Likewise.
16745 * math/s_clog10.c (__clog10): Likewise.
16746 * math/s_clog10f.c (__clog10f): Likewise.
16747 * math/s_clog10l.c (__clog10l): Likewise.
16748 * math/s_clog.c (__clog): Likewise.
16749 * math/s_clogf.c (__clogf): Likewise.
16750 * math/s_clogl.c (__clogl): Likewise.
16751 * math/s_csin.c (__csin): Likewise.
16752 * math/s_csinf.c (__csinf): Likewise.
16753 * math/s_csinh.c (__csinh): Likewise.
16754 * math/s_csinhf.c (__csinhf): Likewise.
16755 * math/s_csinhl.c (__csinhl): Likewise.
16756 * math/s_csinl.c (__csinl): Likewise.
16757 * math/s_csqrt.c (__csqrt): Likewise.
16758 * math/s_csqrtf.c (__csqrtf): Likewise.
16759 * math/s_csqrtl.c (__csqrtl): Likewise.
16760 * math/s_ctan.c (__ctan): Likewise.
16761 * math/s_ctanf.c (__ctanf): Likewise.
16762 * math/s_ctanh.c (__ctanh): Likewise.
16763 * math/s_ctanhf.c (__ctanhf): Likewise.
16764 * math/s_ctanhl.c (__ctanhl): Likewise.
16765 * math/s_ctanl.c (__ctanl): Likewise.
16766 * math/w_pow.c: Likewise.
16767 * math/w_powf.c: Likewise.
16768 * math/w_powl.c: Likewise.
16769 * math/w_scalb.c (sysv_scalb): Likewise.
16770 * math/w_scalbf.c (sysv_scalbf): Likewise.
16771 * math/w_scalbl.c (sysv_scalbl): Likewise.
16772 * misc/error.c (error_tail): Likewise.
16773 * misc/pselect.c (__pselect): Likewise.
16774 * nis/nis_callback.c (__nis_create_callback): Likewise.
16775 * nis/nis_call.c (__nisfind_server): Likewise.
16776 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16777 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16778 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16779 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16780 * nis/nis_lookup.c (nis_lookup): Likewise.
16781 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16782 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16783 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16784 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16785 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16786 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16787 * nis/nss_compat/compat-initgroups.c (add_group)
16788 (internal_getgrent_r): Likewise.
16789 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16790 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16791 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16792 (internal_getspnam_r): Likewise.
16793 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16794 (_nss_nis_getaliasbyname_r): Likewise.
16795 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16796 (_nss_nis_getntohost_r): Likewise.
16797 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16798 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16799 (_nss_nis_getgrgid_r): Likewise.
16800 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16801 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16802 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16803 (_nss_nis_gethostbyname4_r): Likewise.
16804 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16805 (initgroups_netid): Likewise.
16806 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16807 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16808 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16809 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16810 (_nss_nis_getprotobynumber_r): Likewise.
16811 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16812 (_nss_nis_getsecretkey): Likewise.
16813 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16814 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16815 (_nss_nis_getpwuid_r): Likewise.
16816 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16817 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16818 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16819 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16820 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16821 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16822 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16824 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16825 (_nss_nisplus_getntohost_r): Likewise.
16826 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16827 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16828 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16829 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16831 * nis/nss_nisplus/nisplus-initgroups.c
16832 (_nss_nisplus_initgroups_dyn): Likewise.
16833 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16834 (_nss_nisplus_getnetbyaddr_r): Likewise.
16835 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16836 (_nss_nisplus_getprotobynumber_r): Likewise.
16837 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16838 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16839 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16841 * nis/nss_nisplus/nisplus-service.c
16842 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16843 (_nss_nisplus_getservbyport_r): Likewise.
16844 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16845 (_nss_nisplus_getspnam_r): Likewise.
16846 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16848 * nscd/aicache.c (addhstaiX): Likewise.
16849 * nscd/cache.c (cache_search, prune_cache): Likewise.
16850 * nscd/connections.c (register_traced_file, send_ro_fd)
16851 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16852 (main_loop_epoll): Likewise.
16853 * nscd/grpcache.c (addgrbyX): Likewise.
16854 * nscd/hstcache.c (addhstbyX): Likewise.
16855 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16856 * nscd/mem.c (gc, mempool_alloc): Likewise.
16857 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16858 (addinnetgrX): Likewise.
16859 * nscd/nscd-client.h (__nscd_acquire_maplock)
16860 (__nscd_drop_map_ref): Likewise.
16861 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16862 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16863 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16865 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16867 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16868 (__nscd_get_map_ref): Likewise.
16869 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16870 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16872 * nscd/pwdcache.c (addpwbyX): Likewise.
16873 * nscd/selinux.c (preserve_capabilities): Likewise.
16874 * nscd/servicescache.c (addservbyX): Likewise.
16875 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16876 * posix/fnmatch.c (fnmatch): Likewise.
16877 * posix/getopt.c (_getopt_internal_r): Likewise.
16878 * posix/glob.c (glob, glob_in_dir): Likewise.
16879 * posix/wordexp.c (exec_comm_child): Likewise.
16880 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16881 (getanswer_r, gaih_getanswer_slice): Likewise.
16882 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16883 * resolv/res_init.c: Likewise.
16884 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16885 * resolv/res_query.c (__libc_res_nquery): Likewise.
16886 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16888 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16889 * stdio-common/perror.c (perror): Likewise.
16890 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16891 * stdio-common/tmpnam.c (tmpnam): Likewise.
16892 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16893 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16894 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16896 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16897 * stdlib/putenv.c (putenv): Likewise.
16898 * stdlib/setenv.c (__add_to_environ): Likewise.
16899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16900 * stdlib/strtol_l.c (INTERNAL): Likewise.
16901 * string/memmem.c (memmem): Likewise.
16902 * string/strerror.c (strerror): Likewise.
16903 * string/strnlen.c (__strnlen): Likewise.
16904 * string/test-memmem.c (simple_memmem): Likewise.
16905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16906 * sunrpc/pm_getport.c (__get_socket): Likewise.
16907 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16908 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16909 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16910 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16912 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16914 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16915 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16916 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16917 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16919 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16921 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16922 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16923 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16924 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16925 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16927 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16928 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16929 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16930 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16931 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16932 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16938 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16940 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16942 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16943 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16944 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16945 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16947 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16948 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16949 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16951 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16953 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16955 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16957 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16959 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16961 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16963 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16965 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16966 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16967 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16968 * sysdeps/posix/sleep.c: Likewise.
16969 * sysdeps/posix/tempname.c: Likewise.
16970 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16971 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16973 * sysdeps/powerpc/powerpc32/dl-machine.h
16974 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16975 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16977 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16978 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16980 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16981 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16982 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16983 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16984 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16985 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16986 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16987 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16988 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16989 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16991 (elf_machine_lazy_rel): Likewise.
16992 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16994 (elf_machine_lazy_rel): Likewise.
16995 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16996 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16997 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16998 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16999 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17000 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17001 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17004 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17005 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17006 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17007 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17008 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17009 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17010 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17011 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17012 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17013 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17014 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17016 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17017 (__posix_fallocate64_l64): Likewise.
17018 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17019 (posix_fallocate): Likewise.
17020 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17022 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17023 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17024 (getifaddrs_internal): Likewise.
17025 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17026 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17027 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17028 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17029 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17030 (__posix_fallocate64_l64): Likewise.
17031 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17033 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17034 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17035 (__get_clockfreq): Likewise.
17036 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17037 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17038 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17039 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17041 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17042 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17043 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17045 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17046 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17047 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17048 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17050 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17051 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17053 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17054 (posix_fallocate): Likewise.
17055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17056 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17057 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17058 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17059 (elf_machine_rela, elf_machine_rela_relative)
17060 (elf_machine_lazy_rel): Likewise.
17061 * time/asctime.c (asctime_internal): Likewise.
17062 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17063 * time/tzset.c (__tzset_parse_tz): Likewise.
17064 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17065 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17066 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17067 * wcsmbs/wcsmbsload.h: Likewise.
17070 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17072 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17073 (arena_get2): Remove THREAD_STATS conditionals.
17074 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17075 (__malloc_stats, int): Likewise.
17077 2014-02-08 Mike Frysinger <vapier@gentoo.org>
17079 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17080 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17082 * manual/setjmp.texi: Fix typos/grammar errors.
17084 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17085 Only return early when n is <= 0. Delete unused return statement.
17087 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17088 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17089 * debug/tst-longjmp_chk3.c: New file.
17091 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17092 (test_main): Replace code with set_fortify_handler call.
17093 * debug/test-strcpy_chk.c: Likewise.
17094 * debug/tst-chk1.c: Likewise.
17095 * debug/tst-longjmp_chk.c: Likewise.
17096 * test-skeleton.c: Include fcntl.h & paths.h
17097 (set_fortify_handler): Define.
17099 * debug/tst-longjmp_chk.c: Add header comment and include
17100 ../test-skeleton.c.
17101 (do_test): Mark static.
17102 (TEST_FUNCTION): Define.
17104 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17105 (IP_PMTUDISC_INTERFACE): Likewise.
17106 (IP_MULTICAST_IF): Likewise.
17107 (IP_MULTICAST_TTL): Likewise.
17108 (IP_MULTICAST_LOOP): Likewise.
17109 (IP_ADD_MEMBERSHIP): Likewise.
17110 (IP_DROP_MEMBERSHIP): Likewise.
17111 (IP_UNBLOCK_SOURCE): Likewise.
17112 (IP_BLOCK_SOURCE): Likewise.
17113 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17114 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17115 (IP_MSFILTER): Likewise.
17116 (MCAST_JOIN_GROUP): Likewise.
17117 (MCAST_BLOCK_SOURCE): Likewise.
17118 (MCAST_UNBLOCK_SOURCE): Likewise.
17119 (MCAST_LEAVE_GROUP): Likewise.
17120 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17121 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17122 (MCAST_MSFILTER): Likewise.
17123 (IP_MULTICAST_ALL): Likewise.
17124 (IP_UNICAST_IF): Likewise.
17126 * timezone/Makefile: Delete $(have-ksh) check.
17127 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17128 * timezone/tzselect.ksh: Add +x mode bits.
17130 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17131 (ANON_INODE_FS_MAGIC): Likewise.
17132 (BDEVFS_MAGIC): Likewise.
17133 (BINFMTFS_MAGIC): Likewise.
17134 (BTRFS_TEST_MAGIC): Likewise.
17135 (CRAMFS_MAGIC_WEND): Likewise.
17136 (DEBUGFS_MAGIC): Likewise.
17137 (ECRYPTFS_SUPER_MAGIC): Likewise.
17138 (EXT3_SUPER_MAGIC): Likewise.
17139 (EXT4_SUPER_MAGIC): Likewise.
17140 (FUTEXFS_SUPER_MAGIC): Likewise.
17141 (HOSTFS_SUPER_MAGIC): Likewise.
17142 (HUGETLBFS_MAGIC): Likewise.
17143 (MINIX3_SUPER_MAGIC): Likewise.
17144 (MTD_INODE_FS_MAGIC): Likewise.
17145 (NILFS_SUPER_MAGIC): Likewise.
17146 (OPENPROM_SUPER_MAGIC): Likewise.
17147 (PIPEFS_MAGIC): Likewise.
17148 (PSTOREFS_MAGIC): Likewise.
17149 (QNX6_SUPER_MAGIC): Likewise.
17150 (RAMFS_MAGIC): Likewise.
17151 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17152 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17153 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17154 (SECURITYFS_MAGIC): Likewise.
17155 (SELINUX_MAGIC): Likewise.
17156 (SMACK_MAGIC): Likewise.
17157 (SOCKFS_MAGIC): Likewise.
17158 (SQUASHFS_MAGIC): Likewise.
17159 (STACK_END_MAGIC): Likewise.
17160 (TMPFS_MAGIC): Likewise.
17161 (USBDEVICE_SUPER_MAGIC): Likewise.
17162 (V9FS_MAGIC): Likewise.
17163 (XENFS_SUPER_MAGIC): Likewise.
17164 (CRAMFS_MAGIC): Fix typo in comment.
17165 (EXT2_SUPER_MAGIC): Update comment.
17166 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17168 2014-02-08 Joseph Myers <joseph@codesourcery.com>
17170 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17171 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17172 * sysdeps/unix/sysv/linux/arm: Move directory from
17173 ports/sysdeps/unix/sysv/linux/arm.
17174 * README: Update listing for arm-*-linux-gnueabi.
17176 * README: Remove mention of am33.
17178 2014-02-07 Roland McGrath <roland@hack.frob.com>
17180 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17181 than the comma operator, to avoid "rhs of comma has no effect"
17183 (__sigfillset, __sigandset, __sigorset): Likewise.
17184 * include/signal.h (__sigemptyset): Likewise.
17185 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17187 2014-02-07 Allan McRae <allan@archlinux.org>
17189 * version.h (RELEASE): Set to "development".
17190 (VERSION): Set to "2.19.90"
17191 * NEWS: Add 2.20 section.
17193 2014-02-06 Carlos O'Donell <carlos@redhat.com>
17196 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17198 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17200 * manual/contrib.texi: Update entry for Carlos O'Donell,
17201 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17203 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
17205 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17207 * sysdeps/unix/sysv/linux/kernel-features.h
17208 [__LINUX_KERNEL_VERSION >= 0x020621]
17209 (__ASSUME_PROC_PID_TASK_COMM): Define.
17211 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17214 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17215 conversion when destination buffer does not have enough space.
17216 * libio/tst-ftell-partial-wide.c: New test case.
17217 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17219 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17220 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17221 Leonard and Allan McRae.
17223 2014-02-04 David S. Miller <davem@davemloft.net>
17225 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17228 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17257 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17260 * shlib-versions: Likewise.
17262 2014-02-04 Roland McGrath <roland@hack.frob.com>
17263 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17265 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17266 (abilist-pattern): New variable, set to %-le.abilist.
17268 * Makerules (abilist-pattern): New variable.
17269 (vpath): Use $(abilist-pattern) in place of %.abilist.
17270 (check-abi-% pattern rule): Likewise.
17271 (check-abi, update-abi): Likewise.
17273 2014-02-04 Eric Wong <normalperson@yhbt.net>
17275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17277 2014-02-03 Carlos O'Donell <carlos@redhat.com>
17279 * manual/startup.texi: Add next, previous, and top entries for
17280 the `Program Arguments' and `Environment Variables' nodes.
17282 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
17284 * manual/macros.texi: Add comments before MTASC-safety macros.
17286 * manual/users.texi: Document MTASC-safety properties.
17288 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17289 (pthread_getspecific, pthread_setspecific): Format with
17290 @deftypefun, and add @safety note.
17291 * manual/signal.texi: Move comments that analyze the above
17292 functions to their home place.
17294 2014-02-03 Allan McRae <allan@archlinux.org>
17296 * po/sl.po: Update Slovenian translation from translation project.
17298 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
17300 * manual/time.texi (timegm): Add missing blank after @c.
17301 Reported by Joseph Myers <joseph@codesourcery.com>.
17303 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
17305 * manual/check-safety.sh: New.
17306 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17308 * manual/terminal.texi: Document MTASC-safety properties.
17310 * manual/filesys.texi: Document MTASC-safety properties.
17312 * manual/errno.texi: Document MTASC-safety properties.
17314 * manual/intro.texi: Document safety identifiers and
17317 * manual/string.texi (wcstok): Fix prototype.
17318 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17320 * manual/time.texi: Document MTASC-safety properties.
17322 * manual/string.texi: Document MTASC-safety properties.
17324 * manual/threads.texi: Document MTASC-safety properties.
17326 * manual/stdio.texi: Document MTASC-safety properties.
17328 * manual/syslog.texi: Document MTASC-safety properties.
17330 * manual/sysinfo.texi: Document MTASC-safety properties.
17332 * manual/startup.texi: Document MTASC-safety properties.
17334 * manual/socket.texi: Document MTASC-safety properties.
17336 * manual/signal.texi: Document MTASC-safety properties.
17338 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17340 * manual/setjmp.texi: Document MTASC-safety properties.
17342 * manual/search.texi: Document MTASC-safety properties.
17344 * manual/resource.texi: Document MTASC-safety properties.
17346 * manual/process.texi: Document MTASC-safety properties.
17348 * manual/platform.texi: Document MTASC-safety properties.
17350 * manual/pipe.texi: Document MTASC-safety properties.
17352 * manual/pattern.texi: Document MTASC-safety properties.
17354 * manual/message.texi: Document MTASC-safety properties.
17357 * manual/memory.texi: Document MTASC-safety properties.
17359 * manual/math.texi: Document MTASC-safety properties.
17361 * manual/locale.texi: Document MTASC-safety properties.
17363 * manual/llio.texi: Document MTASC-safety properties.
17365 * manual/libdl.texi: New.
17367 * manual/lang.texi: Document MTASC-safety properties.
17369 * manual/job.texi: Document MTASC-safety properties.
17371 * manual/getopt.texi: Document MTASC-safety properties.
17373 * manual/ctype.texi: Document MTASC-safety properties.
17375 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17378 * csu/libc-tls.c (static_map): Remove variable.
17379 (__libc_setup_tls): Use main executable's link map for TLS data.
17380 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17381 casing for LM_ID_BASE and GL(dl_nns).
17382 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17383 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17384 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17385 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17386 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17388 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17391 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17393 * manual/debug.texi: Document MTASC-safety properties.
17395 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17398 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17399 of __x86_64__ when disabling x87 inline functions.
17401 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17403 * manual/charset.texi: Document MTASC-safety properties.
17405 * manual/crypt.texi: Document MTASC-safety properties.
17407 * manual/conf.texi: Document MTASC-safety properties.
17409 * manual/arith.texi: Document MTASC-safety properties.
17411 * manual/argp.texi: Document MTASC-safety properties.
17413 * manual/macros.texi: Introduce macros to document multi
17414 thread, asynchronous signal and asynchronous cancellation
17416 * manual/intro.texi: Introduce the properties themselves.
17418 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17420 * sysdeps/sh/sh4/Makefile: New file.
17422 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17424 * math/gen-libm-test.pl ($srcdir): New variable.
17425 ($auto_input): Use it.
17427 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17430 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17431 access beyond array bounds when parsing netgroups file.
17433 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17434 the old buffer before realloc.
17436 2014-01-27 Allan McRae <allan@archlinux.org>
17438 * po/fr.po: Update French translation from translation project.
17440 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17442 * sysdeps/sh/libm-test-ulps: Regenerate.
17444 2014-01-24 David S. Miller <davem@davemloft.net>
17446 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17448 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17450 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17451 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17453 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17456 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17457 string pointers after reallocation.
17459 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17461 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17462 __SH4A__ instead of __SH_FPU_ANY__.
17464 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17466 * sysdeps/sh/fpu_control.h: New file.
17467 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17468 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17469 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17470 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17471 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17472 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17473 * sysdeps/sh/sys/ucontext.h: Remove.
17474 * sysdeps/sh/sys: Remove directory.
17476 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17478 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17479 s390/sys/ucontext.h.
17480 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17481 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17483 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17486 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17488 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17492 Adjust the vDSO correctly for internal calls.
17493 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17495 2014-01-20 Allan McRae <allan@archlinux.org>
17497 * po/ca.po: Update Catalan translation from translation project.
17499 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17501 * sysdeps/s390/sotruss-lib.c: New file.
17503 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17506 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17507 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17508 local calls issues by not having a PLT stub required for IFUNC calls.
17509 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17511 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17513 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17514 * math/test-fpucw-static.c: Likewise.
17516 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17519 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17521 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17523 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17524 implementation for powerpc.
17526 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17529 * sysdeps/posix/system.c (__libc_system): Do not enable
17530 asynchronous cancellation.
17532 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17535 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17536 handling only for numbers special also in the IEEE case.
17538 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17542 2014-01-11 Allan McRae <allan@archlinux.org>
17544 * po/bg.po: Update Bulgarian translation from translation project.
17546 * po/de.po: Update German translation from translation project.
17548 2014-01-10 Roland McGrath <roland@hack.frob.com>
17550 * sysdeps/generic/gcc-compat.h: New file.
17552 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17554 * benchtests/asin-inputs: Correct slow inputs.
17555 * benchtests/acos-inputs: Likewise.
17557 2014-01-10 Allan McRae <allan@archlinux.org>
17559 * po:sv.po: Update Swedish translation from translation project.
17561 * po/vi.po: Update Vietnamese translation from translation project.
17563 * po/eo.po: Update Esperanto translation from translation project.
17565 * po/cs.po: Update Czech translation from translation project.
17567 * po/nl.po: Update Dutch translation from translation project.
17569 * po/pl.po: Update Polish translation from translation project.
17571 * po/ru.po: Update Russian translation from translation project.
17573 * po/uk.po: Update Ukrainian translation from translation project.
17575 2014-01-08 Brooks Moses <bmoses@google.com>
17577 * elf/dl-load.c: Fix comment typo.
17579 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17581 * po/header.pot: Rename to...
17582 * po/pot.header: ... this.
17583 * po/Makefile: Use pot.header.
17585 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17586 Maxim Kuvyrkov <maxim@kugelworks.com>
17589 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17590 SRC and DEST against LEN.
17592 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17595 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17597 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17599 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17603 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17606 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17607 for large positive arguments.
17609 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17611 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17613 * math/auto-libm-test-in: Mark various tests with
17614 xfail-rounding:ldbl-128ibm.
17615 * math/auto-libm-test-out: Regenerated.
17618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17619 Increase overflow threshold.
17621 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17624 * stdio-common/vfprintf.c: Check for integer overflow.
17626 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17628 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17629 the first argument and return value of __tls_get_addr_internal.
17631 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17633 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17634 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17636 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17638 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17639 * sysdeps/s390/rtld-global-offsets.sym: New file.
17640 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17642 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17643 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17646 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17647 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17653 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17654 halfs of GPRs for high_gprs contexts.
17655 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17656 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17658 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17660 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17662 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17663 for high GPRs (uc_high_gprs) and for future extensions
17665 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17666 for future extensions (__reserved).
17667 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17669 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17670 SC_HIGHGPRS offset definition.
17671 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17672 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17674 * Versions.def: Add GLIBC_2.19 for libpthread.
17675 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17676 siglongjmp for libpthread with GLIBC_2.19 symver.
17677 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17678 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17679 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17680 * sysdeps/s390/__longjmp.c: New file.
17681 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17682 * sysdeps/s390/longjmp.c: New file.
17683 * sysdeps/s390/setjmp.S: New file.
17684 * sysdeps/s390/sigjmp.S: New file.
17685 * sysdeps/s390/v1-longjmp.c: New file.
17686 * sysdeps/s390/v1-setjmp.h: New file.
17687 * sysdeps/s390/v1-sigjmp.c: New file.
17688 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17689 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17690 GLIBC_2.19 version.
17691 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17692 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17693 versioned symbols for ____longjmp_chk.
17694 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17704 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17705 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17706 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17707 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17708 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17709 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17710 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17711 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17712 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17713 * sysdeps/s390/rtld-__longjmp.c: New file.
17714 * sysdeps/s390/rtld-setjmp.S: New file.
17716 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17719 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17720 Return -__logl (x) for small positive arguments without evaluating
17723 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17725 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17727 (__ptrace_peeksiginfo_args): ... this.
17728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17732 2014-01-06 Allan McRae <allan@archlinux.org>
17734 * inet/netinet/in.h: Fix typo in comment.
17736 2014-01-05 Andreas Jaeger <aj@suse.de>
17738 * sysdeps/i386/fpu/libm-test-ulps: Update.
17740 2014-01-05 Allan McRae <allan@archlinux.org>
17742 * po/libc.pot: Regenerated.
17744 * malloc/memusagestat.c: Fix gettext call formatting.
17746 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17748 * nscd/nscd.c: Improve usage() output.
17750 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17752 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17753 * sysdeps/unix/sysv/linux/configure: Regenerated.
17754 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17755 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17757 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17760 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17761 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17763 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17766 extra tokens at end of #undef directive.
17767 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17768 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17769 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17771 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17773 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17775 * math/auto-libm-test-in: Mark various tests with
17776 xfail-rounding:ldbl-128ibm.
17777 * math/auto-libm-test-out: Regenerated.
17779 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17782 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17783 numbers with subnormal high part when calculating exponent.
17786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17790 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17792 (__ieee754_acoshl): Use __log1pl not __log1p.
17794 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17796 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17797 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17798 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17799 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17800 (reused_arena, arena_get2): Convert to GNU style.
17801 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17802 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17803 (memalign_check, __malloc_set_state): Likewise.
17804 * malloc/mallocbug.c (main): Likewise.
17805 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17806 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17807 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17808 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17809 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17810 (__posix_memalign, malloc_info): Likewise.
17811 * malloc/malloc.h: Likewise.
17812 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17813 (mallochook, memalignhook, reallochook, mabort): Likewise.
17814 * malloc/mcheck.h: Likewise.
17815 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17816 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17817 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17818 * malloc/morecore.c (__default_morecore): Likewise.
17819 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17820 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17821 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17822 (print_and_abort): Likewise.
17823 * malloc/obstack.h: Likewise.
17824 * malloc/set-freeres.c (__libc_freeres): Likewise.
17825 * malloc/tst-mallocstate.c (main): Likewise.
17826 * malloc/tst-mtrace.c (main): Likewise.
17827 * malloc/tst-realloc.c (do_test): Likewise.
17829 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17832 * nscd/netgroupcache.c (do_notfound): New function.
17833 (addgetnetgrentX): Use it.
17836 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17837 NSS_STATUS_NOTFOUND.
17839 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17841 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17844 2014-01-01 Allan McRae <allan@archlinux.org>
17846 * scripts/update-copyrights: Update configure input file suffix.
17848 * NEWS: Update copyright year.
17849 * catgets/gencat.c: Likewise.
17850 * csu/version.c: Likewise.
17851 * debug/catchsegv.sh: Likewise.
17852 * debug/pcprofiledump.c: Likewise.
17853 * debug/xtrace.sh: Likewise.
17854 * elf/ldconfig.c: Likewise.
17855 * elf/ldd.bash.in: Likewise.
17856 * elf/pldd.c: Likewise.
17857 * elf/sotruss.ksh: Likewise.
17858 * elf/sprof.c: Likewise.
17859 * iconv/iconv_prog.c: Likewise.
17860 * iconv/iconvconfig.c: Likewise.
17861 * locale/programs/locale.c: Likewise.
17862 * locale/programs/localedef.c: Likewise.
17863 * login/programs/pt_chown.c: Likewise.
17864 * malloc/memusage.sh: Likewise.
17865 * malloc/memusagestat.c: Likewise.
17866 * malloc/mtrace.pl: Likewise.
17867 * manual/libc.texinfo: Likewise.
17868 * nscd/nscd.c: Likewise.
17869 * nss/getent.c: Likewise.
17870 * nss/makedb.c: Likewise.
17871 * posix/getconf.c: Likewise.
17872 * scripts/test-installation.pl: Likewise.
17874 * All files with FSF copyright notices: Update copyright dates
17875 using scripts/update-copyrights.
17876 * intl/plural.c: Regenerated.
17877 * locale/programs/charmap-kw.h: Likewise.
17878 * locale/programs/locfile-kw.h: Likewise.
17880 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17882 * sysdeps/unix/sysv/linux/configure: Regenerated.
17883 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17884 the linux/fanotify.h header.
17885 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17886 HAVE_LINUX_FANOTIFY_H is defined.
17888 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17890 * benchtests/cos-inputs: New inputs.
17891 * benchtests/sin-inputs: Likewise.
17893 * benchtests/atan-inputs: New inputs. Fix name of multiple
17894 precision fallback inputs.
17896 * benchtests/atanh-inputs: New inputs.
17897 * benchtests/tanh-inputs: Likewise.
17899 * benchtests/acosh-inputs: New inputs.
17900 * benchtests/asinh-inputs: Likewise.
17902 * benchtests/cosh-inputs: New inputs.
17903 * benchtests/sinh-inputs: Likewise.
17905 * benchtests/acos-inputs: Add more inputs.
17906 * benchtests/asin-inputs: Likewise.
17908 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17911 * manual/arith.texi: Fix spelling.
17912 * manual/charset.texi: Likewise.
17913 * manual/errno.texi: Likewise.
17914 * manual/filesys.texi: Likewise.
17915 * manual/lang.texi: Likewise.
17916 * manual/llio.texi: Likewise.
17917 * manual/locale.texi: Likewise.
17918 * manual/message.texi: Likewise.
17919 * manual/resource.texi: Likewise.
17920 * manual/search.texi: Likewise.
17921 * manual/setjmp.texi: Likewise.
17922 * manual/stdio.texi: Likewise.
17923 * manual/string.texi: Likewise.
17924 * manual/sysinfo.texi: Likewise.
17925 * manual/time.texi: Likewise.
17927 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17929 * po/sl.po: New file.
17931 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17933 * .gitignore: Add core/.gdbinit/.gdb_history.
17935 2013-12-27 Allan McRae <allan@archlinux.org>
17938 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17939 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17941 2013-12-24 Brooks Moses <bmoses@google.com>
17943 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17944 all compilers that claim C++98 compliance, not just GCC.
17945 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17948 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17950 * NEWS: Restore accidentally deleted bug-fix entries.
17952 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17953 Ondřej Bílka <neleai@seznam.cz>
17956 * malloc/malloc.c (_int_free): Perform sanity check only if we
17959 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17962 * manual/stdio.texi (String Input Conversions): Clarify that character
17963 classes are not supported.
17965 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17969 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17972 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17973 Calculate results for small negative arguments directly rather
17974 than using reflection formula with special underflow handling.
17976 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17977 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17978 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17979 (fchflags): Likewise.
17980 (revoke): Likewise.
17981 (setlogin): Likewise.
17982 (sigaltstack): Likewise.
17984 (sigblock): Remove.
17985 (sigsetmask): Likewise.
17987 (waitpid): Likewise.
17988 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17989 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17991 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17992 * sysdeps/unix/bsd/Makefile: ... here.
17993 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17994 * sysdeps/unix/bsd/Versions: ... here.
17995 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17996 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17997 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17998 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17999 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18000 * sysdeps/unix/bsd/sigblock.c: ... here.
18001 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18002 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18003 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18004 * sysdeps/unix/bsd/sigvec.c: ... here.
18005 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18006 * sysdeps/unix/bsd/tcdrain.c: ... here.
18007 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18008 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18009 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18010 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18011 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18012 * sysdeps/unix/bsd/wait.c: ... here.
18013 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18014 * sysdeps/unix/bsd/wait3.c: ... here.
18015 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18016 * sysdeps/unix/bsd/waitpid.c: ... here.
18018 2013-12-21 Joseph Myers <joseph@codesourcery.com>
18021 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18022 round-to-nearest for [!USE_AS_EXPM1L].
18023 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18024 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18025 more tests of exp and exp10. Expect some exp10 tests to miss
18026 exceptions or fail in directed rounding modes.
18027 * math/auto-libm-test-out: Regenerated.
18028 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18029 (exp10_test_tonearest): New function.
18030 (exp10_towardzero_test_data): New array.
18031 (exp10_test_towardzero): New function.
18032 (exp10_downward_test_data): New array.
18033 (exp10_test_downward): New function.
18034 (exp10_upward_test_data): New array.
18035 (exp10_test_upward): New function.
18036 (main): Call the new functions.
18037 * sysdeps/i386/fpu/libm-test-ulps: Update.
18038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18040 2013-12-20 Joseph Myers <joseph@codesourcery.com>
18042 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18043 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18044 * math/auto-libm-test-out: Regenerated.
18045 * math/libm-test.inc (acosh_test_data): Add more tests.
18046 (atanh_test_data): Likewise.
18047 (ceil_test_data): Likewise.
18048 (copysign_test_data): Likewise.
18049 * sysdeps/i386/fpu/libm-test-ulps: Update.
18050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18052 * timezone/checktab.awk: Update from tzcode 2013i.
18053 * timezone/private.h: Likewise.
18054 * timezone/scheck.c: Likewise.
18055 * timezone/tzfile.h: Likewise.
18056 * timezone/tzselect.ksh: Likewise.
18057 * timezone/zdump.c: Likewise.
18058 * timezone/zic.c: Likewise.
18060 * math/auto-libm-test-in: Add tests of cpow.
18061 * math/auto-libm-test-out: Regenerated.
18062 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18063 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18065 (func_calc_desc): Add mpc_cc_c union field.
18066 (test_functions): Add cpow.
18067 (special_fill_2pi): New function.
18068 (special_real_inputs): Add 2pi.
18069 (calc_generic_results): Handle mpc_cc_c.
18070 * sysdeps/i386/fpu/libm-test-ulps: Update.
18071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18073 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18074 csqrt, ctan and ctanh.
18075 * math/auto-libm-test-out: Regenerated.
18076 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18077 (TEST_COND_x86): Likewise.
18078 (ccos_test_data): Use AUTO_TESTS_c_c.
18079 (ccosh_test_data): Likewise.
18080 (cexp_test_data): Likewise.
18081 (clog_test_data): Likewise.
18082 (csqrt_test_data): Likewise.
18083 (ctan_test_data): Likewise.
18084 (ctan_tonearest_test_data): Likewise.
18085 (ctan_towardzero_test_data): Likewise.
18086 (ctan_downward_test_data): Likewise.
18087 (ctan_upward_test_data): Likewise.
18088 (ctanh_test_data): Likewise.
18089 (ctanh_tonearest_test_data): Likewise.
18090 (ctanh_towardzero_test_data): Likewise.
18091 (ctanh_downward_test_data): Likewise.
18092 (ctanh_upward_test_data): Likewise.
18093 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18095 (func_calc_desc): Add mpc_c_c union field.
18096 (FUNC_mpc_c_c): New macro.
18097 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18098 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18100 (special_fill_min_subnorm_p120): New function.
18101 (special_real_inputs): Add min_subnorm_p120.
18102 (calc_generic_results): Handle mpc_c_c.
18103 * sysdeps/i386/fpu/libm-test-ulps: Update.
18104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18106 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18108 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18109 (do_sin_slow): New functions.
18110 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18111 (cslow2, csloww1, csloww2): Use the new functions.
18113 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18114 Use M to change sign of result instead of X. Assume X is
18116 (csloww1): Likewise.
18120 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18121 arguments A and DA.
18125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18127 (sloww1): Don't adjust sign of DX.
18128 (csloww1): Likewise.
18129 (sloww2): Use X directly and don't adjust sign of DX.
18130 (csloww2): Likewise.
18132 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18134 * math/auto-libm-test-in: Add tests of cabs and carg.
18135 * math/auto-libm-test-out: Regenerated.
18136 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18137 (carg_test_data): Likewise.
18138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18140 (func_calc_desc): Add mpc_c_f union field.
18141 (test_functions): Add cabs and carg.
18142 (calc_generic_results): Handle mpc_c_f.
18144 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18145 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18146 as a macro and a compat symbol.
18147 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18148 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18149 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18150 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18151 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18152 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18154 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18156 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18158 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18160 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18162 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18164 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18165 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18168 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18172 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18174 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18175 trailing whitespace removed.
18176 * scripts/config.guess: Update to version 2013-11-29.
18177 * scripts/config.sub: Update to version 2013-10-01.
18179 * math/auto-libm-test-in: Add tests of sincos.
18180 * math/auto-libm-test-out: Regenerated.
18181 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18182 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18184 (func_calc_desc): Add mpfr_f_11 union field.
18185 (test_functions): Add sincos.
18186 (calc_generic_results): Handle mpfr_f_11.
18187 * sysdeps/i386/fpu/libm-test-ulps: Update.
18188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18190 2013-12-19 Andreas Schwab <schwab@suse.de>
18192 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18194 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18195 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18196 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18198 2013-12-19 Joseph Myers <joseph@codesourcery.com>
18200 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18201 * sysdeps/i386/fpu/libm-test-ulps: Update.
18202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18205 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18206 round-to-nearest mode when using frndint.
18207 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18208 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18211 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18213 * math/auto-libm-test-out: Regenerated.
18214 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18215 (TEST_COND_x86): Likewise.
18216 (expm1_tonearest_test_data): New array.
18217 (expm1_test_tonearest): New function.
18218 (expm1_towardzero_test_data): New array.
18219 (expm1_test_towardzero): New function.
18220 (expm1_downward_test_data): New array.
18221 (expm1_test_downward): New function.
18222 (expm1_upward_test_data): New array.
18223 (expm1_test_upward): New function.
18224 (main): Run the new test functions.
18225 * sysdeps/i386/fpu/libm-test-ulps: Update.
18226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18228 * include/features.h: Update comment documenting feature test
18229 macros. Mention _DEFAULT_SOURCE in comment.
18230 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18231 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18232 _BSD_SOURCE and _SVID_SOURCE.
18233 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18234 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18235 !_SVID_SOURCE]: Likewise.
18236 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18237 (__USE_POSIX_IMPLICITLY): Define.
18238 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18239 (_POSIX_SOURCE): Undefine and redefine.
18240 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18241 (_POSIX_C_SOURCE): Likewise.
18242 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18243 (Feature Test Macros): Update documentation of default features.
18245 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18247 * benchtests/Makefile: Add bench-strtok.
18248 * benchtests/bench-strtok.c: New file: strtok benchtest.
18250 2013-12-19 Allan McRae <allan@archlinux.org>
18252 * manual/install.texi: Suppress menu for plain text output.
18253 * INSTALL: Regenerated.
18255 2013-12-18 Brooks Moses <bmoses@google.com>
18258 * misc/getauxval.c: Include errno.h.
18259 (__getauxval): Set errno to ENOENT if the requested type is not
18261 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18262 don't declare with __attribute_const__.
18263 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18264 * manual/startup.texi: Document that getauxval sets errno.
18266 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18268 * math/auto-libm-test-in: Add tests of jn and yn.
18269 * math/auto-libm-test-out: Regenerated.
18270 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18271 (yn_test_data): Likewise.
18272 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18274 (func_calc_desc): Add mpfr_if_f union field.
18275 (FUNC_mpfr_if_f): New macro.
18276 (test_functions): Add jn and yn.
18277 (calc_generic_results): Assert type of second input for
18278 mpfr_ff_f. Handle mpfr_if_f.
18279 (output_for_one_input_case): Disable all checking for arguments
18280 fitting floating-point types in case of an integer argument.
18281 * sysdeps/i386/fpu/libm-test-ulps: Update.
18282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18285 Don't expect fegetround reference in libm.so.
18287 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18289 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18290 $(config-cflags-nofma).
18292 2013-12-18 Joseph Myers <joseph@codesourcery.com>
18294 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18295 * math/auto-libm-test-out: Regenerated.
18298 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18299 to determine exponent and adjust argument to have exponent of -1.
18300 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18302 * math/auto-libm-test-out: Regenerated.
18303 * sysdeps/i386/fpu/libm-test-ulps: Update.
18304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18306 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
18308 * manual/probes.texi: Remove cases when per-thread arenas are
18311 2013-12-18 Andreas Schwab <schwab@suse.de>
18313 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18314 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18315 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18316 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18317 * sysdeps/i386/i686/multiarch/Makefile: Update.
18318 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18320 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18322 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18323 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18325 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18328 Support TZ transition times < 00:00:00.
18329 This is needed for version-3 tz-format files; it supports time
18330 stamps past 2037 for America/Godthab (the only entry in the tz
18331 database for which this change is relevant).
18332 * manual/time.texi (TZ Variable): Document transition times
18333 from -167:59:59 through -00:00:01.
18334 * time/tzset.c (tz_rule): Time of day is now signed.
18335 (__tzset_parse_tz): Parse negative time of day.
18337 Document TZ transition times >= 25:00:00.
18338 * manual/time.texi (TZ Variable): Document transition times from
18339 25:00:00 through 167:59:59. These are already supported, and this
18340 support will help with version-3 tz-format files.
18342 * manual/time.texi (TZ Variable): Modernize North America example
18343 to reflect current (i.e., 2007-and-later) daylight saving rules.
18345 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18347 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18349 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18350 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18351 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18353 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18354 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18355 * sysdeps/unix/bsd/clock.c: Likewise.
18356 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18357 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18358 * sysdeps/unix/bsd/init-posix.c: Likewise.
18359 * sysdeps/unix/bsd/poll.c: Likewise.
18360 * sysdeps/unix/bsd/ptsname.c: Likewise.
18361 * sysdeps/unix/bsd/seekdir.c: Likewise.
18362 * sysdeps/unix/bsd/setegid.c: Likewise.
18363 * sysdeps/unix/bsd/seteuid.c: Likewise.
18364 * sysdeps/unix/bsd/setgid.c: Likewise.
18365 * sysdeps/unix/bsd/setrgid.c: Likewise.
18366 * sysdeps/unix/bsd/setruid.c: Likewise.
18367 * sysdeps/unix/bsd/setsid.c: Likewise.
18368 * sysdeps/unix/bsd/setuid.c: Likewise.
18369 * sysdeps/unix/bsd/sigaction.c: Likewise.
18370 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18371 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18372 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18373 * sysdeps/unix/bsd/telldir.c: Likewise.
18374 * sysdeps/unix/bsd/times.c: Likewise.
18375 * sysdeps/unix/bsd/usleep.c: Likewise.
18377 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18378 ($(objpfx)libbsd-compat.a): Remove rule.
18380 * include/features.h (__FAVOR_BSD): Do not define.
18381 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18382 features conflicting with POSIX.
18383 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18384 (_BSD_SOURCE): Remove description of not being a subset of other
18385 feature test macros.
18386 * manual/job.texi (getpgrp): Do not document BSD version.
18387 (getpgid): Do not document by reference to BSD getpgrp.
18388 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18389 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18390 * signal/signal.h [__FAVOR_BSD]: Likewise.
18391 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18392 instead of making contents conditional on [__FAVOR_BSD].
18393 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18395 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18399 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18402 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18403 values below 2**-450, not 2**-500.
18404 * math/auto-libm-test-in: Don't allow spurious underflow from
18406 * math/auto-libm-test-out: Regenerated.
18410 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18411 values of ha and hb and sort them after adjusting subnormal
18413 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18415 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18416 values of ea and eb and sort them after adjusting subnormal
18418 * math/auto-libm-test-in: Do not expect some hypot tests of
18419 subnormals to fail. Add more hypot tests.
18420 * math/auto-libm-test-out: Regenerated.
18422 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18425 * sysdeps/sh/s_fma.c: New file.
18426 * sysdeps/sh/s_fmaf.c: New file.
18427 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18429 * sysdeps/sh/Implies: Add sh/soft-fp.
18431 2013-12-16 Roland McGrath <roland@hack.frob.com>
18433 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18434 level of indirection to members `objname', `errstring', `malloced'.
18435 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18436 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18437 it as the __longjmp argument (just pass 1 instead).
18438 (_dl_catch_error): Initialize C with argument pointers and address of
18439 volatile local ERRCODE rather than copying values out of C at return.
18441 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18443 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18444 * math/auto-libm-test-out: Regenerated.
18445 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18446 (hypot_test_data): Likewise.
18447 (pow_test_data): Likewise.
18448 (pow_tonearest_test_data): Likewise.
18449 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18451 (func_calc_desc): Add mpfr_ff_f union field.
18452 (FUNC_mpfr_ff_f): New macro.
18453 (test_functions): Add atan2, hypot and pow.
18454 (special_fill_min): New function.
18455 (special_fill_minus_min): Likewise.
18456 (special_fill_min_subnorm): Likewise.
18457 (special_fill_minus_min_subnorm): Likewise.
18458 (special_real_inputs): Add min, -min, min_subnorm and
18460 (calc_generic_results): Handle mpfr_ff_f.
18461 * sysdeps/i386/fpu/libm-test-ulps: Update.
18462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18464 2013-12-16 Will Newton <will.newton@linaro.org>
18466 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18467 (Aligned Memory Blocks): Add documentation for aligned_alloc
18468 and suggest it as an alternative to posix_memalign.
18469 (Hooks for Malloc): Document __memalign_hook is also called
18470 for aligned_alloc. (Summary of Malloc): Add summary for
18471 aligned alloc. Document __memalign_hook is also called
18474 2013-12-16 Will Newton <will.newton@linaro.org>
18476 * manual/memory.texi (Malloc Examples): Clarify default
18477 alignment documentation. Suggest posix_memalign rather
18478 than memalign or valloc.
18479 (Aligned Memory Blocks): Remove suggestion to use memalign
18480 or valloc. Remove obsolete comment about BSD.
18481 Document memalign errno values and mark the function obsolete.
18482 Document posix_memalign returned error codes. Mark valloc
18483 as obsolete. (Hooks for Malloc): __memalign_hook is also
18484 called for posix_memalign and valloc.
18485 (Summary of Malloc): Add posix_memalign to function summary.
18486 __memalign_hook is also called for posix_memalign and valloc.
18488 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18490 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18494 (sloww): Use mynumber union. Expand ternary operator into
18495 if-else statements.
18496 (cslow): use mynumber union.
18498 2013-12-16 Allan McRae <allan@archlinux.org>
18500 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18501 * configure: Regenerated.
18503 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18506 * configure.ac: Added --enable-maintainer-mode. Check for
18507 autoconf when enabled.
18508 * configure: Regenerated.
18510 * nscd/nscd.service: New file.
18511 * nscd/nscd.tmpfiles: New file.
18513 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18516 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18517 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18518 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18519 (strstr): Add __strstr_sse2_unaligned ifunc.
18520 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18521 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18522 (strcasestr): Remove __strcasestr_sse42 ifunc.
18523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18527 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18529 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18530 * sysdeps/sh/bits/fenv.h: ... here.
18531 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18533 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18535 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18537 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18538 hypotf multiarch implementations.
18539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18542 multiarch hypot for PPC64.
18543 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18544 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18545 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18546 multiarch hypotf for PPC64.
18548 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18549 modff multiarch implementations.
18550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18553 multiarch modf for PPC64.
18554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18557 multiarch modff for PPC64.
18559 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18560 and logl multiarch implementations.
18561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18564 multiarch logb for PPC64.
18565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18568 multiarch logb for PPC64.
18569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18572 multiarch logb for PPC64.
18574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18575 isinff multiarch implementation.
18576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18580 multiarch isinf for PPC64.
18581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18584 multiarch isinff for PPC64.
18586 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18587 finitef multiarch implementation.
18588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18592 multiarch finite for PPC64.
18593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18596 multiarch finitef for PPC64.
18598 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18599 lrint multiarch implementation.
18600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18604 multiarch llrint for PPC64.
18605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18606 multiarch lrint for PPC64.
18608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18609 copysignf multiarch implementation.
18610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18615 multiarch copysign for PPC64.
18616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18617 multiarch copysignf for PPC64.
18619 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18620 multiarch implementation.
18621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18629 multiarch llround for PPC64.
18630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18631 multiarch trunc for PPC64.
18632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18633 multiarch truncf for PPC64.
18635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18636 multiarch implementation.
18637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18645 multiarch llround for PPC64.
18646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18647 multiarch round for PPC64.
18648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18649 multiarch roundf for PPC64.
18651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18652 multiarch implementation.
18653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18661 multiarch llround for PPC64.
18662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18663 multiarch floor for PPC64.
18664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18665 multiarch floorf for PPC64.
18667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18668 multiarch implementation.
18669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18677 multiarch llround for PPC64.
18678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18679 multiarch ceil for PPC64.
18680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18681 multiarch ceilf for PPC64.
18683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18684 multiarch implementation.
18685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18692 multiarch llround for PPC64.
18693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18694 multiarch lround for PPC64.
18696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18697 multiarch implementation.
18698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18705 multiarch isnan for PPC64.
18706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18707 multiarch isnanf for PPC64.
18709 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18710 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18711 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18712 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18713 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18716 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18717 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18718 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18719 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18722 multiarch implementations.
18723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18724 (__libc_ifunc_impl_list): Likewise.
18725 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18726 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18727 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18728 multiarch stpcpy for PPC64.
18730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18731 multiarch implementations.
18732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18733 (__libc_ifunc_impl_list): Likewise.
18734 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18735 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18736 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18737 multiarch strcpy for PPC64.
18739 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18740 redefine function name.
18741 (_wordcopy_fwd_dest_aligned): Likewise.
18742 (_wordcopy_bwd_aligned): Likewise.
18743 (_wordcopy_bwd_dest_aligned): Likewise.
18744 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18745 multiarch implementations.
18746 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18747 (__libc_ifunc_impl_list): Likewise.
18748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18749 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18750 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18751 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18752 multiarch wcscpy for PPC64.
18754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18755 multiarch implementations.
18756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18757 (__libc_ifunc_impl_list): Likewise.
18758 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18759 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18760 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18761 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18762 multiarch wcscpy for PPC64.
18764 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18765 multiarch implementations.
18766 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18767 (__libc_ifunc_impl_list): Likewise.
18768 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18769 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18770 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18771 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18772 multiarch wcsrchr for PPC64.
18774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18775 multiarch implementations.
18776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18777 (__libc_ifunc_impl_list): Likewise.
18778 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18779 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18780 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18781 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18782 multiarch wcschr for PPC64.
18784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18785 multiarch implementations.
18786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18787 (__libc_ifunc_impl_list): Likewise.
18788 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18789 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18790 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18791 multiarch strchrnul for PPC64.
18793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18796 (__libc_ifunc_impl_list): Likewise.
18797 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18798 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18799 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18800 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18806 (__libc_ifunc_impl_list): Likewise.
18807 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18808 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18809 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18810 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18814 multiarch implementations.
18815 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18816 (__libc_ifunc_impl_list): Likewise.
18817 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18818 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18819 strncasecmp for PPC64.
18820 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18821 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18822 multiarch strncasecmp_l for PPC64.
18824 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18825 multiarch implementations.
18826 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18827 (__libc_ifunc_impl_list): Likewise.
18828 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18829 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18830 multiarch strcasecmp for PPC64.
18831 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18833 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18834 multiarch strcasecmp_l for PPC64.
18836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18839 (__libc_ifunc_impl_list): Likewise.
18840 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18841 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18842 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18845 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18847 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18848 (__libc_ifunc_impl_list): Likewise.
18849 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18850 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18851 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18857 (__libc_ifunc_impl_list): Likewise.
18858 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18859 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18860 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18861 rawmemrchr for PPC64.
18863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18866 (__libc_ifunc_impl_list): Likewise.
18867 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18868 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18869 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18875 (__libc_ifunc_impl_list): Likewise.
18876 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18877 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18878 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18884 (__libc_ifunc_impl_list): Likewise.
18885 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18886 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18887 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18890 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18891 avoid cretion of __bzero symbol.
18892 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18894 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18896 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18899 multiarch implementations.
18900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18901 (__libc_ifunc_impl_list): Likewise.
18902 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18903 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18904 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18905 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18907 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18908 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18909 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18910 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18911 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18913 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18915 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18919 (__libc_ifunc_impl_list): Likewise.
18920 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18921 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18922 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18923 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18927 multiarch for POWER/PPC64.
18928 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18929 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18932 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18933 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18934 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18935 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18936 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18939 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18940 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18941 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18942 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18943 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18944 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18946 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18947 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18948 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18949 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18950 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18951 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18952 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18953 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18962 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18966 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18968 * benchtests/Makefile (bench): Add exp2 and log2.
18969 (LDLIBS-bench-exp2): Add -lm.
18970 (LDLIBS-bench-log2): Likewise.
18971 * benchtests/exp2-inputs: New inputs file.
18972 * benchtests/log2-inputs: New inputs file.
18973 * benchtests/log-inputs: Add new inputs.
18974 * benchtests/tan-inputs: Likewise.
18976 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18978 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18980 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18981 (csloww2): ... from here.
18983 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18984 instead of structures.
18985 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18986 (POLYNOMIAL): Likewise.
18987 (TAYLOR_SLOW): Likewise.
18993 (sloww1); Likewise.
18994 (sloww2): Likewise.
18995 (bsloww1): Likewise.
18996 (bsloww2): Likewise.
18997 (cslow2): Likewise.
18998 (csloww): Likewise.
18999 (csloww1): Likewise.
19000 (csloww2): Likewise.
19002 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
19004 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19005 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19006 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19007 * malloc/hooks.c (realloc_check): Likewise.
19009 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19010 * malloc/arena.c: Remove PER_THREAD conditional.
19011 [!PER_THREAD]: Remove code.
19012 (ptmalloc_unlock_all2): Likewise.
19013 (ptmalloc_init): Likewise.
19014 (_int_new_arena): Likewise.
19015 (arena_get2): Likewise.
19016 * malloc/hooks.c (__malloc_get_state): Likewise.
19017 (__malloc_set_state): Likewise.
19018 * malloc/malloc.c: Likewise.
19019 (struct malloc_state): Likewise.
19020 (struct malloc_par): Likewise.
19021 (__libc_realloc): Likewise.
19022 (__libc_mallopt): Likewise.
19024 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19026 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19028 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
19030 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19031 macro to a function. Check for zero perturb_byte.
19032 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19034 * malloc/malloc.c: (force_reg): Remove.
19035 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19036 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19037 force_reg by atomic_forced_read.
19038 * malloc/arena.c (ptmalloc_init): Likewise.
19039 * malloc/hooks.c (top_check): Likewise.
19041 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19045 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19049 2013-12-08 Joseph Myers <joseph@codesourcery.com>
19051 * math/auto-libm-test-in: Add tests of lgamma.
19052 * math/auto-libm-test-out: Regenerated.
19053 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19054 (M_LOG_2_SQRT_PIl): Likewise.
19055 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19056 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19058 (func_calc_desc): Add mpfr_f_f1 union field.
19059 (ARGS1): New macro.
19067 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19068 (test_functions): Add lgamma.
19069 (calc_generic_results): Handle mpfr_f_f1.
19070 * sysdeps/i386/fpu/libm-test-ulps: Update.
19071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19073 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19075 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19076 __mpn_add_n for PowerPC64/POWER7.
19077 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19078 __mpn_sub_n for PowerPC64/POWER7.
19080 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19081 __mpn_addmul_1 for PowerPC64.
19082 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19083 __mpn_submul_1 for PowerPC64.
19084 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19086 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19089 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19092 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19094 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19096 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19098 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19099 add multiarch folders.
19100 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19101 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19102 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19103 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19104 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19105 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19106 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19107 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19108 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19109 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19110 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19119 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19125 multiarch __ieee754_hypot for PowerPC32.
19126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19131 multiarch __ieee754_hypotf for PowerPC32.
19133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19134 long_double_symbol only if __logbl is defined.
19135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19136 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19138 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19140 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19142 path for implementation.
19143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19144 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19146 logb, and logbl multiarch implementations for PowerPC32.
19147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19152 multiarch logb for PowerPC32.
19153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19158 multiarch logbf for PowerPC32.
19159 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19163 multiarch logbl implementation for PowerPC32.
19165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19166 and modff multiarch implementations.
19167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19172 multiarch modf for PowerPC32.
19173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19178 multiarch modff for PowerPC32.
19180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19181 and lrintf multiarch implementations.
19182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19187 multiarch lrint for PowerPC32.
19188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19189 file: multiarch lrintf for PowerPC32.
19191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19192 and lroundf multiarch implementations.
19193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19200 multiarch lround for PowerPC32.
19201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19202 file: multiarch lroundf for PowerPC32.
19204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19205 copysign and copysignf multiarch implementations.
19206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19211 file: multiarch copysign for PowerPC32.
19212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19213 file: multiarch copysignf for PowerPC32.
19215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19216 and truncf multiarch implementations.
19217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19222 multiarch trunc for PowerPC32.
19223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19228 multiarch truncf for PowerPC32.
19230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19231 and roundf multiarch implementations.
19232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19237 multiarch round for PowerPC32.
19238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19243 multiarch roundf for PowerPC32.
19245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19246 and floorf multiarch implementations.
19247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19252 multiarch floor for PowerPC32.
19253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19258 multiarch floorf for PowerPC32.
19260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19261 and ceilf multiarch implementations.
19262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19267 multiarch ceil for PowerPC32.
19268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19273 multiarch ceilf for PowerPC32.
19275 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19277 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19278 FINITEF is defined.
19279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19280 and finitef multiarch implementations.
19281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19286 multiarch finite for PowerPC32.
19287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19290 file: multiarch finitef for PowerPC32.
19292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19293 and isinff multiarch implementations.
19294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19299 multiarch isinf for PowerPC32.
19300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19303 multiarch isinff for PowerPC32.
19305 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19306 alias when __isnan is defined.
19307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19308 and isnanf multiarch implementations.
19309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19318 multiarch isnan for PowerPC32.
19319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19324 multiarch isnanf for PowerPC32.
19326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19327 and sqrtf multiarch implementations.
19328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19333 multiarch sqrt for PowerPC32.
19334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19339 multiarch sqrtf for PowerPC32.
19341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19342 and llroundf multiarch implementations.
19343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19350 file: multiarch llround for PowerPC32.
19351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19352 file: multiarch llroundf for PowerPC32.
19354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19355 multiarch PowerPC32 fpu implementations.
19356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19361 multiarch llrint for PowerPC32.
19362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19371 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19373 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19375 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19377 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19378 multiarch wordcopy for PPC32.
19379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19382 (__libc_ifunc_impl_list): Likewise.
19383 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19384 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19385 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19386 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19388 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19390 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19391 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19398 multiarch wcscpy for PPC32.
19399 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19401 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19402 (__libc_ifunc_impl_list): Likewise.
19403 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19404 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19405 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19406 sysdeps/powerpc/power6/wcscpy.c.
19408 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19416 multiarch wcsrchr for PPC32.
19417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19420 (__libc_ifunc_impl_list): Likewise.
19421 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19422 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19423 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19424 sysdeps/powerpc/power6/wcsrchr.c.
19426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19432 multiarch wcschr for PPc32.
19433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19436 (__libc_ifunc_impl_list): Likewise.
19437 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19438 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19439 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19440 sysdeps/powerpc/power6/wcschr.c.
19442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19443 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19445 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19446 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19447 file: multiarch strchr for PPC32.
19448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19451 (__libc_ifunc_impl_list): Likewise.
19453 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19455 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19457 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19459 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19460 multiarch strchrnul for PPC32.
19461 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19463 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19464 (__libc_ifunc_impl_list): Likewise.
19466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19469 multiarch strncasecmp for PPC32.
19470 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19472 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19473 multiarch strncasecmp_l for PPC32.
19474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19475 strncasecmp multiarch objects.
19476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19477 (__libc_ifunc_impl_list): Likewise.
19479 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19481 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19482 multiarch strncasecmp for PPC32.
19483 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19485 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19486 multiarch strcasecmp_l for PPC32.
19487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19490 (__libc_ifunc_impl_list): Likewise.
19492 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19494 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19496 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19497 multiarch strncmp for PPC32.
19498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19501 (__libc_ifunc_impl_list): Likewise.
19503 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19504 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19506 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19507 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19508 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19510 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19511 (__libc_ifunc_impl_list): Likewise.
19513 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19515 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19517 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19521 (__libc_ifunc_impl_list): Likewise.
19523 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19525 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19527 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19528 multiarch rawmemchr for PPC32.
19529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19532 (__libc_ifunc_impl_list): Likewise.
19534 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19536 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19538 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19539 file: memrchr multiarch for PPC32.
19540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19543 (__libc_ifunc_impl_list): Likewise.
19545 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19546 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19548 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19549 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19550 multiarch memchr for PPC32.
19551 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19553 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19554 (__libc_ifunc_impl_list): Likewise.
19556 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19557 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19559 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19561 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19562 file: multiarch mempcpy for PPC32.
19563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19566 (__libc_ifunc_impl_list): Likewise.
19568 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19569 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19570 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19571 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19572 multiarch bzero for PPC32.
19573 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19575 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19577 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19578 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19579 file: multiarch memset for PPC32.
19580 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19581 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19582 memset multiarch objects.
19583 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19584 (__libc_ifunc_impl_list): Likewise.
19586 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19588 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19591 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19592 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19594 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19595 (__libc_ifunc_impl_list): Likewise.
19597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19598 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19606 multiarch memcpy for PPC32.
19607 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19609 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19610 (__libc_ifunc_impl_list): Likewise.
19612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19613 support multiarch for POWER/PPC32.
19614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19616 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19618 Implies file to make multiarch folder appers before the fpu and
19619 default folder for power4 configuration.
19621 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19623 * scripts/bench.pl: Append volatile keyword to type.
19625 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19627 * sysdeps/sh/sotruss-lib.c: New file.
19628 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19630 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19634 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19637 * math/w_tgamma.c: Include <errno.h>.
19638 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19639 * math/w_tgammaf.c: Include <errno.h>.
19640 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19641 * math/w_tgammal.c: Include <errno.h>.
19642 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19643 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19644 underflow. Add more tgamma tests.
19645 * math/auto-libm-test-out: Regenerated.
19646 * sysdeps/i386/fpu/libm-test-ulps: Update.
19647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19649 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19650 sin, sinh, tan, tanh, tgamma, y0 and y1.
19651 * math/auto-libm-test-out: Regenerated.
19652 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19653 (TEST_COND_x86): Likewise.
19654 (M_E2l): Remove macro.
19656 (M_2_SQRT_PIl): Likewise.
19657 (M_SQRT_PIl): Likewise.
19658 (M_1_DIV_El): Likewise.
19659 (log_test_data): Use AUTO_TESTS_f_f.
19660 (log10_test_data): Likewise.
19661 (log1p_test_data): Likewise.
19662 (log2_test_data): Likewise.
19663 (sin_test_data): Likewise.
19664 (sin_tonearest_test_data): Likewise.
19665 (sin_towardzero_test_data): Likewise.
19666 (sin_downward_test_data): Likewise.
19667 (sin_upward_test_data): Likewise.
19668 (sinh_test_data): Likewise.
19669 (sinh_tonearest_test_data): Likewise.
19670 (sinh_towardzero_test_data): Likewise.
19671 (sinh_downward_test_data): Likewise.
19672 (sinh_upward_test_data): Likewise.
19673 (tan_test_data): Likewise.
19674 (tan_tonearest_test_data): Likewise.
19675 (tan_towardzero_test_data): Likewise.
19676 (tan_downward_test_data): Likewise.
19677 (tan_upward_test_data): Likewise.
19678 (tanh_test_data): Likewise.
19679 (tgamma_test_data): Likewise.
19680 (y0_test_data): Likewise.
19681 (y1_test_data): Likewise.
19682 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19683 (special_real_inputs): Add pi/4.
19684 * sysdeps/i386/fpu/libm-test-ulps: Update.
19685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19687 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19689 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19690 "longjmp_target" static probes.
19691 (__longjmp): Rename to __longjmp_symbol.
19692 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19693 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19694 on which longjmp to generate.
19695 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19698 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19699 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19700 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19701 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19702 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19703 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19705 __longjmp_symbol based on which __longjmp to generate.
19706 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19708 (setjmp): Rename to setjmp_symbol.
19709 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19710 (_setjmp): Rename to _setjmp_symbol.
19711 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19712 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19713 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19714 which setjmp to generate.
19715 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19716 "longjmp_target" static probes.
19718 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19720 * benchtests/README: Add note about output arguments.
19721 * benchtests/bench-sincos.c: Remove file.
19722 * benchtests/sincos-inputs: New file.
19723 * scripts/bench.pl: Identify output arguments and define
19724 static variables for them.
19726 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19729 * Makefile (INSTALL): Add install-plain.texi as the primary
19731 * manual/install-plain.texi: New file.
19732 * manual/install.texi: Include node directive only for
19733 non-plaintext output.
19735 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19737 * stdlib/longlong.h: Update from GCC.
19741 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19742 * math/w_j0f.c (y0f): Likewise.
19743 * math/w_j0l.c (__y0l): Likewise.
19744 * math/w_j1.c (y1): Likewise.
19745 * math/w_j1f.c (y1f): Likewise.
19746 * math/w_j1l.c (__y1l): Likewise
19747 * math/w_jn.c (yn): Likewise.
19748 * math/w_jnf.c (ynf): Likewise.
19749 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19750 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19751 value for Bessel function domain errors outside _SVID_ mode.
19752 Adjust sign of return value for yn (negative integer, 0).
19753 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19754 by zero in return for negative x and set sign appropriately for
19756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19757 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19758 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19759 expectations in error cases.
19760 (y1_test_data): Likewise.
19761 (yn_test_data): Likewise.
19762 * sysdeps/i386/fpu/libm-test-ulps: Update.
19763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19765 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19767 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19768 "64" to "64-v1". Add "64-v2".
19769 (abi-64-options): Rename to ...
19770 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19771 (abi-64-condition): Rename to ...
19772 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19773 (abi-64-ld-soname): Rename to ...
19774 (abi-64-v1-ld-soname): ... this.
19775 (abi-64-v2-options): Define.
19776 (abi-64-v2-condition): Likewise.
19777 (abi-64-v2-ld-soname): Likewise.
19778 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19779 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19784 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19785 Alan Modra <amodra@gmail.com>
19787 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19788 New versions for use with the ELFv2 ABI.
19789 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19790 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19792 (struct La_ppc64v2_retval): Likewise.
19793 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19794 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19795 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19796 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19797 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19798 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19799 Do not save or restore CR.
19800 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19801 (_dl_profile_resolve): Do no save or restore CR. Support extended
19802 return values for ELFv2 ABI. Fix location of FPR return registers.
19803 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19804 updated values for _CALL_ELF == 2.
19805 (La_regs, La_retval, int_retval): Likewise.
19807 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19809 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19810 (FRAME_MIN_SIZE_PARM): Likewise.
19811 (FRAME_BACKCHAIN): Likewise.
19812 (FRAME_CR_SAVE): Likewise.
19813 (FRAME_LR_SAVE): Likewise.
19814 (FRAME_TOC_SAVE): Likewise.
19815 (FRAME_PARM_SAVE): Likewise.
19816 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19817 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19818 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19819 (call_mcount_parm_offset): New macro.
19820 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19821 (PROF): Use symbolic stack frame offsets.
19822 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19823 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19824 Redefine in terms of FRAME_MIN_SIZE.
19825 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19826 (_dl_profile_resolve): Likewise. Update comment.
19827 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19828 symbols stack frame offsets.
19829 (__sigsetjmp): Likewise.
19830 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19831 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19832 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19833 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19836 (FRAME_BACKCHAIN): Remove.
19837 (FRAME_CR_SAVE): Likewise.
19838 (FRAME_LR_SAVE): Likewise.
19839 (FRAME_COMPILER_DW): Likewise.
19840 (FRAME_LINKER_DW): Likewise.
19841 (FRAME_TOC_SAVE): Likewise.
19842 (FRAME_PARM_SAVE): Likewise.
19843 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19844 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19845 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19847 (CHECK_SP): Use symbolic stack frame offsets.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19849 zone" instead of caller's parameter save area for temp storage.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19851 Likewise. Also, use symbolic stack frame offsets.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19853 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19854 our own stack frame instead of the caller's.
19855 (__socket): Use symbolic stack frame offsets.
19857 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19858 Alan Modra <amodra@gmail.com>
19860 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19862 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19863 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19864 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19866 (elf_machine_fixup_plt): Call it.
19867 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19869 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19870 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19871 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19872 r2 before calling target.
19874 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19875 Alan Modra <amodra@gmail.com>
19877 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19878 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19879 versions of macros to support ELFv2 ABI.
19880 (LOCALENTRY): New macro.
19881 (ENTRY, EALIGN): Use it.
19882 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19883 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19884 fall through into ENTRY entry point.
19885 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19886 Only define if _CALL_ELF != 2.
19888 (elf_machine_matches_host): Verify ABI version matches.
19889 (RTLD_START): Use LOCALENTRY.
19890 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19891 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19892 (PLT_ENTRY_WORDS): New macro.
19893 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19894 (elf_machine_runtime_setup): Support ELFv2 ABI.
19895 (elf_machine_fixup_plt): Likewise.
19896 (elf_machine_plt_conflict): Likewise.
19897 (resolve_ifunc): Likewise.
19898 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19899 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19902 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19904 (makecontext): Support ELFv2 ABI.
19905 * elf/elf.h (EF_PPC64_ABI): Define.
19907 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19909 * sysdeps/powerpc/powerpc64/sysdep.h
19910 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19911 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19912 (ENTRY) [ASSEMBLER]: ... but instead here ...
19913 (EALIGN) [ASSEMBLER]: ... and here.
19914 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19915 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19916 (ENTRY_2) [!ASSEMBLER]: Use it.
19917 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19918 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19919 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19920 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19921 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19923 Use PPC64_LOAD_FUNCPTR.
19925 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19927 2013-12-04 Alan Modra <amodra@gmail.com>
19929 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19930 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19931 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19932 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19934 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19935 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19936 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19937 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19938 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19939 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19941 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19944 (__makecontext): Fix incorrect CFI when backtracing out of
19945 context created via makecontext.
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19947 (__setcontext): Fix incorrect CFI during switch to new context.
19948 (__novec_setcontext): Likewise.
19950 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19953 * time/strptime_l.c (__strptime_internal): Allow modifiers
19955 * time/tst-strptime.c (day_tests): Add testcase.
19957 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19959 * scripts/bench.pl: Skip over blank lines.
19961 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19964 * manual/time.texi (Calendar Time): Clarify what timezone functions
19967 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19971 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19973 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19975 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19976 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19977 * debug/memset_chk.c (__memset_chk): Likewise.
19978 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19979 * debug/strncpy_chk.c: Likewise.
19981 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19985 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19986 (__ieee754_exp): For possibly underflowing results, check size of
19987 result and force underflow exception if required.
19988 * math/auto-libm-test-in: Add more tests of exp.
19989 * math/auto-libm-test-out: Regenerated.
19990 * sysdeps/i386/fpu/libm-test-ulps: Update.
19991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19994 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19995 * math/w_exp2f.c (__exp2f): Likewise.
19996 * math/w_exp2l.c (__exp2l): Likewise.
19997 * math/auto-libm-test-in: Do not allow missing errno on exp2
19999 * math/auto-libm-test-out: Regenerated.
20001 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
20004 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20005 handle filename validation.
20006 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20009 2013-12-03 Joseph Myers <joseph@codesourcery.com>
20012 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20013 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20014 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20016 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20017 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20018 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20020 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20021 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20022 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20023 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20024 Add more erfc tests.
20025 * math/auto-libm-test-out: Regenerated.
20026 * sysdeps/i386/fpu/libm-test-ulps: Update.
20027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20030 exp2, expm1, j0 and j1.
20031 * math/auto-libm-test-out: Regenerated.
20032 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20033 (erfc_test_data): Likewise.
20034 (exp_test_data): Likewise.
20035 (exp_tonearest_test_data): Likewise.
20036 (exp_towardzero_test_data): Likewise.
20037 (exp_downward_test_data): Likewise.
20038 (exp_upward_test_data): Likewise.
20039 (exp10_test_data): Likewise.
20040 (exp2_test_data): Likewise.
20041 (expm1_test_data): Likewise.
20042 (j0_test_data): Likewise.
20043 (j1_test_data): Likewise.
20044 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20045 (input_flag_type): Add flag_xfail_rounding.
20046 (input_flags): Add xfail-rounding.
20047 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20048 (output_for_one_input_case): Handle flag_xfail_rounding.
20049 * sysdeps/i386/fpu/libm-test-ulps: Update.
20050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20052 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20055 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20058 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20061 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20062 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20063 (STAP_PROBE0): New macro.
20064 (STAP_PROBE1): Likewise.
20065 (STAP_PROBE2): Likewise.
20066 (STAP_PROBE3): Likewise.
20067 (STAP_PROBE4): Likewise.
20069 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
20071 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20073 2013-12-02 Steve Ellcey <sellcey@mips.com>
20075 * benchtests/Makefile (bench): Add sqrt.
20076 (LDLIBS-bench-sqrt): New.
20077 * benchtests/sqrt-input: New.
20079 2013-12-02 Pavel Simerda <psimerda@redhat.com>
20081 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20082 (GAIH_EAI): Likewise.
20083 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20084 (gaih_inet): Likewise.
20085 (getaddrinfo): Don't use GAIH_EAI.
20087 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20088 (struct gaih): Remove definition.
20090 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20092 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20093 Use HERRNOP directly.
20095 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20099 2013-11-30 Joseph Myers <joseph@codesourcery.com>
20101 * math/gen-auto-libm-tests.c (test_functions): Add more
20102 single-argument functions.
20103 (special_fill_pi_2): New function.
20104 (special_fill_minus_pi_2): Likewise.
20105 (special_fill_pi_6): Likewise.
20106 (special_fill_minus_pi_6): Likewise.
20107 (special_fill_pi_3): Likewise.
20108 (special_fill_2pi_3): Likewise.
20109 (special_fill_e): Likewise.
20110 (special_fill_1_e): Likewise.
20111 (special_fill_e_minus_1): Likewise.
20112 (special_real_inputs): Add more special inputs.
20113 (output_for_one_input_case): Do not require ERANGE on underflow to
20114 zero if round-to-nearest result does not underflow to zero, unless
20115 exact results required.
20116 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20117 atan, atanh, cbrt, cos and cosh.
20118 * math/auto-libm-test-out: Regenerated.
20119 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20120 (acos_tonearest_test_data): Likewise.
20121 (acos_towardzero_test_data): Likewise.
20122 (acos_downward_test_data): Likewise.
20123 (acos_upward_test_data): Likewise.
20124 (acosh_test_data): Likewise.
20125 (asin_test_data): Likewise.
20126 (asin_tonearest_test_data): Likewise.
20127 (asin_towardzero_test_data): Likewise.
20128 (asin_upward_test_data): Likewise.
20129 (asinh_test_data): Likewise.
20130 (atan_test_data): Likewise.
20131 (atanh_test_data): Likewise.
20132 (cbrt_test_data): Likewise.
20133 (cos_test_data): Likewise.
20134 (cos_tonearest_test_data): Likewise.
20135 (cos_towardzero_test_data): Likewise.
20136 (cos_downward_test_data): Likewise.
20137 (cos_upward_test_data): Likewise.
20138 (cosh_test_data): Likewise.
20139 (cosh_tonearest_test_data): Likewise.
20140 (cosh_towardzero_test_data): Likewise.
20141 (cosh_downward_test_data): Likewise.
20142 (cosh_upward_test_data): Likewise.
20143 * sysdeps/i386/fpu/libm-test-ulps: Update.
20144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20146 2013-11-29 Joseph Myers <joseph@codesourcery.com>
20149 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20150 * math/w_exp10f.c (__exp10f): Likewise.
20151 * math/w_exp10l.c (__exp10l): Likewise.
20152 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20153 errno settings in existing tests.
20156 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20157 precision control set to double precision.
20158 * sysdeps/i386/fpu/w_sqrt.c: New file.
20159 * math/auto-libm-test-in: Add more tests.
20160 * math/auto-libm-test-out: Update.
20162 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20163 (sqrt_test_tonearest): New function.
20164 (sqrt_towardzero_test_data): New variable.
20165 (sqrt_test_towardzero): New function.
20166 (sqrt_downward_test_data): New variable.
20167 (sqrt_test_downward): New function.
20168 (sqrt_upward_test_data): New variable.
20169 (sqrt_test_upward): New function.
20170 (main): Call the new functions.
20172 * math/gen-auto-libm-tests.c: New file.
20173 * math/auto-libm-test-in: Likewise.
20174 * math/auto-libm-test-out: New generated file.
20175 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20177 (%beautify): Add generated representations of zero.
20178 (top level): Set $auto_input and call parse_auto_input.
20179 (beautify): Remove trailing "f" from hex float constants.
20180 (parse_args): Handle XFAIL_TEST.
20181 (convert_condition): New function.
20182 (or_value): Likewise.
20183 (or_cond_value): Likewise.
20184 (generate_testfile): Handle AUTO_TESTS_* lines.
20185 (parse_auto_input): New function.
20186 * math/libm-test.inc (XFAIL_TEST): New macro.
20187 (ERRNO_UNCHANGED): Update value.
20188 (ERRNO_EDOM): Likewise.
20189 (ERRNO_ERANGE): Likewise.
20190 (IGNORE_RESULT): Likewise.
20191 (TEST_COND_flt_32): New macro.
20192 (TEST_COND_dbl_64): Likewise.
20193 (TEST_COND_ldbl_96_intel): Likewise.
20194 (TEST_COND_ldbl_96_m68k): Likewise.
20195 (TEST_COND_ldbl_128): Likewise.
20196 (TEST_COND_ldbl_128ibm): Likewise.
20197 (TEST_COND_long32): Likewise.
20198 (TEST_COND_long64): Likewise.
20199 (TEST_COND_before_rounding): Likewise.
20200 (TEST_COND_after_rounding): Likewise.
20201 (enable_test): Handle XFAIL_TEST flag.
20202 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20203 with finite results.
20204 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20205 auto-libm-test-out.
20207 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20208 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20211 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20212 __tls_get_addr_internal instead of __tls_get_offset in order to
20213 avoid GOT pointer dependency. Make rtld export
20214 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20215 __tls_get_addr since we are a __tls_get_offset platform.
20216 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20217 GOT pointer being set up before.
20218 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20220 2013-11-28 Joseph Myers <joseph@codesourcery.com>
20222 * manual/math.texi (Errors in Math Functions): Document accuracy
20226 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20227 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20230 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20232 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20243 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20244 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20245 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20246 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20247 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20249 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20251 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20253 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20254 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20255 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20256 atomic-feupdateenv and flt-rounds.
20257 * sysdeps/powerpc/nofpu/Versions (libc): Add
20258 __atomic_feholdexcept, __atomic_feclearexcept,
20259 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20260 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20261 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20262 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20263 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20268 * manual/arith.texi (FP Exceptions): Document that exceptions may
20269 not be raised when matherr is used.
20270 (Math Error Reporting): Document overflow in directed rounding
20271 modes. Document that errno may not be set when finite values are
20272 returned on overflow. Document intent to set errno on underflow
20273 only for underflow to zero.
20276 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20277 round-to-nearest then adjust result for other rounding modes.
20278 * include/fenv.h (fegetround): Use libm_hidden_proto.
20279 * math/fegetround.c (fegetround): Use libm_hidden_def.
20280 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20281 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20282 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20285 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20286 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20287 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20288 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20290 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20293 * nss/Versions (libnss_files): Add
20294 _nss_files_gethostbyname3_r.
20295 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20297 (HOST_DB_LOOKUP): Remove macro.
20298 (_nss_files_gethostbyname_r): Implement function without the
20299 HOST_DB_LOOKUP macro.
20300 (_nss_files_gethostbyname2_r): Likewise.
20302 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
20304 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20306 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
20308 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20309 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20312 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20314 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20315 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20316 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20317 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20318 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20319 __fe_nomask_env_priv and attribute_hidden.
20320 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20321 (libc_feupdateenv_test_ppc): Likewise.
20322 (libc_feresetround_ppc): Likewise.
20323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20324 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20325 compat_symbol macro.
20326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20327 (__fe_nomask_env): Likewise.
20328 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20330 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20332 * string/Makefile: Remove ifunc tests.
20333 * string/test-string.h: Define TEST_IFUNC.
20334 * string/test-bcopy-ifunc.c: Remove.
20335 * string/test-bzero-ifunc.c: Likewise.
20336 * string/test-memccpy-ifunc.c: Likewise.
20337 * string/test-memchr-ifunc.c: Likewise.
20338 * string/test-memcmp-ifunc.c: Likewise.
20339 * string/test-memcpy-ifunc.c: Likewise.
20340 * string/test-memmem-ifunc.c: Likewise.
20341 * string/test-memmove-ifunc.c: Likewise.
20342 * string/test-mempcpy-ifunc.c: Likewise.
20343 * string/test-memrchr-ifunc.c: Likewise.
20344 * string/test-memset-ifunc.c: Likewise.
20345 * string/test-rawmemchr-ifunc.c: Likewise.
20346 * string/test-stpcpy-ifunc.c: Likewise.
20347 * string/test-stpncpy-ifunc.c: Likewise.
20348 * string/test-strcasecmp-ifunc.c: Likewise.
20349 * string/test-strcasestr-ifunc.c: Likewise.
20350 * string/test-strcat-ifunc.c: Likewise.
20351 * string/test-strchr-ifunc.c: Likewise.
20352 * string/test-strchrnul-ifunc.c: Likewise.
20353 * string/test-strcmp-ifunc.c: Likewise.
20354 * string/test-strcpy-ifunc.c: Likewise.
20355 * string/test-strcspn-ifunc.c: Likewise.
20356 * string/test-strlen-ifunc.c: Likewise.
20357 * string/test-strncasecmp-ifunc.c: Likewise.
20358 * string/test-strncat-ifunc.c: Likewise.
20359 * string/test-strncmp-ifunc.c: Likewise.
20360 * string/test-strncpy-ifunc.c: Likewise.
20361 * string/test-strnlen-ifunc.c: Likewise.
20362 * string/test-strpbrk-ifunc.c: Likewise.
20363 * string/test-strrchr-ifunc.c: Likewise.
20364 * string/test-strspn-ifunc.c: Likewise.
20365 * string/test-strstr-ifunc.c: Likewise.
20367 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20369 * benchtests/Makefile: Remove ifunc tests.
20370 * benchtests/bench-string.h: Define TEST_IFUNC.
20371 * benchtests/bench-bcopy-ifunc.c: Remove.
20372 * benchtests/bench-bzero-ifunc.c: Likewise.
20373 * benchtests/bench-memccpy-ifunc.c: Likewise.
20374 * benchtests/bench-memchr-ifunc.c: Likewise.
20375 * benchtests/bench-memcmp-ifunc.c: Likewise.
20376 * benchtests/bench-memcpy-ifunc.c: Likewise.
20377 * benchtests/bench-memmem-ifunc.c: Likewise.
20378 * benchtests/bench-memmove-ifunc.c: Likewise.
20379 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20380 * benchtests/bench-memrchr-ifunc.c: Likewise.
20381 * benchtests/bench-memset-ifunc.c: Likewise.
20382 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20383 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20384 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20385 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20386 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20387 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20388 * benchtests/bench-strcat-ifunc.c: Likewise.
20389 * benchtests/bench-strchr-ifunc.c: Likewise.
20390 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20391 * benchtests/bench-strcmp-ifunc.c: Likewise.
20392 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20393 * benchtests/bench-strcpy-ifunc.c: Likewise.
20394 * benchtests/bench-strcspn-ifunc.c: Likewise.
20395 * benchtests/bench-strlen-ifunc.c: Likewise.
20396 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20397 * benchtests/bench-strncat-ifunc.c: Likewise.
20398 * benchtests/bench-strncmp-ifunc.c: Likewise.
20399 * benchtests/bench-strncpy-ifunc.c: Likewise.
20400 * benchtests/bench-strnlen-ifunc.c: Likewise.
20401 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20402 * benchtests/bench-strrchr-ifunc.c: Likewise.
20403 * benchtests/bench-strsep-ifunc.c: Likewise.
20404 * benchtests/bench-strspn-ifunc.c: Likewise.
20405 * benchtests/bench-strstr-ifunc.c: Likewise.
20407 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20409 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20411 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20413 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20414 * rt/aio.h: Likewise.
20415 * sysdeps/gnu/bits/utmp.h: Likewise.
20416 * sysdeps/gnu/bits/utmpx.h: Likewise.
20417 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20418 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20419 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20420 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20421 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20422 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20423 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20424 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20425 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20426 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20427 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20428 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20429 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20431 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20432 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20433 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20434 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20435 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20436 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20437 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20438 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20439 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20440 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20441 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20442 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20443 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20444 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20445 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20446 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20447 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20448 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20449 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20450 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20451 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20452 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20453 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20454 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20455 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20456 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20457 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20458 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20460 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20463 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20464 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20466 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20468 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20469 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20472 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20475 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20476 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20477 (__fesetround): Remove define.
20478 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20479 rounding and exceptions handling.
20480 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20481 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20482 (__fe_nomask_env): Likewise.
20483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20484 __fegetround instead of fegetround.
20485 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20488 2013-11-21 Roland McGrath <roland@hack.frob.com>
20490 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20493 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20495 2013-11-21 Meador Inge <meadori@codesourcery.com>
20498 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20499 (encrypt_r): Likewise.
20500 * malloc/obstack.h (obstack_free): Likewise.
20501 * posix/unistd.h (encrypt): Likewise.
20503 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20505 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20506 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20507 DL_CALL_DT_FINI() that call the functions directly.
20508 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20509 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20510 * elf/dl-fini.c: Likewise.
20512 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20514 * malloc/hooks.c (memalign_check): Add alignment rounding.
20515 * malloc/malloc.c (_mid_memalign): New function.
20516 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20517 Implement by calling _mid_memalign.
20518 * manual/probes.texi (Memory Allocation Probes): Remove
20519 memory_valloc_retry and memory_pvalloc_retry.
20521 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20523 * locale/programs/locarchive.c (open_archive): Add const
20524 qualifier to ARCHIVEFNAME and copy default fname to
20528 * libio/tst-widetext.input: Rename Oriya to Odia.
20529 * locale/iso-639.def: Likewise.
20531 * manual/probes.texi (Mathematical Function Probes): Add
20532 documentation for sin, cos, asin and acos probes.
20533 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20534 (__sin32): Add slowasin probe.
20535 (__cos32): Add slowacos probe.
20536 (__mpsin): Add slowsin probe.
20537 (__mpcos): Add slowcos probe.
20539 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20542 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20543 thread-local __sim_exceptions_thread and global
20544 __sim_exceptions_global.
20545 (__sim_disabled_exceptions): Change to thread-local
20546 __sim_disabled_exceptions_thread and global
20547 __sim_disabled_exceptions_global.
20548 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20549 and global __sim_round_mode_global.
20550 (__simulate_exceptions): Use thread-local floating-point state and
20551 set global state from it as needed.
20552 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20553 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20554 __sim_round_mode_thread.
20555 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20556 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20557 and global __sim_exceptions_global.
20558 (__sim_disabled_exceptions): Change to thread-local
20559 __sim_disabled_exceptions_thread and global
20560 __sim_disabled_exceptions_global.
20561 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20562 and global __sim_round_mode_global.
20563 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20564 (SIM_SET_GLOBAL): Likewise.
20565 * sysdeps/powerpc/soft-fp/sfp-machine.h
20566 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20567 __sim_round_mode_thread.
20568 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20569 __sim_disabled_exceptions_thread.
20570 (__sim_exceptions): Change to __sim_exceptions_thread.
20571 (__sim_disabled_exceptions): Change to
20572 __sim_disabled_exceptions_thread.
20573 (__sim_round_mode): Change to __sim_round_mode_thread.
20574 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20575 thread-local floating-point state and set global state from it as
20577 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20578 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20579 (__sim_disabled_exceptions): Remove extern declaration.
20580 (feenableexcept): Use thread-local floating-point state and set
20581 global state from it as needed.
20582 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20583 extern declaration.
20584 (__sim_disabled_exceptions): Likewise.
20585 (__sim_round_mode): Likewise.
20586 (__fegetenv): Use thread-local floating-point state.
20587 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20588 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20589 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20590 floating-point state and set global state from it as needed.
20591 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20592 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20593 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20595 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20596 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20598 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20599 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20600 Use __sim_round_mode_thread.
20601 * math/test-fenv-tls.c: New file.
20602 * math/Makefile (tests): Add test-fenv-tls.
20603 ($(objpfx)test-fenv-tls): Depend on
20604 $(common-objpfx)nptl/libpthread.so.
20606 2013-11-19 Andreas Schwab <schwab@suse.de>
20608 * locale/programs/locale.c (show_info): Decode wordarray elements.
20609 * locale/categories.def (LC_MONETARY): Add element for
20610 _NL_MONETARY_CRNCYSTR.
20611 * locale/C-monetary.c (conversion_rate): New variable.
20612 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20615 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20617 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20618 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20620 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20622 * elf/Makefile (tst-auxv): New test.
20623 * elf/tst-auxv.c: New
20624 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20626 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20628 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20629 (hidden_proto): Caller changed.
20630 (hidden_tls_proto): New macro.
20631 (libc_hidden_tls_proto): Likewise.
20632 (rtld_hidden_tls_proto): Likewise.
20633 (libm_hidden_tls_proto): Likewise.
20634 (libresolv_hidden_tls_proto): Likewise.
20635 (librt_hidden_tls_proto): Likewise.
20636 (libdl_hidden_tls_proto): Likewise.
20637 (libnss_files_hidden_tls_proto): Likewise.
20638 (libnsl_hidden_tls_proto): Likewise.
20639 (libnss_nisplus_hidden_tls_proto): Likewise.
20640 (libutil_hidden_tls_proto): Likewise.
20642 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20645 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20646 (decompose_rpath): Defer expansion to fillin_rpath.
20647 (_dl_init_paths): Pass linkmap to fillin_rpath.
20649 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20651 * benchtests/Makefile: Add strsep.
20652 * benchtests/bench-strsep.c: New file: strsep benchtest.
20653 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20655 2013-11-18 Andreas Schwab <schwab@suse.de>
20657 * locale/programs/locale.c (show_info) [case byte]: Check for
20658 '\377' instead of '\177'.
20659 * locale/C-monetary.c (not_available): Always use "\377".
20660 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20661 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20662 detect unavailable sign_posn locale elements.
20663 * locale/localeconv.c (__localeconv): For grouping and
20664 mon_grouping handle "\177" and "\377" like no grouping.
20665 (INT_ELEM): New macro. Use it to set all numeric members.
20666 * locale/programs/ld-monetary.c (monetary_read)
20667 <tok_mon_grouping>: Normalize single -1 to the empty string.
20668 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20671 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20675 when we match (nil).
20676 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20678 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20680 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20681 (NO_TEST_INLINE): Update value.
20682 (ERRNO_UNCHANGED): Likewise.
20683 (ERRNO_EDOM): Likewise.
20684 (ERRNO_ERANGE): Likewise.
20685 (IGNORE_RESULT): Likewise.
20686 (check_float_internal): Check signs of NaN results if
20687 TEST_NAN_SIGN used.
20688 (check_complex): Pass TEST_NAN_SIGN flag through to second
20689 check_float_internal call.
20690 (copysign_test_data): Add tests with quiet NaNs as second
20691 argument. Use TEST_NAN_SIGN.
20692 (fabs_test_data): Add test of negative quiet NaN argument. Use
20694 (signbit_test_data): Add tests of quiet NaN argument.
20695 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20697 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20699 (parse_args): Handle function results specified as IGNORE.
20700 * math/libm-test.inc (IGNORE_RESULT): New macro.
20701 (check_float_internal): Do not check numerical result if flag
20703 (check_complex): Pass through IGNORE_RESULT to second
20704 check_float_internal call.
20705 (check_int): Do not check numerical result if flag IGNORE_RESULT
20707 (check_long): Likewise.
20708 (check_bool): Likewise.
20709 (check_longlong): Likewise.
20710 (lrint_test_data): Add tests of infinite and NaN arguments.
20711 (lrint_tonearest_test_data): Likewise.
20712 (lrint_towardzero_test_data): Likewise.
20713 (lrint_downward_test_data): Likewise.
20714 (lrint_upward_test_data): Likewise.
20715 (llrint_test_data): Likewise.
20716 (llrint_tonearest_test_data): Likewise.
20717 (llrint_towardzero_test_data): Likewise.
20718 (llrint_downward_test_data): Likewise.
20719 (llrint_upward_test_data): Likewise.
20720 (lround_test_data): Likewise.
20721 (llround_test_data): Likewise.
20723 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20724 (ERRNO_UNCHANGED): Update value.
20725 (ERRNO_EDOM): Likewise.
20726 (ERRNO_ERANGE): Likewise.
20727 (NO_TEST_INLINE_FLOAT): New macro.
20728 (NO_TEST_INLINE_DOUBLE): Likewise.
20729 (enable_test): New function.
20730 (RUN_TEST_f_f): Check enable_test before running test.
20731 (RUN_TEST_2_f): Likewise.
20732 (RUN_TEST_fff_f): Likewise.
20733 (RUN_TEST_c_f): Likewise.
20734 (RUN_TEST_f_f1): Likewise.
20735 (RUN_TEST_fF_f1): Likewise.
20736 (RUN_TEST_fI_f1): Likewise.
20737 (RUN_TEST_ffI_f1): Likewise.
20738 (RUN_TEST_c_c): Likewise.
20739 (RUN_TEST_cc_c): Likewise.
20740 (RUN_TEST_f_i): Likewise.
20741 (RUN_TEST_f_i_tg): Likewise.
20742 (RUN_TEST_ff_i_tg): Likewise.
20743 (RUN_TEST_f_b): Likewise.
20744 (RUN_TEST_f_b_tg): Likewise.
20745 (RUN_TEST_f_l): Likewise.
20746 (RUN_TEST_f_L): Likewise.
20747 (RUN_TEST_fFF_11): Likewise.
20748 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20750 (cosh_test_data): Likewise.
20751 (exp_test_data): Likewise.
20752 (expm1_test_data): Likewise.
20753 (hypot_test_data): Likewise.
20754 (pow_test_data): Likewise.
20755 (sinh_test_data): Likewise.
20756 (tanh_test_data): Likewise.
20757 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20760 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20761 tests with quiet NaN input and output.
20762 (acosh_test_data): Likewise.
20763 (asin_test_data): Likewise.
20764 (asinh_test_data): Likewise.
20765 (atan_test_data): Likewise.
20766 (atanh_test_data): Likewise.
20767 (atan2_test_data): Likewise.
20768 (cbrt_test_data): Likewise.
20769 (cos_test_data): Likewise.
20770 (cosh_test_data): Likewise.
20771 (erf_test_data): Likewise.
20772 (erfc_test_data): Likewise.
20773 (exp_test_data): Likewise.
20774 (exp10_test_data): Likewise.
20775 (exp2_test_data): Likewise.
20776 (expm1_test_data): Likewise.
20777 (hypot_test_data): Likewise.
20778 (j0_test_data): Likewise.
20779 (j1_test_data): Likewise.
20780 (jn_test_data): Likewise.
20781 (lgamma_test_data): Likewise.
20782 (log_test_data): Likewise.
20783 (log10_test_data): Likewise.
20784 (log1p_test_data): Likewise.
20785 (log2_test_data): Likewise.
20786 (pow_test_data): Likewise.
20787 (scalb_test_data): Likewise.
20788 (sin_test_data): Likewise.
20789 (sincos_test_data): Likewise.
20790 (sinh_test_data): Likewise.
20791 (tan_test_data): Likewise.
20792 (tanh_test_data): Likewise.
20793 (tgamma_test_data): Likewise.
20794 (y0_test_data): Likewise.
20795 (y1_test_data): Likewise.
20796 (yn_test_data): Likewise.
20799 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20800 argument being NaN and avoid computations with second argument in
20802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20803 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20804 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20806 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20808 * locale/iso-639.def: Add Chitwani Tharu (the).
20810 2013-11-14 Andreas Schwab <schwab@suse.de>
20812 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20813 word instead of empty string.
20815 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20818 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20820 (__fe_nomask_env): Likewise.
20822 2013-11-13 Steve Ellcey <sellcey@mips.com>
20824 * benchtests/bench-timing.h: Include time.h.
20826 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20829 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20831 * sysdeps/unix/sysv/linux/configure: Regenerated.
20833 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20836 * stdlib/strtod_l.c (round_and_return): Do not consider
20837 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20838 exponent one less than half the least subnormal exponent.
20839 * stdlib/test-strtod-round-data: Add more tests.
20840 * stdlib/tst-strtod-round.c (tests): Regenerated.
20842 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20845 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20846 (__fe_mask_env): Likewise.
20847 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20848 libm_hidden_proto and add function prototype.
20849 (__fe_mask_env): Add function prototype.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20851 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20853 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20855 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20857 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20859 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20860 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20862 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20864 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20865 of htab_find_slot().
20867 2013-11-11 David S. Miller <davem@davemloft.net>
20870 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20871 symbol in the non-vis3 case in static builds.
20872 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20873 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20874 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20875 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20877 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20880 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20883 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20885 * benchtests/Makefile: Add bench-strtod.
20886 * benchtests/bench-strtod.c: New file: strtod benchtest
20888 2013-11-11 Andreas Schwab <schwab@suse.de>
20891 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20892 terminating NUL in key length.
20894 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20896 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20897 Add artificial ODP entry for vDSO symbol for PPC64.
20898 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20899 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20901 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20904 * nss/getent.c (services_keys): Recognize services starting with digit.
20906 2013-11-06 David S. Miller <davem@davemloft.net>
20909 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20910 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20912 2013-11-06 Will Newton <will.newton@linaro.org>
20914 * manual/memory.texi (Malloc Examples): Remove register
20915 keyword from examples.
20917 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20919 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20921 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20924 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20925 depending on [__GCC_IEC_559 > 0].
20926 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20927 depending on [__GCC_IEC_559_COMPLEX > 0].
20929 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20931 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20934 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20936 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20938 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20941 * malloc/malloc (malloc_info): Do not handle first bin as
20944 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20946 * locale/iso-639.def: Add Central Nahuatl (nhn).
20948 2013-11-01 Bruno Haible <bruno@clisp.org>
20951 * manual/math.texi (BSD Random): Specify range upper bound as
20954 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20956 * locale/iso-639.def: Add Meadow Mari (mhr).
20958 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20960 [BZ #14752], [BZ #15763]
20961 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20963 * rt/tst_shm.c: Add test for escaping directory.
20965 2013-10-31 Andreas Schwab <schwab@suse.de>
20968 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20969 followed by 'x' as part of digit sequence.
20970 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20972 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20975 * configure.ac: allow GNU Make 4.0 and greater.
20976 * configure: Regenerated.
20978 2013-10-30 Will Newton <will.newton@linaro.org>
20981 * malloc/hooks.c (memalign_check): Limit alignment to the
20982 maximum representable power of two.
20983 * malloc/malloc.c (__libc_memalign): Likewise.
20984 * malloc/tst-memalign.c (do_test): Add test for very
20985 large alignment values.
20986 * malloc/tst-posix_memalign.c (do_test): Likewise.
20988 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20991 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20992 (munmap_chunk): Likewise.
20993 (mremap_chunk): Likewise.
20995 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20998 * stdlib/div.c (div): Remove obsolete code.
20999 * stdlib/ldiv.c (ldiv): Likewise.
21000 * stdlib/lldiv.c (lldiv): Likewise.
21002 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21005 * nss/nss_files/files-XXX.c (get_contents_ret): New
21007 (get_contents): New function.
21008 (internal_getent): Use it. Expand size of LINEBUFLEN.
21010 2013-10-30 Mike Frysinger <vapier@gentoo.org>
21012 * configure.in: Moved to ...
21013 * configure.ac: ... here. Change reference to configure.in
21015 * sysdeps/arm/preconfigure.ac: ... here.
21016 configure.in to configure.ac.
21017 * sysdeps/gnu/configure.in: Moved to ...
21018 * sysdeps/gnu/configure.ac: ... here.
21019 * sysdeps/i386/configure.in: Moved to ...
21020 * sysdeps/i386/configure.ac: ... here.
21021 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21022 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21023 * sysdeps/mach/configure.in: Moved to ...
21024 * sysdeps/mach/configure.ac: ... here.
21025 * sysdeps/mach/hurd/configure.in: Moved to ...
21026 * sysdeps/mach/hurd/configure.ac: ... here.
21027 * sysdeps/powerpc/configure.in: Moved to ...
21028 * sysdeps/powerpc/configure.ac: ... here.
21029 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21030 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21031 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21032 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21033 * sysdeps/s390/s390-32/configure.in: Moved to ...
21034 * sysdeps/s390/s390-32/configure.ac: ... here.
21035 * sysdeps/s390/s390-64/configure.in: Moved to ...
21036 * sysdeps/s390/s390-64/configure.ac: ... here.
21037 * sysdeps/sh/configure.in: Moved to ...
21038 * sysdeps/sh/configure.ac: ... here.
21039 * sysdeps/sparc/configure.in: Moved to ...
21040 * sysdeps/sparc/configure.ac: ... here.
21041 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21042 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21043 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21044 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21045 * sysdeps/x86_64/configure.in: Moved to ...
21046 * sysdeps/x86_64/configure.ac: ... here.
21047 * sysdeps/x86_64/preconfigure.in: Moved to ...
21048 * sysdeps/x86_64/preconfigure.ac: ... here.
21049 * aclocal.m4: Change reference to configure.in to configure.ac.
21050 * config.h.in: Likewise.
21051 * manual/install.texi: Likewise.
21052 * manual/maint.texi: Likewise.
21053 * Makefile: Likewise.
21054 * malloc/Makefile: Likewise.
21055 * nscd/Makefile: Likewise.
21056 * Makeconfig: Change reference to configure.in and
21057 preconfigure.in to configure.ac and preconfigure.ac
21059 * INSTALL: Regenerated.
21060 * configure: Likewise.
21061 * sysdeps/gnu/configure: Likewise.
21062 * sysdeps/i386/configure: Likewise.
21063 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21064 * sysdeps/mach/configure: Likewise.
21065 * sysdeps/mach/hurd/configure: Likewise.
21066 * sysdeps/powerpc/configure: Likewise.
21067 * sysdeps/powerpc/powerpc32/configure: Likewise.
21068 * sysdeps/powerpc/powerpc64/configure: Likewise.
21069 * sysdeps/s390/s390-32/configure: Likewise.
21070 * sysdeps/s390/s390-64/configure: Likewise.
21071 * sysdeps/sh/configure: Likewise.
21072 * sysdeps/sparc/configure: Likewise.
21073 * sysdeps/unix/sysv/linux/configure: Likewise.
21074 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21075 * sysdeps/x86_64/configure: Likewise.
21076 * sysdeps/x86_64/preconfigure: Likewise.
21078 2013-10-29 Andreas Schwab <schwab@suse.de>
21080 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21082 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21084 * benchtests/pow-inputs: Add new inputs.
21086 * benchtests/exp-inputs: Add new inputs.
21088 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21089 conditional check for return value.
21090 (__cos32): Likewise.
21092 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21094 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21095 to provide a boost for large inputs with word alignment.
21096 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21097 implementation based on optimized PPC64 strcpy.
21098 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21099 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21100 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21101 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21103 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21106 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21108 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21111 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21112 * time/tst-strptime.c (day_tests): Add testcase.
21114 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
21117 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21119 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21122 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21123 MAP_FAILED on error.
21125 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21128 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21129 heap for large requests.
21131 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21134 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21135 result if the result has no associated interface.
21136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21137 interface for all 127.X.Y.Z addresses.
21139 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
21141 * locale/iso-639.def: Add Ligurian (lij)
21143 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
21146 * sunrpc/rpc_main.c: Document rpcgen -5.
21148 2013-10-19 Michael Stahl <mstahl@redhat.com>
21150 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21152 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21155 * posix/glob.c: Match only directories when trailing slash is present.
21156 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21157 (main): Add testcase.
21159 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
21162 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21164 2013-10-18 Carlos O'Donell <carlos@redhat.com>
21166 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21167 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21168 AUTH_DES and cindex for FIPS 140-2.
21169 (DES Encryption): Add cindex FIPS 46-3.
21171 * locale/locarchive.h (struct locarhandle): Add fname.
21172 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21173 if an optional argument was specified to --list-archive,
21175 * locale/programs/locarchive.c (show_archive_content): Take new
21176 argument fname and pass it via ah.fname to open_archive.
21177 * locale/programs/localedef.h: Update decl.
21178 (open_archive): If AH->fname is non-null, open that file
21179 rather than the default file name, and don't ignore ENOENT.
21180 (create_archive): Set AH.fname to NULL.
21181 (delete_locales_from_archive): Likewise.
21182 (add_locales_to_archive): Likewise.
21183 * locale/programs/locfile.c (write_all_categories): Likewise.
21185 2013-10-18 Joseph Myers <joseph@codesourcery.com>
21186 Aldy Hernandez <aldyh@redhat.com>
21188 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21189 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21190 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21191 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21192 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21193 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21194 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21195 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21196 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21197 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21198 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21199 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21200 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21201 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21202 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21204 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21206 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21208 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21210 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21211 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21213 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21214 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21215 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21216 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21218 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21219 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21220 * sysdeps/powerpc/preconfigure: Likewise.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21223 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21224 Replace contents of file by #include of <fenv_libc.h>.
21225 * sysdeps/powerpc/soft-fp/sfp-machine.h
21226 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21228 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21233 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21236 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21237 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21238 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21239 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21241 Allow copysignl PLT reference to be missing.
21243 2013-10-18 Richard Sandiford <richard@codesourcery.com>
21244 Joseph Myers <joseph@codesourcery.com
21247 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21249 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21251 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21253 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21254 * elf/tst-tls1.c: Likewise.
21255 * elf/tst-tls10.h: Likewise.
21256 * elf/tst-tls14.c: Likewise.
21257 * elf/tst-tls2.c: Likewise.
21258 * elf/tst-tls3.c: Likewise.
21259 * elf/tst-tls4.c: Likewise.
21260 * elf/tst-tls5.c: Likewise.
21261 * elf/tst-tls6.c: Likewise.
21262 * elf/tst-tls7.c: Likewise.
21263 * elf/tst-tls8.c: Likewise.
21264 * elf/tst-tls9.c: Likewise.
21265 * elf/tst-tlsmod1.c: Likewise.
21266 * elf/tst-tlsmod13.c: Likewise.
21267 * elf/tst-tlsmod13a.c: Likewise.
21268 * elf/tst-tlsmod14a.c: Likewise.
21269 * elf/tst-tlsmod16a.c: Likewise.
21270 * elf/tst-tlsmod16b.c: Likewise.
21271 * elf/tst-tlsmod2.c: Likewise.
21272 * elf/tst-tlsmod3.c: Likewise.
21273 * elf/tst-tlsmod4.c: Likewise.
21274 * elf/tst-tlsmod5.c: Likewise.
21275 * elf/tst-tlsmod6.c: Likewise.
21277 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
21280 * malloc/malloc.c: remove checks for statistics.
21282 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21285 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21286 * inet/tst-network.c: Add testcase.
21288 2013-10-17 Andreas Schwab <schwab@suse.de>
21291 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21292 to determine canonical name.
21294 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
21296 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21297 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21299 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21301 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21303 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21304 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21305 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21306 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21307 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21308 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21309 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21310 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21311 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21313 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21315 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21318 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21319 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21320 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21321 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21322 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21323 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21324 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21325 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21326 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21327 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21328 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21329 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21330 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21334 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21335 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21336 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21337 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21338 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21340 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21341 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21342 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21343 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21344 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21345 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21346 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21347 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21349 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21350 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21351 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21352 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21353 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21355 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21358 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21359 make result into a quiet NaN.
21361 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21363 * soft-fp/adddf3.c: Fix horizontal whitespace.
21364 * soft-fp/addsf3.c: Likewise.
21365 * soft-fp/addtf3.c: Likewise.
21366 * soft-fp/divdf3.c: Likewise.
21367 * soft-fp/divsf3.c: Likewise.
21368 * soft-fp/divtf3.c: Likewise.
21369 * soft-fp/double.h: Likewise.
21370 * soft-fp/eqdf2.c: Likewise.
21371 * soft-fp/eqsf2.c: Likewise.
21372 * soft-fp/eqtf2.c: Likewise.
21373 * soft-fp/extenddftf2.c: Likewise.
21374 * soft-fp/extended.h: Likewise.
21375 * soft-fp/extendsfdf2.c: Likewise.
21376 * soft-fp/extendsftf2.c: Likewise.
21377 * soft-fp/extendxftf2.c: Likewise.
21378 * soft-fp/fixdfdi.c: Likewise.
21379 * soft-fp/fixdfsi.c: Likewise.
21380 * soft-fp/fixdfti.c: Likewise.
21381 * soft-fp/fixsfdi.c: Likewise.
21382 * soft-fp/fixsfsi.c: Likewise.
21383 * soft-fp/fixsfti.c: Likewise.
21384 * soft-fp/fixtfdi.c: Likewise.
21385 * soft-fp/fixtfsi.c: Likewise.
21386 * soft-fp/fixtfti.c: Likewise.
21387 * soft-fp/fixunsdfdi.c: Likewise.
21388 * soft-fp/fixunsdfsi.c: Likewise.
21389 * soft-fp/fixunsdfti.c: Likewise.
21390 * soft-fp/fixunssfdi.c: Likewise.
21391 * soft-fp/fixunssfsi.c: Likewise.
21392 * soft-fp/fixunssfti.c: Likewise.
21393 * soft-fp/fixunstfdi.c: Likewise.
21394 * soft-fp/fixunstfsi.c: Likewise.
21395 * soft-fp/fixunstfti.c: Likewise.
21396 * soft-fp/floatdidf.c: Likewise.
21397 * soft-fp/floatdisf.c: Likewise.
21398 * soft-fp/floatditf.c: Likewise.
21399 * soft-fp/floatsidf.c: Likewise.
21400 * soft-fp/floatsisf.c: Likewise.
21401 * soft-fp/floatsitf.c: Likewise.
21402 * soft-fp/floattidf.c: Likewise.
21403 * soft-fp/floattisf.c: Likewise.
21404 * soft-fp/floattitf.c: Likewise.
21405 * soft-fp/floatundidf.c: Likewise.
21406 * soft-fp/floatundisf.c: Likewise.
21407 * soft-fp/floatunditf.c: Likewise.
21408 * soft-fp/floatunsidf.c: Likewise.
21409 * soft-fp/floatunsisf.c: Likewise.
21410 * soft-fp/floatunsitf.c: Likewise.
21411 * soft-fp/floatuntidf.c: Likewise.
21412 * soft-fp/floatuntisf.c: Likewise.
21413 * soft-fp/floatuntitf.c: Likewise.
21414 * soft-fp/fmadf4.c: Likewise.
21415 * soft-fp/fmasf4.c: Likewise.
21416 * soft-fp/fmatf4.c: Likewise.
21417 * soft-fp/gedf2.c: Likewise.
21418 * soft-fp/gesf2.c: Likewise.
21419 * soft-fp/getf2.c: Likewise.
21420 * soft-fp/ledf2.c: Likewise.
21421 * soft-fp/lesf2.c: Likewise.
21422 * soft-fp/letf2.c: Likewise.
21423 * soft-fp/muldf3.c: Likewise.
21424 * soft-fp/mulsf3.c: Likewise.
21425 * soft-fp/multf3.c: Likewise.
21426 * soft-fp/negdf2.c: Likewise.
21427 * soft-fp/negsf2.c: Likewise.
21428 * soft-fp/negtf2.c: Likewise.
21429 * soft-fp/op-1.h: Likewise.
21430 * soft-fp/op-2.h: Likewise.
21431 * soft-fp/op-4.h: Likewise.
21432 * soft-fp/op-8.h: Likewise.
21433 * soft-fp/op-common.h: Likewise.
21434 * soft-fp/quad.h: Likewise.
21435 * soft-fp/single.h: Likewise.
21436 * soft-fp/soft-fp.h: Likewise.
21437 * soft-fp/sqrtdf2.c: Likewise.
21438 * soft-fp/sqrtsf2.c: Likewise.
21439 * soft-fp/sqrttf2.c: Likewise.
21440 * soft-fp/subdf3.c: Likewise.
21441 * soft-fp/subsf3.c: Likewise.
21442 * soft-fp/subtf3.c: Likewise.
21443 * soft-fp/truncdfsf2.c: Likewise.
21444 * soft-fp/trunctfdf2.c: Likewise.
21445 * soft-fp/trunctfsf2.c: Likewise.
21446 * soft-fp/trunctfxf2.c: Likewise.
21447 * soft-fp/unorddf2.c: Likewise.
21448 * soft-fp/unordsf2.c: Likewise.
21449 * soft-fp/unordtf2.c: Likewise.
21451 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21453 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21454 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21456 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21458 * elf/dl-libc.c: Clear initfini list after freeing.
21460 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21462 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21463 * soft-fp/addsf3.c: Likewise.
21464 * soft-fp/addtf3.c: Likewise.
21465 * soft-fp/divdf3.c: Likewise.
21466 * soft-fp/divsf3.c: Likewise.
21467 * soft-fp/divtf3.c: Likewise.
21468 * soft-fp/double.h: Likewise.
21469 * soft-fp/eqdf2.c: Likewise.
21470 * soft-fp/eqsf2.c: Likewise.
21471 * soft-fp/eqtf2.c: Likewise.
21472 * soft-fp/extenddftf2.c: Likewise.
21473 * soft-fp/extended.h: Likewise.
21474 * soft-fp/extendsfdf2.c: Likewise.
21475 * soft-fp/extendsftf2.c: Likewise.
21476 * soft-fp/extendxftf2.c: Likewise.
21477 * soft-fp/fixdfdi.c: Likewise.
21478 * soft-fp/fixdfsi.c: Likewise.
21479 * soft-fp/fixdfti.c: Likewise.
21480 * soft-fp/fixsfdi.c: Likewise.
21481 * soft-fp/fixsfsi.c: Likewise.
21482 * soft-fp/fixsfti.c: Likewise.
21483 * soft-fp/fixtfdi.c: Likewise.
21484 * soft-fp/fixtfsi.c: Likewise.
21485 * soft-fp/fixtfti.c: Likewise.
21486 * soft-fp/fixunsdfdi.c: Likewise.
21487 * soft-fp/fixunsdfsi.c: Likewise.
21488 * soft-fp/fixunsdfti.c: Likewise.
21489 * soft-fp/fixunssfdi.c: Likewise.
21490 * soft-fp/fixunssfsi.c: Likewise.
21491 * soft-fp/fixunssfti.c: Likewise.
21492 * soft-fp/fixunstfdi.c: Likewise.
21493 * soft-fp/fixunstfsi.c: Likewise.
21494 * soft-fp/fixunstfti.c: Likewise.
21495 * soft-fp/floatdidf.c: Likewise.
21496 * soft-fp/floatdisf.c: Likewise.
21497 * soft-fp/floatditf.c: Likewise.
21498 * soft-fp/floatsidf.c: Likewise.
21499 * soft-fp/floatsisf.c: Likewise.
21500 * soft-fp/floatsitf.c: Likewise.
21501 * soft-fp/floattidf.c: Likewise.
21502 * soft-fp/floattisf.c: Likewise.
21503 * soft-fp/floattitf.c: Likewise.
21504 * soft-fp/floatundidf.c: Likewise.
21505 * soft-fp/floatundisf.c: Likewise.
21506 * soft-fp/floatunsidf.c: Likewise.
21507 * soft-fp/floatunsisf.c: Likewise.
21508 * soft-fp/floatuntidf.c: Likewise.
21509 * soft-fp/floatuntisf.c: Likewise.
21510 * soft-fp/floatuntitf.c: Likewise.
21511 * soft-fp/fmadf4.c: Likewise.
21512 * soft-fp/fmasf4.c: Likewise.
21513 * soft-fp/fmatf4.c: Likewise.
21514 * soft-fp/gedf2.c: Likewise.
21515 * soft-fp/gesf2.c: Likewise.
21516 * soft-fp/getf2.c: Likewise.
21517 * soft-fp/ledf2.c: Likewise.
21518 * soft-fp/lesf2.c: Likewise.
21519 * soft-fp/letf2.c: Likewise.
21520 * soft-fp/muldf3.c: Likewise.
21521 * soft-fp/mulsf3.c: Likewise.
21522 * soft-fp/multf3.c: Likewise.
21523 * soft-fp/negdf2.c: Likewise.
21524 * soft-fp/negsf2.c: Likewise.
21525 * soft-fp/negtf2.c: Likewise.
21526 * soft-fp/op-1.h: Likewise.
21527 * soft-fp/op-2.h: Likewise.
21528 * soft-fp/op-4.h: Likewise.
21529 * soft-fp/op-8.h: Likewise.
21530 * soft-fp/op-common.h: Likewise.
21531 * soft-fp/quad.h: Likewise.
21532 * soft-fp/single.h: Likewise.
21533 * soft-fp/soft-fp.h: Likewise.
21534 * soft-fp/sqrtdf2.c: Likewise.
21535 * soft-fp/sqrtsf2.c: Likewise.
21536 * soft-fp/sqrttf2.c: Likewise.
21537 * soft-fp/subdf3.c: Likewise.
21538 * soft-fp/subsf3.c: Likewise.
21539 * soft-fp/subtf3.c: Likewise.
21540 * soft-fp/truncdfsf2.c: Likewise.
21541 * soft-fp/trunctfdf2.c: Likewise.
21542 * soft-fp/trunctfsf2.c: Likewise.
21543 * soft-fp/trunctfxf2.c: Likewise.
21544 * soft-fp/unorddf2.c: Likewise.
21545 * soft-fp/unordsf2.c: Likewise.
21546 * soft-fp/unordtf2.c: Likewise.
21548 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21551 * misc/error.c (error_tail): Fix possible buffer overflow.
21553 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21556 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21559 2013-10-14 P. J. McDermott <pj@pehjota.net>
21562 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21563 testing pipefail option.
21565 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21567 * soft-fp/double.h: Indent preprocessor directives inside #if.
21568 * soft-fp/extended.h: Likewise.
21569 * soft-fp/op-2.h: Likewise.
21570 * soft-fp/op-4.h: Likewise.
21571 * soft-fp/op-common.h: Likewise.
21572 * soft-fp/quad.h: Likewise.
21573 * soft-fp/single.h: Likewise.
21574 * soft-fp/soft-fp.h: Likewise.
21576 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21578 * iconv/iconv_prog.c: Fix typos.
21579 * stdio-common/psiginfo-data.h: Likewise.
21581 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21584 * locale/setlocale.c: Fix typo.
21586 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21589 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21590 signaling NaN arguments.
21591 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21592 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21595 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21596 unordered operands.
21597 * soft-fp/gesf2.c (__gesf2): Likewise.
21598 * soft-fp/getf2.c (__getf2): Likewise.
21599 * soft-fp/ledf2.c (__ledf2): Likewise.
21600 * soft-fp/lesf2.c (__lesf2): Likewise.
21601 * soft-fp/letf2.c (__letf2): Likewise.
21603 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21604 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21605 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21606 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21607 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21608 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21609 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21610 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21611 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21612 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21613 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21614 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21615 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21616 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21617 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21618 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21619 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21620 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21621 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21622 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21623 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21624 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21625 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21626 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21627 * soft-fp/floattidf.c (__floattidf): Likewise.
21628 * soft-fp/floattisf.c (__floattisf): Likewise.
21629 * soft-fp/floattitf.c (__floattitf): Likewise.
21630 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21631 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21632 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21633 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21634 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21635 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21636 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21637 * soft-fp/gesf2.c (__gesf2): Likewise.
21638 * soft-fp/getf2.c (__getf2): Likewise.
21639 * soft-fp/ledf2.c (__ledf2): Likewise.
21640 * soft-fp/lesf2.c (__lesf2): Likewise.
21641 * soft-fp/letf2.c (__letf2): Likewise.
21643 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21644 Undefine and redefine.
21645 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21646 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21647 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21648 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21649 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21650 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21651 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21652 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21653 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21654 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21655 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21656 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21657 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21658 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21659 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21662 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21663 without decrementing exponent if mantissa >= that for the
21664 denominator, not >.
21665 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21666 denominator, not >. Decrement exponent in < case instead of
21667 incrementing in >= case.
21668 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21669 without decrementing exponent if mantissa >= that for the
21670 denominator, not >.
21672 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21673 computing saturated result for unsigned overflow.
21675 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21676 Jeff Law <law@redhat.com>
21678 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21679 (atan2Mp): Add systemtap probe marker.
21680 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21681 (__ieee754_log): Add systemtap probe marker.
21682 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21683 (atanMp): Add systemtap probe marker.
21684 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21685 (tanMp): Add systemtap probe marker.
21686 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21687 (__slowexp): Add systemtap probe marker.
21688 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21689 (__slowpow): Add systemtap probe marker.
21690 * manual/probes.texi: Document probes.
21692 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21695 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21697 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21699 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21700 written to buffer but not flushed.
21701 * libio/iofwrite_u.c: Likewise.
21702 * libio/iopadn.c: Return bytes returned even if EOF was
21704 * libio/iowpadn.c: Likewise.
21705 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21706 if _IO_padn does not write the whole buffer.
21707 [!COMPILE_WPRINTF] (PAD): Likewise.
21709 2013-10-10 David S. Miller <davem@davemloft.net>
21711 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21714 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21716 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21717 instead of FSF address.
21718 * soft-fp/fixdfti.c: Likewise.
21719 * soft-fp/fixsfti.c: Likewise.
21720 * soft-fp/fixtfti.c: Likewise.
21721 * soft-fp/fixunsdfti.c: Likewise.
21722 * soft-fp/fixunssfti.c: Likewise.
21723 * soft-fp/fixunstfti.c: Likewise.
21724 * soft-fp/floattidf.c: Likewise.
21725 * soft-fp/floattisf.c: Likewise.
21726 * soft-fp/floattitf.c: Likewise.
21727 * soft-fp/floatuntidf.c: Likewise.
21728 * soft-fp/floatuntisf.c: Likewise.
21729 * soft-fp/floatuntitf.c: Likewise.
21730 * soft-fp/trunctfxf2.c: Likewise.
21732 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21733 * soft-fp/fixdfti.c: Likewise.
21734 * soft-fp/fixsfti.c: Likewise.
21735 * soft-fp/fixtfti.c: Likewise.
21736 * soft-fp/fixunsdfti.c: Likewise.
21737 * soft-fp/fixunssfti.c: Likewise.
21738 * soft-fp/fixunstfti.c: Likewise.
21739 * soft-fp/floattidf.c: Likewise.
21740 * soft-fp/floattisf.c: Likewise.
21741 * soft-fp/floattitf.c: Likewise.
21742 * soft-fp/floatuntidf.c: Likewise.
21743 * soft-fp/floatuntisf.c: Likewise.
21744 * soft-fp/floatuntitf.c: Likewise.
21745 * soft-fp/trunctfxf2.c: Likewise.
21747 2013-10-10 David S. Miller <davem@davemloft.net>
21749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21751 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21753 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21754 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21755 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21756 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21757 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21758 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21759 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21762 for NaNs before doing comparisons on argument.
21763 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21766 2013-10-10 Will Newton <will.newton@linaro.org>
21768 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21769 passed to _int_memalign does not overflow.
21771 2013-10-10 Torvald Riegel <triegel@redhat.com>
21773 * scripts/bench.pl: Add include-sources directive.
21774 * benchtests/README: Update documentation.
21776 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21778 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21779 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21780 instead of FP_INIT_ROUNDMODE.
21781 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21782 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21785 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21786 copy class of input value.
21787 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21788 not handle exceptions.
21789 * soft-fp/negsf2.c (__negsf2): Likewise.
21790 * soft-fp/negtf2.c (__negtf2): Likewise.
21791 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21793 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21795 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21796 semicolon. From Linux kernel.
21798 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21800 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21802 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21805 * manual/socket.texi: Added statement about buffer
21806 for gethostbyname2_r.
21808 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21810 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21811 Use .p2align directive instead, throughout.
21812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21813 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21814 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21815 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21817 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21818 * sysdeps/x86_64/strchr.S: Likewise.
21819 * sysdeps/x86_64/strrchr.S: Likewise.
21821 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21823 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21825 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21827 * sysdeps/generic/math_private.h (__mpsin1): Remove
21829 (__mpcos1): Likewise.
21830 (__mpsin): New argument __range_reduce.
21831 (__mpcos): Likewise.
21832 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21833 (slow): Use __mpsin and __mpcos.
21837 (sloww1): Likewise.
21838 (sloww2): Likewise.
21839 (bsloww): Likewise.
21840 (bsloww1): Likewise.
21841 (bsloww2): Likewise.
21842 (cslow2): Likewise.
21843 (csloww): Likewise.
21844 (csloww1): Likewise.
21845 (csloww2): Likewise.
21846 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21847 range_reduce. Merge in __mpsin1.
21848 (__mpcos): Likewise.
21849 (__mpsin1): Remove.
21850 (__mpcos1): Likewise.
21852 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21854 * locale/loadlocale.c (_nl_intern_locale_data): Use
21856 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21857 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21858 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21859 obstack data is appropriately aligned.
21860 (obstack_int32_grow_fast): Likewise.
21861 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21862 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21863 (add_locale_uint32_array): Likewise.
21865 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21867 * benchtests/Makefile: Remove ARGLIST and RET variables.
21868 ($(objpfx)bench-%.c): Pass only function name to the script.
21869 * benchtests/README: Update documentation.
21870 * benchtests/acos-inputs: Add new directives.
21871 * benchtests/acosh-inputs: Likewise.
21872 * benchtests/asin-inputs: Likewise.
21873 * benchtests/asinh-inputs: Likewise.
21874 * benchtests/atan-inputs: Likewise.
21875 * benchtests/atanh-inputs: Likewise.
21876 * benchtests/cos-inputs: Likewise.
21877 * benchtests/cosh-inputs: Likewise.
21878 * benchtests/exp-inputs: Likewise.
21879 * benchtests/log-inputs: Likewise.
21880 * benchtests/pow-inputs: Likewise.
21881 * benchtests/rint-inputs: Likewise.
21882 * benchtests/sin-inputs: Likewise.
21883 * benchtests/sinh-inputs: Likewise.
21884 * benchtests/tan-inputs: Likewise.
21885 * benchtests/tanh-inputs: Likewise.
21886 * scripts/bench.pl: Add support for new directives.
21888 2013-10-07 Alan Modra <amodra@gmail.com>
21890 * README: Fix careless merge.
21892 2013-10-05 Alan Modra <amodra@gmail.com>
21894 * NEWS: Mention powerpc64le support and bugs fixed.
21895 * README: Both big-endian and little-endian powerpc64 supported.
21897 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21899 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21900 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21901 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21902 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21904 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21906 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21909 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21911 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21912 Move -mhard-float appending from
21913 ports/sysdeps/powerpc/powerpc32/Makefile.
21914 [$(with-fp) = yes] (ASFLAGS): Likewise.
21915 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21916 * sysdeps/powerpc/nofpu: Move directory from
21917 ports/sysdeps/powerpc/nofpu.
21918 * sysdeps/powerpc/soft-fp: Move directory from
21919 ports/sysdeps/powerpc/soft-fp.
21920 * sysdeps/powerpc/powerpc32/405: Move directory from
21921 ports/sysdeps/powerpc/powerpc32/405.
21922 * sysdeps/powerpc/powerpc32/440: Move directory from
21923 ports/sysdeps/powerpc/powerpc32/440.
21924 * sysdeps/powerpc/powerpc32/464: Move directory from
21925 ports/sysdeps/powerpc/powerpc32/464.
21926 * sysdeps/powerpc/powerpc32/476: Move directory from
21927 ports/sysdeps/powerpc/powerpc32/476.
21928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21929 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21931 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21933 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21935 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21937 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21938 * README: Update for powerpc-*-linux-gnu software floating point
21941 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21942 case to powerpc/powerpc32*.
21943 * sysdeps/unix/sysv/linux/configure: Regenerated.
21945 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21946 (_FPU_MASK_OM): Define as 0x04.
21947 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21955 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21958 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21961 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21962 and setcontext_e500.
21964 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21966 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21968 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21970 * manual/threads.texi (Default Thread Attributes): Fix typo.
21972 2013-10-04 Will Newton <will.newton@linaro.org>
21974 * malloc/Makefile: Add tst-memalign.
21975 * malloc/tst-memalign.c: New file.
21977 * malloc/tst-posix_memalign.c: Add comments.
21978 (do_test): Add comments and call free on all potentially
21979 allocated pointers. Add space after cast.
21981 * malloc/tst-pvalloc.c: Add comments.
21982 (do_test): Add comments and call free on all potentially
21983 allocated pointers. Remove duplicate check for NULL pointer.
21984 Add space after cast.
21986 * malloc/tst-valloc.c: Add comments.
21987 (do_test): Add comments and call free on all potentially
21988 allocated pointers. Remove duplicate check for NULL pointer.
21989 Add space after cast.
21991 2013-10-04 Alan Modra <amodra@gmail.com>
21993 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21994 Use stdint types in rather than __attribute__((mode())).
21995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21997 2013-10-04 Alan Modra <amodra@gmail.com>
21999 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22000 Correct handling of unaligned relocs for little-endian.
22001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22003 2013-10-04 Alan Modra <amodra@gmail.com>
22005 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22006 * configure: Regenerate.
22007 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22008 * shlib-versions: Likewise.
22010 2013-10-04 Alan Modra <amodra@gmail.com>
22012 * string/tester.c (test_memrchr): Increment reported test cycle.
22014 2013-10-04 Alan Modra <amodra@gmail.com>
22016 * string/test-memcpy.c (do_one_test): When reporting errors, print
22017 string address and don't overrun end of string.
22019 2013-10-04 Alan Modra <amodra@gmail.com>
22021 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22022 insrdi. Make better use of reg selection to speed exit slightly.
22023 Schedule entry path a little better. Remove useless "are we done"
22024 checks on entry to main loop. Handle wrapping around zero address.
22025 Correct main loop count. Handle single left-over word from main
22026 loop inline rather than by using loop_small. Remove extra word
22027 case in loop_small caused by wrong loop count. Add little-endian
22029 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22030 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22032 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22033 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22034 support. Avoid rlwimi.
22035 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22037 2013-10-04 Alan Modra <amodra@gmail.com>
22039 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22040 insrdi. Formatting.
22041 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22042 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22043 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22044 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22045 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22046 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22048 2013-10-04 Alan Modra <amodra@gmail.com>
22050 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22053 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22054 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22055 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22057 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22058 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22059 use of regs. Use power7 mtocrf. Tidy function tails.
22061 2013-10-04 Alan Modra <amodra@gmail.com>
22063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22064 Formatting. Consistently use rXXX register defines or rN defines.
22065 Use early exit labels that avoid restoring unused non-volatile regs.
22066 Make cr field use more consistent with rWORDn compares. Rename
22067 regs used as shift registers for unaligned loop, using rN defines
22068 for short lifetime/multiple use regs.
22069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22070 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22071 addi 1,1,64 to pop stack frame. Simplify return value code.
22072 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22074 2013-10-04 Alan Modra <amodra@gmail.com>
22076 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22077 support. Correct typos, formatting. Optimize tail. Use insrdi
22078 rather than rlwimi.
22079 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22080 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22081 little-endian support. Correct typos.
22082 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22083 rather than rlwimi.
22084 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22085 in loop and entry code to keep "and." results.
22086 (strchr): Add little-endian support. Comment. Move cntlzd
22088 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22090 2013-10-04 Alan Modra <amodra@gmail.com>
22092 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22093 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22094 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22095 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22097 2013-10-04 Alan Modra <amodra@gmail.com>
22099 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22100 (rTMP): Define as r11.
22101 (strcmp): Add little-endian support. Optimise tail.
22102 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22103 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22104 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22108 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22110 2013-10-04 Alan Modra <amodra@gmail.com>
22112 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22113 little-endian support. Remove unnecessary "are we done" tests.
22114 Handle "s" wrapping around zero and extremely large "size".
22115 Correct main loop count. Handle single left-over word from main
22116 loop inline rather than by using small_loop. Correct comments.
22117 Delete "zero" tail, use "end_max" instead.
22118 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22120 2013-10-04 Alan Modra <amodra@gmail.com>
22122 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22123 support. Don't branch over align.
22124 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22125 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22126 support. Rearrange tmp reg use to suit. Comment.
22127 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22129 2013-10-04 Alan Modra <amodra@gmail.com>
22131 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22133 2013-10-04 Alan Modra <amodra@gmail.com>
22135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22136 conditional form of branch and link when obtaining pc.
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22139 2013-10-04 Alan Modra <amodra@gmail.com>
22141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22146 2013-10-04 Alan Modra <amodra@gmail.com>
22148 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22149 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22150 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22151 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22152 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22153 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22154 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22155 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22156 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22157 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22159 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22160 Alistair Popple <alistair@ozlabs.au.ibm.com>
22161 Alan Modra <amodra@gmail.com>
22164 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22165 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22166 _dl_hwcap access for little-endian.
22167 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22168 destroy vmx regs when saving unaligned.
22169 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22170 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22171 destroy vmx regs when saving unaligned.
22173 2013-10-04 Alan Modra <amodra@gmail.com>
22175 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22176 Don't use a union to pack hi/low value.
22178 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22180 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22182 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22184 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22185 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22186 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22188 2013-10-04 Alan Modra <amodra@gmail.com>
22190 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22191 constants to usual value for .cst8 section, and remove redundant
22193 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22194 constant for 0x1p52. Load little-endian words of double from
22195 correct stack offsets.
22197 2013-10-04 Alan Modra <amodra@gmail.com>
22199 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22200 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22201 words of double from correct stack offsets.
22202 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22203 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22204 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22205 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22206 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22207 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22208 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22209 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22210 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22211 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22212 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22213 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22214 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22215 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22216 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22217 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22218 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22220 2013-10-04 Alan Modra <amodra@gmail.com>
22222 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22223 64-bit int/double union.
22224 (_FPU_SETCW): Likewise.
22225 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22226 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22228 2013-10-04 Alan Modra <amodra@gmail.com>
22230 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22231 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22233 2013-10-04 Alan Modra <amodra@gmail.com>
22235 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22236 use vector int constants.
22237 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22239 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22241 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22242 array with long long.
22243 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22244 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22245 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22246 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22247 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22248 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22249 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22250 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22251 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22252 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22253 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22254 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22255 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22257 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
22259 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22260 (__signbit): Likewise. Correct for little-endian.
22261 (__signbitl): Call __signbit.
22262 (lrint): Correct for little-endian.
22263 (lrintf): Call lrint.
22265 2013-10-04 Alan Modra <amodra@gmail.com>
22267 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22268 union 32-bit int array member with 64-bit int array.
22269 (t515, tm256): Double rather than long double.
22270 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22272 2013-10-04 Alan Modra <amodra@gmail.com>
22274 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22276 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22278 version of math_ldbl.h.
22280 2013-10-04 Alan Modra <amodra@gmail.com>
22282 [BZ #15734], [BZ #15735]
22283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22284 all uses of ieee875 long double macros and unions. Simplify test
22285 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22286 ldbl_extract_mantissa value for ix,iy exponents. Properly
22287 normalize after ldbl_extract_mantissa, and don't add hidden bit
22288 already handled. Don't treat low word of ieee854 mantissa like
22289 low word of IBM long double and mask off bit when testing for
22291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22292 all uses of ieee875 long double macros and unions. Simplify tests
22293 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22294 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22295 two1022, instead use their values. Recognise that tests for large
22296 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22297 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22298 Rewrite all uses of ieee875 long double macros and unions. Simplify
22299 test for 0.0L and nan. Correct negation.
22300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22301 ieee875 long double macros and unions. Correct output for large
22302 magnitude x. Correct absolute value calculation.
22303 (__erfcl): Likewise.
22304 * math/libm-test.inc: Add tests for errors discovered in IBM long
22305 double versions of fmodl, remainderl, erfl and erfcl.
22307 2013-10-04 Alan Modra <amodra@gmail.com>
22309 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22310 all uses of ieee854 long double macros and unions. Simplify tests
22311 for long doubles that are fully specified by the high double.
22312 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22314 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22315 Remove dead code too.
22316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22317 (__ieee754_ynl): Likewise.
22318 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22319 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22321 Remove dead code too.
22322 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22323 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22324 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22325 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22327 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22329 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22330 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22332 Comment on variable precision.
22333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22334 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22336 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22338 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22339 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22340 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22342 2013-10-04 Alan Modra <amodra@gmail.com>
22344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22346 all uses of ieee854 long double macros and unions.
22347 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22349 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22350 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22351 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22354 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22355 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22356 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22357 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22358 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22359 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22360 Simplify sign and nan test too.
22361 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22362 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22363 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22364 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22366 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22370 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22371 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22372 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22376 2013-10-04 Alan Modra <amodra@gmail.com>
22378 * stdio-common/printf_size.c (__printf_size): Don't use
22379 union ieee854_long_double in fpnum union.
22380 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22381 signbit macro to retrieve sign from long double.
22382 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22383 retrieve sign from long double.
22384 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22385 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22386 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22387 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22388 * math/test-misc.c (main): Don't use union ieee854_long_double.
22390 2013-10-04 Alan Modra <amodra@gmail.com>
22393 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22394 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22395 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22396 calculation. Remove unnecessary test for denormal exponent.
22397 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22398 Correct handling of denormals. Avoid undefined shift behaviour.
22399 Correct normalisation of low mantissa when low double is denormal.
22400 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22401 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22402 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22403 Correct normalisation of low mantissa. Test for overflow of high
22404 mantissa and normalise.
22405 (ldbl_nearbyint): Use more readable constant for two52.
22406 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22407 (__mpn_construct_long_double): Fix test for overflow of high
22408 mantissa and correct normalisation. Avoid undefined shift.
22410 2013-10-04 Alan Modra <amodra@gmail.com>
22412 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22413 (union ibm_extended_long_double): Define as an array of ieee754_double.
22414 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22415 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22416 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22417 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22421 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22426 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22428 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22429 page size instead of calling getpagesize.
22431 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22432 (LOCFILE_ALIGN_MASK): Likewise.
22433 (LOCFILE_ALIGN_UP): Likewise.
22434 (LOCFILE_ALIGNED_P): Likewise.
22435 * locale/programs/ld-collate.c (collate_output): Use the new
22436 macros instead of __alignof__ (int32_t).
22437 * locale/weight.h (findidx): Likewise.
22439 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22442 * manual/string.texi: Fix strncat and wcsncat.
22444 2013-10-03 Brooks Moses <bmoses@google.com>
22447 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22448 * Makerules: ...here, and adjust associated comments.
22450 2013-10-02 Will Newton <will.newton@linaro.org>
22452 * malloc/Makefile: Add tst-pvalloc.
22453 * malloc/tst-pvalloc.c: New file.
22455 2013-10-02 Will Newton <will.newton@linaro.org>
22457 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22458 improve test coverage.
22460 2013-10-02 Will Newton <will.newton@linaro.org>
22462 * malloc/Makefile: Add tst-posix_memalign.
22463 * malloc/tst-posix_memalign.c: New file.
22465 2013-10-01 Eric Blake <eblake@redhat.com>
22467 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22468 Use __THROWNL rather than __THROW on static functions.
22470 2013-09-30 Petr Machata <pmachata@redhat.com>
22472 * elf/elf.h (R_AARCH64_ABS16): New macro.
22473 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22474 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22475 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22476 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22477 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22478 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22479 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22480 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22481 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22482 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22483 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22484 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22485 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22486 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22487 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22488 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22489 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22490 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22491 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22492 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22493 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22494 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22495 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22496 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22497 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22498 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22499 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22500 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22501 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22502 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22503 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22504 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22505 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22506 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22507 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22508 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22509 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22510 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22511 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22512 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22513 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22514 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22515 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22516 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22517 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22518 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22519 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22520 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22521 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22522 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22523 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22524 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22525 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22526 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22527 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22528 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22529 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22530 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22531 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22532 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22533 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22534 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22535 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22536 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22537 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22538 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22539 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22540 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22541 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22542 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22543 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22544 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22545 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22546 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22547 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22548 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22549 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22550 (R_AARCH64_TLSDESC_LDR): Likewise.
22551 (R_AARCH64_TLSDESC_ADD): Likewise.
22552 (R_AARCH64_TLSDESC_CALL): Likewise.
22554 2013-09-30 Andreas Schwab <schwab@suse.de>
22557 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22558 the nss database lookup.
22559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22562 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22564 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22566 2013-09-28 P. J. McDermott <pj@pehjota.net>
22568 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22569 ${Bash-specific parameter/pattern/string} parameter expansion.
22570 * sysdeps/unix/make-syscalls.sh: Likewise.
22572 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22574 * sysdeps/sh/stackguard-macros.h: New file.
22576 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22580 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22582 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22583 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22585 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22587 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22588 Fix thread ID register.
22590 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22592 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22593 [POSIX || UNIX98]: Require rather than permitting all symbols from
22595 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22596 element of struct sched_param.
22597 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22598 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22599 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22600 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22603 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22605 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22606 argument calculation.
22608 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22610 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22612 [POSIX] (pthread_attr_t): Do not require type.
22613 [POSIX] (pthread_cond_t): Likewise.
22614 [POSIX] (pthread_condattr_t): Likewise.
22615 [POSIX] (pthread_key_t): Likewise.
22616 [POSIX] (pthread_mutex_t): Likewise.
22617 [POSIX] (pthread_mutexattr_t): Likewise.
22618 [POSIX] (pthread_once_t): Likewise.
22619 [POSIX] (pthread_t): Likewise.
22620 [POSIX-based standards] (pthread_atfork): Expect function.
22622 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22623 Richard Sandiford <richard@codesourcery.com>
22625 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22626 (swap_endianness_p): New extern variable.
22627 (set_big_endian): New inline function.
22628 (maybe_swap_uint32): Likewise.
22629 (maybe_swap_uint32_array): Likewise.
22630 (maybe_swap_uint32_obstack): Likewise.
22631 * locale/programs/locfile.c: Include <stdbool.h>.
22632 (swap_endianness_p): New variable.
22633 (add_locale_uint32): Call maybe_swap_uint32.
22634 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22635 (write_locale_data): Call maybe_swap_uint32_array.
22636 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22638 (obstack_int32_grow_fast): Likewise.
22639 (output_weightwc): Call maybe_swap_uint32_obstack.
22640 (collate_output): Likewise.
22641 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22642 (OPT_LITTLE_ENDIAN): Likewise.
22643 (options): Add --little-endian and --big-endian options.
22644 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22645 * locale/programs/locarchive.c: Include "locfile.h".
22649 (create_archive): Use the new macros to access fields of
22650 structures directly mapped from or written to locale archives.
22651 (oldlocrecentcmp): Likewise.
22652 (enlarge_archive): Likewise.
22653 (insert_name): Likewise.
22654 (add_alias): Likewise.
22655 (add_locale): Likewise.
22656 (delete_locales_from_archive): Likewise.
22657 (show_archive_content): Likewise.
22658 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22661 2013-09-24 Roland McGrath <roland@hack.frob.com>
22663 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22664 http://www.gnu.org/doc/freemanuals.texi.
22665 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22667 2013-09-24 Will Newton <will.newton@linaro.org>
22669 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22672 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22674 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22677 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22679 * manual/threads.texi (POSIX Threads): Fix a typo.
22681 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22684 * string/tst-strcoll-overflow.c: New test case.
22685 * string/Makefile (xtests): Add tst-strcoll-overflow.
22686 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22687 cache if string sizes may cause integer overflow.
22690 * string/strcoll_l.c (coll_seq): New members rule, idx,
22691 save_idx and back_us.
22692 (get_next_seq_nocache): New function.
22693 (do_compare_nocache): New function.
22694 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22697 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22700 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22701 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22702 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22705 * elf/Makefile (tests): Add tst-ptrguard1.
22706 (tests-static): Add tst-ptrguard1-static.
22707 (tst-ptrguard1-ARGS): Define.
22708 (tst-ptrguard1-static-ARGS): Define.
22709 * elf/tst-ptrguard1.c: New file.
22710 * elf/tst-ptrguard1-static.c: New file.
22711 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22712 * sysdeps/i386/stackguard-macros.h: Likewise.
22713 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22714 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22715 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22716 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22717 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22718 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22720 2013-09-23 Hector Marco <hecmargi@upv.es>
22721 Ismael Ripoll <iripoll@disca.upv.es>
22722 Carlos O'Donell <carlos@redhat.com>
22725 * sysdeps/generic/stackguard-macros.h: Define
22726 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22727 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22728 Define __pointer_chk_guard_local.
22729 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22730 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22732 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22735 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22737 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22739 * include/string.h (__ffs): Declare as hidden.
22740 * string/ffs.c (__ffs): Define as hidden.
22741 * sysdeps/i386/ffs.c (__ffs): Likewise.
22742 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22743 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22744 * sysdeps/s390/ffs.c (__ffs): Likewise.
22745 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22747 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22749 * NEWS: Mention malloc probes.
22751 * malloc/arena.c (new_heap): New memory_heap_new probe.
22752 (grow_heap): New memory_heap_more probe.
22753 (shrink_heap): New memory_heap_less probe.
22754 (heap_trim): New memory_heap_free probe.
22755 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22756 (systrim): New memory_sbrk_less probe.
22757 * manual/probes.texi: Document them.
22759 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22760 * manual/probes.texi: Document it.
22762 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22763 (__libc_realloc): Add memory_realloc_retry probe.
22764 (__libc_memalign): Add memory_memalign_retry probe.
22765 (__libc_valloc): Add memory_valloc_retry probe.
22766 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22767 (__libc_calloc): Add memory_calloc_retry probe.
22768 * manual/probes.texi: Document them.
22770 * malloc/arena.c (get_free_list): Add probe
22771 memory_arena_reuse_free_list.
22772 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22773 and memory_arena_reuse.
22774 (arena_get2) [!PER_THREAD]: Likewise.
22775 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22776 memory_arena_reuse_realloc.
22777 * manual/probes.texi: Document them.
22779 * malloc/malloc.c (__libc_free): Add
22780 memory_mallopt_free_dyn_thresholds probe.
22781 (__libc_mallopt): Add multiple memory_mallopt probes.
22782 * manual/probes.texi: Document them.
22784 * malloc/malloc.c: Include stap-probe.h.
22785 (__libc_mallopt): Add memory_mallopt probe.
22786 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22787 * manual/probes.texi: New.
22788 * manual/Makefile (chapters): Add probes.
22789 * manual/threads.texi: Set next node.
22791 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22793 [BZ #15963, #13985]
22794 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22795 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22796 Add `Chinese' to `nan' entry name.
22798 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22801 (POLYNOMIAL): Likewise.
22802 (TAYLOR_SINCOS): Likewise.
22803 (TAYLOR_SLOW): Likewise.
22804 (__sin): Use TAYLOR_SINCOS.
22806 (slow): Use TAYLOR_SLOW.
22808 (bsloww): Likewise.
22809 (csloww): Likewise.
22811 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22813 * stdlib/strtod_l.c: Fix buffer overrun.
22815 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22817 * benchtests/Makefile (bench): Add sincos.
22818 * benchtests/bench-sincos.c: New file.
22820 * math/libm-test.inc (cos_test_data): New test inputs.
22821 (sin_test_data): Likewise.
22823 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22829 (sloww1): Likewise.
22830 (sloww2): Likewise.
22831 (bsloww1): Likewise.
22832 (bsloww2): Likewise.
22833 (cslow2): Likewise.
22834 (csloww1): Likewise.
22835 (csloww2): Likewise.
22837 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22846 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22848 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22849 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22850 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22851 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22852 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22853 * elf/cache.c (print_entry): Handle the new cache flags.
22855 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22856 Aldy Hernandez <aldyh@redhat.com>
22858 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22859 Change condition to [_SOFT_FLOAT].
22860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22868 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22872 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22873 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22875 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22878 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22880 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22881 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22882 (__longjmp): Use LOAD_GP to load saved GPRs.
22883 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22884 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22885 (__sigsetjmp): Use SAVE_GP to save GPRs.
22887 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22888 Do not append -msoft-float.
22889 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22891 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22893 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22895 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22898 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22899 (_FPU_GETCW): Use initial "__" on variable and field names but not
22900 on macro parameter name.
22901 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22902 parentheses around reference to macro parameter.
22904 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22906 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22908 (ctype_startup): Use uint32_t in cast and sizeof for
22911 2013-09-11 Jia Liu <proljc@gmail.com>
22913 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22915 [__FreeBSD__]: Likewise.
22917 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22920 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22921 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22922 (strchr): Remove __strchr_sse42 ifunc selection.
22923 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22924 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22926 2013-09-11 Will Newton <will.newton@linaro.org>
22928 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22929 parameter to RES. Remove hardcoded 1000 value.
22930 * benchtests/bench-skeleton.c (main): Pass RES parameter
22931 to TIMING_INIT and multiply result by 1000.
22933 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22937 2013-09-11 Andreas Schwab <schwab@suse.de>
22939 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22941 (O_TMPFILE) [__USE_GNU]: Define.
22942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22945 2013-09-11 Will Newton <will.newton@linaro.org>
22948 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22951 2013-09-11 Will Newton <will.newton@linaro.org>
22954 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22957 2013-09-11 Will Newton <will.newton@linaro.org>
22960 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22963 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22965 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22966 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22971 2013-09-10 Allan McRae <allan@archlinux.org>
22974 * manual/arith.texi (Parsing of Floats): Clarify
22978 * manual/install.texi (Running make install): Mention
22980 * INSTALL: Regenerated.
22982 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22984 * csu/init-first.c (_init): Remove the !SHARED condition around
22985 FPU control word initialization.
22986 * elf/dl-support.c (_dl_fpu_control): New variable.
22987 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22988 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22989 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22990 * math/test-fpucw-static.c: New file.
22991 * math/test-fpucw-ieee.c: New file.
22992 * math/test-fpucw-ieee-static.c: New file.
22993 * math/Makefile (tests): Add `test-fpucw-ieee' and
22995 (tests-static): New variable.
22996 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22998 [($(build-shared),yes)]
22999 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23001 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23004 2013-09-09 Allan McRae <allan@archlinux.org>
23007 * manual/string.texi (Collation Functions): Fix typo in
23009 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23012 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23015 * libio/memstream.c (open_memstream): Fix memory leak.
23016 * libio/wmemstream.c (open_wmemstream): Likewise.
23019 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23021 2013-09-09 Will Newton <will.newton@linaro.org>
23023 * malloc/Makefile: Add tst-realloc to tests.
23024 * malloc/tst-realloc.c: New file.
23026 2013-09-09 Allan McRae <allan@archlinux.org>
23029 * COPYING: Update from GNU website to fix FSF address.
23030 * COPYING.LIB: Likewise.
23032 2013-09-06 David S. Miller <davem@davemloft.net>
23034 * po/zh_TW.po: Update Chinese (traditional) translation from
23035 translation project.
23037 2013-09-06 Richard Sandiford <richard@codesourcery.com>
23038 Joseph Myers <joseph@codesourcery.com>
23040 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23042 (obstack_chunk_alloc): New macro.
23043 (obstack_chunk_free): Likewise.
23044 (record_offset): New function.
23045 (init_locale_data): Likewise.
23046 (align_locale_data): Likewise.
23047 (add_locale_empty): Likewise.
23048 (add_locale_raw_data): Likewise.
23049 (add_locale_raw_obstack): Likewise.
23050 (add_locale_string): Likewise.
23051 (add_locale_wstring): Likewise.
23052 (add_locale_uint32): Likewise.
23053 (add_locale_uint32_array): Likewise.
23054 (add_locale_char): Likewise.
23055 (start_locale_structure): Likewise.
23056 (end_locale_structure): Likewise.
23057 (start_locale_prelude): Likewise.
23058 (end_locale_prelude): Likewise.
23059 (write_locale_data): Take locale_file structure rather than an
23061 * locale/programs/locfile.h: Include "obstack.h".
23062 (struct locale_file): Change to store locale file contents instead
23064 (init_locale_data): New prototype.
23065 (align_locale_data): Likewise.
23066 (add_locale_empty): Likewise.
23067 (add_locale_raw_data): Likewise.
23068 (add_locale_raw_obstack): Likewise.
23069 (add_locale_string): Likewise.
23070 (add_locale_wstring): Likewise.
23071 (add_locale_uint32): Likewise.
23072 (add_locale_uint32_array): Likewise.
23073 (add_locale_char): Likewise.
23074 (start_locale_structure): Likewise.
23075 (end_locale_structure): Likewise.
23076 (start_locale_prelude): Likewise.
23077 (end_locale_prelude): Likewise.
23078 (write_locale_data): Update prototype.
23079 * locale/programs/3level.h (struct TABLE): Remove result field.
23080 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23081 Use new locale_file interface.
23082 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23083 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23084 * locale/programs/ld-address.c (address_output): Use new
23085 locale_file interface.
23086 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23088 (collate_finish): Don't call collseq_table_finalize.
23089 (collate_output): Use new locale_file interface.
23090 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23092 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23093 (TABLE): Move defines earlier in file.
23094 (ELEMENT): Likewise.
23095 (DEFAULT): Likewise.
23096 (wctrans_table_add): Move macro and inline function earlier in
23098 (struct wctype_table): Move type earlier in file.
23099 (add_locale_wctype_table): New static prototype.
23100 (struct locale_ctype_t): Use logical types instead of struct iovec
23101 pointers for members.
23102 (ctype_output): Use new locale_file interface.
23103 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23104 new locale_file interface.
23105 (allocate_arrays): Update for use of new locale_file interface.
23106 * locale/programs/ld-identification.c (identification_output): Use
23107 new locale_file interface.
23108 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23109 * locale/programs/ld-messages.c (messages_output): Likewise.
23110 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23111 * locale/programs/ld-name.c (name_output): Likewise.
23112 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23113 * locale/programs/ld-paper.c (paper_output): Likewise.
23114 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23115 * locale/programs/ld-time.c (time_output): Likewise.
23117 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23119 * benchtests/Makefile: Add memrchr benchmark.
23120 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23121 benchmark as memrchr.
23122 * benchtests/bench-memrchr-ifunc.c: New file.
23123 * benchtests/bench-memrchr.c: New file.
23125 2013-09-06 Will Newton <will.newton@linaro.org>
23127 * benchtests/Makefile (string-bench): Add memcpy.
23129 2013-09-05 Carlos O'Donell <carlos@redhat.com>
23130 Cong Wang <amwang@redhat.com>
23133 * sysdeps/unix/sysv/linux/bits/in.h
23134 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23135 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23136 before __USE_KERNEL_IPV6_DEFS uses.
23137 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23139 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23140 sockaddr_in6, or ipv6_mreq.
23142 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23144 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23145 memory access for final bytes in some large inputs.
23146 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23148 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23150 * string/test-memrchr.c: New file.
23151 * string/test-memrchr-ifunc.c: New file.
23152 * string/Makefile: Add new memrchr testcase.
23154 2013-09-05 Mike Frysinger <vapier@gentoo.org>
23156 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23157 fanotify_init returns EPERM.
23159 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23161 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23163 (top level): Treat second token from macro or constant entries for
23164 allowed headers as allowed.
23165 * include/complex.h: Condition internal declarations on
23167 * include/fenv.h: Condition include of <stdbool.h> and internal
23168 declarations on [!_ISOMAC].
23170 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23173 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23175 2013-09-04 Joseph Myers <joseph@codesourcery.com>
23177 * configure.in (--enable-versioning): Remove configure option.
23178 (libc_cv_asm_symver_directive): Remove configure test.
23179 (libc_cv_ld_version_script_option): Likewise.
23180 (VERSIONING): Remove variable and AC_SUBST.
23181 (DO_VERSIONING): Remove AC_DEFINE.
23182 * configure: Regenerated.
23183 * config.h.in (DO_VERSIONING): Remove macro.
23184 * Makerules [$(versioning) = yes]: Change conditionals to
23185 [$(build-shared) = yes].
23186 * config.make.in (versioning): Remove variable.
23187 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23188 [$(build-shared) = yes].
23189 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23190 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23191 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23192 [$(build-shared) = yes].
23193 * extra-lib.mk [$(versioning) = yes]: Likewise.
23194 * hurd/Makefile [$(versioning) = yes]: Likewise.
23195 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23197 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23199 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23200 [SHARED && !NO_HIDDEN].
23201 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23203 [SHARED && DO_VERSIONING]: Likewise..
23204 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23205 [$(build-shared) = yes].
23206 * manual/install.texi (--disable-versioning): Remove
23208 * INSTALL: Regenerated.
23209 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23211 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23212 [$(build-shared) = yes].
23213 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23214 * sysdeps/i386/i686/multiarch/strstr-c.c
23215 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23216 [SHARED && !NO_HIDDEN].
23217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23218 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23219 * sysdeps/powerpc/powerpc32/dl-machine.c
23220 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23221 * sysdeps/powerpc/powerpc32/sysdep.h
23222 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23223 to [SHARED && PIC && !NO_HIDDEN].
23224 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23225 conditional to [SHARED].
23227 2013-09-04 Will Newton <will.newton@linaro.org>
23229 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23230 * benchtests/bench-string.h: Include bench-timing.h instead
23231 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23232 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23233 call to HP_TIMING_DIFF_INIT.
23234 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23235 instead of hp-timing.h macros.
23236 * benchtests/bench-memchr.c: Likewise.
23237 * benchtests/bench-memcmp.c: Likewise.
23238 * benchtests/bench-memcpy.c: Likewise.
23239 * benchtests/bench-memmem.c: Likewise.
23240 * benchtests/bench-memmove.c: Likewise.
23241 * benchtests/bench-memset.c: Likewise.
23242 * benchtests/bench-rawmemchr.c: Likewise.
23243 * benchtests/bench-strcasecmp.c: Likewise.
23244 * benchtests/bench-strcasestr.c: Likewise.
23245 * benchtests/bench-strcat.c: Likewise.
23246 * benchtests/bench-strchr.c: Likewise.
23247 * benchtests/bench-strcmp.c: Likewise.
23248 * benchtests/bench-strcpy.c: Likewise.
23249 * benchtests/bench-strcpy_chk.c: Likewise.
23250 * benchtests/bench-strlen.c: Likewise.
23251 * benchtests/bench-strncasecmp.c: Likewise.
23252 * benchtests/bench-strncat.c: Likewise.
23253 * benchtests/bench-strncmp.c: Likewise.
23254 * benchtests/bench-strncpy.c: Likewise.
23255 * benchtests/bench-strnlen.c: Likewise.
23256 * benchtests/bench-strpbrk.c: Likewise.
23257 * benchtests/bench-strrchr.c: Likewise.
23258 * benchtests/bench-strspn.c: Likewise.
23259 * benchtests/bench-strstr.c: Likewise.
23261 2013-09-04 Will Newton <will.newton@linaro.org>
23263 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23265 2013-09-03 Joseph Myers <joseph@codesourcery.com>
23268 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23269 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23270 * math/libm-test.inc (lgamma_test_data): Add more tests.
23271 * sysdeps/i386/fpu/libm-test-ulps: Update.
23272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23274 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
23276 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23280 Add strcmp-sse2-unaligned
23281 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23283 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23285 * Versions.def (libc): Add GLIBC_2.19.
23287 2013-09-02 Mike Frysinger <vapier@gentoo.org>
23289 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23290 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23292 2013-09-02 Joseph Myers <joseph@codesourcery.com>
23295 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23296 intermediate calculations in recurrence.
23297 (__ieee754_ynf): Likewise.
23298 * math/libm-test.inc (jn_test_data): Do not allow spurious
23299 underflow exception. Add more tests.
23300 (yn_test_data): Add more tests.
23301 * sysdeps/i386/fpu/libm-test-ulps: Update.
23302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23304 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
23306 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23308 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23310 * csu/init-first.c: Fix then/than typos.
23311 * locale/programs/ld-collate.c: Likewise.
23312 * locale/programs/linereader.h: Likewise.
23313 * manual/charset.texi: Likewise.
23314 * manual/filesys.texi: Likewise.
23315 * manual/stdio.texi: Likewise.
23316 * manual/string.texi: Likewise.
23317 * stdlib/fmtmsg.c: Likewise.
23318 * sysdeps/i386/stpncpy.S: Likewise.
23319 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23320 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23321 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23322 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23324 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23326 * elf/dl-open.c: Fix typos.
23327 * iconvdata/gbbig5.c: Likewise.
23328 * iconvdata/iso-2022-jp.c: Likewise.
23329 * iconv/gconv_int.h: Likewise.
23330 * iconv/loop.c: Likewise.
23331 * nis/rpcsvc/nis.h: Likewise.
23332 * resolv/ns_name.c: Likewise.
23333 * stdio-common/vfscanf.c: Likewise.
23334 * streams/stropts.h: Likewise.
23335 * sunrpc/rpc_thread.c: Likewise.
23336 * sysdeps/i386/strpbrk.S: Likewise.
23337 * sysdeps/ieee754/k_standard.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23340 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23341 * sysdeps/mach/hurd/profil.c: Likewise.
23342 * sysdeps/s390/dl-procinfo.h: Likewise.
23343 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23344 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23345 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23346 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23347 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23349 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23351 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23354 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23357 aix specific files.
23358 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23359 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23360 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23361 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23362 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23363 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23364 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23365 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23367 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23368 Roland McGrath <roland@hack.frob.com>
23370 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23371 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23373 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23375 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23376 __executable_start symbol instead of _start.
23378 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23380 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23381 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23383 * sysdeps/gnu/ldsodefs.h: ... this new file.
23385 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23386 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23387 instead of ELFOSABI_LINUX.
23389 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23390 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23391 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23392 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23394 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23395 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23398 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23399 (ibm_extended_long_double): Add ieee_nan member.
23400 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23401 (do_test): New function.
23403 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23405 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23406 functions, renamed from truncdfsf_test, trunctfsf_test,
23408 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23410 (do_test): Run all these.
23412 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23414 * argp/argp-help.c: Fix typos.
23415 * argp/argp-parse.c: Likewise.
23416 * debug/backtracesyms.c: Likewise.
23417 * elf/elf.h: Likewise.
23418 * malloc/malloc.c: Likewise.
23419 * nis/nis_print.c: Likewise.
23420 * resolv/res_comp.c: Likewise.
23421 * stdlib/stdlib.h: Likewise.
23422 * sunrpc/clnt_tcp.c: Likewise.
23423 * sunrpc/clnt_udp.c: Likewise.
23424 * sunrpc/clnt_unix.c: Likewise.
23425 * sysdeps/unix/bsd/ptsname.c: Likewise.
23426 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23427 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23434 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23436 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23438 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23441 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23444 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23445 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23446 ($(objpfx)bug-dl-leaf): New rule.
23447 ($(objpfx)bug-dl-leaf.so): Likewise.
23448 ($(objpfx)bug-dl-leaf.out): Likewise.
23449 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23450 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23451 * dlfcn/bug-dl-leaf.c: New test.
23452 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23453 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23454 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23455 (dlclose): Likewise.
23456 (dlmopen): Likewise.
23458 2013-08-27 Roland McGrath <roland@hack.frob.com>
23460 * include/netdb.h [!_ISOMAC]:
23461 Don't include <tls.h>.
23462 (h_errno, __libc_h_errno): Move declaration and macros out of
23465 * include/resolv.h [_RESOLV_H_]:
23466 Don't include <tls.h>.
23467 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23468 * resolv/res_libc.c: Don't include <tls.h>.
23469 (_res): Use __attribute__ ((nocommon)) in place of
23470 __attribute__ ((section (".bss"))).
23472 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23473 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23475 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23477 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23478 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23480 * resolv/res_mkquery.c: Include <sys/time.h>.
23482 * inet/ifreq.c: Moved to ...
23483 * sysdeps/unix/ifreq.c: ... here.
23484 * inet/ifreq.c: New file, true stub version.
23486 * socket/sa_len.c: New file.
23487 * socket/Makefile (aux): Add it.
23488 * sysdeps/unix/sysv/linux/Makefile
23489 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23490 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23491 and #include <socket/sa_len.c>.
23492 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23493 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23496 * bits/socket.h: ... here.
23498 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23499 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23500 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23502 2013-08-27 Andreas Schwab <schwab@suse.de>
23505 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23506 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23507 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23508 * string/test-strcasecmp.c (test_main): Run tests in several
23510 * string/test-strncasecmp.c (test_main): Likewise.
23512 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23513 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23514 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23516 (__strncasecmp_ssse3) [PIC]: Likewise.
23518 2013-08-26 Roland McGrath <roland@hack.frob.com>
23520 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23522 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23523 instead of explicitly declaring xdecrypt.
23524 * nis/nss_nis/nis-publickey.c: Likewise.
23526 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23529 * nscd/aicache.c: Include res_hconf.h.
23530 (addhstaiX): Initialize res_hconf.
23532 2013-08-26 Andreas Schwab <schwab@suse.de>
23534 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23535 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23537 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23539 * nscd/aicache.c (addhstaiX): Fix indentation.
23541 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23543 * configure.ac: Quote $build_pt_chown test.
23544 * configure: Regenerated.
23546 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23549 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23550 * math/s_cexpf.c (__cexpf): Likewise.
23551 * math/s_cexpl.c (__cexpl): Likewise.
23552 * math/libm-test.inc (cexp_test_data): Correct expected return
23553 value for NaN + i0. Add another test.
23555 2013-08-22 David S. Miller <davem@davemloft.net>
23557 * po/ca.po: Update Catalan translation from translation project.
23558 * po/uk.po: Add Ukrainian translations from translation project.
23560 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23563 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23564 is infinite, not alongside NaN test.
23565 * math/s_fdimf.c (__fdimf): Likewise.
23566 * math/s_fdiml.c (__fdiml): Likewise.
23567 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23568 errno is unchanged.
23570 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23572 * argp/argp-help.c: Fix typos.
23573 * crypt/speeds.c: Likewise.
23574 * csu/check_fds.c: Likewise.
23575 * elf/dl-load.c: Likewise.
23576 * elf/dl-open.c: Likewise.
23577 * elf/reldep3.c: Likewise.
23578 * elf/reldep.c: Likewise.
23579 * elf/sprof.c: Likewise.
23580 * iconv/iconv_charmap.c: Likewise.
23581 * iconv/skeleton.c: Likewise.
23582 * iconv/strtab.c: Likewise.
23583 * io/lockf64.c: Likewise.
23584 * libio/libioP.h: Likewise.
23585 * resolv/gai_notify.c: Likewise.
23586 * resolv/ns_name.c: Likewise.
23587 * resolv/ns_samedomain.c: Likewise.
23588 * resolv/res_send.c: Likewise.
23589 * stdlib/random.c: Likewise.
23590 * sunrpc/rpc/xdr.h: Likewise.
23591 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23593 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23594 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23596 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23599 * sysdeps/mach/hurd/check_fds.c: Likewise.
23600 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23601 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23602 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23604 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23605 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23606 * sysdeps/pthread/aio_notify.c: Likewise.
23607 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23608 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23609 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23611 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23613 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23615 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23616 version if bit_Slow_SSE4_2 is set.
23617 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23618 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23620 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23623 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23624 trampoline stack frame information.
23625 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23627 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23628 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23629 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23630 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23631 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23632 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23634 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23635 interrupting a syscall and set with option SA_SIGINFO.
23637 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23640 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23641 argument is infinite.
23642 * math/s_cprojf.c (__cprojf): Likewise.
23643 * math/s_cprojl.c (__cprojl): Likewise.
23644 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23645 * math/libm-test.inc (cproj_test_data): Add more tests.
23647 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23649 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23650 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23651 size. Use __ffs to determine corresponding shift.
23653 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23654 Roland McGrath <roland@hack.frob.com>
23656 * Makefile (INSTALL): Remove trailing blank lines from output of
23659 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23661 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23662 Align 32 bit compat elf_greg to 8 bytes.
23664 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23666 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23668 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23670 * string/strcoll_l.c (coll_seq): New structure.
23671 (get_next_seq_cached): New function.
23672 (get_next_seq): New function.
23673 (do_compare): New function.
23674 (STRCOLL): Use GNU style definition. Simplify implementation
23675 by using get_next_seq, get_next_seq_cached and do_compare.
23677 2013-08-16 Florian Weimer <fweimer@redhat.com>
23681 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23683 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23685 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23686 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23687 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23689 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23690 GETDENTS_64BIT_ALIGNED.
23691 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23692 * manual/filesys.texi (Reading/Closing Directory): Document
23693 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23695 * manual/conf.texi (Limits for Files): Add portability note to
23696 NAME_MAX, PATH_MAX.
23697 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23699 2013-08-13 Andreas Schwab <schwab@suse.de>
23702 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23704 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23705 LDBL_MAX_EXP >= 16384]: Add tests for it.
23707 2013-08-12 David S. Miller <davem@davemloft.net>
23709 * version.h (RELEASE): Set to "development".
23710 (VERSION): Set to "2.18.90".
23711 * NEWS: Add 2.19 section.
23713 2013-08-03 David S. Miller <davem@davemloft.net>
23715 * po/ko.po: Update Korean translation from translation project.
23717 2013-08-01 David S. Miller <davem@davemloft.net>
23719 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23720 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23723 2013-07-30 David S. Miller <davem@davemloft.net>
23725 * po/fr.po: Update French translation from translation project.
23727 2013-07-28 David S. Miller <davem@davemloft.net>
23729 * po/cs.po: Update Czech translation from translation project.
23731 * po/sv.po: Update Swedish translation from translation project.
23733 2013-07-27 David S. Miller <davem@davemloft.net>
23735 * po/eo.po: Update Esperanto translation from translation project.
23737 * po/vi.po: Update Vietnamese translation from translation project.
23739 * po/de.po: Update German translation from translation project.
23741 2013-07-26 David S. Miller <davem@davemloft.net>
23743 * po/bg.po: Update Bulgarian translation from translation project.
23745 * po/nl.po: Update Dutch translation from translation project.
23746 * po/pl.po: Update Polish translation from translation project.
23747 * po/ru.po: Update Russian translation from translation project.
23749 2013-07-24 David S. Miller <davem@davemloft.net>
23751 * po/libc.pot: Update.
23753 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23755 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23756 variable page size.
23757 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23758 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23759 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23761 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23763 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23765 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23766 Andreas Schwab <schwab@suse.de>
23767 Roland McGrath <roland@hack.frob.com>
23768 Joseph Myers <joseph@codesourcery.com>
23769 Carlos O'Donell <carlos@redhat.com>
23772 * config.h.in: Define HAVE_PT_CHOWN.
23773 * config.make.in (build-pt-chown): New variable.
23774 * configure.in (--enable-pt_chown): New configure option.
23775 * configure: Regenerate.
23776 * login/Makefile: Include Makeconfig. Build pt_chown only if
23777 build-pt-chown is enabled.
23778 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23779 pt_chown to fix pty ownership.
23780 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23782 * manual/install.texi (Configuring and compiling): Mention
23783 --enable-pt_chown. Add @findex for grantpt.
23784 * INSTALL: Regenerate.
23786 2013-07-20 David S. Miller <davem@davemloft.net>
23788 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23789 difference between 32-bit and 64-bit.
23791 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23794 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23795 Avoid system header dependency with -ffreestanding.
23796 ($(objpfx)bits/syscall%d): Likewise.
23798 2013-07-13 David S. Miller <davem@davemloft.net>
23800 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23801 underflows from atanl/atan2l due to bug 15319.
23802 (casinh_test_data): Likewise.
23804 2013-07-07 David S. Miller <davem@davemloft.net>
23806 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23808 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23810 * sysdeps/i386/fpu/libm-test-ulps: Update.
23811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23813 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23815 * configure.in (--enable-lock-elision): Fix message text.
23816 * INSTALL: Regenerate.
23817 * configure: Regenerate.
23819 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23823 2013-07-03 Andreas Jaeger <aj@suse.de>
23825 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23827 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23828 (ptrace_peeksiginfo_args): Add.
23829 (__ptrace_peeksiginfo_flags): Add.
23830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23831 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23834 2013-07-03 Allan McRae <allan@archlinux.org>
23836 * sysdeps/i386/fpu/libm-test-ulps: Update.
23838 2013-07-02 David S. Miller <davem@davemloft.net>
23840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23842 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23846 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23848 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23851 2013-07-02 Andi Kleen <ak@linux.intel.com>
23853 * config.h.in (ENABLE_LOCK_ELISION): Add.
23854 * configure.in (--enable-lock-elision): Add option.
23855 * manual/install.texi: Document --enable lock elision.
23856 * configure: Regenerate
23857 * INSTALL: Regenerate.
23859 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23861 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23862 SSE4.2 strcasecmp for libc.a.
23863 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23865 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23868 * soft-fp/op-common.h (_FP_FMA): New macro.
23869 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23870 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23871 (_FP_MUL_MEAT_1_imm): ... here.
23872 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23873 (_FP_MUL_MEAT_1_wide): ... here.
23874 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23875 (_FP_MUL_MEAT_1_hard): ... here.
23876 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23877 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23878 (_FP_MUL_MEAT_2_wide): ... here.
23879 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23880 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23881 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23882 (_FP_MUL_MEAT_2_gmp): ... here.
23883 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23884 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23885 (_FP_MUL_MEAT_4_wide): ... here.
23886 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23887 (_FP_MUL_MEAT_4_gmp): ... here.
23888 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23889 (_FP_WFRACBITS_DW_S): Likewise.
23890 (_FP_WFRACXBITS_DW_S): Likewise.
23891 (_FP_HIGHBIT_DW_S): Likewise.
23892 (FP_FMA_S): Likewise.
23893 (_FP_FRAC_HIGH_DW_S): Likewise.
23894 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23895 (_FP_WFRACBITS_DW_D): Likewise.
23896 (_FP_WFRACXBITS_DW_D): Likewise.
23897 (_FP_HIGHBIT_DW_D): Likewise.
23898 (FP_FMA_D): Likewise.
23899 (_FP_FRAC_HIGH_DW_D): Likewise.
23900 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23901 (_FP_WFRACBITS_DW_E): Likewise.
23902 (_FP_WFRACXBITS_DW_E): Likewise.
23903 (_FP_HIGHBIT_DW_E): Likewise.
23904 (FP_FMA_E): Likewise.
23905 (_FP_FRAC_HIGH_DW_E): Likewise.
23906 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23907 (_FP_WFRACBITS_DW_Q): Likewise.
23908 (_FP_WFRACXBITS_DW_Q): Likewise.
23909 (_FP_HIGHBIT_DW_Q): Likewise.
23910 (FP_FMA_Q): Likewise.
23911 (_FP_FRAC_HIGH_DW_Q): Likewise.
23912 * soft-fp/fmasf4.c: New file.
23913 * soft-fp/fmadf4.c: Likewise.
23914 * soft-fp/fmatf4.c: Likewise.
23916 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23919 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23921 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23923 (index_Slow_SSE4_2): Likewise.
23924 (index_Prefer_PMINUB_for_stringop): Likewise.
23925 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23926 bit_Slow_SSE4_2 is set.
23927 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23928 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23930 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23932 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23933 rtld_global._dl_hwcap2.
23934 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23936 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23937 POWER8 feature descriptions defined in _dl_hwcap2.
23938 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23939 string handling for POWER8 feature bits.
23940 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23941 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23942 _dl_powerpc_cap_flags.
23943 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23944 * sysdeps/powerpc/rtld-global-offsets.sym
23945 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23946 _dl_hwcap2 in the rtld_global_ro structure.
23948 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23950 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23951 hardware capabilities in support of AT_HWCAP2.
23952 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23953 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23955 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23956 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23957 explicitly the unknown a_type display mechanism is used.
23958 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23959 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23961 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23962 to macro prototype for AT_HWCAP2 support.
23963 * sysdeps/i386/dl-procinfo.h: Likewise.
23964 * sysdeps/s390/dl-procinfo.h: Likewise.
23965 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23966 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23967 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23968 return -1 for unknown a_type display fallback.
23969 * sysdeps/sparc/dl-procinfo.h: Likewise.
23970 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23971 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23973 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23975 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23976 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23978 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23981 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23982 mprotect making __stack_prot writable.
23984 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23985 Joseph Myers <joseph@codesourcery.com>
23987 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23988 as being properly aligned.
23990 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23992 * dlfcn/modstatic5.c: New file.
23993 * dlfcn/tststatic5.c: New file.
23994 * dlfcn/Makefile (tests): Add tststatic5.
23995 (tests-static): Likewise.
23996 (modules-names): Add modstatic5.
23997 (tststatic5-ENV): New variable.
23998 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24001 * elf/dl-support.c (_dl_main_map): New variable.
24002 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24003 (_dl_nns, _dl_load_adds): Set to 1.
24004 (_dl_initial_searchlist): Refer to _dl_main_map.
24005 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24006 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24007 call to _dl_get_origin.
24008 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24010 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24011 * dlfcn/modstatic3.c: New file.
24012 * dlfcn/tststatic3.c: New file.
24013 * dlfcn/tststatic4.c: New file.
24014 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24015 (tests-static): Likewise.
24016 (modules-names): Add modstatic3.
24017 (tststatic3-ENV, tststatic4-ENV): New variables.
24018 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24019 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24021 2013-06-26 Joseph Myers <joseph@codesourcery.com>
24023 * configure.in (CC): Require GCC version 4.4 or later.
24024 * configure: Regenerated.
24025 * manual/install.texi (Tools for Compilation): Update GCC version
24027 * INSTALL: Regenerated.
24029 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24032 * string/test-memcmp.c (check2): New.
24033 (main): Call check2.
24035 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24037 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24040 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24042 (dl_open_worker) [!SHARED]: ... here.
24044 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24046 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24048 2013-06-25 Richard Henderson <rth@redhat.com>
24050 * locale/programs/locarchive.c: Include <libc-internal.h>
24052 2013-06-25 Joseph Myers <joseph@codesourcery.com>
24054 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24055 trailing whitespace removed.
24057 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24060 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24061 * locale/programs/locarchive.c: Include libc-mmap.h.
24062 (prepare_address_space): Take two new outputs (the mmap base and len).
24063 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24065 (create_archive): Declare new mmap base and len values for
24066 prepare_address_space, and store the result in ah.
24067 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24068 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24069 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24070 Declare new mmap base and len values for
24071 prepare_address_space, and store the result in new_ah.
24072 (open_archive): Declare new mmap base and len values for
24073 prepare_address_space, and store the result in ah.
24074 (close_archive): If ah->mmap_base is not NULL, use that and
24075 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24076 * sysdeps/generic/libc-mmap.h: New file.
24078 2013-06-24 Mike Frysinger <vapier@gentoo.org>
24080 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24081 (ALIGN_UP): Likewise.
24082 (PTR_ALIGN_DOWN): Likewise.
24083 (PTR_ALIGN_UP): Likewise.
24085 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24087 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24088 entry mapped to PPC_PLATFORM_POWER8.
24089 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24091 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24092 (_dl_string_platform): Add case for exporting platform position for
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24095 search path to sysdeps/powerpc/powerpc32/power8 directory.
24096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24097 search path to sysdeps/powerpc/powerpc64/power8 directory.
24098 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24099 power7 directories.
24100 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24101 power7 directories.
24103 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24105 * INSTALL: Regenerate.
24107 * nscd/connections.c (nscd_init): Fix comment.
24109 2013-06-22 Joseph Myers <joseph@codesourcery.com>
24111 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24114 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24115 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24117 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24119 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24121 (DL_DST_REQ_STATIC): Remove macro.
24123 2013-06-21 Joseph Myers <joseph@codesourcery.com>
24126 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24127 with a shift of 0 bits.
24129 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24131 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24134 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24137 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24139 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24141 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24142 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24143 accepts -fno-tree-loop-distribute-patterns.
24144 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24145 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24147 * string/memset.c (memset): Likewise.
24148 * string/test-memmove.c (simple_memmove): Disable loop transformation
24150 * string/test-memset.c (simple_memset): Likewise.
24151 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24152 * benchtests/bench-memset.c (simple_memset): Likewise.
24153 * configure: Regenerated.
24155 2013-06-20 Joseph Myers <joseph@codesourcery.com>
24157 * math/test-misc.c (main): Ignore fesetround failure when failures
24158 of subsequent rounding tests would be ignored.
24161 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24162 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24163 * math/fegetenv.c (__fegetenv): Return 0.
24164 * math/fegetexcept.c (fegetexcept): Return 0.
24165 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24167 * math/feholdexcpt.c (feholdexcept): Return 0.
24168 * math/fesetenv.c (__fesetenv): Return 0.
24169 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24170 argument FE_TONEAREST.
24171 * math/feupdateenv.c (__feupdateenv): Return 0.
24172 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24174 2013-06-18 Roland McGrath <roland@hack.frob.com>
24176 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24177 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24178 ($(objpfx)rtld-%.os rules): Use them.
24180 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24182 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24185 2013-06-17 Roland McGrath <roland@hack.frob.com>
24187 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24188 length of target pattern, then descending length of dependency pattern.
24189 * configure.in (AWK): Require gawk 3.1.2 or newer.
24190 * manual/install.texi (Tools for Compilation): Say that we do.
24191 * configure: Regenerated.
24193 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24194 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24195 * scripts/sysd-rules.awk: ... this new script.
24196 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24197 than a glob-style pattern.
24199 2013-06-17 Joseph Myers <joseph@codesourcery.com>
24201 * math/test-misc.c (main): Do not treat incorrectly rounded
24202 conversions as failure unless ROUNDING_TESTS passes.
24204 2013-06-15 Joseph Myers <joseph@codesourcery.com>
24207 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24208 restore exception state around main square root computation, then
24209 check for inexactness explicitly.
24211 * math/libm-test.inc (fma_test_data): Add another test.
24213 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24215 * manual/threads.texi (Non-POSIX Extensions): New document
24216 node. Document pthread_getattr_default_np and
24217 pthread_setattr_default_np.
24219 * Versions.def (libpthread): Add GLIBC_2.18.
24220 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24229 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24240 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24243 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24245 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24246 H.J. Lu <hjl.tools@gmail.com>
24249 * sysdeps/x86_64/rtld-memset.c: Remove file.
24250 * sysdeps/x86_64/rtld-memset.S: New file.
24252 2013-06-14 Joseph Myers <joseph@codesourcery.com>
24254 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24255 (test_in_one_mode): Take arguments for whether the rounding mode
24256 is supported for each floating-point type.
24257 (do_test): Pass new arguments to test_in_one_mode using
24260 2013-06-13 Roland McGrath <roland@hack.frob.com>
24262 * posix/tst-waitid.c (do_test): Distinguish different instances of
24263 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24264 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24265 before entering the kernel for waitpid.
24267 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24269 * NEWS: Fix note on clock function precision. Text by Roland
24272 2013-06-13 Roland McGrath <roland@hack.frob.com>
24274 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24275 it into place only when and if the sanity check passes.
24277 2013-06-13 Joseph Myers <joseph@codesourcery.com>
24279 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24280 output for whether conversion result is exact. Take argument
24281 indicating whether type is IBM long double.
24282 (round_for_all): Change need_exact field to ibm_ld.
24283 * stdlib/tst-strtod-round.c (struct exactness): New type.
24284 (struct test): Change bool ld_ok field to struct exactness exact.
24285 (TEST): Update all definitions for change to field.
24286 (tests): Regenerate array contents.
24287 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24288 field value. Check for IBM long double here.
24289 (do_test): Update calls to test_in_one_mode.
24291 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24294 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24295 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24297 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24300 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24301 generated by the compiler on loop optimizations.
24302 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24303 general definitions.
24305 2013-06-12 Joseph Myers <joseph@codesourcery.com>
24307 * math/bug-nextafter.c: Include <math-tests.h>.
24308 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24310 * math/bug-nexttoward.c: Include <math-tests.h>.
24311 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24313 * math/test-misc.c: Include <math-tests.h>.
24314 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24317 2013-06-12 Andreas Jaeger <aj@suse.de>
24319 * po/ia.po: Update Interlingua translation from translation
24322 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24324 * include/fenv.h: Include stdbool.h.
24325 (struct rm_ctx): New structure.
24326 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24328 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24329 (SET_RESTORE_ROUNDF): Likewise.
24330 (SET_RESTORE_ROUNDL): Likewise.
24331 (SET_RESTORE_ROUND_NOEX): Likewise.
24332 (SET_RESTORE_ROUND_NOEXF): Likewise.
24333 (SET_RESTORE_ROUND_NOEXL): Likewise.
24334 (SET_RESTORE_ROUND_53BIT): Likewise.
24335 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24336 (libc_feresetround_noexf_ctx): Likewise.
24337 (libc_feresetround_noexl_ctx): Likewise.
24338 (libc_feholdsetround_53bit_ctx): Likewise.
24339 (libc_feresetround_53bit_ctx): Likewise.
24340 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24341 (libc_feholdexcept_setround_sse_ctx): New function.
24342 (libc_fesetenv_sse_ctx): Likewise.
24343 (libc_feupdateenv_sse_ctx): Likewise.
24344 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24345 (libc_feholdexcept_setround_387_ctx): Likewise.
24346 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24347 (libc_feholdsetround_387_prec_ctx): Likewise.
24348 (libc_feholdsetround_387_ctx): Likewise.
24349 (libc_feholdsetround_387_53bit_ctx): Likewise.
24350 (libc_feholdsetround_sse_ctx): Likewise.
24351 (libc_feresetround_sse_ctx): Likewise.
24352 (libc_feresetround_387_ctx): Likewise.
24353 (libc_feupdateenv_387_ctx): Likewise.
24354 (libc_feholdexcept_setroundf_ctx): Define macro.
24355 (libc_fesetenvf_ctx): Likewise.
24356 (libc_feupdateenvf_ctx): Likewise.
24357 (libc_feholdsetroundf_ctx): Likewise.
24358 (libc_feresetroundf_ctx): Likewise.
24359 (libc_feholdexcept_setround_ctx): Likewise.
24360 (libc_fesetenv_ctx): Likewise.
24361 (libc_feupdateenv_ctx): Likewise.
24362 (libc_feholdsetround_ctx): Likewise.
24363 (libc_feresetround_ctx): Likewise.
24364 (libc_feholdexcept_setroundl_ctx): Likewise.
24365 (libc_feupdateenvl_ctx): Likewise.
24366 (libc_feholdsetroundl_ctx): Likewise.
24367 (libc_feresetroundl_ctx): Likewise.
24368 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24369 (libc_feresetround_53bit_ctx): Likewise.
24371 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24373 * locale/iso-639.def: Convert to UTF-8.
24375 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24377 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24378 (EXCEPTION_TESTS_double): Likewise.
24379 (EXCEPTION_TESTS_long_double): Likewise.
24380 (EXCEPTION_TESTS): Likewise.
24381 * math/libm-test.inc (test_exceptions): Only test exceptions if
24382 EXCEPTION_TESTS (FLOAT).
24384 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24386 * benchtests/Makefile (string-bench): Add strcpy_chk and
24388 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24389 * benchtests/bench-stpcpy_chk.c: New file.
24390 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24391 * benchtests/bench-strcpy_chk.c: New file.
24392 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24394 (do_test): Likewise.
24396 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24398 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24399 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24400 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24401 with tabs where appropriate.
24402 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24404 [PPC_PLATFORM_PPC440]: Likewise.
24405 [PPC_PLATFORM_PPC464]: Likewise.
24406 [PPC_PLATFORM_PPC476]: Likewise.
24407 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24408 ppc464, and ppc476 platform strings merging from ports/
24411 2013-06-11 Andreas Schwab <schwab@suse.de>
24414 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24415 (from_ucs4_idx): Regenerate.
24416 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24417 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24418 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24419 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24420 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24421 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24422 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24423 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24424 from FROM_LOOP and TO_LOOP specific macros.
24425 (BODY): Handle combining characters.
24426 * iconvdata/BIG5HKSCS.irreversible: Update.
24427 * iconvdata/BIG5HKSCS.precomposed: New file.
24428 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24430 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24432 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24434 * include/sys/time.h: Fix indentation and add copyright header.
24436 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24437 (do_test): Likewise.
24438 * string/test-memchr.c (do_one_test): Likewise.
24439 (do_test): Likewise.
24440 * string/test-memcmp.c (do_one_test): Likewise.
24441 (do_test): Likewise.
24442 * string/test-memcpy.c (do_one_test): Likewise.
24443 (do_test): Likewise.
24444 * string/test-memmem.c (do_one_test): Likewise.
24445 (do_test): Likewise.
24446 (do_random_tests): Likewise.
24447 * string/test-memmove.c (do_one_test): Likewise.
24448 (do_test): Likewise.
24449 * string/test-memset.c (do_one_test): Likewise.
24450 (do_test): Likewise.
24451 * string/test-rawmemchr.c (do_one_test): Likewise.
24452 (do_test): Likewise.
24453 * string/test-strcasecmp.c (do_one_test): Likewise.
24454 (do_test): Likewise.
24455 * string/test-strcasestr.c (do_one_test): Likewise.
24456 (do_test): Likewise.
24457 * string/test-strcat.c (do_one_test): Likewise.
24458 (do_test): Likewise.
24459 * string/test-strchr.c (do_one_test): Likewise.
24460 (do_test): Likewise.
24461 * string/test-strcmp.c (do_one_test): Likewise.
24462 (do_test): Likewise.
24463 * string/test-strcpy.c (do_one_test): Likewise.
24464 (do_test): Likewise.
24465 * string/test-string.h: Likewise.
24466 (test_init): Likewise.
24467 * string/test-strlen.c (do_one_test): Likewise.
24468 (do_test): Likewise.
24469 * string/test-strncasecmp.c (do_one_test): Likewise.
24470 (do_test): Likewise.
24471 * string/test-strncat.c (do_one_test): Likewise.
24472 (do_test): Likewise.
24473 * string/test-strncmp.c (do_one_test): Likewise.
24474 (do_test_limit): Likewise.
24475 (do_test): Likewise.
24476 * string/test-strncpy.c (do_one_test): Likewise.
24477 (do_test): Likewise.
24478 * string/test-strnlen.c (do_one_test): Likewise.
24479 (do_test): Likewise.
24480 * string/test-strpbrk.c (do_one_test): Likewise.
24481 (do_test): Likewise.
24482 * string/test-strrchr.c (do_one_test): Likewise.
24483 (do_test): Likewise.
24484 * string/test-strspn.c (do_one_test): Likewise.
24485 (do_test): Likewise.
24486 * string/test-strstr.c (do_one_test): Likewise.
24487 (do_test): Likewise.
24489 * benchtests/Makefile (string-bench): Add string benchmarks.
24490 * benchtests/bench-bcopy-ifunc.c: New file.
24491 * benchtests/bench-bcopy.c: New file.
24492 * benchtests/bench-bzero-ifunc.c: New file.
24493 * benchtests/bench-bzero.c: New file.
24494 * benchtests/bench-memccpy-ifunc.c: New file.
24495 * benchtests/bench-memccpy.c: New file.
24496 * benchtests/bench-memchr-ifunc.c: New file.
24497 * benchtests/bench-memchr.c: New file.
24498 * benchtests/bench-memcmp-ifunc.c: New file.
24499 * benchtests/bench-memcmp.c: New file.
24500 * benchtests/bench-memmem-ifunc.c: New file.
24501 * benchtests/bench-memmem.c: New file.
24502 * benchtests/bench-memmove-ifunc.c: New file.
24503 * benchtests/bench-memmove.c: New file.
24504 * benchtests/bench-mempcpy-ifunc.c: New file.
24505 * benchtests/bench-mempcpy.c: New file.
24506 * benchtests/bench-memset-ifunc.c: New file.
24507 * benchtests/bench-memset.c: New file.
24508 * benchtests/bench-rawmemchr-ifunc.c: New file.
24509 * benchtests/bench-rawmemchr.c: New file.
24510 * benchtests/bench-stpcpy-ifunc.c: New file.
24511 * benchtests/bench-stpcpy.c: New file.
24512 * benchtests/bench-stpncpy-ifunc.c: New file.
24513 * benchtests/bench-stpncpy.c: New file.
24514 * benchtests/bench-strcasecmp-ifunc.c: New file.
24515 * benchtests/bench-strcasecmp.c: New file.
24516 * benchtests/bench-strcasestr-ifunc.c: New file.
24517 * benchtests/bench-strcasestr.c: New file.
24518 * benchtests/bench-strcat-ifunc.c: New file.
24519 * benchtests/bench-strcat.c: New file.
24520 * benchtests/bench-strchr-ifunc.c: New file.
24521 * benchtests/bench-strchr.c: New file.
24522 * benchtests/bench-strchrnul-ifunc.c: New file.
24523 * benchtests/bench-strchrnul.c: New file.
24524 * benchtests/bench-strcmp-ifunc.c: New file.
24525 * benchtests/bench-strcmp.c: New file.
24526 * benchtests/bench-strcpy-ifunc.c: New file.
24527 * benchtests/bench-strcpy.c: New file.
24528 * benchtests/bench-strcspn-ifunc.c: New file.
24529 * benchtests/bench-strcspn.c: New file.
24530 * benchtests/bench-strlen-ifunc.c: New file.
24531 * benchtests/bench-strlen.c: New file.
24532 * benchtests/bench-strncasecmp-ifunc.c: New file.
24533 * benchtests/bench-strncasecmp.c: New file.
24534 * benchtests/bench-strncat-ifunc.c: New file.
24535 * benchtests/bench-strncat.c: New file.
24536 * benchtests/bench-strncmp-ifunc.c: New file.
24537 * benchtests/bench-strncmp.c: New file.
24538 * benchtests/bench-strncpy-ifunc.c: New file.
24539 * benchtests/bench-strncpy.c: New file.
24540 * benchtests/bench-strnlen-ifunc.c: New file.
24541 * benchtests/bench-strnlen.c: New file.
24542 * benchtests/bench-strpbrk-ifunc.c: New file.
24543 * benchtests/bench-strpbrk.c: New file.
24544 * benchtests/bench-strrchr-ifunc.c: New file.
24545 * benchtests/bench-strrchr.c: New file.
24546 * benchtests/bench-strspn-ifunc.c: New file.
24547 * benchtests/bench-strspn.c: New file.
24548 * benchtests/bench-strstr-ifunc.c: New file.
24549 * benchtests/bench-strstr.c: New file.
24551 * benchtests/Makefile: Disable parallel execution of targets.
24552 (string-bench): Add memcpy.
24553 (benchset): New variable to store a list of benchmark sets.
24554 (bench-func): Renamed from bench.
24555 (bench-set): New target.
24556 (bench): Depend on bench-func and bench-set.
24557 * benchtests/README: Add section on benchmark sets.
24558 * benchtests/bench-memcpy-ifunc.c: New file.
24559 * benchtests/bench-memcpy.c: New file.
24560 * benchtests/bench-string.h: New file.
24562 2013-06-11 Andreas Schwab <schwab@suse.de>
24565 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24566 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24567 values in the triple.
24568 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24569 terminator in the group key.
24571 2013-06-11 Andreas Jaeger <aj@suse.de>
24573 * po/zh_TW.po: Update Chinese (traditional) translation from
24574 translation project.
24576 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24578 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24579 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24580 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24582 (clock_getcpuclockid): Likewise.
24583 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24584 Add weak_alias and libc_hidden_def.
24585 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24586 * rt/clock_gettime.c (clock_gettime): Rename to
24587 __clock_gettime. Add weak_alias and libc_hidden_def.
24588 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24589 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24590 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24591 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24592 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24594 * rt/clock_settime.c (clock_settime): Rename to
24595 __clock_settime. Add weak_alias and libc_hidden_def.
24596 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24598 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24600 * mach/err_boot.sub: Remove trailing whitespace.
24601 * mach/err_ipc.sub: Likewise.
24602 * mach/err_mach.sub: Likewise.
24604 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24605 (ROUNDING_TESTS_double): Likewise.
24606 (ROUNDING_TESTS_long_double): Likewise.
24607 (ROUNDING_TESTS): Likewise.
24608 * math/libm-test.inc: Include <math-tests.h>.
24609 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24610 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24611 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24612 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24614 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24616 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24619 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24621 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24622 otherwise empty TRANS lines.
24623 * sysdeps/gnu/errlist.c: Regenerated.
24625 * catgets/gencat.c (error_print): Use (void) in function
24627 * crypt/crypt_util.c (__init_des): Likewise.
24628 * crypt/speeds.c (Stop): Likewise.
24630 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24631 * inet/ruserpass.c (token): Likewise.
24632 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24633 * intl/localealias.c (extend_alias_table): Likewise.
24634 * intl/plural-exp.c (init_germanic_plural): Likewise.
24635 * libio/fcloseall.c (__fcloseall): Likewise.
24636 * libio/genops.c (_IO_flush_all): Likewise.
24637 (_IO_flush_all_linebuffered): Likewise.
24638 (_IO_cleanup): Likewise.
24639 (_IO_iter_begin): Likewise.
24640 (_IO_iter_end): Likewise.
24641 (_IO_list_lock): Likewise.
24642 (_IO_list_unlock): Likewise.
24643 (_IO_list_resetlock): Likewise.
24644 * libio/getchar.c (getchar): Likewise.
24645 * libio/getchar_u.c (getchar_unlocked): Likewise.
24646 * libio/getwchar.c (getwchar): Likewise.
24647 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24648 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24649 * login/getpt.c (__getpt): Likewise.
24650 * login/tst-utmp.c (main): Likewise.
24651 * malloc/hooks.c (__malloc_check_init): Likewise.
24652 * malloc/malloc.c (__malloc_stats): Likewise.
24653 * malloc/mtrace.c (tr_break): Likewise.
24654 (mtrace): Likewise.
24655 (muntrace): Likewise.
24656 * misc/fstab.c (endfsent): Likewise.
24657 * misc/getclktck.c (__getclktck): Likewise.
24658 * misc/getdtsz.c (__getdtablesize): Likewise.
24659 * misc/gethostid.c (gethostid): Likewise.
24660 * misc/getpagesize.c (__getpagesize): Likewise.
24661 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24662 (__get_nprocs): Likewise.
24663 (__get_phys_pages): Likewise.
24664 (__get_avphys_pages): Likewise.
24665 * misc/getttyent.c (getttyent): Likewise.
24666 (setttyent): Likewise.
24667 (endttyent): Likewise.
24668 * misc/getusershell.c (getusershell): Likewise.
24669 (endusershell): Likewise.
24670 (setusershell): Likewise.
24671 (initshells): Likewise.
24672 * misc/hsearch.c (__hdestroy): Likewise.
24673 * misc/sync.c (sync): Likewise.
24674 * misc/syslog.c (closelog_internal): Likewise.
24675 (closelog): Likewise.
24676 * misc/ttyslot.c (ttyslot): Likewise.
24677 * misc/vhangup.c (vhangup): Likewise.
24678 * posix/fork.c (__fork): Likewise.
24679 * posix/getegid.c (__getegid): Likewise.
24680 * posix/geteuid.c (__geteuid): Likewise.
24681 * posix/getgid.c (__getgid): Likewise.
24682 * posix/getpid.c (__getpid): Likewise.
24683 * posix/getppid.c (__getppid): Likewise.
24684 * posix/getuid.c (__getuid): Likewise.
24685 * posix/pause.c (pause): Likewise.
24686 * posix/setpgrp.c (setpgrp): Likewise.
24687 * posix/setsid.c (__setsid): Likewise.
24688 * posix/test-vfork.c (noop): Likewise.
24689 * resolv/gethnamaddr.c (_endhtent): Likewise.
24690 (_gethtent): Likewise.
24691 (ht_endhostent): Likewise.
24692 (gethostent): Likewise.
24693 (dns_service): Likewise.
24694 * stdlib/drand48.c (drand48): Likewise.
24695 * stdlib/lrand48.c (lrand48): Likewise.
24696 * stdlib/mrand48.c (mrand48): Likewise.
24697 * stdlib/rand.c (rand): Likewise.
24698 * stdlib/random.c (__random): Likewise.
24699 * stdlib/setenv.c (clearenv): Likewise.
24700 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24701 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24702 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24703 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24704 (__get_nprocs): Likewise.
24705 (__get_phys_pages): Likewise.
24706 (__get_avphys_pages): Likewise.
24707 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24708 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24709 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24710 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24711 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24712 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24713 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24714 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24715 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24716 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24717 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24718 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24719 * sysdeps/posix/clock.c (clock): Likewise.
24720 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24721 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24722 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24723 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24724 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24725 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24726 (__get_nprocs_conf): Likewise.
24727 (__get_phys_pages): Likewise.
24728 (__get_avphys_pages): Likewise.
24729 * time/clock.c (clock): Likewise.
24730 * time/tzset.c (__tzname_max): Likewise.
24732 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24734 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24735 (__bswap_32): Do not use "register".
24736 * crypt/crypt.c (_ufc_doit_r): Likewise.
24737 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24738 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24739 * gmon/gmon.c (__monstartup): Likewise.
24740 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24741 * hurd/hurdmalloc.c (more_memory): Likewise.
24742 (malloc): Likewise.
24744 (realloc): Likewise.
24745 (malloc_fork_prepare): Likewise.
24746 (malloc_fork_parent): Likewise.
24747 (malloc_fork_child): Likewise.
24748 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24749 (_svcauth_des): Likewise.
24750 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24751 * inet/inet_net.c (inet_network): Likewise.
24752 * inet/inet_netof.c (inet_netof): Likewise.
24753 * inet/rcmd.c (__validuser2_sa): Likewise.
24754 * io/fts.c (fts_open): Likewise.
24755 (fts_load): Likewise.
24756 (fts_close): Likewise.
24757 (fts_read): Likewise.
24758 (fts_children): Likewise.
24759 (fts_build): Likewise.
24760 (fts_stat): Likewise.
24761 (fts_sort): Likewise.
24762 (fts_alloc): Likewise.
24763 (fts_lfree): Likewise.
24764 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24765 (_IO_file_xsgetn): Likewise.
24766 (_IO_file_xsgetn_mmap): Likewise.
24767 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24768 (_IO_cookie_write): Likewise.
24769 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24770 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24771 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24772 * malloc/obstack.c (_obstack_begin): Likewise.
24773 (_obstack_begin_1): Likewise.
24774 (_obstack_newchunk): Likewise.
24775 (_obstack_allocated_p): Likewise.
24776 (obstack_free): Likewise.
24777 (_obstack_memory_used): Likewise.
24778 * misc/getttyent.c (getttynam): Likewise.
24779 (getttyent): Likewise.
24782 * misc/getusershell.c (initshells): Likewise.
24783 * misc/syslog.c (__vsyslog_chk): Likewise.
24784 * misc/ttyslot.c (ttyslot): Likewise.
24785 * nis/nis_hash.c (__nis_hash): Likewise.
24786 * posix/fnmatch_loop.c (FCT): Likewise.
24787 * posix/getconf.c (print_all): Likewise.
24789 * posix/getopt.c (exchange): Likewise.
24790 * posix/glob.c (globfree): Likewise.
24791 (prefix_array): Likewise.
24792 (__glob_pattern_type): Likewise.
24793 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24794 (NS_GET32): Likewise.
24795 (NS_PUT16): Likewise.
24796 (NS_PUT32): Likewise.
24797 * resolv/gethnamaddr.c (getanswer): Likewise.
24798 (gethostbyname2): Likewise.
24799 (gethostbyaddr): Likewise.
24800 (_gethtent): Likewise.
24801 (_gethtbyname2): Likewise.
24802 (_gethtbyaddr): Likewise.
24803 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24804 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24805 * resolv/res_init.c (__res_vinit): Likewise.
24806 (net_mask): Likewise.
24807 * resolv/res_mkquery.c (outchar): Likewise.
24809 * stdio-common/printf_fp.c (outchar): Likewise.
24811 * stdio-common/printf_fphex.c (outchar): Likewise.
24813 * stdio-common/printf_size.c (outchar): Likewise.
24815 * stdio-common/test_rdwr.c (main): Likewise.
24816 * stdio-common/tfformat.c (matches): Likewise.
24817 * stdio-common/vfprintf.c (outchar): Likewise.
24818 (printf_unknown): Likewise.
24819 (buffered_vfprintf): Likewise.
24820 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24821 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24822 (ReadFile): Likewise.
24823 * stdlib/qsort.c (SWAP): Likewise.
24824 (_quicksort): Likewise.
24825 * stdlib/setenv.c (__add_to_environ): Likewise.
24826 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24827 * stdlib/strtol_l.c (__strtol_l): Likewise.
24828 * stdlib/tst-strtod.c (main): Likewise.
24829 * stdlib/tst-strtol.c (main): Likewise.
24830 * stdlib/tst-strtoll.c (main): Likewise.
24831 * string/bits/string2.h (__strcmp_cc): Likewise.
24832 (__strcmp_cg): Likewise.
24833 (__strcspn_c1): Likewise.
24834 (__strcspn_c2): Likewise.
24835 (__strcspn_c3): Likewise.
24836 (__strspn_c1): Likewise.
24837 (__strspn_c2): Likewise.
24838 (__strspn_c3): Likewise.
24839 (__strsep_1c): Likewise.
24840 (__strsep_2c): Likewise.
24841 (__strsep_3c): Likewise.
24842 * string/memccpy.c (__memccpy): Likewise.
24843 * string/stpcpy.c (__stpcpy): Likewise.
24844 * string/strcmp.c (strcmp): Likewise.
24845 * string/strrchr.c (strrchr): Likewise.
24846 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24848 * sysdeps/mach/hurd/getcwd.c
24849 (_hurd_canonicalize_directory_name_internal): Likewise.
24850 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24851 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24852 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24853 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24854 Likewise, in both definitions.
24855 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24857 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24858 64] (__bswap_64): Likewise.
24859 * time/test_time.c (main): Likewise.
24860 * time/tzfile.c (__tzfile_read): Likewise.
24861 (__tzfile_compute): Likewise.
24862 * time/tzset.c (__tzset_parse_tz): Likewise.
24863 (tzset_internal): Likewise.
24864 (compute_change): Likewise.
24865 * wcsmbs/wcscat.c (__wcscat): Likewise.
24866 * wcsmbs/wcschr.c (wcschr): Likewise.
24867 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24868 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24869 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24870 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24871 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24872 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24873 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24874 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24875 * wcsmbs/wmemset.c (wmemset): Likewise.
24877 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24879 * scripts/config.guess: Update to version 2013-05-16.
24880 * scripts/config.sub: Update to version 2013-04-24.
24881 * scripts/install-sh: Update to version 2011-11-20.07.
24882 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24883 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24885 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24887 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24888 * elf/sln.c: Likewise.
24889 * hurd/hurd/ioctl.h: Likewise.
24890 * hurd/hurdmalloc.c: Likewise.
24891 * hurd/xattr.c: Likewise.
24892 * include/shlib-compat.h: Likewise.
24893 * inet/ruserpass.c: Likewise.
24894 * libio/iofgets_u.c: Likewise.
24895 * libio/iofgetws_u.c: Likewise.
24896 * locale/programs/ld-identification.c: Likewise.
24897 * locale/programs/ld-time.c: Likewise.
24898 * mach/msg-destroy.c: Likewise.
24899 * nss/nss_files/files-netgrp.c: Likewise.
24900 * resolv/res_data.c: Likewise.
24901 * soft-fp/op-1.h: Likewise.
24902 * soft-fp/op-2.h: Likewise.
24903 * soft-fp/op-4.h: Likewise.
24904 * soft-fp/op-common.h: Likewise.
24905 * stdio-common/printf_fphex.c: Likewise.
24906 * stdlib/strtod_l.c: Likewise.
24907 * sunrpc/rpc/clnt.h: Likewise.
24908 * sysdeps/generic/framestate.c: Likewise.
24909 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24910 * sysdeps/i386/bsd-setjmp.S: Likewise.
24911 * sysdeps/i386/__longjmp.S: Likewise.
24912 * sysdeps/i386/setjmp.S: Likewise.
24913 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24914 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24915 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24917 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24918 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24919 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24920 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24921 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24922 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24923 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24926 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24927 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24928 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24929 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24930 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24931 * sysdeps/ieee754/support.c: Likewise.
24932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24933 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24934 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24935 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24936 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24937 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24938 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24939 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24940 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24941 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24942 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24943 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24944 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24945 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24946 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24947 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24948 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24951 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24953 * posix/transbug.c: Remove executable mode.
24955 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24957 * crypt/speeds.c: Remove trailing whitespace.
24958 * dlfcn/default.c: Likewise.
24959 * elf/ifuncdep2.c: Likewise.
24960 * elf/ifuncmain1.c: Likewise.
24961 * elf/ifuncmain1vis.c: Likewise.
24962 * elf/testobj.h: Likewise.
24963 * elf/tst-stackguard1.c: Likewise.
24964 * gmon/sys/gmon.h: Likewise.
24965 * hurd/hurdmsg.c: Likewise.
24966 * hurd/new-fd.c: Likewise.
24967 * hurd/ports-get.c: Likewise.
24968 * iconvdata/ibm1008_420.c: Likewise.
24969 * inet/tst-getni1.c: Likewise.
24970 * inet/tst-getni2.c: Likewise.
24971 * libio/ioungetc.c: Likewise.
24972 * libio/wfiledoalloc.c: Likewise.
24973 * manual/libm-err-tab.pl: Likewise.
24974 * math/w_dremf.c: Likewise.
24975 * misc/ftruncate.c: Likewise.
24976 * posix/bug-glob2.c: Likewise.
24977 * posix/tst-pcre.c: Likewise.
24978 * posix/wait4.c: Likewise.
24979 * resolv/README: Likewise.
24980 * resolv/res_debug.h: Likewise.
24981 * resolv/tst-inet_ntop.c: Likewise.
24982 * setjmp/bug269-setjmp.c: Likewise.
24983 * soft-fp/extended.h: Likewise.
24984 * soft-fp/op-1.h: Likewise.
24985 * soft-fp/op-2.h: Likewise.
24986 * soft-fp/op-4.h: Likewise.
24987 * soft-fp/op-8.h: Likewise.
24988 * soft-fp/testit.c: Likewise.
24989 * stdio-common/bug16.c: Likewise.
24990 * stdlib/random.c: Likewise.
24991 * sunrpc/rpcsvc/rquota.x: Likewise.
24992 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24993 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24995 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24996 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24997 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24998 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24999 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25000 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25002 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25003 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25004 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25008 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25010 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25013 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25014 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25015 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25016 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25017 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25018 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25020 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25021 * sysdeps/ieee754/s_lib_version.c: Likewise.
25022 * sysdeps/mach/hurd/check_fds.c: Likewise.
25023 * sysdeps/mach/hurd/getsockname.c: Likewise.
25024 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25025 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25026 * sysdeps/powerpc/bits/link.h: Likewise.
25027 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25028 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25029 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25030 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25031 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25032 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25033 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25034 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25035 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25036 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25037 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25038 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25039 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25040 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25041 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25042 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25043 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25044 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25045 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25046 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25047 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25048 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25050 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25051 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25052 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25053 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25054 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25055 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25056 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25057 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25058 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25059 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25060 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25061 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25062 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25063 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25064 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25065 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25066 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25067 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25068 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25069 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25070 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25071 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25072 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25073 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25074 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25075 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25076 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25077 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25078 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25081 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25082 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25083 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25084 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25085 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25086 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25087 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25088 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25089 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25090 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25091 * sysdeps/powerpc/sysdep.h: Likewise.
25092 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25093 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25094 * sysdeps/sh/dl-trampoline.S: Likewise.
25095 * sysdeps/sh/memset.S: Likewise.
25096 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25097 * sysdeps/sh/strlen.S: Likewise.
25098 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25099 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25100 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25101 * sysdeps/sparc/sparc32/rem.S: Likewise.
25102 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25103 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25104 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25105 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25106 * sysdeps/sparc/sparc32/urem.S: Likewise.
25107 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25108 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25109 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25110 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25111 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25112 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25113 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25114 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25115 * sysdeps/unix/bsd/times.c: Likewise.
25116 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25117 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25121 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25122 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25123 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25124 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25125 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25126 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25127 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25128 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25129 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25130 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25131 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25132 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25133 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25134 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25135 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25136 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25137 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25138 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25139 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25140 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25141 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25142 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25143 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25144 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25145 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25146 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25147 * sysdeps/x86_64/strcspn.S: Likewise.
25149 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25151 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25152 generated file. Regenerate properly from gen-translit.pl.
25153 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25154 locale/C-translit.h.
25156 2013-06-05 Andreas Schwab <schwab@suse.de>
25159 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25160 week as 6 instead of -1.
25161 * time/tst-strptime.c (day_tests): Add test case.
25163 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25165 * sysdeps/generic/math_private.h
25166 (libc_feholdexcept_setround_53bit): Replace with
25167 libc_feholdsetround_53bit.
25168 (libc_feupdateenv_53bit): Replace with
25169 libc_feresetround_53bit.
25170 (SET_RESTORE_ROUND_53BIT): Adjust.
25172 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25174 * string/test-strchrnul.c: Add copyright header.
25176 * posix/tst-getaddrinfo4.c: Increase test timeout.
25178 2013-06-03 Carlos O'Donell <carlos@redhat.com>
25181 * math/libm-test.inc (MAX_EXP): Remove
25183 (ulp): Use MIN_EXP - MANT_DIG.
25184 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25186 2013-05-31 Carlos O'Donell <carlos@redhat.com>
25188 * po/be.po: Revert last change.
25189 * po/zh_CN.po: Likewise.
25190 * po/header.pot: Likewise.
25192 2013-05-31 Joseph Myers <joseph@codesourcery.com>
25194 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25195 link-libc-deps to empty as target-specific variable.
25196 * Makerules (link-libc-args): New variable.
25197 (libc-for-link): Likewise.
25198 (link-libc-deps): Likewise.
25199 (lib%.so): Depend on $(link-libc-deps). Link with
25201 (build-module): Link with $(link-libc-args).
25202 (build-module-asneeded): Likewise.
25203 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25205 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25206 target-specific variable.
25207 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25208 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25209 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25211 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25213 ($(objpfx)libpcprofile.so): Likewise.
25214 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25216 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25217 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25218 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25220 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25221 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25222 * login/Makefile ($(objpfx)libutil.so): Likewise.
25223 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25224 * math/Makefile ($(objpfx)libm.so): Likewise.
25225 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25226 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25227 variable instead of depending directly on libc.
25228 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25229 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25231 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25233 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25234 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25235 ($(objpfx)libanl.so): Likewise.
25236 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25238 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25240 * sysdeps/i386/fpu/Makefile: Remove file.
25241 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25242 ($(objpfx)libm.so): Remove dependency on ld.so.
25244 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
25247 * nis/yp_xdr.c (XDRMAXNAME): Define.
25248 (XDRMAXRECORD): Define.
25249 (xdr_domainname): Use XDRMAXNAME.
25250 (xdr_mapname): Likewise.
25251 (xdr_peername): Likewise.
25252 (xdr_keydat): Use XDRMAXRECORD.
25253 (xdr_valdat): Likewise.
25255 2013-05-30 Jeff Law <law@redhat.com>
25258 * manual/errno.texi (ESTALE): Update to account for more than
25259 just NFS file systems.
25260 * sysdeps/gnu/errlist.c: Regenerated.
25262 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25265 * elf/Makefile (tests): Add tst-null-argv.
25266 (modules-names): Add tst-null-argv-lib.
25267 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25268 (tst-null-argv-ENV): Set environment for tst-null-argv.
25269 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25270 (RTLD_PROGNAME): New macro.
25271 * elf/tst-null-argv.c: New test case.
25272 * elf/tst-null-argv-lib.c: Library for test case.
25273 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25274 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25275 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25276 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25277 * elf/dl-init.c (call_init): Likewise.
25278 (_dl_init): Likewise.
25279 * elf/dl-load.c (print_search_path): Likewise.
25280 (_dl_map_object): Likewise.
25281 * elf/dl-lookup.c (do_lookup_x): Likewise.
25282 (add_dependency): Likewise.
25283 (_dl_lookup_symbol_x): Likewise.
25284 (_dl_debug_bindings): Likewise.
25285 * elf/dl-open.c (_dl_show_scope): Likewise.
25286 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25287 * elf/dl-version.c (match_symbol): Likewise.
25288 (_dl_check_map_versions): Likewise.
25289 * elf/rtld.c (dl_main): Likewise.
25290 (print_unresolved): Use RTLD_PROGNAME.
25291 (print_missing_version): Likewise.
25292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25293 (elf_machine_rela): Likewise.
25294 * sysdeps/powerpc/powerpc32/dl-machine.c
25295 (__process_machine_rela): Likewise.
25296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25298 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25300 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25302 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25309 2013-05-28 Carlos O'Donell <carlos@redhat.com>
25311 * po/be.po: Add descriptive title.
25312 * po/zh_CN.po: Likewise.
25313 * po/header.pot: Likewise.
25315 2013-05-28 Mike Frysinger <vapier@gentoo.org>
25317 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25319 (enlarge_archive): Likewise.
25321 2013-05-28 Ben North <ben@redfrontdoor.org>
25323 * manual/arith.texi (frexp): It is the magnitude of the return
25324 value which lies in [0.5, 1), not the return value itself.
25326 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25330 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25332 * stdio-common/bug26.c (main): Correct fscanf template.
25334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25335 declare _dl_skip_args.
25337 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25340 * manual/platform.texi: Add missing @end deftypefun.
25342 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25345 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25346 bit of mantissa of 2^16382.
25347 * math/libm-test.inc (hypot_test_data): Add more tests.
25349 * math/libm-test.inc: Add drem and pow10 to list of tested
25351 (pow10_test): New function.
25352 (drem_test): Likewise.
25353 (drem_test_tonearest): Likewise.
25354 (drem_test_towardzero): Likewise.
25355 (drem_test_downward): Likewise.
25356 (drem_test_upward): Likewise.
25357 (main): Call the new functions.
25359 * math/libm-test.inc (finite_test_data): Remove.
25360 (finite_test): Run tests from isfinite_test_data.
25361 (gamma_test_data): Remove.
25362 (gamma_test): Run tests from lgamma_test_data.
25363 * sysdeps/i386/fpu/libm-test-ulps: Update.
25364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25366 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25368 * manual/platform.texi: Add PowerPC PPR function set documentation.
25369 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25372 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25374 * math/libm-test.inc (MAX_EXP): Define.
25376 (ulp): New function.
25377 (check_float_internal): Use ULPDIFF.
25378 (cpow_test): Disable failing test.
25379 (check_ulp): Test ulp() implemetnation.
25380 (main): Call check_ulp before starting tests.
25382 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25384 * math/gen-libm-test.pl (generate_testfile): Do not handle
25385 START_DATA and END_DATA.
25386 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25388 (acos_tonearest_test_data): Likewise.
25389 (acos_towardzero_test_data): Likewise.
25390 (acos_downward_test_data): Likewise.
25391 (acos_upward_test_data): Likewise.
25392 (acosh_test_data): Likewise.
25393 (asin_test_data): Likewise.
25394 (asin_tonearest_test_data): Likewise.
25395 (asin_towardzero_test_data): Likewise.
25396 (asin_downward_test_data): Likewise.
25397 (asin_upward_test_data): Likewise.
25398 (asinh_test_data): Likewise.
25399 (atan_test_data): Likewise.
25400 (atanh_test_data): Likewise.
25401 (atan2_test_data): Likewise.
25402 (cabs_test_data): Likewise.
25403 (cacos_test_data): Likewise.
25404 (cacosh_test_data): Likewise.
25405 (carg_test_data): Likewise.
25406 (casin_test_data): Likewise.
25407 (casinh_test_data): Likewise.
25408 (catan_test_data): Likewise.
25409 (catanh_test_data): Likewise.
25410 (cbrt_test_data): Likewise.
25411 (ccos_test_data): Likewise.
25412 (ccosh_test_data): Likewise.
25413 (ceil_test_data): Likewise.
25414 (cexp_test_data): Likewise.
25415 (cimag_test_data): Likewise.
25416 (clog_test_data): Likewise.
25417 (clog10_test_data): Likewise.
25418 (conj_test_data): Likewise.
25419 (copysign_test_data): Likewise.
25420 (cos_test_data): Likewise.
25421 (cos_tonearest_test_data): Likewise.
25422 (cos_towardzero_test_data): Likewise.
25423 (cos_downward_test_data): Likewise.
25424 (cos_upward_test_data): Likewise.
25425 (cosh_test_data): Likewise.
25426 (cosh_tonearest_test_data): Likewise.
25427 (cosh_towardzero_test_data): Likewise.
25428 (cosh_downward_test_data): Likewise.
25429 (cosh_upward_test_data): Likewise.
25430 (cpow_test_data): Likewise.
25431 (cproj_test_data): Likewise.
25432 (creal_test_data): Likewise.
25433 (csin_test_data): Likewise.
25434 (csinh_test_data): Likewise.
25435 (csqrt_test_data): Likewise.
25436 (ctan_test_data): Likewise.
25437 (ctan_tonearest_test_data): Likewise.
25438 (ctan_towardzero_test_data): Likewise.
25439 (ctan_downward_test_data): Likewise.
25440 (ctan_upward_test_data): Likewise.
25441 (ctanh_test_data): Likewise.
25442 (ctanh_tonearest_test_data): Likewise.
25443 (ctanh_towardzero_test_data): Likewise.
25444 (ctanh_downward_test_data): Likewise.
25445 (ctanh_upward_test_data): Likewise.
25446 (erf_test_data): Likewise.
25447 (erfc_test_data): Likewise.
25448 (exp_test_data): Likewise.
25449 (exp_tonearest_test_data): Likewise.
25450 (exp_towardzero_test_data): Likewise.
25451 (exp_downward_test_data): Likewise.
25452 (exp_upward_test_data): Likewise.
25453 (exp10_test_data): Likewise.
25454 (exp2_test_data): Likewise.
25455 (expm1_test_data): Likewise.
25456 (fabs_test_data): Likewise.
25457 (fdim_test_data): Likewise.
25458 (finite_test_data): Likewise.
25459 (floor_test_data): Likewise.
25460 (fma_test_data): Likewise.
25461 (fma_towardzero_test_data): Likewise.
25462 (fma_downward_test_data): Likewise.
25463 (fma_upward_test_data): Likewise.
25464 (fmax_test_data): Likewise.
25465 (fmin_test_data): Likewise.
25466 (fmod_test_data): Likewise.
25467 (fpclassify_test_data): Likewise.
25468 (frexp_test_data): Likewise.
25469 (gamma_test_data): Likewise.
25470 (hypot_test_data): Likewise.
25471 (ilogb_test_data): Likewise.
25472 (isfinite_test_data): Likewise.
25473 (isgreater_test_data): Likewise.
25474 (isgreaterequal_test_data): Likewise.
25475 (isinf_test_data): Likewise.
25476 (isless_test_data): Likewise.
25477 (islessequal_test_data): Likewise.
25478 (islessgreater_test_data): Likewise.
25479 (isnan_test_data): Likewise.
25480 (isnormal_test_data): Likewise.
25481 (issignaling_test_data): Likewise.
25482 (isunordered_test_data): Likewise.
25483 (j0_test_data): Likewise.
25484 (j1_test_data): Likewise.
25485 (jn_test_data): Likewise.
25486 (ldexp_test_data): Likewise.
25487 (lgamma_test_data): Likewise.
25488 (lrint_test_data): Likewise.
25489 (lrint_tonearest_test_data): Likewise.
25490 (lrint_towardzero_test_data): Likewise.
25491 (lrint_downward_test_data): Likewise.
25492 (lrint_upward_test_data): Likewise.
25493 (llrint_test_data): Likewise.
25494 (llrint_tonearest_test_data): Likewise.
25495 (llrint_towardzero_test_data): Likewise.
25496 (llrint_downward_test_data): Likewise.
25497 (llrint_upward_test_data): Likewise.
25498 (log_test_data): Likewise.
25499 (log10_test_data): Likewise.
25500 (log1p_test_data): Likewise.
25501 (log2_test_data): Likewise.
25502 (logb_test_data): Likewise.
25503 (logb_downward_test_data): Likewise.
25504 (lround_test_data): Likewise.
25505 (llround_test_data): Likewise.
25506 (modf_test_data): Likewise.
25507 (nearbyint_test_data): Likewise.
25508 (nextafter_test_data): Likewise.
25509 (nexttoward_test_data): Likewise.
25510 (pow_test_data): Likewise.
25511 (pow_tonearest_test_data): Likewise.
25512 (pow_towardzero_test_data): Likewise.
25513 (pow_downward_test_data): Likewise.
25514 (pow_upward_test_data): Likewise.
25515 (remainder_test_data): Likewise.
25516 (remainder_tonearest_test_data): Likewise.
25517 (remainder_towardzero_test_data): Likewise.
25518 (remainder_downward_test_data): Likewise.
25519 (remainder_upward_test_data): Likewise.
25520 (remquo_test_data): Likewise.
25521 (rint_test_data): Likewise.
25522 (rint_tonearest_test_data): Likewise.
25523 (rint_towardzero_test_data): Likewise.
25524 (rint_downward_test_data): Likewise.
25525 (rint_upward_test_data): Likewise.
25526 (round_test_data): Likewise.
25527 (scalb_test_data): Likewise.
25528 (scalbn_test_data): Likewise.
25529 (scalbln_test_data): Likewise.
25530 (signbit_test_data): Likewise.
25531 (sin_test_data): Likewise.
25532 (sin_tonearest_test_data): Likewise.
25533 (sin_towardzero_test_data): Likewise.
25534 (sin_downward_test_data): Likewise.
25535 (sin_upward_test_data): Likewise.
25536 (sincos_test_data): Likewise.
25537 (sinh_test_data): Likewise.
25538 (sinh_tonearest_test_data): Likewise.
25539 (sinh_towardzero_test_data): Likewise.
25540 (sinh_downward_test_data): Likewise.
25541 (sinh_upward_test_data): Likewise.
25542 (sqrt_test_data): Likewise.
25543 (tan_test_data): Likewise.
25544 (tan_tonearest_test_data): Likewise.
25545 (tan_towardzero_test_data): Likewise.
25546 (tan_downward_test_data): Likewise.
25547 (tan_upward_test_data): Likewise.
25548 (tanh_test_data): Likewise.
25549 (tgamma_test_data): Likewise.
25550 (trunc_test_data): Likewise.
25551 (y0_test_data): Likewise.
25552 (y1_test_data): Likewise.
25553 (yn_test_data): Likewise.
25554 (significand_test_data): Likewise.
25556 * math/gen-libm-test.pl (@functions): Remove variable.
25557 (generate_testfile): Don't handle START and END lines.
25558 * math/libm-test.inc (START): New macro.
25560 (END_COMPLEX): Likewise.
25561 (acos_test): Use END macro without arguments.
25562 (acos_test_tonearest): Likewise.
25563 (acos_test_towardzero): Likewise.
25564 (acos_test_downward): Likewise.
25565 (acos_test_upward): Likewise.
25566 (acosh_test): Likewise.
25567 (asin_test): Likewise.
25568 (asin_test_tonearest): Likewise.
25569 (asin_test_towardzero): Likewise.
25570 (asin_test_downward): Likewise.
25571 (asin_test_upward): Likewise.
25572 (asinh_test): Likewise.
25573 (atan_test): Likewise.
25574 (atanh_test): Likewise.
25575 (atan2_test): Likewise.
25576 (cabs_test): Likewise.
25577 (cacos_test): Use END_COMPLEX macro without arguments.
25578 (cacosh_test): Likewise.
25579 (carg_test): Use END macro without arguments.
25580 (casin_test): Use END_COMPLEX macro without arguments.
25581 (casinh_test): Likewise.
25582 (catan_test): Likewise.
25583 (catanh_test): Likewise.
25584 (cbrt_test): Use END macro without arguments.
25585 (ccos_test): Use END_COMPLEX macro without arguments.
25586 (ccosh_test): Likewise.
25587 (ceil_test): Use END macro without arguments.
25588 (cexp_test): Use END_COMPLEX macro without arguments.
25589 (cimag_test): Use END macro without arguments.
25590 (clog_test): Use END_COMPLEX macro without arguments.
25591 (clog10_test): Likewise.
25592 (conj_test): Likewise.
25593 (copysign_test): Use END macro without arguments.
25594 (cos_test): Likewise.
25595 (cos_test_tonearest): Likewise.
25596 (cos_test_towardzero): Likewise.
25597 (cos_test_downward): Likewise.
25598 (cos_test_upward): Likewise.
25599 (cosh_test): Likewise.
25600 (cosh_test_tonearest): Likewise.
25601 (cosh_test_towardzero): Likewise.
25602 (cosh_test_downward): Likewise.
25603 (cosh_test_upward): Likewise.
25604 (cpow_test): Use END_COMPLEX macro without arguments.
25605 (cproj_test): Likewise.
25606 (creal_test): Use END macro without arguments.
25607 (csin_test): Use END_COMPLEX macro without arguments.
25608 (csinh_test): Likewise.
25609 (csqrt_test): Likewise.
25610 (ctan_test): Likewise.
25611 (ctan_test_tonearest): Likewise.
25612 (ctan_test_towardzero): Likewise.
25613 (ctan_test_downward): Likewise.
25614 (ctan_test_upward): Likewise.
25615 (ctanh_test): Likewise.
25616 (ctanh_test_tonearest): Likewise.
25617 (ctanh_test_towardzero): Likewise.
25618 (ctanh_test_downward): Likewise.
25619 (ctanh_test_upward): Likewise.
25620 (erf_test): Use END macro without arguments.
25621 (erfc_test): Likewise.
25622 (exp_test): Likewise.
25623 (exp_test_tonearest): Likewise.
25624 (exp_test_towardzero): Likewise.
25625 (exp_test_downward): Likewise.
25626 (exp_test_upward): Likewise.
25627 (exp10_test): Likewise.
25628 (exp2_test): Likewise.
25629 (expm1_test): Likewise.
25630 (fabs_test): Likewise.
25631 (fdim_test): Likewise.
25632 (finite_test): Likewise.
25633 (floor_test): Likewise.
25634 (fma_test): Likewise.
25635 (fma_test_towardzero): Likewise.
25636 (fma_test_downward): Likewise.
25637 (fma_test_upward): Likewise.
25638 (fmax_test): Likewise.
25639 (fmin_test): Likewise.
25640 (fmod_test): Likewise.
25641 (fpclassify_test): Likewise.
25642 (frexp_test): Likewise.
25643 (gamma_test): Likewise.
25644 (hypot_test): Likewise.
25645 (ilogb_test): Likewise.
25646 (isfinite_test): Likewise.
25647 (isgreater_test): Likewise.
25648 (isgreaterequal_test): Likewise.
25649 (isinf_test): Likewise.
25650 (isless_test): Likewise.
25651 (islessequal_test): Likewise.
25652 (islessgreater_test): Likewise.
25653 (isnan_test): Likewise.
25654 (isnormal_test): Likewise.
25655 (issignaling_test): Likewise.
25656 (isunordered_test): Likewise.
25657 (j0_test): Likewise.
25658 (j1_test): Likewise.
25659 (jn_test): Likewise.
25660 (ldexp_test): Likewise.
25661 (lgamma_test): Likewise.
25662 (lrint_test): Likewise.
25663 (lrint_test_tonearest): Likewise.
25664 (lrint_test_towardzero): Likewise.
25665 (lrint_test_downward): Likewise.
25666 (lrint_test_upward): Likewise.
25667 (llrint_test): Likewise.
25668 (llrint_test_tonearest): Likewise.
25669 (llrint_test_towardzero): Likewise.
25670 (llrint_test_downward): Likewise.
25671 (llrint_test_upward): Likewise.
25672 (log_test): Likewise.
25673 (log10_test): Likewise.
25674 (log1p_test): Likewise.
25675 (log2_test): Likewise.
25676 (logb_test): Likewise.
25677 (logb_test_downward): Likewise.
25678 (lround_test): Likewise.
25679 (llround_test): Likewise.
25680 (modf_test): Likewise.
25681 (nearbyint_test): Likewise.
25682 (nextafter_test): Likewise.
25683 (nexttoward_test): Likewise.
25684 (pow_test): Likewise.
25685 (pow_test_tonearest): Likewise.
25686 (pow_test_towardzero): Likewise.
25687 (pow_test_downward): Likewise.
25688 (pow_test_upward): Likewise.
25689 (remainder_test): Likewise.
25690 (remainder_test_tonearest): Likewise.
25691 (remainder_test_towardzero): Likewise.
25692 (remainder_test_downward): Likewise.
25693 (remainder_test_upward): Likewise.
25694 (remquo_test): Likewise.
25695 (rint_test): Likewise.
25696 (rint_test_tonearest): Likewise.
25697 (rint_test_towardzero): Likewise.
25698 (rint_test_downward): Likewise.
25699 (rint_test_upward): Likewise.
25700 (round_test): Likewise.
25701 (scalb_test): Likewise.
25702 (scalbn_test): Likewise.
25703 (scalbln_test): Likewise.
25704 (signbit_test): Likewise.
25705 (sin_test): Likewise.
25706 (sin_test_tonearest): Likewise.
25707 (sin_test_towardzero): Likewise.
25708 (sin_test_downward): Likewise.
25709 (sin_test_upward): Likewise.
25710 (sincos_test): Likewise.
25711 (sinh_test): Likewise.
25712 (sinh_test_tonearest): Likewise.
25713 (sinh_test_towardzero): Likewise.
25714 (sinh_test_downward): Likewise.
25715 (sinh_test_upward): Likewise.
25716 (sqrt_test): Likewise.
25717 (tan_test): Likewise.
25718 (tan_test_tonearest): Likewise.
25719 (tan_test_towardzero): Likewise.
25720 (tan_test_downward): Likewise.
25721 (tan_test_upward): Likewise.
25722 (tanh_test): Likewise.
25723 (tgamma_test): Likewise.
25724 (trunc_test): Likewise.
25725 (y0_test): Likewise.
25726 (y1_test): Likewise.
25727 (yn_test): Likewise.
25728 (significand_test): Likewise.
25730 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25733 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25735 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25738 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25739 __ppc_mdoio and __ppc_mdoom.
25740 * manual/platform.texi: Document new functions __ppc_yield,
25741 __ppc_mdoio and __ppc_mdoom.
25743 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25745 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25746 (main): Mention "tls" pseudo-hwcap is legacy.
25747 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25749 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25751 * math/gen-libm-test.pl (parse_args): Output only string of
25752 arguments as text for test name, not full call or descriptions of
25753 tests for extra outputs.
25754 (generate_testfile): Do not pass function name to parse_args.
25755 Generate this_func variable from START.
25756 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25758 (struct test_ff_f_data): Likewise.
25759 (test_ff_f_data_nexttoward): Likewise.
25760 (struct test_fi_f_data): Likewise.
25761 (struct test_fl_f_data): Likewise.
25762 (struct test_if_f_data): Likewise.
25763 (struct test_fff_f_data): Likewise.
25764 (struct test_c_f_data): Likewise.
25765 (struct test_f_f1_data): Likewise. Remove field extra_name.
25766 (struct test_fF_f1_data): Likewise.
25767 (struct test_ffI_f1_data): Likewise.
25768 (struct test_c_c_data): Rename test_name field to arg_str.
25769 (struct test_cc_c_data): Likewise.
25770 (struct test_f_i_data): Likewise.
25771 (struct test_ff_i_data): Likewise.
25772 (struct test_f_l_data): Likewise.
25773 (struct test_f_L_data): Likewise.
25774 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25776 (COMMON_TEST_SETUP): New macro.
25777 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25778 (COMMON_TEST_CLEANUP): Likewise.
25779 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25780 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25782 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25783 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25785 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25786 (RUN_TEST_fff_f): Take argument string. Call new setup and
25788 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25789 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25791 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25792 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25794 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25795 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25797 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25798 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25800 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25801 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25803 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25804 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25806 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25807 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25809 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25810 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25812 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25813 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25815 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25816 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25818 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25819 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25821 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25822 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25824 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25825 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25827 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25828 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25830 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25831 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25833 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25835 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25837 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25838 to _sifields.sigfault.
25839 (si_addr_lsb): Define new macro.
25840 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25842 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25844 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25847 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25849 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25851 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25852 loading the domain.
25854 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25856 * math/gen-libm-test.pl (parse_args): Do not include expected
25857 result in test name.
25858 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25860 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25862 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25865 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25867 * benchtests/Makefile: Sort function entries.
25869 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25870 tanh, asinh, acosh, atanh.
25871 * benchtests/acos-inputs: New file.
25872 * benchtests/acosh-inputs: New file.
25873 * benchtests/asin-inputs: New file.
25874 * benchtests/asinh-inputs: New file.
25875 * benchtests/atanh-inputs: New file.
25876 * benchtests/cosh-inputs: New file.
25877 * benchtests/log-inputs: New file.
25878 * benchtests/sinh-inputs: New file.
25879 * benchtests/tanh-inputs: New file.
25881 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25884 * posix/tst-getaddrinfo4.c: New test.
25885 * posix/Makefile (tests): Add it.
25887 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25890 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25891 when no services were used.
25892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25893 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25895 2013-05-21 Andreas Schwab <schwab@suse.de>
25898 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25899 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25901 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25902 redundant variable declarations and reallocation of buffer when
25903 parsing as IPv6 address. Always set NSS status when called from
25904 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25905 buffer too small. Correct computation of needed size.
25906 * nss/Makefile (tests): Add test-digits-dots.
25907 * nss/test-digits-dots.c: New test.
25909 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25911 * benchtests/Makefile: Remove instructions for adding
25913 * benchtests/README: New file to explain how to execute and
25914 enhance the benchmark tests.
25916 2013-05-21 Andreas Schwab <schwab@suse.de>
25919 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25920 * setjmp/tst-sigsetjmp.c: New test.
25922 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25924 * sysdeps/x86_64/memset.S (memset): New implementation.
25925 (__bzero): Likewise.
25926 (__memset_tail): New function.
25928 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25930 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25931 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25932 __memcpy_sse2_unaligned ifunc selection.
25933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25934 Add memcpy-sse2-unaligned.S.
25935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25936 Add: __memcpy_sse2_unaligned.
25938 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25941 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25942 math_force_eval before restoring floating-point envrionment.
25943 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25944 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25946 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25948 (__nearbyintl): Use math_force_eval before restoring
25949 floating-point environment.
25950 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25952 * math/gen-libm-test.pl (special_functions): Remove.
25953 (parse_args): Don't handle TEST_extra. Handle functions with no
25955 * math/libm-test.inc (struct test_sincos_data): Replace with
25956 struct test_fFF_11_data.
25957 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25958 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25959 (sincos_test_data): Change element type to struct
25960 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25961 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25962 RUN_TEST_LOOP_sincos.
25963 * math/README.libm-test: Don't mention special handling of
25964 individual functions.
25965 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25967 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25968 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25969 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25972 * math/gen-libm-test.pl (get_variable): Remove function.
25973 (parse_args): Don't show pointer parameters to call in test
25974 names. Use "extra output N" in test names for extra outputs
25975 rather than naming variables.
25977 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25980 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25981 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25982 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25984 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25986 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25989 * math/gen-libm-test.pl (@tests): Remove variable.
25990 ($count): Likewise.
25991 (new_test): Remove function.
25992 (show_exceptions): New function.
25993 (special_functions): Use show_exceptions instead of new_test.
25994 (parse_args): Likewise.
25995 (generate_testfile): Pass only function name in generated call to
25996 print_max_error or print_complex_max_error.
25997 (get_ulps): Do not handle complex tests specially.
25998 (output_test): Rename to ...
25999 (get_all_ulps_for_test): ... this. Return a string rather than
26000 printing to a file. Require ulps to be present.
26001 (output_ulps): Generate arrays rather than #defines.
26002 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26003 (struct ulp_data): New type.
26004 (BUILD_COMPLEX_ULP): Remove macro.
26005 (compare_ulp_data): New function.
26006 (find_ulps): Likewise.
26007 (find_test_ulps): Likewise.
26008 (find_function_ulps): Likewise.
26009 (find_complex_function_ulps): Likewise.
26010 (print_max_error): Determine allowed ulps using
26011 find_function_ulps.
26012 (print_complex_max_error): Determine allowed ulps using
26013 find_complex_function_ulps.
26014 (check_float_internal): Determine max ulps using find_test_ulps.
26015 (check_float): Do not take max_ulp parameter. Update call to
26016 check_float_internal.
26017 (check_complex): Likewise.
26018 (check_int): Do not take max_ulp parameter.
26019 (check_long): Likewise.
26020 (check_bool): Likewise.
26021 (check_longlong): Likewise.
26022 (struct test_f_f_data): Remove max_ulp field.
26023 (struct test_ff_f_data): Likewise.
26024 (struct test_ff_f_data_nexttoward): Likewise.
26025 (struct test_fi_f_data): Likewise.
26026 (struct test_fl_f_data): Likewise.
26027 (struct test_if_f_data): Likewise.
26028 (struct test_fff_f_data): Likewise.
26029 (struct test_c_f_data): Likewise.
26030 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26031 (struct test_fF_f1_data): Likewise.
26032 (struct test_ffI_f1_data): Likewise.
26033 (struct test_c_c_data): Remove max_ulp field.
26034 (struct test_cc_c_data): Likewise.
26035 (struct test_f_i_data): Likewise.
26036 (struct test_ff_i_data): Likewise.
26037 (struct test_f_l_data): Likewise.
26038 (struct test_f_L_data): Likewise.
26039 (struct test_sincos_data): Likewise.
26040 (RUN_TEST_f_f): Do not handle ulps.
26041 (RUN_TEST_LOOP_f_f): Likewise.
26042 (RUN_TEST_2_f): Likewise.
26043 (RUN_TEST_LOOP_2_f): Likewise.
26044 (RUN_TEST_fff_f): Likewise.
26045 (RUN_TEST_LOOP_fff_f): Likewise.
26046 (RUN_TEST_c_f): Likewise.
26047 (RUN_TEST_LOOP_c_f): Likewise.
26048 (RUN_TEST_f_f1): Likewise.
26049 (RUN_TEST_LOOP_f_f1): Likewise.
26050 (RUN_TEST_fF_f1): Likewise.
26051 (RUN_TEST_LOOP_fF_f1): Likewise.
26052 (RUN_TEST_fI_f1): Likewise.
26053 (RUN_TEST_LOOP_fI_f1): Likewise.
26054 (RUN_TEST_ffI_f1): Likewise.
26055 (RUN_TEST_LOOP_ffI_f1): Likewise.
26056 (RUN_TEST_c_c): Likewise.
26057 (RUN_TEST_LOOP_c_c): Likewise.
26058 (RUN_TEST_cc_c): Likewise.
26059 (RUN_TEST_LOOP_cc_c): Likewise.
26060 (RUN_TEST_f_i): Likewise.
26061 (RUN_TEST_LOOP_f_i): Likewise.
26062 (RUN_TEST_f_i_tg): Likewise.
26063 (RUN_TEST_LOOP_f_i_tg): Likewise.
26064 (RUN_TEST_ff_i_tg): Likewise.
26065 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26066 (RUN_TEST_f_b): Likewise.
26067 (RUN_TEST_LOOP_f_b): Likewise.
26068 (RUN_TEST_f_b_tg): Likewise.
26069 (RUN_TEST_LOOP_f_b_tg): Likewise.
26070 (RUN_TEST_f_l): Likewise.
26071 (RUN_TEST_LOOP_f_l): Likewise.
26072 (RUN_TEST_f_L): Likewise.
26073 (RUN_TEST_LOOP_f_L): Likewise.
26074 (RUN_TEST_sincos): Likewise.
26075 (RUN_TEST_LOOP_sincos): Likewise.
26077 2013-05-17 Joseph Myers <joseph@codesourcery.com>
26081 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26082 main case of finite arguments, set rounding mode to FE_TONEAREST
26083 and discard exceptions.
26084 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26086 (remainder_tonearest_test_data): New variable.
26087 (remainder_test_tonearest): New function.
26088 (remainder_towardzero_test_data): New variable.
26089 (remainder_test_towardzero): New function.
26090 (remainder_downward_test_data): New variable.
26091 (remainder_test_downward): New function.
26092 (remainder_upward_test_data): New variable.
26093 (remainder_test_upward): New function.
26094 (main): Call the new test functions.
26096 * math/libm-test.inc (struct test_f_f1_data): Remove field
26098 (struct test_fF_f1_data): Likewise.
26099 (struct test_ffI_f1_data): Likewise.
26100 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26101 based on value of EXTRA_EXPECTED.
26102 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26103 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26104 EXTRA_VAR based on value of EXTRA_EXPECTED.
26105 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26106 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26107 EXTRA_VAR based on value of EXTRA_EXPECTED.
26108 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26109 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26110 EXTRA_VAR based on value of EXTRA_EXPECTED.
26111 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26112 * math/gen-libm-test.pl (parse_args): Don't output initializers
26113 for extra output values.
26115 * math/libm-test.inc (check_int): Expect result to be exactly
26116 equal to expected value and do not handle ulps.
26117 (check_long): Likewise.
26118 (check_longlong): Likewise.
26120 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26122 (cimag_test_data): Likewise.
26123 (conj_test_data): Likewise.
26124 (copysign_test_data): Likewise.
26125 (cproj_test_data): Likewise.
26126 (creal_test_data): Likewise.
26127 (fabs_test_data): Likewise.
26128 (fdim_test_data): Likewise.
26129 (finite_test_data): Likewise.
26130 (floor_test_data): Likewise.
26131 (fmax_test_data): Likewise.
26132 (fmin_test_data): Likewise.
26133 (fmod_test_data): Likewise.
26134 (fpclassify_test_data): Likewise.
26135 (frexp_test_data): Likewise.
26136 (ilogb_test_data): Likewise.
26137 (isfinite_test_data): Likewise.
26138 (isgreater_test_data): Likewise.
26139 (isgreaterequal_test_data): Likewise.
26140 (isinf_test_data): Likewise.
26141 (isless_test_data): Likewise.
26142 (islessequal_test_data): Likewise.
26143 (islessgreater_test_data): Likewise.
26144 (isnan_test_data): Likewise.
26145 (isnormal_test_data): Likewise.
26146 (issignaling_test_data): Likewise.
26147 (isunordered_test_data): Likewise.
26148 (ldexp_test_data): Likewise.
26149 (lrint_test_data): Likewise.
26150 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26151 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26152 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26153 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26154 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26155 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26157 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26158 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26159 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26160 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26162 (lrint_downward_test_data): Test for "inexact" exceptions.
26163 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26164 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26165 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26167 (lrint_upward_test_data): Test for "inexact" exceptions.
26168 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26170 (llrint_test_data): Test for "inexact" exceptions.
26171 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26172 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26173 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26174 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26175 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26176 (llrint_downward_test_data): Test for "inexact" exceptions.
26177 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26178 (llrint_upward_test_data): Test for "inexact" exceptions.
26179 (logb_test_data): Likewise.
26180 (logb_downward_test_data): Likewise.
26181 (nextafter_test_data): Likewise.
26182 (nexttoward_test_data): Likewise.
26183 (remainder_test_data): Likewise.
26184 (remquo_test_data): Likewise.
26185 (scalbn_test_data): Likewise.
26186 (scalbln_test_data): Likewise.
26187 (signbit_test_data): Likewise.
26188 (sqrt_test_data): Likewise.
26189 (significand_test_data): Likewise.
26191 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26194 * benchtests/bench-modf.c (struct args): Mark arg0 as
26196 * scripts/bench.pl: Mark members of struct args as volatile.
26198 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26201 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26202 negative infinity on POWER6 or lower.
26203 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26205 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26208 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26209 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26210 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26211 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26212 (_FP_SETQNAN): New macro.
26213 (_FP_SETQNAN_SEMIRAW): Likewise.
26214 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26215 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26216 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26217 (FP_EXTEND): Use _FP_FRAC_SNANP.
26218 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26219 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26221 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26223 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26226 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26228 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26229 with DIVIDE_BY_ZERO_EXCEPTION.
26230 (gamma_test_data): Likewise.
26231 (lgamma_test_data): Likewise.
26232 (log_test_data): Likewise.
26233 (log10_test_data): Likewise.
26234 (log2_test_data): Likewise.
26235 (tgamma_test_data): Likewise.
26237 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26238 (acos_test_tonearest): Likewise.
26239 (acos_test_towardzero): Likewise.
26240 (acos_test_downward): Likewise.
26241 (acos_test_upward): Likewise.
26242 (acosh_test): Likewise.
26243 (asin_test): Likewise.
26244 (asin_test_tonearest): Likewise.
26245 (asin_test_towardzero): Likewise.
26246 (asin_test_downward): Likewise.
26247 (asin_test_upward): Likewise.
26248 (asinh_test): Likewise.
26249 (atan_test): Likewise.
26250 (atanh_test): Likewise.
26251 (atan2_test): Likewise.
26252 (cabs_test): Likewise.
26253 (cacos_test): Likewise.
26254 (cacosh_test): Likewise.
26255 (casin_test): Likewise.
26256 (casinh_test): Likewise.
26257 (catan_test): Likewise.
26258 (catanh_test): Likewise.
26259 (cbrt_test): Likewise.
26260 (ccos_test): Likewise.
26261 (ccosh_test): Likewise.
26262 (cexp_test): Likewise.
26263 (clog_test): Likewise.
26264 (clog10_test): Likewise.
26265 (cos_test): Likewise.
26266 (cos_test_tonearest): Likewise.
26267 (cos_test_towardzero): Likewise.
26268 (cos_test_downward): Likewise.
26269 (cos_test_upward): Likewise.
26270 (cosh_test): Likewise.
26271 (cosh_test_tonearest): Likewise.
26272 (cosh_test_towardzero): Likewise.
26273 (cosh_test_downward): Likewise.
26274 (cosh_test_upward): Likewise.
26275 (cpow_test): Likewise.
26276 (csin_test): Likewise.
26277 (csinh_test): Likewise.
26278 (csqrt_test): Likewise.
26279 (ctan_test): Likewise.
26280 (ctan_test_tonearest): Likewise.
26281 (ctan_test_towardzero): Likewise.
26282 (ctan_test_downward): Likewise.
26283 (ctan_test_upward): Likewise.
26284 (ctanh_test): Likewise.
26285 (ctanh_test_tonearest): Likewise.
26286 (ctanh_test_towardzero): Likewise.
26287 (ctanh_test_downward): Likewise.
26288 (ctanh_test_upward): Likewise.
26289 (erf_test): Likewise.
26290 (erfc_test): Likewise.
26291 (exp_test): Likewise.
26292 (exp_test_tonearest): Likewise.
26293 (exp_test_towardzero): Likewise.
26294 (exp_test_downward): Likewise.
26295 (exp_test_upward): Likewise.
26296 (exp10_test): Likewise.
26297 (exp2_test): Likewise.
26298 (expm1_test): Likewise.
26299 (fmod_test): Likewise.
26300 (gamma_test): Likewise.
26301 (hypot_test): Likewise.
26302 (j0_test): Likewise.
26303 (j1_test): Likewise.
26304 (jn_test): Likewise.
26305 (lgamma_test): Likewise.
26306 (log_test): Likewise.
26307 (log10_test): Likewise.
26308 (log1p_test): Likewise.
26309 (log2_test): Likewise.
26310 (logb_test_downward): Likewise.
26311 (pow_test): Likewise.
26312 (pow_test_tonearest): Likewise.
26313 (pow_test_towardzero): Likewise.
26314 (pow_test_downward): Likewise.
26315 (pow_test_upward): Likewise.
26316 (remainder_test): Likewise.
26317 (remquo_test): Likewise.
26318 (sin_test): Likewise.
26319 (sin_test_tonearest): Likewise.
26320 (sin_test_towardzero): Likewise.
26321 (sin_test_downward): Likewise.
26322 (sin_test_upward): Likewise.
26323 (sincos_test): Likewise.
26324 (sinh_test): Likewise.
26325 (sinh_test_tonearest): Likewise.
26326 (sinh_test_towardzero): Likewise.
26327 (sinh_test_downward): Likewise.
26328 (sinh_test_upward): Likewise.
26329 (sqrt_test): Likewise.
26330 (tan_test): Likewise.
26331 (tan_test_tonearest): Likewise.
26332 (tan_test_towardzero): Likewise.
26333 (tan_test_downward): Likewise.
26334 (tan_test_upward): Likewise.
26335 (tanh_test): Likewise.
26336 (tgamma_test): Likewise.
26337 (y0_test): Likewise.
26338 (y1_test): Likewise.
26339 (yn_test): Likewise.
26341 * math/gen-libm-test.pl (adjust_arg): Remove function.
26342 (special_function): Remove argument $in_func. Only handle
26343 generating output for tables of tests, not inside functions.
26344 (parse_args): Likewise.
26345 (generate_testfile): Remove variable $in_func. Update call to
26347 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26348 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26349 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26350 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26351 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26352 (MAX_VALUE_INIT): Rename macro to max_value.
26353 (MIN_VALUE_INIT): Rename macro to min_value.
26354 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26355 (plus_zero): Remove variable.
26356 (minus_zero): Likewise.
26357 (plus_infty): Likewise.
26358 (minus_infty): Likewise.
26359 (qnan_value): Likewise.
26360 (max_value): Likewise.
26361 (min_value): Likewise.
26362 (min_subnorm_value): Likewise.
26364 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26366 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26367 uint64_t or uint32_t usage.
26368 * crypt/sha256-block.c: Likewise.
26369 * crypt/sha256-crypt.c: Likewise.
26370 * crypt/sha256.c: Likewise.
26371 * crypt/sha512-block.c: Likewise.
26372 * crypt/sha512-crypt.c: Likewise.
26373 * crypt/sha512.c: Likewise.
26374 * debug/backtrace-tst.c: Likewise.
26375 * debug/pcprofiledump.c: Likewise.
26376 * elf/cache.c: Likewise.
26377 * elf/dl-cache.c: Likewise.
26378 * elf/dl-misc.c: Likewise.
26379 * elf/dl-profile.c: Likewise.
26380 * elf/dl-support.c: Likewise.
26381 * elf/ldconfig.c: Likewise.
26382 * elf/sprof.c: Likewise.
26383 * iconv/dummy-repertoire.c: Likewise.
26384 * iconv/iconv_charmap.c: Likewise.
26385 * iconv/skeleton.c: Likewise.
26386 * iconvdata/8bit-generic.c: Likewise.
26387 * iconvdata/cp737.h: Likewise.
26388 * iconvdata/cp775.h: Likewise.
26389 * iconvdata/ibm1008.h: Likewise.
26390 * iconvdata/ibm1025.h: Likewise.
26391 * iconvdata/ibm1046.h: Likewise.
26392 * iconvdata/ibm1097.h: Likewise.
26393 * iconvdata/ibm1112.h: Likewise.
26394 * iconvdata/ibm1122.h: Likewise.
26395 * iconvdata/ibm1123.h: Likewise.
26396 * iconvdata/ibm1124.h: Likewise.
26397 * iconvdata/ibm1129.h: Likewise.
26398 * iconvdata/ibm1130.h: Likewise.
26399 * iconvdata/ibm1132.h: Likewise.
26400 * iconvdata/ibm1133.h: Likewise.
26401 * iconvdata/ibm1137.h: Likewise.
26402 * iconvdata/ibm1140.h: Likewise.
26403 * iconvdata/ibm1141.h: Likewise.
26404 * iconvdata/ibm1142.h: Likewise.
26405 * iconvdata/ibm1143.h: Likewise.
26406 * iconvdata/ibm1144.h: Likewise.
26407 * iconvdata/ibm1145.h: Likewise.
26408 * iconvdata/ibm1146.h: Likewise.
26409 * iconvdata/ibm1147.h: Likewise.
26410 * iconvdata/ibm1148.h: Likewise.
26411 * iconvdata/ibm1149.h: Likewise.
26412 * iconvdata/ibm1153.h: Likewise.
26413 * iconvdata/ibm1154.h: Likewise.
26414 * iconvdata/ibm1155.h: Likewise.
26415 * iconvdata/ibm1156.h: Likewise.
26416 * iconvdata/ibm1157.h: Likewise.
26417 * iconvdata/ibm1158.h: Likewise.
26418 * iconvdata/ibm1160.h: Likewise.
26419 * iconvdata/ibm1161.h: Likewise.
26420 * iconvdata/ibm1162.h: Likewise.
26421 * iconvdata/ibm1163.h: Likewise.
26422 * iconvdata/ibm1164.h: Likewise.
26423 * iconvdata/ibm1166.h: Likewise.
26424 * iconvdata/ibm1167.h: Likewise.
26425 * iconvdata/ibm12712.h: Likewise.
26426 * iconvdata/ibm1390.h: Likewise.
26427 * iconvdata/ibm1399.h: Likewise.
26428 * iconvdata/ibm16804.h: Likewise.
26429 * iconvdata/ibm4517.h: Likewise.
26430 * iconvdata/ibm4899.h: Likewise.
26431 * iconvdata/ibm4909.h: Likewise.
26432 * iconvdata/ibm4971.h: Likewise.
26433 * iconvdata/ibm5347.h: Likewise.
26434 * iconvdata/ibm803.h: Likewise.
26435 * iconvdata/ibm856.h: Likewise.
26436 * iconvdata/ibm901.h: Likewise.
26437 * iconvdata/ibm902.h: Likewise.
26438 * iconvdata/ibm9030.h: Likewise.
26439 * iconvdata/ibm9066.h: Likewise.
26440 * iconvdata/ibm921.h: Likewise.
26441 * iconvdata/ibm922.h: Likewise.
26442 * iconvdata/ibm9448.h: Likewise.
26443 * iconvdata/isiri-3342.h: Likewise.
26444 * iconvdata/jis0201.h: Likewise.
26445 * include/link.h: Likewise.
26446 * include/netdb.h: Likewise.
26447 * inet/check_native.c: Likewise.
26448 * inet/check_pf.c: Likewise.
26449 * inet/getipv4sourcefilter.c: Likewise.
26450 * inet/getnameinfo.c: Likewise.
26451 * inet/getsourcefilter.c: Likewise.
26452 * inet/htonl.c: Likewise.
26453 * inet/setipv4sourcefilter.c: Likewise.
26454 * inet/setsourcefilter.c: Likewise.
26455 * inet/test-inet6_opt.c: Likewise.
26456 * inet/tst-network.c: Likewise.
26457 * locale/C-collate.c: Likewise.
26458 * locale/C-ctype.c: Likewise.
26459 * locale/C-time.c: Likewise.
26460 * locale/C-translit.h: Likewise.
26461 * locale/loadarchive.c: Likewise.
26462 * locale/programs/3level.h: Likewise.
26463 * locale/programs/charmap.c: Likewise.
26464 * locale/programs/charmap.h: Likewise.
26465 * locale/programs/ld-address.c: Likewise.
26466 * locale/programs/ld-collate.c: Likewise.
26467 * locale/programs/ld-ctype.c: Likewise.
26468 * locale/programs/ld-identification.c: Likewise.
26469 * locale/programs/ld-measurement.c: Likewise.
26470 * locale/programs/ld-messages.c: Likewise.
26471 * locale/programs/ld-monetary.c: Likewise.
26472 * locale/programs/ld-name.c: Likewise.
26473 * locale/programs/ld-numeric.c: Likewise.
26474 * locale/programs/ld-paper.c: Likewise.
26475 * locale/programs/ld-telephone.c: Likewise.
26476 * locale/programs/ld-time.c: Likewise.
26477 * locale/programs/linereader.c: Likewise.
26478 * locale/programs/locale.c: Likewise.
26479 * locale/programs/locarchive.c: Likewise.
26480 * locale/programs/locfile.h: Likewise.
26481 * locale/programs/repertoire.c: Likewise.
26482 * locale/programs/simple-hash.c: Likewise.
26483 * locale/programs/simple-hash.h: Likewise.
26484 * malloc/memusage.c: Likewise.
26485 * malloc/memusagestat.c: Likewise.
26486 * nis/nis_defaults.c: Likewise.
26487 * nis/nis_hash.c: Likewise.
26488 * nis/nis_print.c: Likewise.
26489 * nis/nis_xdr.c: Likewise.
26490 * nscd/connections.c: Likewise.
26491 * nscd/hstcache.c: Likewise.
26492 * nscd/nscd_gethst_r.c: Likewise.
26493 * nscd/nscd_getserv_r.c: Likewise.
26494 * nscd/nscd_helper.c: Likewise.
26495 * nscd/servicescache.c: Likewise.
26496 * nss/makedb.c: Likewise.
26497 * nss/nss_db/db-XXX.c: Likewise.
26498 * nss/nss_db/db-initgroups.c: Likewise.
26499 * nss/nss_db/db-netgrp.c: Likewise.
26500 * nss/nss_files/files-network.c: Likewise.
26501 * nss/nss_files/files-parse.c: Likewise.
26502 * posix/bug-regex5.c: Likewise.
26503 * posix/fnmatch_loop.c: Likewise.
26504 * posix/regcomp.c: Likewise.
26505 * posix/regexec.c: Likewise.
26506 * posix/tst-rfc3484-2.c: Likewise.
26507 * posix/tst-rfc3484-3.c: Likewise.
26508 * posix/tst-rfc3484.c: Likewise.
26509 * resolv/nss_dns/dns-canon.c: Likewise.
26510 * resolv/nss_dns/dns-network.c: Likewise.
26511 * resolv/res_init.c: Likewise.
26512 * resolv/res_mkquery.c: Likewise.
26513 * resolv/tst-aton.c: Likewise.
26514 * stdlib/cxa_atexit.c: Likewise.
26515 * stdlib/cxa_finalize.c: Likewise.
26516 * stdlib/gen-fpioconst.c: Likewise.
26517 * stdlib/strtol_l.c: Likewise.
26518 * string/tst-endian.c: Likewise.
26519 * sunrpc/auth_des.c: Likewise.
26520 * sunrpc/clnt_udp.c: Likewise.
26521 * sunrpc/rtime.c: Likewise.
26522 * sunrpc/svcauth_des.c: Likewise.
26523 * sunrpc/xdr.c: Likewise.
26524 * sunrpc/xdr_intXX_t.c: Likewise.
26525 * sunrpc/xdr_rec.c: Likewise.
26526 * sysdeps/generic/ldconfig.h: Likewise.
26527 * sysdeps/generic/ldsodefs.h: Likewise.
26528 * sysdeps/generic/memusage.h: Likewise.
26529 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26532 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26538 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26539 * sysdeps/posix/getaddrinfo.c: Likewise.
26540 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26541 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26542 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26543 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26544 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26545 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26546 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26547 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26548 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26549 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26550 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26551 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26552 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26553 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26554 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26555 * sysdeps/x86_64/dl-tls.h: Likewise.
26556 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26557 * time/alt_digit.c: Likewise.
26558 * time/era.c: Likewise.
26559 * wcsmbs/tst-c16c32-1.c: Likewise.
26561 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26563 * math/libm-test.inc (struct test_sincos_data): New type.
26564 (RUN_TEST_LOOP_sincos): New macro.
26565 (sincos_test_data): New variable.
26566 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26568 2013-05-16 Richard Henderson <rth@redhat.com>
26570 * math/atest-exp2.c (LIMB64): New macro.
26571 (CONSTSZ): New macro.
26572 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26574 (print_mpn_fp): ... to function scope.
26575 (read_mpn_hex): Remove.
26576 (get_log2): Remove.
26577 (exp2_mpn): Use mp_log2.
26578 (main): Use mp_exp1.
26580 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26582 * math/libm-test.inc: Remove comment about not testing "inexact"
26584 (INEXACT_EXCEPTION): New macro.
26585 (NO_INEXACT_EXCEPTION): Likewise.
26586 (INVALID_EXCEPTION_OK): Update value.
26587 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26588 (OVERFLOW_EXCEPTION_OK): Likewise.
26589 (UNDERFLOW_EXCEPTION_OK): Likewise.
26590 (IGNORE_ZERO_INF_SIGN): Likewise.
26591 (ERRNO_UNCHANGED): Likewise.
26592 (ERRNO_EDOM): Likewise.
26593 (ERRNO_ERANGE): Likewise.
26594 (test_exceptions): Handle testing "inexact" exceptions.
26595 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26596 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26597 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26598 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26600 (rint_towardzero_test_data): Likewise.
26601 (rint_downward_test_data): Likewise.
26602 (rint_upward_test_data): Likewise.
26604 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26605 with OVERFLOW_EXCEPTION.
26606 (exp10_test_data): Likewise.
26607 (exp2_test_data): Likewise.
26608 (expm1_test_data): Likewise.
26609 (lgamma_test_data): Likewise.
26610 (pow_test_data): Likewise.
26611 (tgamma_test_data): Likewise.
26612 (yn_test_data): Remove duplicate test of overflow.
26614 * math/libm-test.inc (struct test_cc_c_data): New type.
26615 (RUN_TEST_LOOP_cc_c): New macro.
26616 (cpow_test_data): New variable.
26617 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26619 * math/libm-test.inc (struct test_f_L_data): New type.
26620 (RUN_TEST_LOOP_f_L): New macro.
26621 (llrint_test_data): New variable.
26622 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26623 (llrint_tonearest_test_data): New variable.
26624 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26625 (llrint_towardzero_test_data): New variable.
26626 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26627 (llrint_downward_test_data): New variable.
26628 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26629 (llrint_upward_test_data): New variable.
26630 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26631 (llround_test_data): New variable.
26632 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26634 2013-05-13 Peter Collingbourne <pcc@google.com>
26636 * math/atest-exp2.c (get_log2): Remove const attribute.
26638 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26640 * math/libm-test.inc (struct test_f_l_data): New type.
26641 (RUN_TEST_LOOP_f_l): New macro.
26642 (lrint_test_data): New variable.
26643 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26644 (lrint_tonearest_test_data): New variable.
26645 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26646 (lrint_towardzero_test_data): New variable.
26647 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26648 (lrint_downward_test_data): New variable.
26649 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26650 (lrint_upward_test_data): New variable.
26651 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26652 (lround_test_data): New variable.
26653 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26655 2013-05-15 Peter Collingbourne <pcc@google.com>
26657 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26658 (EXTRACT_WORDS64) Use where appropriate.
26659 (INSERT_WORDS64) Likewise.
26661 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26662 constraints with x constraints.
26663 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26665 * malloc/obstack.c (_obstack_compat): Add initializer.
26667 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26670 si_trapno and add si_addr_lsb to _sifields.sigfault.
26671 (si_trapno): Remove macro.
26672 (si_addr_lsb): Define new macro.
26673 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26675 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26677 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26678 instead of TEST_f_l.
26679 (llrint_test_tonearest): Likewise.
26680 (llrint_test_towardzero): Likewise.
26681 (llrint_test_downward): Likewise.
26682 (llrint_test_upward): Likewise.
26683 (llround_test): Likewise.
26685 * math/libm-test.inc (struct test_f_i_data): Add comment.
26686 (RUN_TEST_LOOP_f_b): New macro.
26687 (RUN_TEST_LOOP_f_b_tg): Likewise.
26688 (finite_test_data): New variable.
26689 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26690 (isfinite_test_data): New variable.
26691 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26692 (isinf_test_data): New variable.
26693 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26694 (isnan_test_data): New variable.
26695 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26696 (isnormal_test_data): New variable.
26697 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26698 (issignaling_test_data): New variable.
26699 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26700 (signbit_test_data): New variable.
26701 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26703 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26704 with INVALID_EXCEPTION.
26705 (acosh_test_data): Likewise.
26706 (asin_test_data): Likewise.
26707 (atanh_test_data): Likewise.
26708 (fmod_test_data): Likewise.
26709 (log_test_data): Likewise.
26710 (log10_test_data): Likewise.
26711 (log2_test_data): Likewise.
26712 (pow_test_data): Likewise.
26713 (sqrt_test_data): Likewise.
26714 (y0_test_data): Likewise.
26715 (y1_test_data): Likewise.
26716 (yn_test_data): Likewise.
26718 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26721 * math/libm-test.inc (struct test_ff_i_data): New type.
26722 (RUN_TEST_LOOP_ff_i_tg): New macro.
26723 (isgreater_test_data): New variable.
26724 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26725 (isgreaterequal_test_data): New variable.
26726 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26727 (isless_test_data): New variable.
26728 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26729 (islessequal_test_data): New variable.
26730 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26731 (islessgreater_test_data): New variable.
26732 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26733 (isunordered_test_data): New variable.
26734 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26736 2013-05-14 David S. Miller <davem@davemloft.net>
26738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26740 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26742 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26744 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26746 (struct test_f_i_data): Change type of max_ulp to int.
26748 * math/libm-test.inc (test_ffI_f1_data): New type.
26749 (RUN_TEST_LOOP_ffI_f1): New macro.
26750 (remquo_test_data): New variable.
26751 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26753 * setjmp/tst-setjmp-fp.c: New file.
26754 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26755 (link-libm): New variable.
26756 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26758 * math/libm-test.inc (struct test_f_i_data): New type.
26759 (RUN_TEST_LOOP_f_i): New macro.
26760 (RUN_TEST_LOOP_f_i_tg): Likewise.
26761 (fpclassify_test_data): New variable.
26762 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26763 (ilogb_test_data): New variable.
26764 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26766 * math/libm-test.inc (scalbln_test): Correct function name in END
26769 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26770 (RUN_TEST_LOOP_fI_f1): New macro.
26771 (frexp_test_data): New variable.
26772 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26774 * math/libm-test.inc (struct test_fF_f1_data): New type.
26775 (RUN_TEST_LOOP_fF_f1): New macro.
26776 (modf_test_data): New variable.
26777 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26779 * math/libm-test.inc (struct test_f_f1_data): New type.
26780 (RUN_TEST_LOOP_f_f1): New macro.
26781 (gamma_test_data): New variable.
26782 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26783 (lgamma_test_data): New variable.
26784 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26786 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26788 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26789 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26790 (main): Comment "tls" pseudo-hwcap.
26792 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26794 * math/libm-test.inc (struct test_fl_f_data): New type.
26795 (RUN_TEST_LOOP_fl_f): New variable.
26796 (scalbln_test_data): New variable.
26797 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26799 * math/libm-test.inc (struct test_fi_f_data): New type.
26800 (RUN_TEST_LOOP_fi_f): New macro.
26801 (ldexp_test_data): New variable.
26802 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26803 (scalbn_test_data): New variable.
26804 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26806 * math/libm-test.inc (struct test_c_f_data): New type.
26807 (RUN_TEST_LOOP_c_f): New macro.
26808 (cabs_test_data): New variable.
26809 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26810 (carg_test_data): New variable.
26811 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26812 (cimag_test_data): New variable.
26813 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26814 (creal_test_data): New variable.
26815 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26817 * math/libm-test.inc (struct test_if_f_data): New type.
26818 (RUN_TEST_LOOP_if_f): New macro.
26819 (jn_test_data): New variable.
26820 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26821 (yn_test_data): New variable.
26822 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26824 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26826 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26828 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26829 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26831 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26833 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26834 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26835 (bench-deps): Add bench-timing.h.
26836 * benchtests-bench-skeleton.c: Include bench-timing.h.
26837 (main): Use TIMING_* macros instead of clock_gettime.
26838 * benchtests/bench-timing.h: New file.
26841 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26842 Renamed from _LIB_VERSION.
26843 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26845 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26847 * math/libm-test.inc (struct test_fff_f_data): New type.
26848 (RUN_TEST_LOOP_fff_f): New macro.
26849 (fma_test_data): New variable.
26850 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26851 (fma_towardzero_test_data): New variable.
26852 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26853 (fma_downward_test_data): New variable.
26854 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26855 (fma_upward_test_data): New variable.
26856 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26858 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26859 (struct test_c_c_data): New type.
26860 (RUN_TEST_LOOP_c_c): New macro.
26861 (cacos_test_data): New variable.
26862 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26863 (cacosh_test_data): New variable.
26864 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26865 (casin_test_data): New variable.
26866 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26867 (casinh_test_data): New variable.
26868 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26869 (catan_test_data): New variable.
26870 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26871 (catanh_test_data): New variable.
26872 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26873 (ccos_test_data): New variable.
26874 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26875 (ccosh_test_data): New variable.
26876 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26877 (cexp_test_data): New variable.
26878 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26879 (clog_test_data): New variable.
26880 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26881 (clog10_test_data): New variable.
26882 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26883 (conj_test_data): New variable.
26884 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26885 (cproj_test_data): New variable.
26886 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26887 (csin_test_data): New variable.
26888 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26889 (csinh_test_data): New variable.
26890 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26891 (csqrt_test_data): New variable.
26892 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26893 (ctan_test_data): New variable.
26894 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26895 (ctan_tonearest_test_data): New variable.
26896 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26897 (ctan_towardzero_test_data): New variable.
26898 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26899 (ctan_downward_test_data): New variable.
26900 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26901 (ctan_upward_test_data): New variable.
26902 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26903 (ctanh_test_data): New variable.
26904 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26905 (ctanh_tonearest_test_data): New variable.
26906 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26907 (ctanh_towardzero_test_data): New variable.
26908 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26909 (ctanh_downward_test_data): New variable.
26910 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26911 (ctanh_upward_test_data): New variable.
26912 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26913 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26916 * math/libm-test.inc (struct test_ff_f_data): New type.
26917 (struct test_ff_f_data_nexttoward): Likewise.
26918 (RUN_TEST_LOOP_2_f): New macro.
26919 (RUN_TEST_LOOP_ff_f): Likewise.
26920 (atan2_test_data): New variable.
26921 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26922 (copysign_test_data): New variable.
26923 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26924 (fdim_test_data): New variable.
26925 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26926 (fmax_test_data): New variable.
26927 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26928 (fmin_test_data): New variable.
26929 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26930 (fmod_test_data): New variable.
26931 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26932 (hypot_test_data): New variable.
26933 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26934 (nextafter_test_data): New variable.
26935 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26936 (nexttoward_test_data): New variable.
26937 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26938 (pow_test_data): New variable.
26939 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26940 (pow_tonearest_test_data): New variable.
26941 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26942 (pow_towardzero_test_data): New variable.
26943 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26944 (pow_downward_test_data): New variable.
26945 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26946 (pow_upward_test_data): New variable.
26947 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26948 (remainder_test_data): New variable.
26949 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26950 (scalb_test_data): New variable.
26951 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26952 * sysdeps/i386/fpu/libm-test-ulps: Update.
26954 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26956 * math/libm-test.inc (fma_test): Use max_value instead of local
26958 (nextafter_test): Likewise.
26960 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26961 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26962 (acos_downward_test_data): New variable.
26963 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26964 (acos_upward_test_data): New variable.
26965 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26966 (acosh_test_data): New variable.
26967 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26968 (asin_test_data): New variable.
26969 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26970 (asin_tonearest_test_data): New variable.
26971 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26972 (asin_towardzero_test_data): New variable.
26973 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26974 (asin_downward_test_data): New variable.
26975 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26976 (asin_upward_test_data): New variable.
26977 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26978 (asinh_test_data): New variable.
26979 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26980 (atan_test_data): New variable.
26981 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26982 (atanh_test_data): New variable.
26983 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26984 (cbrt_test_data): New variable.
26985 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26986 (ceil_test_data): New variable.
26987 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26988 (cos_test_data): New variable.
26989 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26990 (cos_tonearest_test_data): New variable.
26991 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26992 (cos_towardzero_test_data): New variable.
26993 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26994 (cos_downward_test_data): New variable.
26995 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26996 (cos_upward_test_data): New variable.
26997 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26998 (cosh_test_data): New variable.
26999 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27000 (cosh_tonearest_test_data): New variable.
27001 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27002 (cosh_towardzero_test_data): New variable.
27003 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27004 (cosh_downward_test_data): New variable.
27005 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27006 (cosh_upward_test_data): New variable.
27007 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27008 (erf_test_data): New variable.
27009 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27010 (erfc_test_data): New variable.
27011 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27012 (exp_test_data): New variable.
27013 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27014 (exp_tonearest_test_data): New variable.
27015 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27016 (exp_towardzero_test_data): New variable.
27017 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27018 (exp_downward_test_data): New variable.
27019 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27020 (exp_upward_test_data): New variable.
27021 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27022 (exp10_test_data): New variable.
27023 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27024 (exp2_test_data): New variable.
27025 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27026 (expm1_test_data): New variable.
27027 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27028 (fabs_test_data): New variable.
27029 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27030 (floor_test_data): New variable.
27031 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27032 (j0_test_data): New variable.
27033 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27034 (j1_test_data): New variable.
27035 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27036 (log_test_data): New variable.
27037 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27038 (log10_test_data): New variable.
27039 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27040 (log1p_test_data): New variable.
27041 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27042 (log2_test_data): New variable.
27043 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27044 (logb_test_data): New variable.
27045 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27046 (logb_downward_test_data): New variable.
27047 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27048 (nearbyint_test_data): New variable.
27049 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27050 (rint_test_data): New variable.
27051 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27052 (rint_tonearest_test_data): New variable.
27053 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27054 (rint_towardzero_test_data): New variable.
27055 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27056 (rint_downward_test_data): New variable.
27057 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27058 (rint_upward_test_data): New variable.
27059 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27060 (round_test_data): New variable.
27061 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27062 (sin_test_data): New variable.
27063 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27064 (sin_tonearest_test_data): New variable.
27065 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27066 (sin_towardzero_test_data): New variable.
27067 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27068 (sin_downward_test_data): New variable.
27069 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27070 (sin_upward_test_data): New variable.
27071 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27072 (sinh_test_data): New variable.
27073 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27074 (sinh_tonearest_test_data): New variable.
27075 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27076 (sinh_towardzero_test_data): New variable.
27077 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27078 (sinh_downward_test_data): New variable.
27079 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27080 (sinh_upward_test_data): New variable.
27081 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27082 (sqrt_test_data): New variable.
27083 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27084 (tan_test_data): New variable.
27085 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27086 (tan_tonearest_test_data): New variable.
27087 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27088 (tan_towardzero_test_data): New variable.
27089 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27090 (tan_downward_test_data): New variable.
27091 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27092 (tan_upward_test_data): New variable.
27093 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27094 (tanh_test_data): New variable.
27095 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27096 (tgamma_test_data): New variable.
27097 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27098 (trunc_test_data): New variable.
27099 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27100 (y0_test_data): New variable.
27101 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27102 (y1_test_data): New variable.
27103 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27104 (significand_test_data): New variable.
27105 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27107 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27110 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27112 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27114 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27116 2013-05-10 Andreas Jaeger <aj@suse.de>
27119 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27120 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27122 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27124 * math/gen-libm-test.pl (adjust_arg): New function.
27125 (special_functions): Handle generating output in both functions
27127 (parse_args): Likewise.
27128 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27129 $in_func argument to parse_args.
27130 * math/libm-test.inc (struct test_f_f_data): New type.
27131 (IF_ROUND_INIT_): New macro.
27132 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27133 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27134 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27135 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27136 (ROUND_RESTORE_): Likewise.
27137 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27138 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27139 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27140 (ROUND_RESTORE_FE_UPWARD): Likewise.
27141 (RUN_TEST_LOOP_f_f): New macro.
27142 (acos_test_data): New variable.
27143 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27144 (acos_tonearest_test_data): New variable.
27145 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27147 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27149 * benchtests/bench-skeleton.c (startup): Fix coding style.
27151 2013-05-10 Joseph Myers <joseph@codesourcery.com>
27154 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27155 negative infinity argument.
27156 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27157 negative infinity argument.
27158 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27159 negative infinity argument.
27160 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27163 2013-05-10 Florian Weimer <fweimer@redhat.com>
27165 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27166 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27167 * iconv/iconv_prog.c (main): Likewise.
27168 * locale/programs/charmap-dir.c (charmap_readdir)
27169 (fopen_uncompressed): Likewise.
27170 * locale/programs/locfile.c (siblings_uncached)
27171 (write_locale_data): Use lstat64 instead of lstat.
27172 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27175 2013-05-10 Andreas Jaeger <aj@suse.de>
27178 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27180 Include <locale.h>.
27182 2013-05-09 Carlos O'Donell <carlos@redhat.com>
27184 * elf/dl-close.c (_dl_close_worker): Add comments.
27186 2013-05-09 Joseph Myers <joseph@codesourcery.com>
27189 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27191 (__ieee754_rem_pio2l): Update comments.
27194 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27196 (__ieee754_rem_pio2l): Update comments.
27198 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27199 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27201 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27204 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27205 (M_PI_34_LOG10El): Likewise.
27206 (M_PI2_LOG10El): Likewise.
27207 (M_PI4_LOG10El): Likewise.
27208 (M_PI_LOG10El): Likewise.
27210 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27214 2013-05-08 Joseph Myers <joseph@codesourcery.com>
27216 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27217 (MINUS_ZERO_INIT): Likewise.
27218 (PLUS_INFTY_INIT): Likewise.
27219 (MINUS_INFTY_INIT): Likewise.
27220 (QNAN_VALUE_INIT): Likewise.
27221 (MAX_VALUE_INIT): Likewise.
27222 (MIN_VALUE_INIT): Likewise.
27223 (MIN_SUBNORM_VALUE_INIT): Likewise.
27224 (plus_zero): Initialize with PLUS_ZERO_INIT.
27225 (minus_zero): Initialize with MINUS_ZERO_INIT.
27226 (plus_infty): Initialize with PLUS_INFTY_INIT.
27227 (minus_infty): Initialize with MINUS_INFTY_INIT.
27228 (qnan_value): Initialize with QNAN_VALUE_INIT.
27229 (max_value): Initialize with MAX_VALUE_INIT.
27230 (min_value): Initialize with MIN_VALUE_INIT.
27231 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27233 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27234 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27235 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27236 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27238 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27239 (RUN_TEST_2_f): Likewise.
27240 (RUN_TEST_ff_f): Likewise.
27241 (RUN_TEST_fi_f): Likewise.
27242 (RUN_TEST_fl_f): Likewise.
27243 (RUN_TEST_fff_f): Likewise.
27244 (RUN_TEST_c_f): Likewise.
27245 (RUN_TEST_f_f1): Likewise.
27246 (RUN_TEST_fF_f1): Likewise.
27247 (RUN_TEST_fI_f1): Likewise.
27248 (RUN_TEST_ffI_f1): Likewise.
27249 (RUN_TEST_c_c): Likewise.
27250 (RUN_TEST_cc_c): Likewise.
27251 (RUN_TEST_f_i): Likewise.
27252 (RUN_TEST_f_i_tg): Likewise.
27253 (RUN_TEST_ff_i_tg): Likewise.
27254 (RUN_TEST_f_b): Likewise.
27255 (RUN_TEST_f_b_tg): Likewise.
27256 (RUN_TEST_f_l): Likewise.
27257 (RUN_TEST_f_L): Likewise.
27258 (RUN_TEST_sincos): Likewise.
27259 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27260 whether to show exceptions. Do not include ");\n" in return
27262 (special_functions): Output call to RUN_TEST_sincos instead of
27263 check_float calls. Update calls to new_test.
27264 (parse_args): Output call to single RUN_TEST_* macro instead of
27265 check_* calls and other assignments. Update calls to new_test.
27271 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27272 input to result for tgamma overflow.
27273 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27274 (gamma_coeff): New variable.
27275 (NCOEFF): New macro.
27276 (gamma_positive): New function.
27277 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27278 underflow here. Use gamma_positive instead of exp (lgamma) for
27280 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27281 (gamma_coeff): New variable.
27282 (NCOEFF): New macro.
27283 (gammaf_positive): New function.
27284 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27285 underflow here. Use gamma_positive instead of exp (lgamma) for
27287 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27288 (gamma_coeff): New variable.
27289 (NCOEFF): New macro.
27290 (gammal_positive): New function.
27291 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27292 underflow here. Use gamma_positive instead of exp (lgamma) for
27294 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27295 (gamma_coeff): New variable.
27296 (NCOEFF): New macro.
27297 (gammal_positive): New function.
27298 (__ieee754_gammal_r): Handle positive infinity, overflow and
27299 underflow here. Handle NaN the same as positive infinity. Remove
27300 check x < 0xffffffff for negative integers. Use gamma_positive
27301 instead of exp (lgamma) for other arguments.
27302 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27303 (gamma_coeff): New variable.
27304 (NCOEFF): New macro.
27305 (gammal_positive): New function.
27306 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27307 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27311 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27312 * sysdeps/generic/math_private.h (__gamma_productf): New
27314 (__gamma_product): Likewise.
27315 (__gamma_productl): Likewise.
27316 * math/Makefile (libm-calls): Add gamma_product.
27317 * math/libm-test.inc (tgamma_test): Add more tests.
27318 * sysdeps/i386/fpu/libm-test-ulps: Update.
27319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27321 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27323 * benchtests/bench-skeleton.c (main): Preheat CPU.
27325 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27327 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27329 2013-05-07 Roland McGrath <roland@hack.frob.com>
27331 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27332 and _dl_skip_args_internal.
27334 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27336 * manual/message.texi (Message Translation): Talk about users.
27337 Message to key mapping impacts design.
27339 2013-05-06 Roland McGrath <roland@hack.frob.com>
27341 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27343 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27345 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27346 * sysdeps/wordsize-64/glob64.c: ... here.
27348 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27349 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27352 * debug/getlogin_r_chk.c: Moved to ...
27353 * login/getlogin_r_chk.c: ... here.
27354 * debug/Makefile (routines): Move getlogin_r_chk to ...
27355 * login/Makefile (routines): ... here.
27356 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27357 * login/Versions (libc: GLIBC_2.4): ... here.
27359 * io/poll.c (__poll): Renamed from poll.
27360 Add libc_hidden_def.
27361 (poll): Define as weak alias.
27363 * debug/ptsname_r_chk.c: Moved to ...
27364 * login/ptsname_r_chk.c: ... here.
27365 * debug/Makefile (routines): Move ptsname_r_chk to ...
27366 * login/Makefile (routines): ... here.
27367 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27368 * login/Versions (libc: GLIBC_2.4): ... here.
27370 * posix/getlogin.c: Moved to ...
27371 * login/getlogin.c: ... here.
27372 * posix/getlogin_r.c: Moved to ...
27373 * login/getlogin_r.c: ... here.
27374 * posix/getlogin_r.c: Moved to ...
27375 * login/getlogin_r.c: ... here.
27376 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27377 * login/Makefile (routines): ... here.
27378 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27379 * login/Versions (libc: GLIBC_2.0): ... here.
27381 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27382 (setrlimit): Define as weak alias.
27384 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27385 Call __ names for open, ftruncate, and close.
27386 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27387 (truncate): Define as weak alias.
27389 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27391 * math/gen-libm-test.pl (parse_args): Initialize x before each
27392 test of frexp, modf and remquo.
27394 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27395 test signgam value.
27397 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27401 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27403 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27405 2013-05-06 Roland McGrath <roland@hack.frob.com>
27407 * elf/dl-writev.h: New file.
27408 * elf/dl-misc.c: Include it.
27409 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27410 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27412 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27414 * math/libm-test.inc (noXFails): Remove variable.
27415 (noXPasses): Likewise.
27416 (BUILD_COMPLEX_INT): Remove macro.
27417 (print_screen): Remove xfail argument.
27418 (print_screen_max_error): Likewise.
27419 (update_stats): Likewise.
27420 (print_max_error): Likewise. Update calls to other affected
27422 (print_complex_max_error): Likewise.
27423 (test_single_exception): Update calls to print_screen.
27424 (test_single_errno): Likewise.
27425 (check_float_internal): Remove xfail argument. Update calls to
27426 other affected functions.
27427 (check_float): Likewise.
27428 (check_complex): Likewise.
27429 (check_int): Likewise.
27430 (check_long): Likewise.
27431 (check_bool): Likewise.
27432 (check_longlong): Likewise.
27433 (main): Don't print noXFails and noXPasses.
27434 * math/gen-libm-test.pl (top level): Don't mention expected
27435 failure handling in comment.
27436 (new_test): Don't handle expected failures.
27437 (parse_args): Don't mention expected failure handling in comment.
27438 (generate_testfile): Don't handle expected failures.
27439 (parse_ulps): Likewise.
27440 (print_ulps_file): Likewise.
27441 (get_failure): Remove function.
27442 (output_test): Don't handle expected failures.
27443 * make/README.libm-test: Don't mention expected failure handling.
27445 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27446 (minus_zero): Likewise.
27447 (plus_infty): Likewise.
27448 (minus_infty): Likewise.
27449 (qnan_value): Likewise.
27450 (max_value): Likewise.
27451 (min_value): Likewise.
27452 (min_subnorm_value): Likewise.
27453 (initialize): Do not initialize those variables dynamically.
27455 2013-05-03 Roland McGrath <roland@hack.frob.com>
27457 * io/open.c (__open_2): Moved to ...
27458 * io/open_2.c: ... this new file.
27459 * io/open64.c (__open64_2): Moved to ...
27460 * io/open64_2.c: ... this new file.
27461 * io/openat.c (__openat_2): Moved to ...
27462 * io/openat_2.c: ... this new file.
27463 * io/openat64.c (__openat64_2): Moved to ...
27464 * io/openat64_2.c: ... this new file.
27465 * io/Makefile (routines): Add them.
27466 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27467 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27468 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27469 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27470 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27471 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27472 (__openat64): Add hidden_ver.
27473 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27474 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27476 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27477 Separately conditionalize setting of GLRO(dl_sysinfo) so
27478 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27479 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27481 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27483 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27484 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27486 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27487 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27488 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27489 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27490 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27492 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27494 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27495 test signgam value.
27497 * math/libm-test.inc (hypot_test): Do not use
27498 IGNORE_ZERO_INF_SIGN.
27500 2013-05-03 Andreas Jaeger <aj@suse.de>
27502 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27504 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27505 (PF_MAX): Adjust for VSOCK change.
27507 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27511 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27514 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27515 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27516 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27518 2013-05-02 David S. Miller <davem@davemloft.net>
27520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27522 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27524 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27526 2013-05-01 Roland McGrath <roland@hack.frob.com>
27528 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27530 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27533 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27534 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27535 Use __attribute__ ((__gnu_inline__)).
27536 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27537 Don't use __attribute__ ((__gnu_inline__)).
27539 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27542 * math/s_catan.c (__catan): Handle small real or imaginary part of
27543 input specially to avoid spurious underflow.
27544 * math/s_catanf.c (__catanf): Likewise.
27545 * math/s_catanh.c (__catanh): Likewise.
27546 * math/s_catanhf.c (__catanhf): Likewise.
27547 * math/s_catanhl.c (__catanhl): Likewise.
27548 * math/s_catanl.c (__catanl): Likewise.
27549 * math/libm-test.inc (catan_test): Add more tests.
27550 (catanh_test): Likewise.
27551 * sysdeps/i386/fpu/libm-test-ulps: Update.
27552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27554 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27558 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27561 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27562 accurately for denominator in atan2.
27563 * math/s_catanf.c (__catanf): Likewise.
27564 * math/s_catanh.c (__catanh): Likewise.
27565 * math/s_catanhf.c (__catanhf): Likewise.
27566 * math/s_catanhl.c (__catanhl): Likewise.
27567 * math/s_catanl.c (__catanl): Likewise.
27568 * math/libm-test.inc (catan_test): Add more tests.
27569 (catanh_test): Likewise.
27570 * sysdeps/i386/fpu/libm-test-ulps: Update.
27571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27573 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27575 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27577 * benchtests/Makefile (bench): Remove slow benchmarks.
27578 * benchtests/atan-inputs: Add slow benchmark inputs.
27579 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27580 (BENCH_FUNC): Accept variant offset.
27582 * benchtests/bench-skeleton.c (main): Run benchmark for each
27584 * benchtests/cos-inputs: Add slow benchmark inputs.
27585 * benchtests/exp-inputs: Likewise.
27586 * benchtests/pow-inputs: Likewise.
27587 * benchtests/sin-inputs: Likewise.
27588 * benchtests/slowatan-inputs: Remove.
27589 * benchtests/slowatan.c: Remove.
27590 * benchtests/slowcos-inputs: Remove.
27591 * benchtests/slowcos.c: Remove.
27592 * benchtests/slowexp-inputs: Remove.
27593 * benchtests/slowexp.c: Remove.
27594 * benchtests/slowpow-inputs: Remove.
27595 * benchtests/slowpow.c: Remove.
27596 * benchtests/slowsin-inputs: Remove.
27597 * benchtests/slowsin.c: Remove.
27598 * benchtests/slowtan-inputs: Remove.
27599 * benchtests/slowtan.c: Remove.
27600 * benchtests/tan-inputs: Add slow benchmark inputs.
27601 * scripts/bench.pl: Parse comments and directives.
27603 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27605 ($(objpfx)bench-%.c): Remove *-ITER.
27606 * benchtests/bench-modf.c: Remove definition of ITER.
27607 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27608 (main): Loop for DURATION seconds instead of fixed number of
27610 * scripts/bench.pl: Don't expect iterations in parameters.
27612 2013-04-29 Roland McGrath <roland@hack.frob.com>
27614 * io/fchdir.c (__fchdir): Renamed from fchdir.
27615 (fchdir): Define as weak alias.
27617 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27619 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27620 (ERRNO_EDOM): Likewise.
27621 (ERRNO_ERANGE): Likewise.
27622 (noErrnoTests): New variable.
27623 (init_max_error): Set errno to 0.
27624 (test_single_errno): New function.
27625 (test_errno): Likewise.
27626 (check_float_internal): Call test_errno. Set errno to 0.
27627 (check_complex): Refer to errno tests in comment.
27628 (check_int): Call test_errno. Set errno to 0.
27629 (check_long): Likewise.
27630 (check_bool): Likewise.
27631 (check_longlong): Likewise.
27632 (cos_test): Use ERRNO_* flags for errno tests instead of
27634 (expm1_test): Likewise.
27635 (fmod_test): Likewise.
27636 (ilogb_test): Likewise.
27637 (lgamma_test): Likewise.
27638 (pow_test): Likewise.
27639 (remainder_test): Likewise.
27640 (sin_test): Likewise.
27641 (tan_test): Likewise.
27642 (yn_test): Likewise.
27643 (initialize): Set errno to 0.
27644 (main): Print number of errno tests.
27645 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27647 2013-04-29 Andreas Jaeger <aj@suse.de>
27650 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27654 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27655 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27659 * stdlib/random.c (__initstate): Return NULL if
27663 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27664 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27667 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27671 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27673 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27674 of individual tests.
27675 (casin_test): Likewise.
27676 (casinh_test): Likewise.
27678 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27681 * math/s_catan.c (__catan): Handle arguments with large real or
27682 imaginary part separately without squaring.
27683 * math/s_catanf.c (__catanf): Likewise.
27684 * math/s_catanh.c (__catanh): Likewise.
27685 * math/s_catanhf.c (__catanhf): Likewise.
27686 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27688 (__catanhl): Handle arguments with large real or imaginary part
27689 separately without squaring.
27690 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27692 (__catanl): Handle arguments with large real or imaginary part
27693 separately without squaring.
27694 * math/libm-test.inc (catan_test): Add more tests.
27695 (catanh_test): Likewise.
27696 * sysdeps/i386/fpu/libm-test-ulps: Update.
27697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27699 2013-04-27 Andreas Jaeger <aj@suse.de>
27702 * stdlib/stdlib.h: Update guards for qecvt.
27703 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27706 2013-04-27 Allan McRae <allan@archlinux.org>
27708 * sysdeps/i386/fpu/libm-test-ulps: Update.
27710 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27713 * math/s_catan.c: Include <float.h>.
27714 (__catan): Ensure underflow exception occurs for underflowed
27716 * math/s_catanf.c: Include <float.h>.
27717 (__catanf): Ensure underflow exception occurs for underflowed
27719 * math/s_catanh.c: Include <float.h>.
27720 (__catanh): Ensure underflow exception occurs for underflowed
27722 * math/s_catanhf.c: Include <float.h>.
27723 (__catanhf): Ensure underflow exception occurs for underflowed
27725 * math/s_catanhl.c: Include <float.h>.
27726 (__catanhl): Ensure underflow exception occurs for underflowed
27728 * math/s_catanl.c: Include <float.h>.
27729 (__catanl): Ensure underflow exception occurs for underflowed
27731 * math/libm-test.inc (catan_test): Add more tests.
27732 (catanh_test): Likewise.
27735 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27736 underflowed result.
27737 * math/s_ccoshf.c (__ccoshf): Likewise.
27738 * math/s_ccoshl.c (__ccoshl): Likewise.
27739 * math/s_csin.c (__csin): Likewise.
27740 * math/s_csinf.c (__csinf): Likewise.
27741 * math/s_csinh.c (__csinh): Likewise.
27742 * math/s_csinhf.c (__csinhf): Likewise.
27743 * math/s_csinhl.c (__csinhl): Likewise.
27744 * math/s_csinl.c (__csinl): Likewise.
27745 * math/libm-test.inc (ccos_test): Add more tests.
27746 (ccosh_test): Likewise.
27747 (csin_test): Likewise.
27748 (csinh_test): Likewise.
27750 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27752 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27753 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27754 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27755 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27756 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27757 powerpc/power5+/fpu folders.
27758 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27761 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27765 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27767 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27768 additions to variable.
27769 [$(config-machine) = x86_64] (modules-names): Likewise.
27770 ($(objpfx)tst-audit3): Remove dependency.
27771 ($(objpfx)tst-audit3.out): Likewise.
27772 ($(objpfx)tst-audit4): Likewise.
27773 ($(objpfx)tst-audit4.out): Likewise.
27774 ($(objpfx)tst-audit5): Likewise.
27775 ($(objpfx)tst-audit5.out): Likewise.
27776 ($(objpfx)tst-audit6): Likewise.
27777 ($(objpfx)tst-audit6.out): Likewise.
27778 ($(objpfx)tst-audit7): Likewise.
27779 ($(objpfx)tst-audit7.out): Likewise.
27780 (tst-audit3-ENV): Remove variable.
27781 (tst-audit4-ENV): Likewise.
27782 (tst-audit5-ENV): Likewise.
27783 (tst-audit6-ENV): Likewise.
27784 (tst-audit7-ENV): Likewise.
27785 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27786 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27787 addition to variable.
27788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27789 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27790 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27791 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27792 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27793 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27794 tst-audit3, tst-audit4 and tst-audit5.
27795 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27796 tst-audit6 and tst-audit7.
27797 [$(subdir) = elf] (modules-names): Add audit modules for those
27799 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27800 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27801 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27802 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27803 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27804 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27805 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27806 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27807 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27808 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27809 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27810 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27811 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27812 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27813 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27814 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27816 [$(subdir) = elf && $(config-cflags-avx) = yes]
27817 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27818 [$(subdir) = elf && $(config-cflags-avx) = yes]
27819 (CFLAGS-tst-auditmod4a.c): Likewise.
27820 [$(subdir) = elf && $(config-cflags-avx) = yes]
27821 (CFLAGS-tst-auditmod4b.c): Likewise.
27822 [$(subdir) = elf && $(config-cflags-avx) = yes]
27823 (CFLAGS-tst-auditmod6b.c): Likewise.
27824 [$(subdir) = elf && $(config-cflags-avx) = yes]
27825 (CFLAGS-tst-auditmod6c.c): Likewise.
27826 [$(subdir) = elf && $(config-cflags-avx) = yes]
27827 (CFLAGS-tst-auditmod7b.c): Likewise.
27828 * elf/tst-audit3.c: Move to ...
27829 * sysdeps/x86_64/tst-audit3.c: ... here.
27830 * elf/tst-audit4.c: Move to ...
27831 * sysdeps/x86_64/tst-audit4.c: ... here.
27832 * elf/tst-audit5.c: Move to ...
27833 * sysdeps/x86_64/tst-audit5.c: ... here.
27834 * elf/tst-audit6.c: Move to ...
27835 * sysdeps/x86_64/tst-audit6.c: ... here.
27836 * elf/tst-audit7.c: Move to ...
27837 * sysdeps/x86_64/tst-audit7.c: ... here.
27838 * elf/tst-auditmod3a.c: Move to ...
27839 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27840 * elf/tst-auditmod3b.c: Move to ...
27841 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27842 * elf/tst-auditmod4a.c: Move to ...
27843 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27844 * elf/tst-auditmod4b.c: Move to ...
27845 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27846 * elf/tst-auditmod5a.c: Move to ...
27847 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27848 * elf/tst-auditmod5b.c: Move to ...
27849 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27850 * elf/tst-auditmod6a.c: Move to ...
27851 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27852 * elf/tst-auditmod6b.c: Move to ...
27853 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27854 * elf/tst-auditmod6c.c: Move to ...
27855 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27856 * elf/tst-auditmod7a.c: Move to ...
27857 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27858 * elf/tst-auditmod7b.c: Move to ...
27859 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27861 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27864 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27865 define unconditionally.
27866 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27867 define unconditionally.
27868 (INT8_C, INT16_C, etc.): Likewise.
27870 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27872 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27873 __ehdr_start with hidden visibility.
27875 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27877 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27879 * math/libm-test.inc (cos_test): Use accurate hex constants.
27880 (sincost_test): Likewise.
27882 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27884 * math/libm-test.inc (catan_test): Add more tests.
27885 (catanh_test): Likewise.
27887 * math/s_catanf.c (__catanf): Use suffixed floating-point
27889 * math/s_catanhf.c (__catanhf): Likewise.
27890 * math/s_catanhl.c (__catanhl): Likewise.
27891 * math/s_catanl.c (__catanl): Likewise.
27894 * math/s_catan.c (__catan): Calculate imaginary part of result
27895 with log1p not log unless computing log of number close to 0.
27896 * math/s_catanf.c (__catanf): Likewise.
27897 * math/s_catanl.c (__catanl): Likewise.
27898 * math/s_catanh.c (__catanh): Calculate real part of result with
27899 log1p not log unless computing log of number close to 0.
27900 * math/s_catanhf.c (__catanhf): Likewise.
27901 * math/s_catanhl.c (__catanhl): Likewise.
27902 * math/libm-test.inc (catan_test): Add more tests.
27903 (catanh_test): Likewise.
27904 * sysdeps/i386/fpu/libm-test-ulps: Update.
27905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27907 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27909 * benchtests/Makefile: Mention files in which fast and slow
27910 paths of math functions are implemented.
27912 2013-04-23 Roland McGrath <roland@hack.frob.com>
27914 * sysdeps/posix/timespec_get.c: New file.
27916 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27918 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27920 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27922 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27923 powerpc/power5/fpu folders.
27924 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27925 * benchtests/Makefile: Add modf testcase.
27926 * benchtests/bench-modf.c: New file: Benchmark test for mo
27928 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27931 * time/Makefile (tests): Add tst-strptime-whitespace.
27932 * time/strptime_l.c (get_number): Use ISSPACE.
27933 (__strptime_internal): Likewise.
27934 * time/tst-strptime-whitespace.c: New test case.
27936 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27938 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27940 (_nss_files_init): Set it here.
27942 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27944 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27945 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27948 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27950 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27952 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27954 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27957 2013-04-21 David S. Miller <davem@davemloft.net>
27959 * po/ru.po: Update Russion translation from translation project.
27961 2013-04-17 Adam Conrad <adconrad@0c3.net>
27963 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27966 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27968 * configure.in: Remove i386 configure warning. Remove i386 case.
27969 * configure: Regenerate.
27970 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27971 Add example to error message.
27972 * sysdeps/i386/configure: Regenerate.
27974 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27976 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27978 * benchtests/cos-inputs: New file.
27979 * benchtests/slowcos-inputs: New file.
27980 * benchtests/slowcos.c: New file.
27981 * benchtests/slowtan-inputs: New file.
27982 * benchtests/slowtan.c: New file.
27983 * benchtests/tan-inputs: New file.
27985 2013-04-16 Roland McGrath <roland@hack.frob.com>
27987 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27990 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27992 * benchtests/Makefile: Include cppflags-iterator.mk to add
27993 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27995 * Makefile.in (bench-clean): New target.
27996 * benchtests/Makefile (bench-clean): Likewise.
27998 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28000 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28002 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28004 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28006 2013-04-15 Andreas Schwab <schwab@suse.de>
28008 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28010 * nscd/pwdcache.c (cache_addpw): Likewise.
28011 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28014 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28016 * benchtests/Makefile (bench): Write all output to
28017 bench-out.tmp together.
28019 2013-04-15 Andreas Schwab <schwab@suse.de>
28021 * nscd/nscd.c (main): Don't fork again after closing files.
28023 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28025 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28027 * benchtests/Rules (bench-deps): Collect dependencies into a
28028 single variable. Add Makefile to dependencies.
28029 ($(objpfx)bench-%.c): Depend on bench-deps.
28031 2013-04-12 Roland McGrath <roland@hack.frob.com>
28032 Xavier Roche <roche+kml2@exalead.com>
28035 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28036 just that it's a file descriptor.
28037 * manual/llio.texi (Synchronizing AIO Operations): Update description
28038 for EBADF error from aio_fsync.
28040 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28042 * Rules (bench): Move target definition...
28043 * benchtests/Makefile: ... here.
28045 2013-04-11 Carlos O'Donell <carlos@redhat.com>
28047 * math/libm-test.inc (cos_test): Fix PI/2 test.
28048 (sincos_test): Likewise.
28049 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28050 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28052 2013-04-11 Andreas Schwab <schwab@suse.de>
28055 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28056 accept exponent character only when digits were seen.
28057 * stdio-common/Makefile (tests): Add bug26.
28058 * stdio-common/bug26.c: New file.
28061 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28064 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28066 * Makeconfig (rtld-prefix): Define built linker prefix.
28067 * Rules (run-bench): Use it.
28068 * math/Makefile (run-regen-ulps): Likewise.
28070 * Rules (bench): Remove eval.
28072 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28073 Roland McGrath <roland@hack.frob.com>
28074 Ondrej Bilka <neleai@seznam.cz>
28077 * time/getdate.c: Include ctype.h and alloca.h.
28078 (__getdate_r): Trim leading and trailing spaces of input.
28079 * time/tst-getdate.c (tests): Add tests with leading and
28082 2013-04-08 Roland McGrath <roland@hack.frob.com>
28085 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28086 when computing value.
28088 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28090 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28091 Use testrun.sh to run libm tests.
28094 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28096 2013-04-06 Marko Myllynen <myllynen@redhat.com>
28099 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28101 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28103 * Makefile.in (regen-ulps): New target.
28104 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28105 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28106 [ifneq (no,$(PERL)] (regen-ulps): New target.
28107 [ifeq (no,$(PERL)] (regen-ulps): New target.
28108 * math/libm-test.inc (ulps_file_name): Define.
28109 (output_dir): New variable.
28110 (options): Add "output-dir" option.
28111 (parse_opt): Handle 'o' case.
28112 (main): If output_dir is non-NULL use it as a prefix
28114 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28116 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28118 [BZ #10060, #10062]
28119 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28120 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28121 fail configure if __sync_val_compare_and_swap is not inlined.
28122 * sysdeps/i386/configure: Regenerate.
28123 * configure.in: Build for i686 when configured for i386.
28124 * configure: Regenerate.
28125 * README: Remove i386 reference.
28127 2013-04-06 Carlos O'Donell <carlos@redhat.com>
28129 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28130 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28132 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28134 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28135 (lmsnanval): New variables.
28136 (F): Add conversion tests.
28137 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28138 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28140 * stdio-common/tstdiomisc.c (F): Properly collect individual
28143 [BZ #14686, #15336]
28144 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28145 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28146 Instead, use input NaN values or generate a qNaN by arithmetic
28147 operation. Also fix bugs to comply with the standard.
28148 * math/libm-test.inc (remainder_test): Add more tests.
28150 [BZ #15335, #15342]
28151 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28152 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28153 input NaN values or generate a qNaN by arithmetic operation.
28155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28158 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28161 2013-04-03 Joseph Myers <joseph@codesourcery.com>
28164 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28165 underflowed result.
28166 * math/s_cexpf.c (__cexpf): Likewise.
28167 * math/s_cexpl.c (__cexpl): Likewise.
28168 * math/libm-test.inc (cexp_test): Add more tests.
28170 2013-04-03 Andreas Schwab <schwab@suse.de>
28173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28174 order arrays from heap if bigger than alloca cutoff.
28176 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28178 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28179 (SNAN_TESTS_double): Refer to GCC PR56831.
28180 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28183 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28185 * Rules (bench): Move bench.out after the run is complete.
28187 * Rules (bench): Echo currently running benchmark.
28189 * benchtests/Makefile (bench): Add atan and slowatan.
28190 * benchtests/atan-inputs: New file.
28191 * benchtests/slowatan-inputs: New file.
28192 * benchtests/slowatan.c: New file.
28194 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28199 * sysdeps/unix/sysv/linux/kernel-features.h
28200 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28201 __ASSUME_XFS_RESTRICTED_CHOWN.
28202 * sysdeps/unix/sysv/linux/pathconf.c
28203 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28204 Save and restore errno.
28206 2013-04-02 Joseph Myers <joseph@codesourcery.com>
28209 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28210 arguments using __kernel_casinh.
28211 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28212 arguments using __kernel_casinhf.
28213 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28214 arguments using __kernel_casinhl.
28215 * math/libm-test.inc (cacosh_test): Add more tests.
28216 * sysdeps/i386/fpu/libm-test-ulps: Update.
28217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28219 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28221 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28224 * bench/Makefile (bench): Add sin and slowsin.
28225 * benchtests/sin-inputs: New file.
28226 * benchtests/slowsin-inputs: New file.
28227 * benchtests/slowsin.c: New file.
28229 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28230 (bench): Add slowexp and slowpow.
28231 (exp-ITER): Increase iterations.
28232 (pow-ITER): Likewise.
28233 * benchtests/exp-inputs: Change input.
28234 * benchtests/pow-inputs: Likewise.
28235 * benchtests/slowexp-inputs: New file.
28236 * benchtests/slowexp.c: New file.
28237 * benchtests/slowpow-inputs: New file.
28238 * benchtests/slowpow.c: New file.
28240 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28242 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28244 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28245 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28246 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28247 * benchtests/Makefile: Add rint benchtest.
28248 * benchtests/rint-inputs: Input for rint benchtest.
28250 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28252 * Versions.def (libm): Add GLIBC_2.18.
28253 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28254 hidden libm prototypes.
28255 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28256 * math/Makefile (libm-calls): Add s_issignaling.
28257 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28258 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28259 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28261 * math/math.h [__USE_GNU] (issignaling): New macro.
28262 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28263 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28264 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28265 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28268 * manual/arith.texi (issignaling): New section.
28269 * manual/libm-err-tab.pl (@all_functions): Update comment.
28270 * math/gen-libm-test.pl (parse_args): Apply special handling for
28272 * math/libm-test.inc (print_float, issignaling_test): New
28274 (check_float_internal): Add issignaling checks.
28275 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28276 default definition.
28277 * sysdeps/powerpc/math-tests.h: New file.
28278 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28280 * math/test-snan.c (TEST_FUNC): Likewise.
28282 2013-03-30 David S. Miller <davem@davemloft.net>
28284 * po/de.po: Update from translation team.
28286 2013-03-30 Joseph Myers <joseph@codesourcery.com>
28289 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28290 imaginary part less than 1.0 and real part less than 0.5
28292 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28293 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28294 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28295 (cacos_test): Add more tests.
28296 (casin_test): Likewise.
28297 (casinh_test): Likewise.
28298 * sysdeps/i386/fpu/libm-test-ulps: Update.
28299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28301 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28303 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28304 ONE with its value.
28306 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28307 (__pow_mp): Replace ONE and MONE with their values.
28308 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28309 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28310 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28311 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28312 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28313 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28315 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28317 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28318 (__pow_mp): Replace ZERO and MZERO with their values.
28319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28321 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28323 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28324 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28327 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28329 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28331 2013-03-28 Roland McGrath <roland@hack.frob.com>
28333 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28334 Declare with __attribute__ ((weak)).
28335 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28336 Call __call_tls_dtors only if it's not NULL.
28338 2013-03-28 Roland McGrath <roland@hack.frob.com>
28340 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28341 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28342 magic __ehdr_start linker symbol if it's defined.
28343 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28344 them up here if it was already done.
28346 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28347 (_dl_aux_init): Use const in cast when setting it.
28348 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28349 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28350 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28352 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28354 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28355 * csu/libc-tls.c: Nor here.
28356 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28358 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28359 (__libc_message): Never call vsyslog.
28361 2013-03-28 Alan Modra <amodra@gmail.com>
28363 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28365 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28368 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28371 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28375 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28378 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28379 Don't add gid passed as argument.
28381 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28383 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28386 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28387 imaginary part between 1.0 and 1.5 and real part less than 0.5
28389 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28390 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28391 * math/libm-test.inc (cacos_test): Add more tests.
28392 (casin_test): Likewise.
28393 (casinh_test): Likewise.
28394 * sysdeps/i386/fpu/libm-test-ulps: Update.
28395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28399 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28402 (denorm): Likewise.
28403 (__dbl_mp): Likewise.
28404 (add_magnitudes): Likewise.
28405 (sub_magnitudes): Likewise.
28413 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28415 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28416 (__dubcos): Likewise.
28417 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28418 (__ieee754_acos): Likewise.
28419 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28420 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28421 (__exp1): Likewise.
28422 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28423 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28425 (my_log2): Likewise.
28426 (checkint): Likewise.
28427 * sysdeps/ieee754/dbl-64/e_remainder.c
28428 (__ieee754_remainder): Likewise.
28429 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28430 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28431 (bsloww): Likewise.
28432 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28434 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28435 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28436 MANTISSA_STORE_T to store computations on mantissa. Use
28437 macros for rounding and division.
28438 (denorm): Likewise.
28439 (__dbl_mp): Likewise.
28440 (add_magnitudes): Likewise.
28441 (sub_magnitudes): Likewise.
28444 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28445 powers of two in terms of TWOPOW macro.
28446 (mp_no): Make type of mantissa as MANTISSA_T.
28447 [!RADIXI]: Define RADIXI.
28448 [!TWO52]: Define TWO52.
28449 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28451 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28453 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28454 llroundl symbol when building for PPC32.
28456 2013-03-24 Mark H Weaver <mhw@netris.org>
28458 * manual/arith.texi (Normalization Functions): Fix prototypes for
28459 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28461 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28464 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28465 high value to check if expl overflow.
28466 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28467 to check for underflow and overflow.
28468 * math/libm-test.inc: Add exp test.
28470 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28473 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28476 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28478 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28481 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28483 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28484 wrap blocks consisting of several statements.
28486 * sysdeps/generic/math-tests.h: New file.
28487 * sysdeps/i386/fpu/math-tests.h: Likewise.
28488 * math/test-snan.c: Include it.
28489 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28491 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28494 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28495 (__ieee754_j0l): Do not improve calculations using cos of twice
28496 input for inputs above LDBL_MAX / 2.0L.
28497 (__ieee754_y0l): Likewise.
28498 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28499 (__ieee754_j1l): Do not improve calculations using cos of twice
28500 input for inputs above LDBL_MAX / 2.0L.
28501 (__ieee754_y1l): Likewise.
28502 * math/libm-test.inc (j0_test): Add another test.
28503 (j1_test): Likewise.
28504 (y0_test): Likewise.
28505 (y1_test): Likewise.
28506 * sysdeps/i386/fpu/libm-test-ulps: Update.
28508 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28510 * Rules ($(objpfx)bench-%.c): Include code from a C source
28513 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28516 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28517 imaginary part 1.0 and real part less than 0.5 specially.
28518 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28519 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28520 * math/libm-test.inc (cacos_test): Add more tests.
28521 (casin_test): Likewise.
28522 (casinh_test): Likewise.
28523 * sysdeps/i386/fpu/libm-test-ulps: Update.
28524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28526 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28529 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28531 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28533 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28534 * config.make.in (config-cflags-sse4): Remove variable.
28535 (config-cflags-avx): Likewise.
28536 (config-cflags-sse2avx): Likewise.
28537 (config-cflags-novzeroupper): Likewise.
28538 (config-asflags-i686): Likewise.
28539 (have-mfma4): Likewise.
28540 (have-as-vis3): Likewise.
28542 * configure.in (MIG): Do not AC_SUBST.
28543 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28544 (libc_cv_cc_sse4): Do not AC_SUBST.
28545 (libc_cv_cc_avx): Likewise.
28546 (libc_cv_cc_sse2avx): Likewise.
28547 (libc_cv_cc_novzeroupper): Likewise.
28548 (libc_cv_cc_fma4): Likewise.
28549 (libc_cv_as_i686): Likewise.
28550 (libc_cv_sparc_as_vis3): Likewise.
28551 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28553 (config-asflags-i686): Likewise.
28554 (config-cflags-avx): Likewise.
28555 (config-cflags-sse2avx): Likewise.
28556 (have-mfma4): Likewise.
28557 (config-cflags-novzeroupper): Likewise.
28558 * sysdeps/mach/configure.in (MIG): Likewise.
28559 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28560 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28562 (config-cflags-avx): Likewise.
28563 (config-cflags-sse2avx): Likewise.
28564 (have-mfma4): Likewise.
28565 (config-cflags-novzeroupper): Likewise.
28566 * configure: Regenerated.
28567 * sysdeps/i386/configure: Likewise.
28568 * sysdeps/mach/configure: Likewise.
28569 * sysdeps/sparc/configure: Likewise.
28570 * sysdeps/x86_64/configure: Likewise.
28572 2013-03-20 Roland McGrath <roland@hack.frob.com>
28575 * locale/programs/localedef.c (options): Put N_ translation marker
28576 on argument names, not just descriptions.
28578 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28580 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28582 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28585 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28587 2013-03-19 Roland McGrath <roland@hack.frob.com>
28589 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28590 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28591 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28592 [!BEFORE_ABORT] (before_abort): New function.
28593 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28594 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28595 (writev_for_fatal): New function.
28596 (WRITEV_FOR_FATAL): New macro; call that.
28597 (backtrace_and_maps): New function.
28598 (BEFORE_ABORT): New macro; call that.
28599 (struct str_list): Type removed.
28600 (__libc_message, __libc_fatal): Functions removed.
28601 Include <sysdeps/posix/libc_fatal.c> instead.
28603 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28605 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28607 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28610 2013-03-19 Andreas Schwab <schwab@suse.de>
28612 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28613 * sysdeps/gnu/configure: Regenerate.
28615 * configure.in: Substitute libc_cv_rtlddir.
28616 * configure: Regenerate.
28617 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28618 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28619 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28620 * elf/Makefile (install-others, CFLAGS-interp.c)
28621 (ldso_install, common-ldd-rewrite): Likewise.
28622 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28623 $(inst_slibdir)/$(rtld-installed-name).
28624 * scripts/rellns-sh: Add -p option.
28625 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28628 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28630 * manual/nptl.texi: Renamed to ...
28631 * manual/threads.texi: ... this.
28632 * manual/Makefile (chapters): Update.
28634 2013-03-18 Roland McGrath <roland@hack.frob.com>
28637 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28638 on argument names, not just descriptions.
28639 * malloc/memusagestat.c (options): Likewise.
28640 * nss/getent.c (options): Likewise.
28642 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28645 * iconv/iconv_prog.c (options): Put N_ translation marker
28646 on argument names, not just descriptions.
28647 * iconv/iconvconfig.c (options): Likewise.
28649 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28651 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28652 implementation which is faster on all x86_64 architectures.
28653 Tested on AMD, Intel Nehalem, SNB, IVB.
28654 * sysdeps/x86_64/strnlen.S: Likewise.
28656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28657 Remove all multiarch strlen and strnlen versions.
28658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28659 Remove strlen and strnlen related parts.
28661 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28662 Inline strlen part.
28663 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28665 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28666 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28667 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28668 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28669 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28670 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28672 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28674 * manual/memory.texi (Malloc Tunable Parameters):
28675 Sort parameters alphabetically. Add comments for missing entries.
28677 2013-03-17 David S. Miller <davem@davemloft.net>
28679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28681 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28684 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28685 for arguments at most half maximum finite value.
28686 * math/libm-test.inc (j0_test): Add more tests.
28687 (j1_test): Likewise.
28688 (y0_test): Likewise.
28689 (y1_test): Likewise.
28690 * sysdeps/i386/fpu/libm-test-ulps: Update.
28691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28694 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28695 1 / x and functions P and Q for arguments above 0x1p256L.
28696 (__ieee754_y0l): Likewise.
28697 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28698 (__ieee754_y1l): Likewise.
28699 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28700 (j1_test): Likewise.
28701 (y0_test): Likewise.
28702 (y1_test): Likewise.
28704 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28706 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28709 2013-03-15 Roland McGrath <roland@hack.frob.com>
28711 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28712 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28713 zero since it's initialized to EXEC_PAGESIZE.
28715 * sysdeps/unix/sysv/linux/ldsodefs.h
28716 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28717 * sysdeps/generic/ldsodefs.h: ... here.
28719 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28721 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28723 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28725 * math/test-snan.c: Renamed from
28726 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28727 * math/Makefile (tests): Add test-snan.
28728 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28731 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28732 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28734 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28735 __builtin_nan family of functions.
28736 * math/libm-test.inc (initialize): Initialize qnan_value with
28737 __builtin_nan family of functions.
28738 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28740 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28742 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28743 storage class. Initialize qNaN_var and sNaN_var with
28744 __builtin_nan and __builtin_nans families of functions,
28747 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28748 (sqrt_test): Remove duplicate test with qNaN input.
28749 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28750 (round_test, signbit_test, significand_test): Note missing +/-Inf
28751 as well as qNaN tests.
28753 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28754 qNaN_var. Fix a few strings, too.
28755 * math/libm-test.inc (nan_value): Rename to qnan_value.
28756 * math/gen-libm-test.pl (%beautify): Adjust to that.
28757 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28758 * math/test-misc.c (main): Likewise.
28759 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28760 to __qnan_bytes, and __qnan_union, respectively.
28761 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28763 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28764 and lqnanval, respectively.
28765 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28766 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28767 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28768 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28770 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28771 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28774 * math/test-misc.c (main): Fix copy'n'pastos.
28775 * misc/tst-efgcvt.c (special): Likewise.
28777 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28778 Remove declarations.
28780 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28782 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28783 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28784 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28785 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28787 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28789 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28790 macro to return vdso values correctly in IFUNC implementations.
28791 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28792 Optimization by using IFUNC.
28794 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28795 Richard Henderson <rth@redhat.com>
28796 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28798 * Makefile.in (bench): New target.
28799 * NEWS: Mention the benchmark framework.
28800 * Rules (bench): Likewise.
28801 (binaries-bench): Generate binaries for functions to
28803 * benchtests/Makefile: New makefile for benchmark tests.
28804 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28806 * benchtests/exp-inputs: New input file for EXP function.
28807 * benchtests/pow-inputs: New input file for POW function.
28808 * scripts/bench.pl: New script to generate source files for
28809 benchmark programs.
28811 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28813 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28814 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28815 computations on mantissa. Use macros for rounding and
28817 (denorm): Likewise.
28818 (__dbl_mp): Likewise.
28819 (add_magnitudes): Likewise.
28820 (sub_magnitudes): Likewise.
28823 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28824 powers of two in terms of TWOPOW macro.
28825 (mp_no): Make type of mantissa as MANTISSA_T.
28826 [!RADIXI]: Define RADIXI.
28827 [!TWO52]: Define TWO52.
28828 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28830 * manual/nptl.texi (cindex): Modify threads to pthreads.
28832 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28834 * sysdeps/x86_64/preconfigure: Regenerated.
28836 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28839 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28841 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28842 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28844 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28845 * math/libm-test.inc (j0_test): Do not allow one spurious
28846 underflow exception.
28847 (y1_test): Likewise.
28849 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28851 * manual/Makefile (chapters): Add nptl.
28852 * manual/debug.texi (Debugging Support): Add link to Threads
28854 * manual/nptl.texi: New file.
28856 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28858 2013-03-14 Petr Baudis <pasky@ucw.cz>
28860 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28861 for non-NULL pointer before the memory validity test. Pointed
28862 out by Holger Brunck <holger.brunck@keymile.com>.
28864 2013-03-13 Andreas Schwab <schwab@suse.de>
28866 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28869 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28871 * timezone/zic.c: Update from tzcode 2013b.
28873 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28875 * manual/install.texi (Configuring and compiling):
28876 Mention i686 and i586.
28877 * INSTALL: Regenerate.
28879 2013-03-12 Roland McGrath <roland@hack.frob.com>
28881 * sysdeps/init_array/elf-init.c: New file.
28883 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28884 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28886 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28887 __gmon_start__ as global, but as static with a .preinit_array pointer.
28888 * sysdeps/init_array/gmon-start.c: New file. Use that.
28889 * sysdeps/init_array/crti.S: New file, empty except for comments.
28890 * sysdeps/init_array/crtn.S: Likewise.
28892 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28894 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28897 Remove Prefer_SSE_for_memop.
28898 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28899 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28900 HAS_PREFER_SSE_FOR_MEMOP.
28901 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28904 Remove bzero, memset ifunc support.
28905 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28906 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28907 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28908 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28910 2013-03-11 Andreas Schwab <schwab@suse.de>
28913 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28916 (GLIBC_2.16): Remove pthread_atfork.
28918 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28920 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28921 (ptestcases.h): Likewise.
28923 2013-03-08 Roland McGrath <roland@hack.frob.com>
28925 * Makeconfig ($(common-objpfx)config.status): Depend on
28926 sysdeps/*/preconfigure{,.in} too.
28928 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28930 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28931 (__free_hook): Use void * instead of __malloc_ptr_t.
28932 (__malloc_hook): Likewise.
28933 (__realloc_hook): Likewise.
28934 (__memalign_hook): Likewise.
28935 (__after_morecore_hook): Likewise.
28936 * malloc/arena.c (save_malloc_hook): Likewise.
28937 (save_free_hook): Likewise.
28938 * malloc/hooks.c (malloc_hook_ini): Likewise.
28939 (realloc_hook_ini): Likewise.
28940 (memalign_hook_ini): Likewise.
28941 * malloc/malloc.c (malloc_hook_ini): Likewise.
28942 (realloc_hook_ini): Likewise.
28943 (memalign_hook_ini): Likewise.
28944 (__free_hook): Likewise.
28945 (__malloc_hook): Likewise.
28946 (__realloc_hook): Likewise.
28947 (__memalign_hook): Likewise.
28948 (__libc_malloc): Likewise.
28949 (__libc_free): Likewise.
28950 (__libc_realloc): Likewise.
28951 (__libc_memalign): Likewise.
28952 (__libc_valloc): Likewise.
28953 (__libc_pvalloc): Likewise.
28954 (__libc_calloc): Likewise.
28955 (__posix_memalign): Likewise.
28956 * malloc/morecore.c (__sbrk): Likewise.
28957 (__default_morecore): Likewise.
28959 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28961 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28962 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28963 __malloc_ptrdiff_t.
28965 * malloc/malloc.h (__malloc_size_t): Remove macro.
28966 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28968 (old_memalign_hook): Likewise.
28969 (old_realloc_hook): Likewise.
28970 (struct hdr): Likewise.
28972 (mallochook): Likewise.
28973 (memalignhook): Likewise.
28974 (reallochook): Likewise.
28975 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28976 (tr_old_realloc_hook): Likewise.
28977 (tr_old_memalign_hook): Likewise.
28978 (tr_mallochook): Likewise.
28979 (tr_reallochook): Likewise.
28980 (tr_memalignhook): Likewise.
28982 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28984 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28985 default_ldbl_pack and using as default implementation.
28986 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28988 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28989 redundant definition.
28990 (ldbl_insert_mantissa): Likewise.
28991 (ldbl_canonicalize): Likewise.
28992 (ldbl_nearbyint): Likewise.
28993 (ldbl_pack): Rename to ldbl_pack_ppc.
28994 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28995 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28996 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28998 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29000 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29001 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29002 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29003 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29005 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29006 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29007 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29009 2013-03-07 Andreas Jaeger <aj@suse.de>
29011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29014 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29016 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29017 Include mpa.h and declare __MPEXP.
29018 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29019 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29020 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29021 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29022 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29023 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29024 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29026 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29027 (__slowpow): Use long double EXPL and LOGL functions to
29029 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29030 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29031 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29032 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29033 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29037 intermediate variable to calculate exponent.
29039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29043 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29044 [!NO__SQR]: Define __sqr.
29045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29046 and NO__SQR. Remove all code except __mul and __sqr. Include
29047 sysdeps/ieee754/dbl-64/mpa.c.
29048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29051 * posix/Makefile (tests): Add tst-pathconf.
29052 * posix/tst-pathconf.c: New test case.
29053 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29055 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29057 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
29059 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29061 2013-03-06 Andreas Jaeger <aj@suse.de>
29063 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29064 definition via __MAP_ANONYMOUS.
29066 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29067 it's not part of Linux headers.
29069 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29070 (MAP_HUGE_MASK): Define.
29072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29074 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29077 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29078 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29080 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29083 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29085 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29086 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29087 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29088 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29089 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29090 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29092 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29096 Handle f2fs and efivarfs.
29098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29101 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29102 (EFIVARFS_MAGIC): Add.
29103 (F2FS_LINK_MAX): Add.
29105 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29107 * stdio-common/vfprintf.c: Replace __builtin_expect with
29110 2013-03-06 Joseph Myers <joseph@codesourcery.com>
29113 * sysdeps/generic/bp-sym.h: Remove file.
29114 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29115 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29116 <bp-sym.h> and <bp-asm.h>.
29117 (__longjmp): Don't use BP_SYM.
29118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29120 (memcpy): Don't use BP_SYM.
29121 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29122 <bp-sym.h> and <bp-asm.h>.
29123 (memcpy): Don't use BP_SYM.
29124 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29126 (memcpy): Don't use BP_SYM.
29127 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29129 (memset): Don't use BP_SYM.
29130 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29131 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29132 (__bzero): Don't use BP_SYM.
29133 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29134 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29135 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29136 <bp-sym.h> and <bp-asm.h>.
29137 (memcmp): Don't use BP_SYM. Remove comment about bounded
29139 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29140 <bp-sym.h> and <bp-asm.h>.
29141 (memcpy): Don't use BP_SYM.
29142 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29143 <bp-sym.h> and <bp-asm.h>.
29144 (memset): Don't use BP_SYM.
29145 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29146 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29147 (__bzero): Don't use BP_SYM.
29148 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29149 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29150 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29151 <bp-sym.h> and <bp-asm.h>.
29152 (strncmp): Don't use BP_SYM. Remove comment about bounded
29154 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29155 <bp-sym.h> and <bp-asm.h>.
29156 (memcpy): Don't use BP_SYM.
29157 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29158 <bp-sym.h> and <bp-asm.h>.
29159 (memset): Don't use BP_SYM.
29160 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29161 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29162 (__bzero): Don't use BP_SYM.
29163 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29164 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29165 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29166 <bp-sym.h> and <bp-asm.h>.
29167 (__memchr): Don't use BP_SYM.
29168 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29169 <bp-sym.h> and <bp-asm.h>.
29170 (memcmp): Don't use BP_SYM. Remove comment about bounded
29172 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29173 <bp-sym.h> and <bp-asm.h>.
29174 (memcpy): Don't use BP_SYM.
29175 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29176 <bp-sym.h> and <bp-asm.h>.
29177 (__mempcpy): Don't use BP_SYM.
29178 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29179 <bp-sym.h> and <bp-asm.h>.
29180 (__memrchr): Don't use BP_SYM.
29181 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29182 <bp-sym.h> and <bp-asm.h>.
29183 (memset): Don't use BP_SYM.
29184 (__bzero): Likewise.
29185 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29186 <bp-sym.h> and <bp-asm.h>.
29187 (__rawmemchr): Don't use BP_SYM.
29188 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29189 <bp-sym.h> and <bp-asm.h>.
29190 (__STRCMP): Don't use BP_SYM.
29191 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29192 <bp-sym.h> and <bp-asm.h>.
29193 (strchr): Don't use BP_SYM.
29194 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29195 <bp-sym.h> and <bp-asm.h>.
29196 (__strchrnul): Don't use BP_SYM.
29197 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29198 <bp-sym.h> and <bp-asm.h>.
29199 (strlen): Don't use BP_SYM.
29200 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29201 <bp-sym.h> and <bp-asm.h>.
29202 (strncmp): Don't use BP_SYM. Remove comment about bounded
29204 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29205 <bp-sym.h> and <bp-asm.h>.
29206 (__strnlen): Don't use BP_SYM.
29207 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29208 <bp-sym.h> and <bp-asm.h>.
29209 (__GI__setjmp): Don't use BP_SYM.
29210 (_setjmp): Likewise.
29211 (__sigsetjmp): Likewise.
29212 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29213 (L(start_addresses)): Don't use BP_SYM.
29214 (_start): Likewise.
29215 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29217 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29218 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29219 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29220 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29221 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29223 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29224 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29225 about bounded pointers.
29226 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29227 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29228 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29230 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29231 about bounded pointers. Remove GKM FIXME comments.
29232 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29233 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29235 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29236 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29237 Remove GKM FIXME comments.
29238 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29239 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29240 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29242 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29243 about bounded pointers. Remove GKM FIXME comment.
29244 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29246 (strncmp): Don't use BP_SYM. Remove comment about bounded
29248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29249 <bp-sym.h> and <bp-asm.h>.
29250 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29252 <bp-sym.h> and <bp-asm.h>.
29253 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29256 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29258 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29261 2013-03-05 David S. Miller <davem@davemloft.net>
29263 * po/es.po: Update from translation team.
29265 2013-03-05 Andreas Jaeger <aj@suse.de>
29267 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29268 <bits/mman-linux.h>.
29269 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29272 <bits/mman-linux.h> to end of file.
29273 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29275 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29276 <bits/mman-linux.h> to end of file.
29277 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29279 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29280 <bits/mman-linux.h> to end of file.
29282 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29283 (MCL_CURRENT, MCL_FUTURE): Define here.
29285 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29290 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29292 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29294 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29295 fourth parameter needed for rt_sigprocmask syscall.
29296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29297 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29298 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29299 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29300 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29301 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29303 2013-03-04 Joseph Myers <joseph@codesourcery.com>
29306 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29307 comment about bounded pointers.
29308 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29309 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29311 2013-03-04 Andreas Jaeger <aj@suse.de>
29313 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29314 common definitions.
29316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29317 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29318 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29319 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29320 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29323 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29327 __ieee754_sqrl instead of __sqrl.
29329 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29331 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29332 * sysdeps/powerpc/fpu_control.h: ... here.
29333 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29334 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29335 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29336 * sysdeps/powerpc/bits/mathinline.h: ... here.
29338 2013-03-01 Roland McGrath <roland@hack.frob.com>
29340 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29341 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29342 to just [NEED_DL_SYSINFO_DSO].
29343 * elf/dl-support.c: Likewise.
29344 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29345 * elf/rtld.c (dl_main): Likewise.
29346 * elf/setup-vdso.h (setup_vdso): Likewise.
29347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29348 * sysdeps/unix/sysv/linux/dl-sysdep.c
29349 (_dl_discover_osversion): Likewise.
29351 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29353 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29354 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29356 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29358 * NEWS: Mention libm performance improvements and non-x86 PI
29361 * csu/libc-start.c (__pthread_initialize_minimal): Change
29362 function arguments.
29363 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29365 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29368 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29369 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29370 <bp-sym.h> and <bp-asm.h>.
29371 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29372 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29374 (memcpy): Don't use BP_SYM.
29375 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29377 (__mpn_add_n): Don't use BP_SYM.
29378 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29379 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29381 (__mpn_addmul_1): Don't use BP_SYM.
29382 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29383 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29385 (_setjmp): Don't use BP_SYM.
29386 (__novmx_setjmp): Likewise.
29387 (__GI__setjmp): Likewise.
29388 (__vmx_setjmp): Likewise.
29389 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29391 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29392 (__bzero): Don't use BP_SYM.
29393 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29394 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29395 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29396 <bp-sym.h> and <bp-asm.h>.
29397 (memcpy): Don't use BP_SYM.
29398 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29399 <bp-sym.h> and <bp-asm.h>.
29400 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29401 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29402 <bp-sym.h> and <bp-asm.h>.
29403 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29404 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29406 (__mpn_lshift): Don't use BP_SYM.
29407 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29408 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29410 (memset): Don't use BP_SYM.
29411 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29412 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29413 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29415 (__mpn_mul_1): Don't use BP_SYM.
29416 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29418 <bp-sym.h> and <bp-asm.h>.
29419 (memcmp): Don't use BP_SYM.
29420 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29421 <bp-sym.h> and <bp-asm.h>.
29422 (memcpy): Don't use BP_SYM.
29423 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29424 <bp-sym.h> and <bp-asm.h>.
29425 (memset): Don't use BP_SYM.
29426 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29427 <bp-sym.h> and <bp-asm.h>.
29428 (strncmp): Don't use BP_SYM.
29429 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29430 <bp-sym.h> and <bp-asm.h>.
29431 (memcpy): Don't use BP_SYM.
29432 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29433 <bp-sym.h> and <bp-asm.h>.
29434 (memset): Don't use BP_SYM.
29435 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29436 <bp-sym.h> and <bp-asm.h>.
29437 (__memchr): Don't use BP_SYM.
29438 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29439 <bp-sym.h> and <bp-asm.h>.
29440 (memcmp): Don't use BP_SYM.
29441 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29442 <bp-sym.h> and <bp-asm.h>.
29443 (memcpy): Don't use BP_SYM.
29444 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29445 <bp-sym.h> and <bp-asm.h>.
29446 (__mempcpy): Don't use BP_SYM.
29447 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29448 <bp-sym.h> and <bp-asm.h>.
29449 (__memrchr): Don't use BP_SYM.
29450 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29451 <bp-sym.h> and <bp-asm.h>.
29452 (memset): Don't use BP_SYM.
29453 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29454 <bp-sym.h> and <bp-asm.h>.
29455 (__rawmemchr): Don't use BP_SYM.
29456 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29457 <bp-sym.h> and <bp-asm.h>.
29458 (__STRCMP): Don't use BP_SYM.
29459 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29460 <bp-sym.h> and <bp-asm.h>.
29461 (strchr): Don't use BP_SYM.
29462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29463 <bp-sym.h> and <bp-asm.h>.
29464 (__strchrnul): Don't use BP_SYM.
29465 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29466 <bp-sym.h> and <bp-asm.h>.
29467 (strlen): Don't use BP_SYM.
29468 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29469 <bp-sym.h> and <bp-asm.h>.
29470 (strncmp): Don't use BP_SYM.
29471 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29472 <bp-sym.h> and <bp-asm.h>.
29473 (__strnlen): Don't use BP_SYM.
29474 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29476 (__mpn_rshift): Don't use BP_SYM.
29477 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29478 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29479 <bp-sym.h> and <bp-asm.h>.
29480 (__sigsetjmp): Don't use BP_SYM.
29481 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29482 (L(start_addresses)): Don't use BP_SYM.
29483 (_start): Likewise.
29484 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29486 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29487 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29488 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29489 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29491 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29492 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29493 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29494 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29496 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29498 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29499 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29501 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29503 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29504 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29505 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29507 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29509 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29511 (strncmp): Don't use BP_SYM,
29512 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29514 (__mpn_sub_n): Don't use BP_SYM.
29515 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29516 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29518 (__mpn_submul_1): Don't use BP_SYM.
29519 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29521 <bp-sym.h> and <bp-asm.h>.
29522 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29524 <bp-sym.h> and <bp-asm.h>.
29525 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29528 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29531 Use ZK to minimize writes to Z.
29532 (sub_magnitudes): Simplify code a bit.
29533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29534 Use ZK to minimize writes to Z.
29535 (sub_magnitudes): Simplify code a bit.
29537 2013-02-27 Roland McGrath <roland@hack.frob.com>
29539 * csu/gmon-start.c: Add special exception to license text.
29541 2013-02-27 Richard Henderson <rth@redhat.com>
29543 * scripts/config.guess: Update from config.git.
29544 * scripts/config.sub: Likewise.
29546 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29550 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29552 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29554 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29556 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29558 2013-02-26 Roland McGrath <roland@hack.frob.com>
29560 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29561 [$(build-shared = yes].
29563 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29565 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29566 (__mul): Reduce iterations for calculating mantissa.
29568 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29570 (__mpranred): Likewise.
29573 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29574 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29576 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29578 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29579 Define __attribute__.
29581 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29583 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29585 * posix/regex_internal.h (__attribute): Remove.
29586 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29587 (re_string_context_at): Likewise.
29588 (bitset_not): Use __attribute__ and mark function as possibly
29590 (bitset_merge): Likewise.
29591 (bitset_mask): Likewise.
29592 (re_string_char_size_at): Likewise.
29593 (re_string_wchar_at): Likewise.
29594 (re_string_elem_size_at): Likewise.
29596 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29598 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29602 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29606 (denorm): Likewise.
29607 (__dbl_mp): Likewise.
29608 (add_magnitudes): Likewise.
29609 (sub_magnitudes): Likewise.
29613 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29616 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29619 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29623 up changes with default code.
29624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29627 2013-02-24 Allan McRae <allan@archlinux.org>
29629 * manual/socket.texi (The Internet Namespace): Order menu items
29630 to match that in the file.
29632 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29633 node listing of the info page menu.
29635 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29638 * sysdeps/i386/bp-asm.h: Remove file.
29639 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29640 (PARMS): Do not use macros from bp-asm.h.
29644 (__mpn_add_n): Do not use BP_SYM
29645 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29647 (PARMS): Do not use macros from bp-asm.h.
29650 (__mpn_addmul_1): Do not use BP_SYM
29651 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29653 (PARMS): Do not use macros from bp-asm.h.
29654 (SIGMSK): Likewise.
29655 (_setjmp): Likewise. Do not use BP_SYM.
29656 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29658 (PARMS): Do not use macros from bp-asm.h.
29659 (SIGMSK): Likewise.
29660 (setjmp): Likewise. Do not use BP_SYM.
29661 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29663 (PARMS): Do not use macros from bp-asm.h.
29664 (__frexp): Do not use BP_SYM.
29666 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29668 (PARMS): Do not use macros from bp-asm.h.
29669 (__frexpf): Do not use BP_SYM.
29670 (frexpf): Likewise.
29671 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29673 (PARMS): Do not use macros from bp-asm.h.
29674 (__frexpl): Do not use BP_SYM.
29675 (frexpl): Likewise.
29676 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29678 (PARMS): Do not use macros from bp-asm.h.
29679 (__remquo): Do not use BP_SYM.
29680 (remquo): Likewise.
29681 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29683 (PARMS): Do not use macros from bp-asm.h.
29684 (__remquof): Do not use BP_SYM.
29685 (remquof): Likewise.
29686 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29688 (PARMS): Do not use macros from bp-asm.h.
29689 (__remquol): Do not use BP_SYM.
29690 (remquol): Likewise.
29691 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29693 (PARMS): Do not use macros from bp-asm.h.
29696 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29697 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29699 (PARMS): Do not use macros from bp-asm.h.
29700 (strlen): Do not use BP_SYM.
29701 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29703 (PARMS): Do not use macros from bp-asm.h.
29707 (__mpn_add_n): Do not use BP_SYM.
29708 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29710 (PARMS): Do not use macros from bp-asm.h.
29713 (__mpn_addmul_1): Do not use BP_SYM.
29714 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29717 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29719 (PARMS): Do not use macros from bp-asm.h.
29722 (__mpn_lshift): Do not use BP_SYM.
29723 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29725 (PARMS): Do not use macros from bp-asm.h.
29729 (memcpy): Likewise. Do not use BP_SYM.
29730 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29731 libc_hidden_def and weak_alias.
29732 (mempcpy): Do not use BP_SYM in weak_alias.
29733 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29735 (PARMS): Do not use macros from bp-asm.h.
29738 [!BZERO_P] (CHR): Likewise.
29739 (memset): Likewise. Do not use BP_SYM.
29740 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29742 (PARMS): Do not use macros from bp-asm.h.
29745 (__mpn_mul_1): Do not use BP_SYM.
29746 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29748 (PARMS): Do not use macros from bp-asm.h.
29751 (__mpn_rshift): Do not use BP_SYM.
29752 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29754 (PARMS): Do not use macros from bp-asm.h.
29757 (strchr): Likewise. Do not use BP_SYM.
29758 (index): Do not use BP_SYM in weak_alias.
29759 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29761 (PARMS): Do not use macros from bp-asm.h.
29764 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29765 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29767 (PARMS): Do not use macros from bp-asm.h.
29768 (strlen): Do not use BP_SYM.
29769 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29771 (PARMS): Do not use macros from bp-asm.h.
29775 (__mpn_sub_n): Do not use BP_SYM.
29776 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29778 (PARMS): Do not use macros from bp-asm.h.
29781 (__mpn_submul_1): Do not use BP_SYM.
29782 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29784 (PARMS): Do not use macros from bp-asm.h.
29788 (__mpn_add_n): Do not use BP_SYM.
29789 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29792 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29794 (PARMS): Do not use macros from bp-asm.h.
29797 (memcmp): Do not use BP_SYM.
29798 (bcmp): Do not use BP_SYM in weak_alias.
29799 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29801 (PARMS): Do not use macros from bp-asm.h.
29805 (memcpy): Likewise. Do not use BP_SYM.
29806 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29808 (PARMS): Do not use macros from bp-asm.h.
29812 (memmove): Likewise. Do not use BP_SYM.
29813 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29815 (PARMS): Do not use macros from bp-asm.h.
29819 (__mempcpy): Likewise. Do not use BP_SYM.
29820 (mempcpy): Do not use BP_SYM in weak_alias.
29821 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29823 (PARMS): Do not use macros from bp-asm.h.
29826 [!BZERO_P] (CHR): Likewise.
29827 (memset): Likewise. Do not use BP_SYM.
29828 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29830 (PARMS): Do not use macros from bp-asm.h.
29832 (strcmp): Do not use BP_SYM.
29833 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29835 (PARMS): Do not use macros from bp-asm.h.
29838 [USE_AS_STRTOK_R] (SAVE): Likewise.
29839 (FUNCTION): Likewise. Do not use BP_SYM.
29840 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29842 (strtok_r): Likewise.
29843 (__GI___strtok_r): Likewise.
29844 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29845 (PARMS): Do not use macros from bp-asm.h.
29848 (__mpn_lshift): Do not use BP_SYM.
29849 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29850 (PARMS): Do not use macros from bp-asm.h.
29853 (__memchr): Do not use BP_SYM.
29854 (memchr): Do not use BP_SYM in weak_alias.
29855 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29856 (PARMS): Do not use macros from bp-asm.h.
29859 (memcmp): Do not use BP_SYM.
29860 (bcmp): Do not use BP_SYM in weak_alias.
29861 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29862 (PARMS): Do not use macros from bp-asm.h.
29865 (__mpn_mul_1): Do not use BP_SYM.
29866 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29868 (PARMS): Do not use macros from bp-asm.h.
29871 (__rawmemchr): Do not use BP_SYM.
29872 (rawmemchr): Do not use BP_SYM in weak_alias.
29873 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29874 (PARMS): Do not use macros from bp-asm.h.
29877 (__mpn_rshift): Do not use BP_SYM.
29878 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29879 (PARMS): Do not use macros from bp-asm.h.
29880 (SIGMSK): Likewise.
29881 (__sigsetjmp): Likewise. Do not use BP_SYM.
29882 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29883 (_start): Do not use BP_SYM.
29884 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29885 (PARMS): Do not use macros from bp-asm.h.
29888 (__stpcpy): Likewise. Do not use BP_SYM.
29889 (stpcpy): Do not use BP_SYM in weak_alias.
29890 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29892 (PARMS): Do not use macros from bp-asm.h.
29896 (__stpncpy): Likewise. Do not use BP_SYM.
29897 (stpncpy): Do not use BP_SYM in weak_alias.
29898 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29899 (PARMS): Do not use macros from bp-asm.h.
29902 (strchr): Likewise. Do not use BP_SYM.
29903 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29905 (PARMS): Do not use macros from bp-asm.h.
29908 (__strchrnul): Likewise. Do not use BP_SYM.
29909 (strchrnul): Do not use BP_SYM in weak_alias.
29910 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29912 (PARMS): Do not use macros from bp-asm.h.
29914 (strcspn): Do not use BP_SYM.
29915 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29917 (PARMS): Do not use macros from bp-asm.h.
29920 (strpbrk): Likewise. Do not use BP_SYM.
29921 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29923 (PARMS): Do not use macros from bp-asm.h.
29926 (strrchr): Likewise. Do not use BP_SYM.
29927 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29928 (PARMS): Do not use macros from bp-asm.h.
29930 (strspn): Do not use BP_SYM.
29931 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29932 (PARMS): Do not use macros from bp-asm.h.
29936 (FUNCTION): Likewise. Do not use BP_SYM.
29937 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29939 (strtok_r): Likewise.
29940 (__GI___strtok_r): Likewise.
29941 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29942 (PARMS): Do not use macros from bp-asm.h.
29946 (__mpn_sub_n): Do not use BP_SYM.
29947 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29949 (PARMS): Do not use macros from bp-asm.h.
29952 (__mpn_submul_1): Do not use BP_SYM.
29953 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29955 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29957 (PARMS): Do not use macros from bp-asm.h.
29962 (__clone): Do not use BP_SYM.
29963 (clone): Do not use BP_SYM in weak_alias.
29964 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29966 (PARMS): Do not use macros from bp-asm.h.
29968 (__mmap64): Do not use BP_SYM.
29969 (mmap64): Do not use BP_SYM in weak_alias.
29970 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29971 <bp-sym.h> and <bp-asm.h>.
29972 (PARMS): Do not use macros from bp-asm.h.
29973 (__posix_fadvise64_l64): Do not use BP_SYM.
29974 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29975 (PARMS): Do not use macros from bp-asm.h.
29977 (semtimedop): Do not use BP_SYM.
29978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29981 2013-02-21 Allan McRae <allan@archlinux.org>
29983 * manual/message.texi (Charset conversion in gettext):
29984 Move @end statement to beginning of line.
29986 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29993 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29994 (denorm): Likewise.
29995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29998 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30000 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30001 tail-call to the resolved function if pltexit isn't needed.
30003 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30006 or Y being zero as being unlikely.
30007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30010 2013-02-20 Carlos O'Donell <carlos@redhat.com>
30012 * manual/nss.texi (System Databases and Name Service Switch):
30013 Remove frobnicate @pxref.
30015 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30017 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30018 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30020 2013-02-20 Petr Machata <pmachata@redhat.com>
30022 * elf/elf.h (R_ARM_TARGET1): New macro.
30023 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30024 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30025 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30026 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30027 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30028 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30029 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30030 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30031 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30032 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30033 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30034 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30035 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30036 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30037 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30038 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30039 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30040 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30041 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30042 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30043 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30044 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30045 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30046 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30047 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30048 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30049 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30050 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30051 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30052 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30053 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30054 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30055 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30056 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30057 (R_ARM_THM_GOT_BREL12): Likewise.
30058 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30059 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30060 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30061 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30062 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30063 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30064 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30065 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30066 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30068 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30070 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30071 __attribute_used__ to __attribute__ ((unused)).
30073 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30075 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30078 comment formatting.
30079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30081 2013-02-19 Joseph Myers <joseph@codesourcery.com>
30084 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30086 (ENTER): Remove both macro definitions.
30088 (CHECK_BOUNDS_LOW): Likewise.
30089 (CHECK_BOUNDS_HIGH): Likewise.
30090 (CHECK_BOUNDS_BOTH): Likewise.
30091 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30092 (RETURN_BOUNDED_POINTER): Likewise.
30093 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30094 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30095 (POP_ERRNO_LOCATION_RETURN): Likewise.
30096 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30097 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30098 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30100 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30101 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30102 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30103 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30104 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30105 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30106 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30107 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30108 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30109 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30110 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30111 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30112 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30113 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30115 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30116 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30118 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30119 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30120 * sysdeps/i386/i586/memset.S (memset): Likewise.
30121 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30122 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30123 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30125 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30126 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30127 Change uses of L(2) to L(out).
30128 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30129 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30130 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30131 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30132 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30134 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30135 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30137 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30138 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30139 (RETURN): Do not use macro LEAVE.
30140 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30141 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30142 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30143 * sysdeps/i386/i686/memset.S (memset): Likewise.
30144 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30145 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30146 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30147 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30149 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30150 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30151 L(1_2) and L(1_3) into L(1).
30152 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30153 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30154 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30155 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30156 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30157 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30158 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30159 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30160 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30162 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30163 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30164 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30165 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30166 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30167 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30168 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30169 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30170 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30171 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30172 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30173 * sysdeps/i386/strspn.S (strspn): Likewise.
30174 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30176 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30177 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30178 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30179 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30180 L(1_3) into L(1_1).
30181 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30182 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30183 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30185 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30187 2013-02-19 Jakub Jelinek <jakub@redhat.com>
30189 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30192 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30194 * math/atest-exp.c (exp_mpn): Remove ROUND.
30195 * math/atest-exp2.c (exp_mpn): Likewise.
30196 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30198 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30199 * stdlib/tst-tls-atexit-lib.c: Likewise.
30200 * stdlib/tst-tls-atexit.c: Likewise.
30202 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30204 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30205 and __attribute_alloc_size__.
30207 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30209 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30210 __attribute_alloc_size__.
30211 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30212 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30214 2013-02-18 Mike Frysinger <vapier@gentoo.org>
30216 * include/programs/xmalloc.h: New file.
30217 * catgets/gencat.c: Include it.
30218 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30219 * elf/pldd.c: Likewise.
30220 * iconv/iconv_charmap.c: Likewise.
30221 * iconv/iconvconfig.c: Likewise.
30222 * iconv/strtab.c: Likewise.
30223 * locale/programs/locale.c: Likewise.
30224 * locale/programs/localedef.h: Likewise.
30225 * locale/programs/simple-hash.c: Likewise.
30226 * nscd/nscd.h: Likewise.
30227 * nss/makedb.c: Likewise.
30228 * sysdeps/generic/ldconfig.h: Likewise.
30230 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30232 * Versions.def: Add GLIBC_2.18.
30233 * include/link.h (struct link_map): New member l_tls_dtor_count.
30234 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30235 (__call_tls_dtors): Likewise.
30236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30237 __cxa_thread_atexit_impl.
30238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30246 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30254 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30255 (tests): Add test case tst-tls-atexit.
30256 (modules-names): Add shared library for tst-tls-atexit.
30257 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30258 (GLIBC_PRIVATE): Add __call_tls_dtors.
30259 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30261 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30262 * stdlib/tst-tls-atexit.c: New test case.
30263 * stdlib/tst-tls-atexit-lib.c: New test case.
30265 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30267 * elf/Versions (ld): Add _dl_find_dso_for_object.
30268 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30269 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30270 (dl_open_worker): Use _dl_find_dso_for_object.
30271 * elf/dl-sym.c (do_sym): Likewise.
30272 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30274 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30276 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30277 Syntactic changes only.
30278 (_dl_runtime_profile): Do a tail-call to the resolved function.
30280 2013-02-17 Joseph Myers <joseph@codesourcery.com>
30283 * sysdeps/x86_64/bp-asm.h: Remove file.
30284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30285 <bp-sym.h> and <bp-asm.h>.
30286 (__clone): Do not use BP_SYM.
30287 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30288 <bp-sym.h> and <bp-asm.h>.
30289 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30290 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30292 (_setjmp): Do not use BP_SYM.
30293 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30295 (setjmp): Do not use BP_SYM.
30296 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30298 (mempcpy): Do not use BP_SYM in weak_alias.
30299 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30301 (strchr): Do not use BP_SYM.
30302 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30304 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30305 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30306 (_start): Do not use BP_SYM.
30307 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30309 (strcat): Do not use BP_SYM.
30310 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30312 (STRCMP): Do not use BP_SYM.
30313 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30315 (STRCPY): Do not use BP_SYM.
30316 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30318 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30320 (FUNCTION): Do not use BP_SYM.
30321 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30323 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30325 2013-02-17 Andreas Jaeger <aj@suse.de>
30327 * time/Versions: Sort entries.
30328 * string/Versions: Likewise.
30329 * resolv/Versions: Likewise.
30330 * posix/Versions: Likewise.
30331 * iconv/Versions: Likewise.
30332 * elf/Versions: Likewise.
30333 * wcsmbs/Versions: Likewise.
30335 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30337 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30338 loop termination condition.
30340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30341 variable to calculate EZ.
30344 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30345 the lower precision input.
30347 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30350 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30351 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30352 (run-via-rtld-prefix): Do not handle %-bp tests.
30353 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30354 (all-object-suffixes): Remove .ob.
30355 (bppfx): Remove variable.
30356 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30357 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30358 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30359 [$(build-bounded) = yes] (libtype.ob): Likewise.
30360 * Makerules (elide-routines.ob): Remove variable.
30361 (do-tests-clean): Do not handle *-bp.out.
30362 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30363 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30364 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30365 (tests): Do not include $(tests-bp.out).
30366 (xtests): Do not include $(xtests-bp.out).
30367 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30368 [$(build-bounded) = yes] ($(addprefix
30369 $(objpfx),$(binaries-bounded))): Remove rule.
30370 ($(objpfx)%-bp.out): Remove rule.
30371 * config.make.in (build-bounded): Remove variable.
30372 * crypt/Makefile [$(build-bounded) = yes]
30373 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30374 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30375 append to variable.
30376 [$(build-bounded) = yes] (install-lib): Likewise.
30377 [$(build-bounded) = yes] (generated): Likewise.
30378 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30380 * intl/Makefile [$(build-bounded) = yes]
30381 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30382 * math/Makefile [$(build-bounded) = yes]
30383 ($(tests:%=$(objpfx)%-bp): Likewise.
30384 * misc/Makefile [$(build-bounded) = yes]
30385 ($(objpfx)tst-tsearch-bp): Likewise.
30386 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30387 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30389 * string/Makefile (o-objects.ob): Remove variable.
30390 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30391 (CFLAGS-.ob): Remove variable.
30392 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30393 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30394 both definitions of variable.
30395 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30396 (ASFLAGS-.ob): Remove variable.
30398 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30401 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30402 Remove __BOUNDED_POINTERS__ from condition.
30403 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30404 * string/bits/string2.h [!__NO_STRING_INLINES &&
30405 !__BOUNDED_POINTERS__]: Likewise.
30406 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30408 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30409 Remove conditional code.
30410 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30411 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30412 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30416 * csu/libc-start.c: Do not include <bp-sym.h>.
30417 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30418 * elf/dl-open.c: Do not include <bp-sym.h>.
30419 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30420 * math/fegetenv.c: Do not include <bp-sym.h>.
30421 (fegetenv): Do not use BP_SYM in versioned symbols.
30422 * nptl/sysdeps/pthread/bits/libc-lockP.h
30423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30426 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30428 (__pthread_mutex_destroy): Likewise.
30429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30430 (__pthread_mutex_lock): Likewise.
30431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30432 (__pthread_mutex_trylock): Likewise.
30433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30434 (__pthread_mutex_unlock): Likewise.
30435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30436 (__pthread_mutexattr_init): Likewise.
30437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30438 (__pthread_mutexattr_destroy): Likewise.
30439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30440 (__pthread_mutexattr_settype): Likewise.
30441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30442 (__pthread_rwlock_init): Likewise.
30443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30444 (__pthread_rwlock_destroy): Likewise.
30445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30446 (__pthread_rwlock_rdlock): Likewise.
30447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30448 (__pthread_rwlock_tryrdlock): Likewise.
30449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30450 (__pthread_rwlock_wrlock): Likewise.
30451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30452 (__pthread_rwlock_trywrlock): Likewise.
30453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30454 (__pthread_rwlock_unlock): Likewise.
30455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30456 (__pthread_key_create): Likewise.
30457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30458 (__pthread_setspecific): Likewise.
30459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30460 (__pthread_getspecific): Likewise.
30461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30464 (_pthread_cleanup_push_defer): Likewise.
30465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30466 (_pthread_cleanup_pop_restore): Likewise.
30467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30468 (pthread_setcancelstate): Likewise.
30469 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30471 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30472 (memchr): Do not use BP_SYM in weak_alias.
30473 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30474 (fegetenv): Do not use BP_SYM in versioned symbols.
30475 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30476 (fesetenv): Do not use BP_SYM in versioned symbols.
30477 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30478 (feupdateenv): Do not use BP_SYM in versioned symbols.
30479 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30480 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30481 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30482 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30483 (open64): Do not use BP_SYM in weak_alias.
30484 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30485 (fegetenv): Do not use BP_SYM in versioned symbols.
30486 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30487 (fesetenv): Do not use BP_SYM in versioned symbols.
30488 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30489 (feupdateenv): Do not use BP_SYM in versioned symbols.
30490 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30491 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30492 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30493 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30494 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30495 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30496 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30498 (__libc_start_main): Do not use BP_SYM.
30500 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30503 redundant return line.
30505 (denorm): Likewise.
30506 (dbl_mp): Likewise.
30507 (sub_magnitudes): Likewise.
30513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30515 (denorm): Likewise.
30516 (dbl_mp): Likewise.
30517 (sub_magnitudes): Likewise.
30524 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30526 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30527 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30530 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30531 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30533 of __mul for squares.
30534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30538 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30539 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30541 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30544 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30546 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30547 prototype or function definition. Rename ubp_* variables and
30548 parameters. Remove argv definitions conditional on
30549 [__BOUNDED_POINTERS__].
30550 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30551 * elf/dl-runtime.c (_dl_fixup): Likewise.
30552 * include/set-hooks.h (RUN_HOOK): Likewise.
30553 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30555 * string/strcpy.c (strcpy): Do not use __unbounded.
30556 * sysdeps/generic/frame.h (struct layout): Likewise.
30557 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30558 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30559 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30560 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30561 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30562 (__backtrace): Likewise.
30563 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30565 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30566 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30567 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30569 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30570 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30571 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30572 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30573 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30574 Do not use __unbounded.
30575 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30576 Rename __unboundedrlimits parameter to rlimits in prototype.
30577 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30578 Do not use __unbounded.
30579 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30580 not use __ptrvalue.
30581 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30582 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30583 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30584 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30585 __ptrvalue or __unbounded.
30586 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30587 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30589 (__new_msgctl): Do not use __ptrvalue.
30590 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30592 (__libc_msgrcv): Do not use __ptrvalue.
30593 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30594 startup_info): Do not use __unbounded.
30595 (__libc_start_main): Likewise. Rename ubp_* variables and
30596 parameters. Remove argv definitions conditional on
30597 [__BOUNDED_POINTERS__].
30598 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30600 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30602 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30604 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30606 (__new_shmctl): Do not use __ptrvalue.
30607 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30608 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30610 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30612 (__libc_sigaction): Likewise.
30613 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30614 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30616 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30618 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30620 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30622 * string/mempcpy.c: Implement by calling memcpy.
30624 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30631 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30632 values in the mantissa.
30634 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30635 minimize writes to Z.
30636 (sub_magnitudes): Simplify code a bit.
30638 2013-02-12 Roland McGrath <roland@hack.frob.com>
30640 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30641 from the message. The linker prefixes all warnings with that already.
30643 2013-02-12 Andreas Schwab <schwab@suse.de>
30646 * posix/regexec.c (extend_buffers): Add parameter min_len.
30647 (check_matching): Pass minimum needed length.
30648 (clean_state_log_if_needed): Likewise.
30649 (get_subexp): Likewise.
30650 * posix/Makefile (tests): Add bug-regex34.
30651 (bug-regex34-ENV): Define.
30652 * posix/bug-regex34.c: New file.
30655 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30656 elements compare against the byte sequence of it, not its name.
30657 * posix/Makefile (tests): Add bug-regex35.
30658 (bug-regex35-ENV): Define.
30659 * posix/bug-regex35.c: New file.
30661 2013-02-11 Tom de Vries <tom@codesourcery.com>
30663 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30665 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30666 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30667 (CHECK_EOL): Add undef.
30669 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30671 * bits/stdlib-bsearch.h: New file.
30672 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30673 * stdlib/stdlib.h: Likewise.
30675 2013-02-11 Roland McGrath <roland@hack.frob.com>
30677 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30678 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30680 * manual/search.texi (Array Search Function): Add missing const in
30682 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30683 declaration to use rlim_t.
30684 (Basic Scheduling Functions): Remove erroneous const from
30685 sched_getparam prototype. Remove erroneous * from
30686 sched_get_priority_max and sched_get_priority_min prototypes.
30687 (Resource Usage): Fix summary @comment on vtimes to refer to
30688 sys/vtimes.h rather than vtimes.h.
30689 Add missing *s in vtimes prototype.
30690 (Limits on Resources): Fix ulimit prototype to return long int.
30691 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30692 prototypes to use long int rather than double.
30693 (BSD Random): Fix initstate and setstate to use char *, not void *.
30694 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30695 prototype to make second argument 'struct aiocb64 *const[]'.
30696 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30697 (Status of AIO Operations): Remove erroneous const in aio_return and
30698 aio_return64 prototypes.
30699 (Synchronizing I/O): Fix sync prototype to return void.
30700 * manual/startup.texi (Suboptions): Remove an erroneous const in
30701 getsubopt prototype.
30702 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30703 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30704 use size_t rather than int.
30705 (Scanning All Users): Likewise for getpwent_r.
30706 (Setting Groups): Add missing const to setgroups prototype.
30707 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30708 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30709 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30710 'const void *' rather than 'const char *'.
30711 (Host Address Functions): Likewise for inet_ntop.
30712 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30713 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30714 ssize_t for return value.
30715 (Sending Data): Likewise for send, sendto, sendmsg.
30716 (Socket Option Functions): Add a missing const in setsockopt prototype.
30717 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30718 use wchar_t for the argument.
30719 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30720 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30722 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30723 double/float/long double for second argument.
30724 Fix return types of significand, significandf, significandl.
30725 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30726 argument in fchmod prototype.
30727 (File Owner): Use uid_t and gid_t in fchown prototype.
30728 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30729 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30730 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30731 use 'const struct dirent **' as argument types to CMP function pointer
30733 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30734 (File Times): Fix summary magic @comment for struct utimbuf and utime
30735 to refer to utime.h, not time.h.
30736 * manual/string.texi (Argz Functions): Add missing const in
30737 argz_extract and argz_next prototypes.
30738 (Finding Tokens in a String): Likewise for basename.
30739 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30740 (Copying and Concatenation): Fix typo in wmemmove prototype.
30741 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30742 (Signal Stack): Remove erroneous const in sigstack prototype.
30743 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30745 (Simple Calendar Time): Likewise for stime.
30746 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30748 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30749 say sys/sysctl.h instead.
30750 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30751 and vsyslog prototypes.
30753 2013-02-11 Tom de Vries <tom@codesourcery.com>
30755 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30758 2013-02-11 Roland McGrath <roland@hack.frob.com>
30760 * misc/sys/mman.h: Fix typo in mremap comment.
30762 2013-02-08 Roland McGrath <roland@hack.frob.com>
30764 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30765 the '\0' terminator.
30767 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30770 * debug/segfault.c: Don't include <bp-checks.h>.
30771 * sysdeps/generic/bp-checks.h: Remove file.
30772 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30773 (__GETDENTS): Don't use CHECK_N.
30774 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30775 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30776 (__getgroups): Don't use CHECK_N.
30777 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30778 (setgroups): Don't use CHECK_N.
30779 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30780 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30781 (__libc_msgrcv): Don't use CHECK_N.
30782 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30783 (__libc_msgsnd): Don't use CHECK_N.
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30786 (__libc_pread): Don't use CHECK_N.
30787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30788 include <bp-checks.h>.
30789 (__libc_pread64): Don't use CHECK_N.
30790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30791 include <bp-checks.h>.
30792 (__libc_pwrite): Don't use CHECK_N.
30793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30794 include <bp-checks.h>.
30795 (__libc_pwrite64): Don't use CHECK_N.
30796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30798 (__libc_pread): Don't use CHECK_N.
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30800 include <bp-checks.h>.
30801 (__libc_pread64): Don't use CHECK_N.
30802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30803 include <bp-checks.h>.
30804 (__libc_pwrite): Don't use CHECK_N.
30805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30806 include <bp-checks.h>.
30807 (__libc_pwrite64): Don't use CHECK_N.
30808 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30809 (do_pread): Don't use CHECK_N.
30810 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30811 (do_pread64): Don't use CHECK_N.
30812 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30813 (do_pwrite): Don't use CHECK_N.
30814 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30815 (do_pwrite64): Don't use CHECK_N.
30816 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30817 (__libc_readv): Don't use CHECK_N.
30818 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30819 (semop): Don't use CHECK_N.
30820 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30822 (semtimedop): Don't use CHECK_N.
30823 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30824 (__libc_pread): Don't use CHECK_N.
30825 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30827 (__libc_pread64): Don't use CHECK_N.
30828 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30830 (__libc_pwrite): Don't use CHECK_N.
30831 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30833 (__libc_pwrite64): Don't use CHECK_N.
30834 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30836 (__libc_msgrcv): Don't use CHECK_N.
30837 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30838 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30839 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30840 (__libc_writev): Don't use CHECK_N.
30842 2013-02-08 Roland McGrath <roland@hack.frob.com>
30844 * string/strcpy.c: Removed unused variable.
30846 * Makeconfig (+sysdep-includes): Define with := rather than =.
30847 Use an existing include/ subdir of each sysdeps dir before it.
30849 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30851 * nscd/connection.c (register_traced_file): Comment function.
30852 [HAVE_INOTIFY] (union __inev): Define.
30853 [HAVE_INOTIFY] (inotify_check_files): New function.
30854 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30855 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30857 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30859 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30861 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30862 loaded if not already and that a failure is permanent.
30864 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30867 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30868 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30870 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30873 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30874 (CHECK_1_NULL_OK): Likewise.
30875 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30876 (__fxstat): Do not use CHECK_1.
30877 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30879 (___fxstat64): Do not use CHECK_1.
30880 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30882 (__fxstatat): Do not use CHECK_1.
30883 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30885 (__fxstatat64): Do not use CHECK_1.
30886 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30888 (__fxstat): Do not use CHECK_1.
30889 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30891 (__fxstatat): Do not use CHECK_1.
30892 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30894 (__getresgid): Do not use CHECK_1.
30895 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30897 (__getresuid): Do not use CHECK_1.
30898 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30900 (__lxstat): Do not use CHECK_1.
30901 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30903 (__old_msgctl): Do not use CHECK_1.
30904 (__new_msgctl): Likewise.
30905 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30907 (__new_setrlimit): Do not use CHECK_1.
30908 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30910 (__old_shmctl): Do not use CHECK_1.
30911 (__new_shmctl): Likewise.
30912 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30914 (__xstat): Do not use CHECK_1.
30915 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30916 (__lxstat): Do not use CHECK_1.
30917 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30919 (___lxstat64): Do not use CHECK_1.
30920 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30921 (__old_msgctl): Do not use CHECK_1.
30922 (__new_msgctl): Likewise.
30923 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30925 (__gettimeofday): Do not use CHECK_1.
30926 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30927 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30928 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30930 (__gettimeofday): Do not use CHECK_1.
30931 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30932 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30933 (__new_shmctl): Do not use CHECK_1.
30934 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30936 (do_sigtimedwait): Do not use CHECK_1.
30937 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30939 (do_sigwaitinfo): Do not use CHECK_1.
30940 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30942 (msgctl): Do not use CHECK_1.
30943 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30945 (shmctl): Do not use CHECK_1.
30946 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30947 (ustat): Do not use CHECK_1.
30948 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30950 (__fxstat): Do not use CHECK_1.
30951 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30953 (__fxstatat): Do not use CHECK_1.
30954 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30956 (__lxstat): Do not use CHECK_1.
30957 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30959 (__xstat): Do not use CHECK_1.
30960 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30961 (__xstat): Do not use CHECK_1.
30962 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30963 (___xstat64): Do not use CHECK_1.
30966 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30968 (CHECK_BOUNDS_HIGH): Likewise.
30969 * string/strcpy.c: Do not include <bp-checks.h>.
30970 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30972 2013-02-07 Roland McGrath <roland@hack.frob.com>
30974 * nscd/nscd-client.h (__nscd_drop_map_ref):
30975 Add __attribute__ ((unused)).
30976 * nis/nss-nisplus.h (niserr2nss): Likewise.
30978 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30979 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30981 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30982 Remove inline keyword.
30983 * include/rounding-mode.h (round_away): Likewise.
30984 * libio/wfileops.c (adjust_wide_data): Likewise.
30985 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30986 (__m128i_strloadu_tolower): Likewise.
30987 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30988 (__m128i_strloadu_tolower): Likewise.
30989 * time/mktime.c (ydhms_diff): Likewise.
30990 * locale/elem-hash.h (elem_hash): Likewise.
30991 * locale/setlocale.c (setdata): Likewise.
30992 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30993 (re_string_wchar_at): Likewise.
30994 (bitset_not, bitset_merge, bitset_mask): Likewise.
30995 [!(__GNUC__ > 3)] (inline): Remove macro.
30996 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30997 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30998 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30999 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31000 * string/memcmp.c (memcmp_bytes): Likewise.
31001 * locale/programs/locarchive.c (compute_hashval): Likewise.
31002 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31003 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31004 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31005 * nss/getent.c (print_rpc, print_protocols): Likewise.
31006 (print_passwd, print_group, print_aliases): Likewise.
31007 * nis/nss-nisplus.h (niserr2nss): Likewise.
31008 * nscd/connections.c (restart_p): Likewise.
31009 Change return type to bool.
31011 2013-02-05 Roland McGrath <roland@hack.frob.com>
31013 * Makeconfig (all-Depend-files): Add existing
31014 $(sorted-subdirs:=/Depend) files.
31015 (all-subdirs): Remove nss.
31016 * sysdeps/unix/inet/Subdirs: Add it here instead.
31017 * hesiod/Depend: New file.
31019 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31020 instead of calling alloca.
31022 * io/lseek.c (__lseek): Rename to __libc_lseek.
31023 Define __lseek as an alias.
31025 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31027 2013-02-04 Carlos O'Donell <carlos@redhat.com>
31029 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31030 else clause and remove check for non-standard endianness.
31032 2013-02-04 David S. Miller <davem@davemloft.net>
31034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31036 2013-02-04 Joseph Myers <joseph@codesourcery.com>
31039 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31040 (__ubp_memchr): Remove prototype.
31041 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31042 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31043 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31044 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31045 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31047 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31048 (__ubp_memchr): Likewise.
31049 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31050 (__ubp_memchr): Likewise.
31051 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31052 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31053 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31054 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31056 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31057 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31058 (__getcwd): Do not use CHECK_STRING.
31059 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31061 (__real_chown): Do not use CHECK_STRING.
31062 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31064 (fchownat): Do not use CHECK_STRING.
31065 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31067 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31069 (__lchown): Do not use CHECK_STRING.
31070 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31071 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31072 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31073 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31075 include <bp-checks.h>.
31076 (truncate64): Do not use CHECK_STRING.
31077 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31079 (__real_chown): Do not use CHECK_STRING.
31080 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31082 (__lchown): Do not use CHECK_STRING.
31083 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31085 (__chown): Do not use CHECK_STRING.
31086 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31088 (truncate64): Do not use CHECK_STRING.
31089 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31091 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31092 (__xmknod): Do not use CHECK_STRING.
31093 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31095 (__xmknodat): Do not use CHECK_STRING.
31096 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31097 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31099 2013-02-04 Andreas Schwab <schwab@suse.de>
31102 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31103 * include/netdb.h: Likewise for h_errno.
31104 * elf/tst-stackguard1.c: Include <tls.h>.
31106 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31108 * elf/link.h (struct link_map): Extend the l_addr comment.
31109 * include/link.h (struct link_map): Likewise.
31111 2013-02-01 Joseph Myers <joseph@codesourcery.com>
31114 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31115 (BOUNDED_1): Remove macro.
31116 * debug/backtrace.c: Don't include <bp-checks.h>.
31117 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31118 (__backtrace): Likewise.
31119 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31121 (__backtrace): Don't use BOUNDED_1.
31122 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31124 (__backtrace): Don't use BOUNDED_1.
31125 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31126 (__backtrace): Don't use BOUNDED_1.
31127 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31128 (shmat): Don't use BOUNDED_N.
31130 2013-01-31 Joseph Myers <joseph@codesourcery.com>
31133 * sysdeps/generic/bp-start.h: Remove file.
31134 * csu/libc-start.c: Don't include <bp-start.h>.
31135 (LIBC_START_MAIN): Set up __environ directly instead of using
31136 INIT_ARGV_and_ENVIRON.
31137 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31141 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31143 (CHECK_FCNTL): Likewise.
31144 (CHECK_N_PAGES): Likewise.
31147 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31149 (CHECK_SIGSET_NULL_OK): Likewise.
31150 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31152 (sigpending): Don't use CHECK_SIGSET.
31153 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31155 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31156 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31158 (do_sigsuspend): Don't use CHECK_SIGSET.
31159 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31161 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31162 (do_sigwait): Don't use CHECK_SIGSET.
31163 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31165 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31166 include <bp-checks.h>.
31167 (sigpending): Don't use CHECK_SIGSET.
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31169 include <bp-checks.h>.
31170 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31171 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31173 (sigpending): Don't use CHECK_SIGSET.
31174 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31176 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31179 * sysdeps/generic/bp-semctl.h: Remove file.
31180 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31181 <bp-checks.h> and <bp-semctl.h>.
31182 (__old_semctl): Don't use CHECK_SEMCTL.
31183 (__new_semctl): Likewise.
31184 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31186 (__old_semctl): Don't use CHECK_SEMCTL.
31187 (__new_semctl): Likewise.
31188 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31189 <bp-checks.h> and <bp-semctl.h>.
31190 (__old_semctl): Don't use CHECK_SEMCTL.
31191 (__new_semctl): Likewise.
31192 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31193 <bp-checks.h> and <bp-semctl.h>.
31194 (semctl): Don't use CHECK_SEMCTL.
31197 * Makerules (elide-bp-thunks): Remove variable.
31198 (elide-routines.oS): Don't use $(elide-bp-thunks).
31199 (elide-routines.os): Likewise.
31200 (elide-routines.o): Likewise.
31201 (elide-routines.op): Likewise.
31202 (elide-routines.og): Likewise.
31203 (objects): Don't use $(bp-thunks).
31204 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31206 (common-generated): Do not add s-proto-bp.d.
31207 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31210 Do not generate makefile rules for bounded-pointer thunks.
31211 * sysdeps/generic/bp-thunks.h: Remove file.
31212 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31213 * sysdeps/unix/s-proto-bp.S: Likewise.
31216 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31217 parts of result separately when argument is not close to line from
31218 -i to i and one part of argument is small.
31219 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31220 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31221 * math/libm-test.inc (cacos_test): Add more tests.
31222 (casin_test): Likewise.
31223 (casinh_test): Likewise.
31224 * sysdeps/i386/fpu/libm-test-ulps: Update.
31225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31227 2013-01-31 David S. Miller <davem@davemloft.net>
31229 * po/de.po: Update from translation team.
31231 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31233 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31235 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31237 * configure.in (_AC_PROG_CC_C89): New definition.
31238 * configure: Regenerate.
31240 * configure.in (AC_PROG_CPP): New definition.
31241 * configure: Regenerate.
31243 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31245 * debug/tst-backtrace.h: New file.
31246 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31247 (ret): Remove variable.
31249 (FAIL): Remove macro.
31250 (NO_INLINE): Likewise.
31251 (fn1): Use match function instead of strstr.
31252 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31253 (ret): Remove variable.
31255 (FAIL): Remove macro.
31256 (NO_INLINE): Likewise.
31257 (fn): Use match function instead of strstr.
31258 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31259 (ret): Remove variable.
31261 (FAIL): Remove macro.
31262 (NO_INLINE): Likewise.
31263 (handle_signal): Use match function instead of strstr.
31264 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31265 (ret): Remove variable.
31267 (FAIL): Remove macro.
31268 (NO_INLINE): Likewise.
31269 (handle_signal): Use match function instead of strstr.
31271 2013-01-23 Roland McGrath <roland@hack.frob.com>
31273 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31275 2013-01-23 David S. Miller <davem@davemloft.net>
31277 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31278 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31279 argument of CAS if possible.
31280 * sysdeps/sparc/sparc64/bits/atomic.h
31281 (__arch_compare_and_exchange_val_32_acq): Likewise.
31282 (__arch_compare_and_exchange_val_64_acq): Likewise.
31284 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31286 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31287 * sysdeps/posix/ulimit.c: ... this.
31288 Include <limits.h>.
31289 * sysdeps/unix/bsd/ulimit.c: Remove file.
31291 2013-01-23 Adam Conrad <adconrad@0c3.net>
31293 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31294 (LDFLAGS-tst-array5): Likewise.
31296 2013-01-23 Joseph Myers <joseph@codesourcery.com>
31299 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31300 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31301 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31302 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31304 2013-01-21 David S. Miller <davem@davemloft.net>
31306 * sysdeps/sparc/backtrace.c: New file.
31307 * sysdeps/sparc/sparc32/backtrace.h: New file.
31308 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31309 * sysdeps/sparc/sparc64/backtrace.h: New file.
31310 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31311 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31314 2013-01-21 Andreas Schwab <schwab@suse.de>
31317 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31320 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31326 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31327 Mark Mitchell <mark@codesourcery.com>
31328 Tom de Vries <tom@codesourcery.com>
31329 Paul Pluzhnikov <ppluzhnikov@google.com>
31331 * debug/tst-backtrace2.c: New file.
31332 * debug/tst-backtrace3.c: Likewise.
31333 * debug/tst-backtrace4.c: Likewise.
31334 * debug/tst-backtrace5.c: Likewise.
31335 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31336 (CFLAGS-tst-backtrace3.c): Likewise.
31337 (CFLAGS-tst-backtrace4.c): Likewise.
31338 (CFLAGS-tst-backtrace5.c): Likewise.
31339 (LDFLAGS-tst-backtrace2): Likewise.
31340 (LDFLAGS-tst-backtrace3): Likewise.
31341 (LDFLAGS-tst-backtrace4): Likewise.
31342 (LDFLAGS-tst-backtrace5): Likewise.
31343 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31344 tst-backtrace4 and tst-backtrace5.
31346 2013-01-18 Anton Blanchard <anton@samba.org>
31347 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31349 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31350 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31351 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31352 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31354 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31355 "+r" and remove output regs list as redundant. Add explicit inline
31356 asm to specify register of return val to work around compiler codegen
31357 bug. Remove (int) cast on return value. Add return type parameter to
31358 use in macro so that this macro does not truncate return value for
31360 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31361 pass to INTERNAL_VSYSCALL_NCS.
31362 (INLINE_VSYSCALL): Add 'long int' as return type to
31363 INTERNAL_VSYSCALL_NCS macro invocation.
31364 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31365 INTERNAL_VSYSCALL_NCS macro invocation.
31366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31368 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31371 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31372 Fix application of SIMD FP exception mask.
31374 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31375 mp_no from a power of two.
31376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31377 __mpexp_twomm1. Use __pow_mp.
31379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31382 2013-01-17 David S. Miller <davem@davemloft.net>
31384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31386 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31389 * include/complex.h: Condition contents on [!_COMPLEX_H].
31390 (__kernel_casinhf): New prototype.
31391 (__kernel_casinh): Likewise.
31392 (__kernel_casinhl): Likewise.
31393 * math/Makefile (libm_calls): Add k_casinh.
31394 * math/k_casinh.c: New file.
31395 * math/k_casinhf.c: Likewise.
31396 * math/k_casinhl.c: Likewise.
31397 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31398 finite nonzero arguments.
31399 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31400 finite nonzero arguments.
31401 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31402 finite nonzero arguments.
31403 * math/s_casinh.c: Do not include <float.h>.
31404 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31405 * math/s_casinhf.c: Do not include <float.h>.
31406 (__casinhf): Move code for finite nonzero arguments to
31408 * math/s_casinhl.c: Do not include <float.h>.
31409 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31411 (__casinhl): Move code for finite nonzero arguments to
31413 * math/libm-test.inc (cacos_test): Add more tests.
31414 * sysdeps/i386/fpu/libm-test-ulps: Update.
31415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31417 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31419 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31420 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31421 [!HAVE_MREMAP]: Remove [defined linux] case.
31422 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31424 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31426 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31428 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31430 * elf/elf.h (R_386_SIZE32): New relocation.
31431 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31433 (elf_machine_rela): Likewise.
31434 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31435 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31437 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31439 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31440 (FP_FAST_FMA): Do not define.
31441 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31442 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31443 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31444 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31445 !_SOFT_FLOAT]: Likewise.
31446 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31447 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31449 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31450 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31451 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31452 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31453 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31454 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31457 2013-01-16 Andreas Schwab <schwab@suse.de>
31460 * include/stdlib.h (__mktemp): Add declaration.
31461 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31462 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31464 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31466 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31468 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31469 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31470 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31472 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31473 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31475 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31477 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31478 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31479 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31481 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31482 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31484 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31486 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31488 2013-01-15 David S. Miller <davem@davemloft.net>
31490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31491 trunc{,f} to libm-sysdep_routes.
31492 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31502 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31503 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31504 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31505 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31506 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31507 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31510 nearbyint{,f} to libm-sysdep_routes.
31511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31522 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31524 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31528 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31529 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31531 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31532 libc_feholdexcept and libc_fesetenv.
31534 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31536 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31538 2013-01-14 David S. Miller <davem@davemloft.net>
31540 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31541 (SPARC_ASM_VIS2_IFUNC): Likewise.
31542 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31544 use of 'siam' instruction.
31545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31554 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31578 routines to libm-sysdep_routines.
31579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31582 fdim/fdimf to libm-sysdep_routines.
31583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31591 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31592 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31593 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31594 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31596 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31598 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31599 to optimize copies.
31601 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31606 local variable MPTWO.
31607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31610 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31612 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31615 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31617 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31619 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31621 * manual/pattern.texi (glob_t): Document gl_flags.
31622 (glob64_t): Likewise.
31624 2013-01-11 David S. Miller <davem@davemloft.net>
31626 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31627 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31628 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31629 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31630 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31631 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31632 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31633 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31634 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31635 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31636 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31637 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31638 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31640 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31641 sparc V9 rather than using V8 code.
31642 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31643 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31645 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31650 2013-01-11 Roland McGrath <roland@hack.frob.com>
31652 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31653 not in the main loop.
31654 * configure: Regenerated.
31656 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31658 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31659 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31661 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31662 [!__GLIBC_HAVE_LONG_LONG] case.
31663 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31664 condition to just #else.
31665 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31666 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31667 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31668 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31670 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31671 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31672 #elif condition to just #else.
31673 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31674 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31675 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31676 #elif condition to just #else.
31678 2013-01-11 Steve Ellcey <sellcey@mips.com>
31680 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31681 (EF_MIPS_ARCH_64): Fix value.
31682 (EF_MIPS_ARCH_32R2): New.
31683 (EF_MIPS_ARCH_64R2): New.
31685 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31687 * Makeconfig (+link-pie-before-libc): New.
31688 (+link-pie-after-libc): Likewise.
31689 (+link-pie-tests): Likewise.
31690 (+link-pie): Rewritten.
31691 (link-before-libc): Remove $(config-LDFLAGS).
31692 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31693 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31694 (config-LDFLAGS): Renamed to ...
31695 (rtld-LDFLAGS): This.
31696 (rtld-tests-LDFLAGS): New macro.
31697 (link-libc-rpath-link): Likewise.
31698 (link-libc-tests-rpath-link): Likewise.
31699 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31700 (link-libc): Prepand $(link-libc-rpath-link).
31701 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31702 (test-program-prefix): New macro.
31703 (test-via-rtld-prefix): Likewise.
31704 (test-program-cmd): Likewise.
31705 (host-test-program-cmd): Likewise.
31706 * Makefile ($(common-objpfx)testrun.sh): Replace
31707 $(run-program-prefix) with $(test-program-prefix).
31708 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31710 ($(common-objpfx)shlib.lds): Likewise.
31711 (build-module-helper): Likewise.
31712 ($(common-objpfx)format.lds): Likewise.
31713 * Rules (binaries-pie-tests): New.
31714 (binaries-pie-notests): Likewise.
31715 (binaries-pie): Rewritten.
31716 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31717 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31718 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31719 (make-test-out): Replace $(host-built-program-cmd) with
31720 $(host-test-program-cmd).
31721 * config.make.in (build-hardcoded-path-in-tests): New variable.
31722 * configure.in (--enable-hardcoded-path-in-tests): New configure
31724 (hardcoded_path_in_tests): New AC_SUBST.
31725 * configure: Regenerated.
31726 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31727 $(built-program-cmd) with $(test-program-cmd).
31728 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31729 (test_program_cmd): This.
31730 * elf/Makefile ($(objpfx)order.out): Run test with
31731 $(test-program-prefix).
31732 ($(objpfx)order2.out): Likewise.
31733 ($(objpfx)tst-initorder.out): Likewise.
31734 ($(objpfx)tst-initorder2.out): Likewise.
31735 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31736 $(test-program-cmd).
31737 ($(objpfx)tst-array1-static.out): Likewise.
31738 ($(objpfx)tst-array2.out): Likewise.
31739 ($(objpfx)tst-array3.out): Likewise.
31740 ($(objpfx)tst-array4.out): Likewise.
31741 ($(objpfx)tst-array5.out): Likewise.
31742 ($(objpfx)tst-array5-static.out): Likewise.
31743 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31744 $(test-program-cmd).
31745 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31746 $(run-program-prefix) with $(test-program-prefix).
31747 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31748 (test_program_prefix): This.
31749 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31750 $(run-program-prefix) with $(test-program-prefix).
31751 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31752 (test_program_prefix): This.
31753 * iconvdata/tst-tables.sh: Likewise.
31754 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31755 $(run-program-prefix) with $(test-program-prefix).
31756 ($(objpfx)tst-translit.out): Likewise.
31757 ($(objpfx)tst-gettext2.out): Likewise.
31758 ($(objpfx)tst-gettext4.out): Likewise.
31759 ($(objpfx)tst-gettext6.out): Likewise.
31760 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31761 (test_program_prefix): This.
31762 * intl/tst-gettext2.sh: Likewise.
31763 * intl/tst-gettext4.sh Likewise.
31764 * intl/tst-gettext6.sh: Likewise.
31765 * intl/tst-translit.sh: Likewise.
31766 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31767 with $(test-program-cmd).
31768 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31769 $(run-program-prefix) with $(test-program-prefix).
31770 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31771 (test_program_prefix): This.
31772 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31773 $(run-program-prefix) with $(test-program-prefix).
31774 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31775 (test_program_prefix): This.
31776 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31777 * posix/Makefile ($(objpfx)globtest.out): Replace
31778 $(run-via-rtld-prefix) and $(test-wrapper) with
31779 $(test-program-prefix) and $(test-via-rtld-prefix).
31780 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31781 $(test-program-prefix).
31782 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31783 $(host-test-program-cmd).
31784 (tst-spawn-ARGS): Likewise.
31785 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31786 $(test-program-prefix).
31787 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31788 (test_via_rtld_prefix): This.
31789 (test_wrapper): Renamed to ...
31790 (test_program_prefix): This.
31791 (run_program_prefix): Replaced by test_program_prefix.
31792 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31793 (test_program_prefix): This.
31794 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31795 with $(host-test-program-cmd).
31796 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31797 $(run-program-prefix) with $(test-program-prefix).
31798 ($(objpfx)tst-printf.out): Likewise.
31799 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31800 $(test-program-cmd).
31801 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31802 (test_program_prefix): This.
31803 * stdio-common/tst-unbputc.sh: Likewise.
31804 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31805 $(run-program-prefix) with $(test-program-prefix).
31806 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31807 (test_program_prefix): This.
31808 * string/Makefile ($(objpfx)tst-svc.out): Replace
31809 $(built-program-cmd) with $(test-program-cmd).
31811 2013-01-11 Andreas Jaeger <aj@suse.de>
31814 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31815 value. Sync with Linux 3.7.
31817 2013-01-10 David S. Miller <davem@davemloft.net>
31819 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31820 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31821 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31823 2013-01-10 Roland McGrath <roland@hack.frob.com>
31825 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31827 * configure: Regenerated.
31829 2013-01-10 David S. Miller <davem@davemloft.net>
31831 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31832 sparc V9 rather than using V8 code.
31833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31836 2013-01-10 Roland McGrath <roland@hack.frob.com>
31838 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31839 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31840 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31841 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31842 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31843 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31844 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31845 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31846 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31847 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31848 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31849 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31850 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31851 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31852 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31853 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31854 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31855 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31856 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31857 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31858 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31859 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31860 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31861 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31862 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31863 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31864 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31866 2013-01-10 David S. Miller <davem@davemloft.net>
31868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31870 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31872 * posix/Makefile (tests-static): New variable.
31873 (tests): Add $(tests-static).
31874 (tst-exec-static-ARGS): New variable.
31875 (tst-spawn-static-ARGS): Likewise.
31876 * posix/tst-exec-static.c: New file.
31877 * posix/tst-spawn-static.c: Likewise.
31878 * posix/tst-exec.c: Support run directly.
31879 * posix/tst-spawn.c: Likewise.
31881 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31883 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31885 * math/bits/mathcalls.h (llrint): Likewise.
31886 (llround): Likewise.
31887 * stdlib/stdlib.h (struct drand48_data): Likewise.
31888 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31889 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31890 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31892 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31894 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31895 (elf_greg_t): Likewise.
31896 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31897 (__jmp_buf): Likewise.
31898 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31900 (llrint): Likewise, for all definitions.
31901 (llrintl): Likewise.
31903 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31904 Remove [__GNUC__] condition.
31905 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31906 condition to just [__USE_ISOC99].
31907 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31909 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31912 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31913 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31915 (_POSIX_V6_ILP32_OFF32): Likewise.
31916 (_XBS5_ILP32_OFF32): Likewise.
31917 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31918 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31920 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31922 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31925 doubles __mpexp_twomm1. Adjust usage.
31926 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31929 2013-01-10 Andreas Schwab <schwab@suse.de>
31932 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31933 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31935 2013-01-09 David S. Miller <davem@davemloft.net>
31938 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31939 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31940 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31941 (TCP_FASTOPEN): Define.
31942 (tcp_repair_opt): New structure.
31943 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31945 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31946 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31947 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31948 (tcp_cookie_transactions): New structure.
31950 2013-01-09 Anton Blanchard <anton@samba.org>
31952 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31953 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31954 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31955 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31957 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31959 * include/features.h (__USE_ANSI): Remove.
31961 2013-01-09 Roland McGrath <roland@hack.frob.com>
31963 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31965 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31967 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31969 * sysdeps/s390/fpu/libm-test-ulps: Update.
31971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31973 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31977 (denorm): Likewise.
31978 (__mp_dbl): Likewise.
31979 (__dbl_mp): Likewise.
31980 (add_magnitudes): Likewise.
31981 (sub_magnitudes): Likewise.
31987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31991 (denorm): Likewise.
31992 (__mp_dbl): Likewise.
31993 (__dbl_mp): Likewise.
31994 (add_magnitudes): Likewise.
31995 (sub_magnitudes): Likewise.
32001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32005 (denorm): Likewise.
32006 (__mp_dbl): Likewise.
32007 (__dbl_mp): Likewise.
32008 (add_magnitudes): Likewise.
32009 (sub_magnitudes): Likewise.
32016 2013-01-08 Joseph Myers <joseph@codesourcery.com>
32018 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32019 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32020 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32021 2 && __USE_EXTERN_INLINES]: Likewise.
32023 2013-01-08 Andreas Jaeger <aj@suse.de>
32026 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32028 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32029 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32031 2013-01-07 Anton Blanchard <anton@samba.org>
32033 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32034 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32035 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32036 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32037 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32038 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32039 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32040 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32042 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32044 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32045 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32046 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32047 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32048 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32049 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32050 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32051 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32052 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32053 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32054 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32055 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32056 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32057 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32058 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32059 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32060 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32062 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32063 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32066 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32067 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32068 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32069 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32070 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32071 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32072 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32073 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32075 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32077 2013-01-07 Joseph Myers <joseph@codesourcery.com>
32079 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32080 (__MALLOC_PMT): Likewise.
32081 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32082 [__GNUC__], only on [_LIBC].
32083 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32084 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32085 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32086 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32087 forward declaration.
32088 (realloc_hook_ini): Likewise.
32089 (memalign_hook_ini): Likewise.
32090 (__libc_memalign): Do not use __MALLOC_PMT in variable
32092 (__libc_valloc): Likewise.
32093 (__libc_pvalloc): Likewise.
32094 (__libc_calloc): Likewise.
32095 (__posix_memalign): Likewise.
32098 * math/s_casinh.c: Include <float.h>.
32099 (__casinh): Do not do computation with squaring and square root
32100 for large arguments.
32101 * math/s_casinhf.c: Include <float.h>.
32102 (__casinhf): Do not do computation with squaring and square root
32103 for large arguments.
32104 * math/s_casinhl.c: Include <float.h>.
32105 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32106 (__casinhl): Do not do computation with squaring and square root
32107 for large arguments.
32108 * math/libm-test.inc (casin_test): Add more tests.
32109 (casinh_test): Likewise.
32110 * sysdeps/i386/fpu/libm-test-ulps: Update.
32111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32113 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32115 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32116 (__x86_64_raw_data_cache_size): Likewise.
32117 (__x86_64_data_cache_size_half): Likewise.
32118 (__x86_64_raw_data_cache_size_half): Likewise.
32119 (__x86_64_shared_cache_size): Likewise.
32120 (__x86_64_raw_shared_cache_size): Likewise.
32121 (__x86_64_shared_cache_size_half): Likewise.
32122 (__x86_64_raw_shared_cache_size_half): Likewise.
32123 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32125 (__x86_data_cache_size): This.
32126 (__x86_64_raw_data_cache_size): Renamed to ...
32127 (__x86_raw_data_cache_size): This.
32128 (__x86_64_data_cache_size_half): Renamed to ...
32129 (__x86_data_cache_size_half): This.
32130 (__x86_64_raw_data_cache_size_half): Renamed to ...
32131 (__x86_raw_data_cache_size_half): This.
32132 (__x86_64_shared_cache_size): Renamed to ...
32133 (__x86_shared_cache_size): This.
32134 (__x86_64_raw_shared_cache_size): Renamed to ...
32135 (__x86_raw_shared_cache_size): This.
32136 (__x86_64_shared_cache_size_half): Renamed to ...
32137 (__x86_shared_cache_size_half): This.
32138 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32139 (__x86_raw_shared_cache_size_half): This.
32140 * sysdeps/x86_64/memcpy.S: Updated.
32141 * sysdeps/x86_64/memset.S: Likewise.
32142 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32144 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32146 2013-01-04 David S. Miller <davem@davemloft.net>
32148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32150 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32152 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32153 1 to avoid redefinition warning.
32154 (__USE_GNU): Don't define.
32155 (init_signaling_nan): Protoize.
32157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32159 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32161 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32163 (__cpymn): Likewise.
32164 (norm): Remove commented code.
32165 (denorm): Likewise.
32166 (__mp_dbl): Likewise.
32168 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32169 (__cpymn): Likewise.
32170 (norm): Remove commented code.
32171 (denorm): Likewise.
32172 (__mp_dbl): Likewise.
32175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32176 mp_no value for 1.0 and 2.0.
32177 (norm): Use RADIXI instead of radixi.d.
32178 (denorm): Likewise.
32179 (__mul): Use 0.0 instead of zero.d.
32180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32181 mp_no value for 1.0 and 2.0.
32182 (norm): Use RADIXI instead of radixi.d.
32183 (denorm): Likewise.
32184 (__mul): Use 0.0 instead of zero.d.
32186 2013-01-04 Joseph Myers <joseph@codesourcery.com>
32189 * math/s_casinh.c (__casinh): Reduce finite argument to first
32190 quadrant then set signs of results at the end.
32191 * math/s_casinhf.c (__casinhf): Likewise.
32192 * math/s_casinhl.c (__casinhl): Likewise.
32193 * math/libm-test.inc (casin_test): Add more tests.
32194 (casinh_test): Likewise.
32195 * sysdeps/i386/fpu/libm-test-ulps: Update.
32196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32198 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32200 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32202 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32204 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32206 (denorm): Likewise.
32207 (__mp_dbl): Likewise.
32210 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32211 and adjust the header comment.
32213 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32214 variable name from declaration.
32216 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32219 Initialize COMMON_CPUID_INDEX_7 element.
32220 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32221 (CPUID_RTM): Likewise.
32222 (HAS_RTM): Likewise.
32223 (COMMON_CPUID_INDEX_7): New enum.
32225 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32228 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32229 size is zero, record memory as freed.
32231 2013-01-03 Andreas Jaeger <aj@suse.de>
32233 * po/ia.po: Add new Interlingua translation.
32235 2012-01-03 Allan McRae <allan@archlinux.org>
32237 * locale/programs/localedef.c: Fix description of '--posix' flag.
32239 2013-01-02 Joseph Myers <joseph@codesourcery.com>
32241 * NEWS: Update dates in second copyright notice.
32242 * README: Update copyright dates in example.
32243 * manual/libc.texinfo: Update copyright dates.
32244 * scripts/test-installation.pl: Update copyright date in --version
32247 * hurd/ctty-input.c: Fix copyright notice formatting.
32248 * hurd/ctty-output.c: Likewise.
32249 * hurd/dtable.c: Likewise.
32250 * hurd/hurd-raise.c: Likewise.
32251 * hurd/hurdprio.c: Likewise.
32252 * hurd/msgportdemux.c: Likewise.
32253 * misc/sys/file.h: Likewise.
32254 * misc/sys/ioctl.h: Likewise.
32255 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32256 * sysdeps/mach/hurd/chdir.c: Likewise.
32257 * sysdeps/mach/hurd/fchdir.c: Likewise.
32258 * sysdeps/mach/hurd/rename.c: Likewise.
32259 * sysdeps/mach/hurd/rmdir.c: Likewise.
32260 * sysdeps/mach/hurd/seekdir.c: Likewise.
32261 * sysdeps/mach/hurd/setsid.c: Likewise.
32262 * sysdeps/posix/wait3.c: Likewise.
32264 * All files with FSF copyright notices: Update copyright dates
32265 using scripts/update-copyrights.
32266 * intl/plural.c: Regenerated.
32267 * locale/programs/charmap-kw.h: Likewise.
32268 * locale/programs/locfile-kw.h: Likewise.
32270 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32272 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32275 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32276 calculation loop and add branch prediction.
32278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32279 check access beyond bounds of m1np.
32281 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32283 (__inv): Remove local variable MPTWO to use the global
32285 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32286 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32288 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32289 MP3HALFS static const.
32291 2013-01-01 David S. Miller <davem@davemloft.net>
32293 * po/ca.po: Update from translation team.
32295 2013-01-01 Joseph Myers <joseph@codesourcery.com>
32297 * scripts/update-copyrights: New file.
32298 * Makeconfig: Reformat copyright notice.
32299 * ctype/ctype.h: Likewise.
32300 * debug/swprintf_chk.c: Likewise.
32301 * elf/dl-cache.c: Likewise.
32302 * elf/dl-debug.c: Likewise.
32303 * elf/dl-object.c: Likewise.
32304 * grp/initgroups.c: Likewise.
32305 * hurd/Makefile: Likewise.
32306 * hurd/hurd/signal.h: Likewise.
32307 * hurd/hurdfault.c: Likewise.
32308 * hurd/hurdioctl.c: Likewise.
32309 * hurd/hurdlookup.c: Likewise.
32310 * hurd/intr-msg.c: Likewise.
32311 * iconv/gconv_open.c: Likewise.
32312 * libio/swprintf.c: Likewise.
32313 * locale/lc-ctype.c: Likewise.
32314 * locale/nl_langinfo.c: Likewise.
32315 * mach/Machrules: Likewise.
32316 * mach/Makefile: Likewise.
32317 * malloc/obstack.h: Likewise.
32318 * manual/Makefile: Likewise.
32319 * manual/tsort.awk: Likewise.
32320 * misc/bits/stab.def: Likewise.
32321 * nis/nis_print_group_entry.c: Likewise.
32322 * nis/nis_table.c: Likewise.
32323 * nis/nss_compat/compat-pwd.c: Likewise.
32324 * nis/nss_compat/compat-spwd.c: Likewise.
32325 * po/Makefile: Likewise.
32326 * posix/fnmatch.c: Likewise.
32327 * posix/regex.h: Likewise.
32328 * resolv/Makefile: Likewise.
32329 * resolv/nss_dns/dns-network.c: Likewise.
32330 * resolv/res_hconf.c: Likewise.
32331 * scripts/gen-sorted.awk: Likewise.
32332 * soft-fp/soft-fp.h: Likewise.
32333 * stdio-common/printf.h: Likewise.
32334 * stdlib/monetary.h: Likewise.
32335 * stdlib/random.c: Likewise.
32336 * stdlib/random_r.c: Likewise.
32337 * sysdeps/generic/Makefile: Likewise.
32338 * sysdeps/gnu/Makefile: Likewise.
32339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32341 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32343 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32362 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32363 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32365 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32366 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32367 * sysdeps/mach/hurd/errnos.awk: Likewise.
32368 * sysdeps/mach/hurd/fork.c: Likewise.
32369 * sysdeps/mach/hurd/getcwd.c: Likewise.
32370 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32371 * sysdeps/mach/hurd/mmap.c: Likewise.
32372 * sysdeps/mach/hurd/utimes.c: Likewise.
32373 * sysdeps/mach/hurd/xmknod.c: Likewise.
32374 * sysdeps/posix/profil.c: Likewise.
32375 * sysdeps/posix/readdir_r.c: Likewise.
32376 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32377 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32378 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32379 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32381 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32382 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32383 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32385 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32386 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32387 * sysdeps/pthread/lio_listio.c: Likewise.
32388 * sysdeps/sparc/dl-procinfo.h: Likewise.
32389 * sysdeps/unix/i386/sysdep.S: Likewise.
32390 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32391 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32392 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32393 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32395 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32396 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32397 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32398 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32399 * sysdeps/wordsize-32/divdi3.c: Likewise.
32400 * time/sys/time.h: Likewise.
32401 * wcsmbs/Makefile: Likewise.
32403 2013-01-01 David S. Miller <davem@davemloft.net>
32405 * po/fr.po: Update from translation team.
32407 * catgets/gencat.c: Update copyright year.
32408 * csu/version.c: Likewise.
32409 * debug/catchsegv.sh: Likewise.
32410 * debug/pcprofiledump.c: Likewise.
32411 * debug/xtrace.sh: Likewise.
32412 * elf/ldconfig.c: Likewise.
32413 * elf/ldd.bash.in: Likewise.
32414 * elf/pldd.c: Likewise.
32415 * elf/sotruss.ksh: Likewise.
32416 * elf/sprof.c: Likewise.
32417 * iconv/iconv_prog.c: Likewise.
32418 * iconv/iconvconfig.c: Likewise.
32419 * locale/programs/locale.c: Likewise.
32420 * locale/programs/localedef.c: Likewise.
32421 * login/programs/pt_chown.c: Likewise.
32422 * malloc/memusage.sh: Likewise.
32423 * malloc/memusagestat.c: Likewise.
32424 * malloc/mtrace.pl: Likewise.
32425 * nscd/nscd.c: Likewise.
32426 * nss/getent.c: Likewise.
32427 * nss/makedb.c: Likewise.
32428 * posix/getconf.c: Likewise.
32430 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32432 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32435 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32437 * math/bits/mathcalls.h (modf): Use __nonnull.
32439 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32441 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32442 (split): Use macro CN instead of the bare value.
32443 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32446 instead of the bare value.
32447 (power1): Likewise.
32449 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32455 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32457 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32458 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32459 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32460 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32462 2012-12-28 Andreas Jaeger <aj@suse.de>
32464 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32465 values are from Linux 3.7.
32467 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32468 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32470 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32472 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32475 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32477 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32478 variables with preprocessor constants.
32479 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32480 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32481 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32483 2012-12-27 Bruno Haible <bruno@clisp.org>
32486 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32489 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32491 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32492 and use variable directly.
32493 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32495 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32497 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32500 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32502 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32503 include directive. Remove local variable MPONE.
32504 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32505 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32508 2012-12-25 David S. Miller <davem@davemloft.net>
32510 * version.h (RELEASE): Set to "development".
32511 (VERSION): Set to "2.17.90".
32512 * NEWS: Add 2.18 section.
32514 2012-12-21 David S. Miller <davem@davemloft.net>
32516 * po/hr.po: Update from translation team.
32518 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32520 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32522 2012-12-19 Steve Ellcey <sellcey@mips.com>
32524 * NEWS: Mention new memcpy for MIPS.
32526 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32528 * manual/contrib.texi (Contributors): Spelling correction.
32530 2012-12-15 David S. Miller <davem@davemloft.net>
32532 * po/ru.po: Update from translation team.
32534 2012-12-13 David S. Miller <davem@davemloft.net>
32536 * NEWS: Mention IFUNC testsuite enhancements.
32538 * po/pl.po: Update from translation team.
32539 * po/bg.po: Likewise.
32541 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32542 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32544 2012-12-11 David S. Miller <davem@davemloft.net>
32546 * po/sv.po: Update from translation team.
32548 * po/vi.po: Update from translation team.
32550 * po/cs.po: Update from translation team.
32552 * po/de.po: Update from translation team.
32553 * po/eo.po: Likewise.
32554 * po/nl.po: Likewise.
32556 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32559 * manual/argp.texi (Argp Helper Functions): Move node to follow
32560 Argp Parsing State.
32563 * manual/conf.texi (Limits on File System Capacity): Mention if
32564 terminating null is included in the max size.
32566 2012-12-10 Andreas Jaeger <aj@suse.de>
32568 * po/cs.po: Update from translation team.
32570 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32572 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32573 void pointer and cast to uintptr_t.
32574 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32576 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32577 * sysdeps/s390/s390-64/memset.S: Likewise.
32579 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32582 * menual/message.texi (Message Translation): Fix typos.
32583 (Helper programs for gettext): Likewise.
32585 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32588 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32591 2012-12-07 David S. Miller <davem@davemloft.net>
32593 * po/libc.pot: Update.
32595 2012-12-07 Richard Henderson <rth@redhat.com>
32598 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32599 normal/normal case to before the switch.
32600 (_FP_DIV): Likewise.
32602 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32603 Mike Frysinger <vapier@gentoo.org>
32605 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32606 check for __NR_fadvise64_64.
32608 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32610 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32611 0, not just to plain "0" as a statement.
32612 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32615 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32617 * NEWS: Use sourceware.org in Bugzilla URL.
32619 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32622 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32624 * stdio-common/tst-put-error.c (do_test): Add newline to the
32625 padded test to ensure flush.
32627 2012-12-05 Jeff Law <law@redhat.com>
32629 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32631 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32633 * README: Don't refer to ports add-on as distributed separately.
32634 Mention AArch64 in list of systems supported in the ports add-on.
32636 * LICENSES: Add more non-FSF copyright and license notices.
32638 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32641 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32643 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32644 10000 as width of padded output.
32646 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32648 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32650 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32651 variable LX with __attribute__ ((unused)).
32652 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32654 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32656 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32657 with __attribute__ ((unused)).
32659 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32661 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32663 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32665 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32666 (CFLAGS-nldbl-acos.c): New variable.
32667 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32668 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32669 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32670 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32671 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32672 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32673 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32674 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32675 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32676 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32677 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32678 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32679 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32680 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32681 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32682 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32683 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32684 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32685 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32686 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32687 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32688 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32689 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32690 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32691 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32692 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32693 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32694 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32695 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32696 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32697 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32698 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32699 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32700 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32701 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32702 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32703 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32704 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32705 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32706 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32707 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32708 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32709 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32710 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32711 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32712 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32713 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32714 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32715 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32716 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32717 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32718 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32719 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32720 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32721 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32722 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32723 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32724 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32725 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32726 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32727 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32728 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32729 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32730 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32731 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32732 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32733 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32734 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32735 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32736 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32737 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32738 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32739 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32740 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32741 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32742 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32743 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32744 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32745 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32746 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32747 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32748 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32749 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32750 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32751 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32752 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32753 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32754 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32755 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32756 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32757 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32758 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32759 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32760 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32761 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32762 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32763 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32766 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32770 whole low double instead of just low 47 bits when splitting values
32773 2012-12-03 Allan McRae <allan@archlinux.org>
32775 * manual/stdio.texi (Predefined Printf Handlers): Remove
32776 @hsep and @vsep usage.
32778 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32780 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32781 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32783 2012-12-03 Jeff Law <law@redhat.com>
32785 * time/sys/time.h (settimeofday): Do not mark TV argument
32788 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32790 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32791 when currently writing and seek to current position when not.
32792 * libio/Makefile (tests): Remove bug-fclose1.
32793 * libio/bug-fclose1.c: Delete.
32795 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32797 * manual/arith.texi (feenableexcept): Fix typo.
32798 (fedisableexcept): Likewise.
32800 2012-11-30 Roland McGrath <roland@hack.frob.com>
32802 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32803 second, differently-typed declaration, rather than a cast.
32805 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32807 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32808 * include/rpc/svc.h: ... here.
32810 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32813 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32814 depending n and resplen2 to catch cases where answer
32817 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32819 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32820 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32822 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32826 2012-11-29 Roland McGrath <roland@hack.frob.com>
32828 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32830 2012-11-28 Jeff Law <law@redhat.com>
32833 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32834 dataset_temporary. Track alloca usage into alloca_used.
32835 If dataset is large allocate and release it via malloc/free.
32837 2012-06-04 Florian Weimer <fweimer@redhat.com>
32840 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32842 2012-11-28 David S. Miller <davem@davemloft.net>
32844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32846 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32849 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32850 of pi/2 rounded to nearest to 64 bits.
32851 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32852 nearest to 64 bits.
32853 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32856 2012-11-28 Jeff Law <law@redhat.com>
32857 Martin Osvald <mosvald@redhat.com>
32860 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32861 * sunrpc/svc.c: Include time.h.
32862 (__svc_accept_failed): New function.
32863 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32864 any reason other than EINTR, call __svc_accept_failed.
32865 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32866 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32868 2012-11-28 Andreas Schwab <schwab@suse.de>
32870 * scripts/abilist.awk: Also handle indirect functions in .opd
32873 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32876 * sysdeps/x86/fpu/powl_helper.c: New file.
32877 * sysdeps/x86/fpu/Makefile: Likewise.
32878 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32880 (__ieee754_powl): Use __powl_helper for finite arguments except
32881 integer exponents below 8.
32882 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32884 (__ieee754_powl): Use __powl_helper for finite arguments except
32885 integer exponents below 8.
32886 * math/libm-test.inc (pow_test): Add more tests and enable some
32887 previously disabled tests.
32888 * sysdeps/i386/fpu/libm-test-ulps: Update.
32889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32891 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32892 Carlos O'Donell <carlos_odonell@mentor.com>
32894 * nss/makedb.c (is_prime): Assert that input is odd and greater
32895 than 4. Note that fact in a comment too.
32896 (next_prime): Add 4 to input.
32898 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32901 * libio/Makefile (tests): Add test case tst-fwrite-error.
32902 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32903 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32904 * libio/tst-fwrite-error.c: New test case.
32906 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32908 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32909 before casting to void *.
32910 * include/libc-internal.h (__pointer_type): New macro.
32911 (__integer_if_pointer_type_sub): Likewise.
32912 (__integer_if_pointer_type): Likewise.
32913 (cast_to_integer): Likewise.
32914 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32915 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32916 before casting to atomic64_t.
32917 (atomic_exchange_acq): Likewise.
32918 (__arch_exchange_and_add_body): Likewise.
32919 (__arch_add_body): Likewise.
32920 (atomic_add_negative): Likewise.
32921 (atomic_add_zero): Likewise.
32923 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32925 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32926 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32927 (add_fdes): Likewise.
32928 (linear_search_fdes): Likewise.
32929 (binary_search_unencoded_fdes): Likewise.
32931 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32933 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32935 2012-11-24 Adam Conrad <adconrad@0c3.net>
32937 * configure.in: Autodetect C++ header directories.
32938 * configure: Regenerated.
32940 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32942 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32944 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32948 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32950 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32951 LDBL_MANT_DIG == 106]: Disable some tests.
32952 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32954 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32958 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32959 input for small inputs. Return +/- pi/2 for large inputs.
32960 * math/libm-test.inc (atan_test): Add more tests.
32962 * sysdeps/generic/unwind-dw2-fde-glibc.c
32963 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32964 __attribute__ ((unused)).
32967 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32968 x * y if x and y are nonzero and z is zero.
32971 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32972 nonzero exponents with absolute value below 0x1p-117 to +/-
32976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32977 up arguments below 2**-450, not just those below 2**-500.
32978 * math/libm-test.inc (hypot_test): Add another test.
32981 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32982 Return a+b for ratio over 2**120, not 2**60.
32983 * math/libm-test.inc (hypot_test): Add another test.
32985 * math/libm-test.inc (clog_test): Use
32986 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32987 (clog10_test): Likewise.
32990 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32992 2012-11-22 Andreas Schwab <schwab@suse.de>
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32996 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32998 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32999 printf output with newline.
33001 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33004 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33005 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33006 -z nodlopen, -z initfirst and -z execstack support.
33007 * configure: Regenerated.
33009 * elf/elf.h (DF_1_NODIRECT): New macro.
33010 (DF_1_IGNMULDEF): Likewise.
33011 (DF_1_NOKSYMS): Likewise.
33012 (DF_1_NOHDR): Likewise.
33013 (DF_1_EDITED): Likewise.
33014 (DF_1_NORELOC): Likewise.
33015 (DF_1_SYMINTPOSE): Likewise.
33016 (DF_1_GLOBAUDIT): Likewise.
33017 (DF_1_SINGLETON): Likewise.
33018 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33019 DT_1_SUPPORTED_MASK bits.
33020 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33022 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33024 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33026 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33028 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33031 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33032 (sendmmsg): Move declarations...
33033 * socket/sys/socket.h: ... here.
33034 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33035 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33037 * socket/recvmmsg.c: ... this new file.
33038 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33039 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33040 definition of __sendmmsg hidden.
33041 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33042 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33043 Move ENOSYS stub into and include it from...
33044 * socket/sendmmsg.c: ... this new file.
33045 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33046 (sysdep_routines): Move recvmmsg and sendmmsg...
33047 * socket/Makefile (routines): ... here.
33048 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33049 (GLIBC_PRIVATE): Add __sendmmsg.
33050 * include/sys/socket.h (__sendmmsg): Add declarations.
33051 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33054 2012-11-20 Joseph Myers <joseph@codesourcery.com>
33056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33057 variable I1 with __attribute__ ((unused)).
33058 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33060 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33062 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33063 DUMMY variables with __attribute__ ((unused)).
33065 * bits/byteswap.h: Include <bits/types.h>.
33066 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33068 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33070 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33071 string_t. Do not manually set errno.
33072 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33073 length with __strnlen. Make sure to both set errno and return it on
33076 2012-11-19 David S. Miller <davem@davemloft.net>
33078 With help from Joseph Myers.
33079 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33080 very large arguments properly.
33081 * math/libm-test.inc (atan_test): New tests.
33082 (atan2_test): New tests.
33083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33086 2012-11-19 Joseph Myers <joseph@codesourcery.com>
33089 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33092 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33093 [POSIX] (EADDRNOTAVAIL): Likewise.
33094 [POSIX] (EAFNOSUPPORT): Likewise.
33095 [POSIX] (EALREADY): Likewise.
33096 [POSIX] (ECONNABORTED): Likewise.
33097 [POSIX] (ECONNREFUSED): Likewise.
33098 [POSIX] (ECONNRESET): Likewise.
33099 [POSIX] (EDESTADDRREQ): Likewise.
33100 [POSIX] (EDQUOT): Likewise.
33101 [POSIX] (EHOSTUNREACH): Likewise.
33102 [POSIX] (EIDRM): Likewise.
33103 [POSIX] (EISCONN): Likewise.
33104 [POSIX] (ELOOP): Likewise.
33105 [POSIX] (EMULTIHOP): Likewise.
33106 [POSIX] (ENETDOWN): Likewise.
33107 [POSIX] (ENETUNREACH): Likewise.
33108 [POSIX] (ENOBUFS): Likewise.
33109 [POSIX] (ENODATA): Likewise.
33110 [POSIX] (ENOLINK): Likewise.
33111 [POSIX] (ENOMSG): Likewise.
33112 [POSIX] (ENOPROTOOPT): Likewise.
33113 [POSIX] (ENOSR): Likewise.
33114 [POSIX] (ENOSTR): Likewise.
33115 [POSIX] (ENOTCONN): Likewise.
33116 [POSIX] (ENOTSOCK): Likewise.
33117 [POSIX] (EOPNOTSUPP): Likewise.
33118 [POSIX] (EOVERFLOW): Likewise.
33119 [POSIX] (EPROTO): Likewise.
33120 [POSIX] (EPROTONOSUPPORT): Likewise.
33121 [POSIX] (EPROTOTYPE): Likewise.
33122 [POSIX] (ESTALE): Likewise.
33123 [POSIX] (ETIME): Likewise.
33124 [POSIX] (ETXTBSY): Likewise.
33125 [POSIX] (EWOULDBLOCK): Likewise.
33126 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33127 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33128 [POSIX] (SEEK_CUR): Likewise.
33129 [POSIX] (SEEK_END): Likewise.
33130 [POSIX || UNIX98] (mode_t): Do not require.
33131 [POSIX] (off_t): Likewise.
33132 [POSIX] (pid_t): Likewise.
33133 [POSIX] (sys/stat.h): Do not allow header.
33134 [POSIX] (unistd.h): Likewise.
33135 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33136 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33137 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33138 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33140 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33141 sigevent): Specify elements.
33142 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33144 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33145 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33147 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33148 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33149 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33150 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33151 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33152 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33153 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33154 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33155 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33156 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33157 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33158 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33159 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33162 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33164 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33166 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33168 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33169 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33170 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33171 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33172 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33173 Specify lower bound on value.
33174 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33175 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33176 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33177 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33178 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33179 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33180 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33181 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33183 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33185 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33186 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33187 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33188 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33189 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33190 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33191 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33192 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33193 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33194 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33195 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33196 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33197 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33198 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33199 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33200 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33202 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33204 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33205 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33206 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33207 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33208 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33209 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33211 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33212 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33213 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33214 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33215 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33216 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33219 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33221 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33222 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33223 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33224 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33225 specify as optional.
33226 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33227 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33228 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33229 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33230 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33231 [XPG3] (NL_LANGMAX): Likewise.
33232 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33233 [POSIX || XPG3] (NL_NMAX): Likewise.
33234 [POSIX || XPG3] (NL_SETMAX): Likewise.
33235 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33236 [XPG3] (NZERO): Likewise.
33237 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33238 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33239 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33240 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33241 (REG_ERANGE): Expect.
33242 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33244 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33245 Use (void) in prototype.
33246 [POSIX] (*_t): Allow.
33247 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33248 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33249 (WRDE_BADVAL): Expect.
33251 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33253 [XPG3 || XPG4] (O_RSYNC): Likewise.
33254 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33256 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33257 [XPG3 || XPG4] (sigqueue): Likewise.
33258 [XPG3 || XPG4] (sigtimedwait): Likewise.
33259 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33260 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33261 [XPG3 || XPG4] (vsnprintf): Likewise.
33262 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33264 [XPG3 || XPG4] (blksize_t): Likewise.
33265 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33267 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33268 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33269 [XPG3 || XPG4] (struct itimerspec): Likewise.
33270 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33271 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33272 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33273 [XPG3 || XPG4] (clockid_t): Likewise.
33274 [XPG3 || XPG4] (timer_t): Likewise.
33275 [XPG3 || XPG4] (clock_getres): Likewise.
33276 [XPG3 || XPG4] (clock_gettime): Likewise.
33277 [XPG3 || XPG4] (clock_settime): Likewise.
33278 [XPG3 || XPG4] (nanosleep): Likewise.
33279 [XPG3 || XPG4] (timer_create): Likewise.
33280 [XPG3 || XPG4] (timer_delete): Likewise.
33281 [XPG3 || XPG4] (timer_gettime): Likewise.
33282 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33283 [XPG3 || XPG4] (timer_settime): Likewise.
33284 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33285 [XPG3 || XPG4] (getlogin_r): Likewise.
33286 [XPG3 || XPG4] (pread): Likewise.
33287 [XPG3 || XPG4] (pthread_atfork): Likewise.
33288 [XPG3 || XPG4] (pwrite): Likewise.
33291 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33294 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33296 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33297 finalizing MALLSTREAM.
33299 * sysdeps/mach/hurd/syncfs.c: New file.
33301 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33304 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33305 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33307 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33308 (_nss_dns_gethostbyname4_r): Likewise.
33309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33310 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33312 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33315 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33317 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33319 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33320 * elf/cache.c (print_entry): Print ",AArch64" for
33323 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33324 * elf/cache.c (print_entry): Print ",hard-float" for
33327 2012-11-18 David S. Miller <davem@davemloft.net>
33329 With help from Joseph Myers.
33330 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33332 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33334 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33335 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33337 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33338 * math/libm-test.inc (y0_test): New tests.
33339 (y1_test): New tests.
33340 * sysdeps/i386/fpu/libm-test-ulps: Update.
33341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33344 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33346 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33348 * configure: Regenerated.
33350 2012-11-17 David S. Miller <davem@davemloft.net>
33353 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33354 nonzero exponents with absolute value below 0x1p-128 to +/-
33357 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33359 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33361 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33363 * posix/getconf-speclist.c: New file.
33364 * posix/posix-envs.def: Likewise.
33365 * posix/confstr.c (START_ENV_GROUP): New macro.
33366 (END_ENV_GROUP): Likewise.
33367 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33368 (KNOWN_PRESENT_ENV_STRING): Likewise.
33369 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33370 (UNKNOWN_ENVIRONMENT): Likewise.
33371 (confstr): Include posix-envs.def instead of handling
33372 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33373 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33374 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33375 (END_ENV_GROUP): Likewise.
33376 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33377 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33378 (UNKNOWN_ENVIRONMENT): Likewise.
33379 (__sysconf): Include posix-envs.def instead of handling associated
33380 cases directly here.
33381 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33382 preprocessing getconf-speclist.c rather than running getconf or
33383 generating empty file.
33385 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33387 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33389 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33392 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33394 2012-11-16 David S. Miller <davem@davemloft.net>
33396 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33397 smaller than LDBL_EPSILON/2.0L, just return xm1.
33399 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33401 * elf/tst-array1.c (init): Set constructor priority to 1000.
33402 (fini): Set destructor priority to 1000.
33403 * elf/tst-array2dep.c: Likewise.
33405 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33408 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33409 (_IO_new_file_xsputn): Also return EOF if none of the input
33410 data was written when overflow failed.
33411 * libio/iopadn.c (_IO_padn): Likewise.
33412 * libio/iowpadn.c (_IO_wpadn): Likewise.
33413 * stdio-common/tst-put-error.c: Add copyright notice.
33414 (do_test): Add case for printing padded string.
33415 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33416 _IO_padn returned error.
33417 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33418 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33421 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33423 * libio/libioP.h: Add comment note that the references to C++
33424 bits are now obsolete.
33426 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33428 * math/libm-test.inc (check_complex): Use asprintf.
33430 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33432 * debug/pcprofiledump.c (print_version): Update copyright year.
33433 * malloc/memusagestat.c (print_version): Likewise.
33435 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33438 * elf/Makefile (tests): Add tst-audit8.
33439 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33440 ($(objpfx)tst-audit8.out): New target.
33441 (tst-audit8-ENV): New variable.
33442 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33443 audit if l_reloc_result is NULL.
33444 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33445 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33446 * elf/tst-audit8.c: New file.
33448 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33450 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33451 * misc/Makefile (CFLAGS-select.c): Define.
33452 * posix/Makefile (CFLAGS-pause.c): Define.
33454 2012-11-13 David S. Miller <davem@davemloft.net>
33456 * crypt/Makefile: Move test targets after toplevel Rules
33457 inclusion. Grab any necessary sysdep routines when linking.
33458 * crypt/md5.c (md5_process_block): Remove define, we will always
33459 name it __md5_process_block.
33460 (md5_finish_ctx): Update md5_process_block call.
33461 (md5_stream): Likewise.
33462 (md5_process_bytes): Likewise.
33463 (md5_process_block): Rename to __md5_process_block and move to ...
33464 * crypt/md5-block.c: ... here.
33465 * crypt/sha256.c (sha256_process_block): Move to ...
33466 * crypt/sha256-block.c: ... here.
33467 * crypt/sha512.c (sha512_process_block): Move to ...
33468 * crypt/sha512-block.c: ... here.
33469 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33471 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33472 * sysdeps/sparc/sparc64/multiarch/Makefile
33473 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33475 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33476 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33478 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33479 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33480 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33481 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33482 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33483 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33484 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33485 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33486 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33488 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33493 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33495 * timezone/tzselect.ksh: Update from tzcode git revision
33496 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33497 * timezone/zdump.c: Likewise.
33498 * timezone/zic.c: Likewise.
33499 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33500 in TZVERSION setting, not $(PKGVERSION).
33501 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33502 REPORT_BUGS_TO settings.
33505 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33508 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33510 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33511 detection to immediately after _FP_ROUND().
33512 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33515 2012-11-11 David S. Miller <davem@davemloft.net>
33517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33519 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33520 __close rather than their public counterparts.
33522 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33524 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33526 [UNIX98] (sem_timedwait): Do not expect.
33527 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33528 [XPG4 || UNIX98] (sockatmark): Do not expect.
33529 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33530 (clock_getcpuclockid): Do not expect.
33531 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33532 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33534 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33535 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33536 [UNIX98] (vwscanf): Likewise.
33537 [UNIX98] (vswscanf): Likewise.
33539 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33541 * timezone/version.h: Remove file.
33542 * timezone/README: Do not refer to version.h.
33543 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33544 $(objpfx)version.h.
33545 ($(objpfx)zdump.o): Likewise.
33546 ($(objpfx)version.h): New target.
33548 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33550 * timezone/README: Don't mention modification to tzselect.ksh.
33551 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33552 work on unmodified tzselect.ksh. Substitute version numbers in
33555 * Makefile (format-me): Remove.
33556 (INSTALL): Adjust indentation. Use commands directly instead of
33557 using $(format-me).
33559 * aclocal.m4 (ACX_PKGVERSION): New macro.
33560 (ACX_BUGURL): Likewise.
33561 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33562 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33563 (REPORT_BUGS_TO): Likewise.
33564 * configure: Regenerated.
33565 * config.h.in (PKGVERSION): New macro.
33566 (REPORT_BUGS_TO): Likewise.
33567 * config.make.in (PKGVERSION): New variable.
33568 (PKGVERSION_TEXI): Likewise.
33569 (REPORT_BUGS_TO): Likewise.
33570 (REPORT_BUGS_TEXI): Likewise.
33571 * Makefile (format-me): Use -I$(common-objpfx)manual.
33572 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33573 ($(common-objpfx)manual/%): New target.
33574 (manual/%): Remove target.
33575 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33576 (print_version): Use PKGVERSION.
33577 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33578 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33579 and REPORT_BUGS_TO.
33580 ($(objpfx)xtrace): Likewise.
33581 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33582 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33583 (print_version): Use PKGVERSION.
33584 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33585 (do_version): Use PKGVERSION.
33586 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33588 (common-ldd-rewrite): Likewise.
33589 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33590 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33591 (print_version): Use PKGVERSION.
33592 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33593 * elf/pldd.c (argp_program_bug_address): Remove variable.
33594 (more_help): New function.
33595 (argp): Use more_help.
33596 (print_version): Use PKGVERSION.
33597 * elf/sln.c (main): Use PKGVERSION.
33598 (usage): Use REPORT_BUGS_TO.
33599 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33600 (top level): Use PKGVERSION.
33601 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33602 (print_version): Use PKGVERSION.
33603 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33604 (print_version): Use PKGVERSION.
33605 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33606 (print_version): Use PKGVERSION.
33607 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33608 (print_version): Use PKGVERSION.
33609 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33610 (print_version): Use PKGVERSION.
33611 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33612 (print_version): Use PKGVERSION.
33613 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33615 ($(objpfx)memusage): Likewise.
33616 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33617 (do_version): Use PKGVERSION.
33618 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33619 (print_version): Use PKGVERSION.
33620 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33621 ($PKGVERSION): New variable.
33622 ($REPORT_BUGS_TO): Likewise.
33623 (usage): Use $REPORT_BUGS_TO.
33624 (top level): Use $PKGVERSION.
33625 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33626 ($(objpfx)pkgvers.texi): New rule.
33627 ($(objpfx)stamp-pkgvers): Likewise.
33628 * manual/install.texi: Include pkgvers.texi.
33629 (--with-pkgversion): Document new configure option.
33630 (--with-bugurl): Likewise.
33631 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33632 than necessarily for this particular distribution. Use
33633 REPORT_BUGS_TO for where to report bugs.
33634 * INSTALL: Regenerated.
33635 * manual/libc.texinfo: Include pkgvers.texi.
33636 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33637 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33638 (print_version): Use PKGVERSION.
33639 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33640 (print_version): Use PKGVERSION.
33641 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33642 (print_version): Use PKGVERSION.
33643 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33644 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33646 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33647 (print_version): Use PKGVERSION.
33648 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33649 (print_version): Use PKGVERSION.
33650 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33653 * timezone/checktab.awk: Update from tzcode 2012i.
33654 * timezone/ialloc.c: Likewise.
33655 * timezone/private.h: Likewise.
33656 * timezone/scheck.c: Likewise.
33657 * timezone/tzfile.h: Likewise.
33658 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33659 (TZVERSION): Hardcode tzcode version number.
33660 * timezone/zdump.c: Update from tzcode 2012i.
33661 * timezone/zic.c: Likewise.
33662 * timezone/version.h: New file.
33663 * timezone/README: Describe version.h. Update upstream location.
33666 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33667 (mktemp): Enable declaration.
33668 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33670 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33685 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33686 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33687 for copies of such integer values.
33688 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33689 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33691 2012-11-09 Andreas Jaeger <aj@suse.de>
33693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33694 definitions and declarations that are provided by
33695 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33697 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33699 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33700 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33701 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33704 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33706 * elf/elf.h: Update comment before AArch64 relocations.
33708 2012-11-07 David S. Miller <davem@davemloft.net>
33710 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33711 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33712 (__start_context): Declare.
33713 (__makecontext_ret): Delete.
33714 (__makecontext): Hook up __start_context instead of
33716 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33717 (sysdep_routines): Add __start_context when in stdlib.
33719 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33721 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33722 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33723 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33725 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33726 (READELF): New variable. Use it instead of hardcoded "readelf".
33728 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33730 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33731 * sysdeps/x86/Makefile: Here.
33732 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33733 * sysdeps/x86/tst-xmmymm.sh: This.
33735 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33737 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33739 [UNIX98] (pthread_barrier_t): Do not expect.
33740 [UNIX98] (pthread_barrierattr_t): Likewise.
33741 [UNIX98] (pthread_spinlock_t): Likewise.
33742 [UNIX98] (pthread_barrier_destroy): Likewise.
33743 [UNIX98] (pthread_barrier_init): Likewise.
33744 [UNIX98] (pthread_barrier_wait): Likewise.
33745 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33746 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33747 [UNIX98] (pthread_barrierattr_init): Likewise.
33748 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33749 [UNIX98] (pthread_getcpuclockid): Likewise.
33750 [UNIX98] (pthread_mutex_timedlock): Likewise.
33751 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33752 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33753 [UNIX98] (pthread_sigmask): Likewise.
33754 [UNIX98] (pthread_spin_destroy): Likewise.
33755 [UNIX98] (pthread_spin_init): Likewise.
33756 [UNIX98] (pthread_spin_lock): Likewise.
33757 [UNIX98] (pthread_spin_trylock): Likewise.
33758 [UNIX98] (pthread_spin_unlock): Likewise.
33759 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33761 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33763 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33764 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33765 [XPG3 || XPG4] (pthread_key_t): Likewise.
33766 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33767 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33768 [XPG3 || XPG4] (pthread_once_t): Likewise.
33769 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33770 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33772 [XPG3 || XPG4] (pthread_t): Likewise.
33774 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33776 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33778 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33779 Change function return type to int.
33781 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33782 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33783 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33784 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33785 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33786 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33787 [!POSIX] (posix_madvise): Likewise.
33788 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33790 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33791 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33792 (mode_t): Likewise.
33793 (posix_mem_offset): Likewise.
33794 (posix_typed_mem_get_info): Likewise.
33795 (posix_typed_mem_open): Likewise.
33797 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33798 Change condition to [XOPEN2K8].
33800 * conform/conformtest.pl: Preprocess allow-header data with -x c
33801 instead of from stdin.
33802 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33803 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33804 [C99-based standards] (cerfc): Likewise.
33805 [C99-based standards] (cexp2): Likewise.
33806 [C99-based standards] (cexpm1): Likewise.
33807 [C99-based standards] (clog10): Likewise.
33808 [C99-based standards] (clog1p): Likewise.
33809 [C99-based standards] (clog2): Likewise.
33810 [C99-based standards] (clgamma): Likewise.
33811 [C99-based standards] (ctgamma): Likewise.
33812 [C99-based standards] (cerff): Likewise.
33813 [C99-based standards] (cerfcf): Likewise.
33814 [C99-based standards] (cexp2f): Likewise.
33815 [C99-based standards] (cexpm1f): Likewise.
33816 [C99-based standards] (clog10f): Likewise.
33817 [C99-based standards] (clog1pf): Likewise.
33818 [C99-based standards] (clog2f): Likewise.
33819 [C99-based standards] (clgammaf): Likewise.
33820 [C99-based standards] (ctgammaf): Likewise.
33821 [C99-based standards] (cerfl): Likewise.
33822 [C99-based standards] (cerfcl): Likewise.
33823 [C99-based standards] (cexp2l): Likewise.
33824 [C99-based standards] (cexpm1l): Likewise.
33825 [C99-based standards] (clog10l): Likewise.
33826 [C99-based standards] (clog1pl): Likewise.
33827 [C99-based standards] (clog2l): Likewise.
33828 [C99-based standards] (clgammal): Likewise.
33829 [C99-based standards] (ctgammal): Likewise.
33830 * conform/data/inttypes.h-data [C99-based standards]: Include
33831 stdint.h-data. Remove all expectations for stdint.h contents.
33832 [C99-based standards] (PRI*): Do not allow.
33833 [C99-based standards] (SCN*): Likewise.
33834 [C99-based standards] (*_t): Likewise.
33835 [C99-based-standards] (PRId8): Expect macro.
33836 [C99-based-standards] (PRIi8): Likewise.
33837 [C99-based-standards] (PRIo8): Likewise.
33838 [C99-based-standards] (PRIu8): Likewise.
33839 [C99-based-standards] (PRIx8): Likewise.
33840 [C99-based-standards] (PRIX8): Likewise.
33841 [C99-based-standards] (SCNd8): Likewise.
33842 [C99-based-standards] (SCNi8): Likewise.
33843 [C99-based-standards] (SCNo8): Likewise.
33844 [C99-based-standards] (SCNu8): Likewise.
33845 [C99-based-standards] (SCNx8): Likewise.
33846 [C99-based-standards] (PRIdLEAST8): Likewise.
33847 [C99-based-standards] (PRIiLEAST8): Likewise.
33848 [C99-based-standards] (PRIoLEAST8): Likewise.
33849 [C99-based-standards] (PRIuLEAST8): Likewise.
33850 [C99-based-standards] (PRIxLEAST8): Likewise.
33851 [C99-based-standards] (PRIXLEAST8): Likewise.
33852 [C99-based-standards] (SCNdLEAST8): Likewise.
33853 [C99-based-standards] (SCNiLEAST8): Likewise.
33854 [C99-based-standards] (SCNoLEAST8): Likewise.
33855 [C99-based-standards] (SCNuLEAST8): Likewise.
33856 [C99-based-standards] (SCNxLEAST8): Likewise.
33857 [C99-based-standards] (PRIdFAST8): Likewise.
33858 [C99-based-standards] (PRIiFAST8): Likewise.
33859 [C99-based-standards] (PRIoFAST8): Likewise.
33860 [C99-based-standards] (PRIuFAST8): Likewise.
33861 [C99-based-standards] (PRIxFAST8): Likewise.
33862 [C99-based-standards] (PRIXFAST8): Likewise.
33863 [C99-based-standards] (SCNdFAST8): Likewise.
33864 [C99-based-standards] (SCNiFAST8): Likewise.
33865 [C99-based-standards] (SCNoFAST8): Likewise.
33866 [C99-based-standards] (SCNuFAST8): Likewise.
33867 [C99-based-standards] (SCNxFAST8): Likewise.
33868 [C99-based-standards] (PRId16): Likewise.
33869 [C99-based-standards] (PRIi16): Likewise.
33870 [C99-based-standards] (PRIo16): Likewise.
33871 [C99-based-standards] (PRIu16): Likewise.
33872 [C99-based-standards] (PRIx16): Likewise.
33873 [C99-based-standards] (PRIX16): Likewise.
33874 [C99-based-standards] (SCNd16): Likewise.
33875 [C99-based-standards] (SCNi16): Likewise.
33876 [C99-based-standards] (SCNo16): Likewise.
33877 [C99-based-standards] (SCNu16): Likewise.
33878 [C99-based-standards] (SCNx16): Likewise.
33879 [C99-based-standards] (PRIdLEAST16): Likewise.
33880 [C99-based-standards] (PRIiLEAST16): Likewise.
33881 [C99-based-standards] (PRIoLEAST16): Likewise.
33882 [C99-based-standards] (PRIuLEAST16): Likewise.
33883 [C99-based-standards] (PRIxLEAST16): Likewise.
33884 [C99-based-standards] (PRIXLEAST16): Likewise.
33885 [C99-based-standards] (SCNdLEAST16): Likewise.
33886 [C99-based-standards] (SCNiLEAST16): Likewise.
33887 [C99-based-standards] (SCNoLEAST16): Likewise.
33888 [C99-based-standards] (SCNuLEAST16): Likewise.
33889 [C99-based-standards] (SCNxLEAST16): Likewise.
33890 [C99-based-standards] (PRIdFAST16): Likewise.
33891 [C99-based-standards] (PRIiFAST16): Likewise.
33892 [C99-based-standards] (PRIoFAST16): Likewise.
33893 [C99-based-standards] (PRIuFAST16): Likewise.
33894 [C99-based-standards] (PRIxFAST16): Likewise.
33895 [C99-based-standards] (PRIXFAST16): Likewise.
33896 [C99-based-standards] (SCNdFAST16): Likewise.
33897 [C99-based-standards] (SCNiFAST16): Likewise.
33898 [C99-based-standards] (SCNoFAST16): Likewise.
33899 [C99-based-standards] (SCNuFAST16): Likewise.
33900 [C99-based-standards] (SCNxFAST16): Likewise.
33901 [C99-based-standards] (PRId32): Likewise.
33902 [C99-based-standards] (PRIi32): Likewise.
33903 [C99-based-standards] (PRIo32): Likewise.
33904 [C99-based-standards] (PRIu32): Likewise.
33905 [C99-based-standards] (PRIx32): Likewise.
33906 [C99-based-standards] (PRIX32): Likewise.
33907 [C99-based-standards] (SCNd32): Likewise.
33908 [C99-based-standards] (SCNi32): Likewise.
33909 [C99-based-standards] (SCNo32): Likewise.
33910 [C99-based-standards] (SCNu32): Likewise.
33911 [C99-based-standards] (SCNx32): Likewise.
33912 [C99-based-standards] (PRIdLEAST32): Likewise.
33913 [C99-based-standards] (PRIiLEAST32): Likewise.
33914 [C99-based-standards] (PRIoLEAST32): Likewise.
33915 [C99-based-standards] (PRIuLEAST32): Likewise.
33916 [C99-based-standards] (PRIxLEAST32): Likewise.
33917 [C99-based-standards] (PRIXLEAST32): Likewise.
33918 [C99-based-standards] (SCNdLEAST32): Likewise.
33919 [C99-based-standards] (SCNiLEAST32): Likewise.
33920 [C99-based-standards] (SCNoLEAST32): Likewise.
33921 [C99-based-standards] (SCNuLEAST32): Likewise.
33922 [C99-based-standards] (SCNxLEAST32): Likewise.
33923 [C99-based-standards] (PRIdFAST32): Likewise.
33924 [C99-based-standards] (PRIiFAST32): Likewise.
33925 [C99-based-standards] (PRIoFAST32): Likewise.
33926 [C99-based-standards] (PRIuFAST32): Likewise.
33927 [C99-based-standards] (PRIxFAST32): Likewise.
33928 [C99-based-standards] (PRIXFAST32): Likewise.
33929 [C99-based-standards] (SCNdFAST32): Likewise.
33930 [C99-based-standards] (SCNiFAST32): Likewise.
33931 [C99-based-standards] (SCNoFAST32): Likewise.
33932 [C99-based-standards] (SCNuFAST32): Likewise.
33933 [C99-based-standards] (SCNxFAST32): Likewise.
33934 [C99-based-standards] (PRId64): Likewise.
33935 [C99-based-standards] (PRIi64): Likewise.
33936 [C99-based-standards] (PRIo64): Likewise.
33937 [C99-based-standards] (PRIu64): Likewise.
33938 [C99-based-standards] (PRIx64): Likewise.
33939 [C99-based-standards] (PRIX64): Likewise.
33940 [C99-based-standards] (SCNd64): Likewise.
33941 [C99-based-standards] (SCNi64): Likewise.
33942 [C99-based-standards] (SCNo64): Likewise.
33943 [C99-based-standards] (SCNu64): Likewise.
33944 [C99-based-standards] (SCNx64): Likewise.
33945 [C99-based-standards] (PRIdLEAST64): Likewise.
33946 [C99-based-standards] (PRIiLEAST64): Likewise.
33947 [C99-based-standards] (PRIoLEAST64): Likewise.
33948 [C99-based-standards] (PRIuLEAST64): Likewise.
33949 [C99-based-standards] (PRIxLEAST64): Likewise.
33950 [C99-based-standards] (PRIXLEAST64): Likewise.
33951 [C99-based-standards] (SCNdLEAST64): Likewise.
33952 [C99-based-standards] (SCNiLEAST64): Likewise.
33953 [C99-based-standards] (SCNoLEAST64): Likewise.
33954 [C99-based-standards] (SCNuLEAST64): Likewise.
33955 [C99-based-standards] (SCNxLEAST64): Likewise.
33956 [C99-based-standards] (PRIdFAST64): Likewise.
33957 [C99-based-standards] (PRIiFAST64): Likewise.
33958 [C99-based-standards] (PRIoFAST64): Likewise.
33959 [C99-based-standards] (PRIuFAST64): Likewise.
33960 [C99-based-standards] (PRIxFAST64): Likewise.
33961 [C99-based-standards] (PRIXFAST64): Likewise.
33962 [C99-based-standards] (SCNdFAST64): Likewise.
33963 [C99-based-standards] (SCNiFAST64): Likewise.
33964 [C99-based-standards] (SCNoFAST64): Likewise.
33965 [C99-based-standards] (SCNuFAST64): Likewise.
33966 [C99-based-standards] (SCNxFAST64): Likewise.
33967 [C99-based-standards] (PRIdMAX): Likewise.
33968 [C99-based-standards] (PRIiMAX): Likewise.
33969 [C99-based-standards] (PRIoMAX): Likewise.
33970 [C99-based-standards] (PRIuMAX): Likewise.
33971 [C99-based-standards] (PRIxMAX): Likewise.
33972 [C99-based-standards] (PRIXMAX): Likewise.
33973 [C99-based-standards] (SCNdMAX): Likewise.
33974 [C99-based-standards] (SCNiMAX): Likewise.
33975 [C99-based-standards] (SCNoMAX): Likewise.
33976 [C99-based-standards] (SCNuMAX): Likewise.
33977 [C99-based-standards] (SCNxMAX): Likewise.
33978 [C99-based-standards] (PRIdPTR): Likewise.
33979 [C99-based-standards] (PRIiPTR): Likewise.
33980 [C99-based-standards] (PRIoPTR): Likewise.
33981 [C99-based-standards] (PRIuPTR): Likewise.
33982 [C99-based-standards] (PRIxPTR): Likewise.
33983 [C99-based-standards] (PRIXPTR): Likewise.
33984 [C99-based-standards] (SCNdPTR): Likewise.
33985 [C99-based-standards] (SCNiPTR): Likewise.
33986 [C99-based-standards] (SCNoPTR): Likewise.
33987 [C99-based-standards] (SCNuPTR): Likewise.
33988 [C99-based-standards] (SCNxPTR): Likewise.
33989 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33991 * conform/data/stdint.h-data: Update comments to clarify
33993 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33995 [C99-based standards] (INT8_MAX): Likewise.
33996 [C99-based standards] (INT16_MIN): Likewise.
33997 [C99-based standards] (INT16_MAX): Likewise.
33998 [C99-based standards] (INT32_MIN): Likewise.
33999 [C99-based standards] (INT32_MAX): Likewise.
34000 [C99-based standards] (INT64_MIN): Likewise.
34001 [C99-based standards] (INT64_MAX): Likewise.
34002 [C99-based standards] (UINT8_MAX): Likewise.
34003 [C99-based standards] (UINT16_MAX): Likewise.
34004 [C99-based standards] (UINT32_MAX): Likewise.
34005 [C99-based standards] (UINT64_MAX): Likewise.
34006 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34007 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34008 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34009 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34010 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34011 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34012 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34013 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34014 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34015 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34016 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34017 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34018 [C99-based standards] (INT_FAST8_MIN): Likewise.
34019 [C99-based standards] (INT_FAST8_MAX): Likewise.
34020 [C99-based standards] (INT_FAST16_MIN): Likewise.
34021 [C99-based standards] (INT_FAST16_MAX): Likewise.
34022 [C99-based standards] (INT_FAST32_MIN): Likewise.
34023 [C99-based standards] (INT_FAST32_MAX): Likewise.
34024 [C99-based standards] (INT_FAST64_MIN): Likewise.
34025 [C99-based standards] (INT_FAST64_MAX): Likewise.
34026 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34027 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34028 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34029 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34030 [C99-based standards] (INTPTR_MIN): Likewise.
34031 [C99-based standards] (INTPTR_MAX): Likewise.
34032 [C99-based standards] (UINTPTR_MAX): Likewise.
34033 [C99-based standards] (INTMAX_MIN): Likewise.
34034 [C99-based standards] (INTMAX_MAX): Likewise.
34035 [C99-based standards] (UINTMAX_MAX): Likewise.
34036 [C99-based standards] (PTRDIFF_MIN): Likewise.
34037 [C99-based standards] (PTRDIFF_MAX): Likewise.
34038 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34039 [C99-based standards] (SIZE_MAX): Likewise.
34040 [C99-based standards] (WCHAR_MAX): Likewise.
34041 [C99-based standards] (WINT_MAX): Likewise.
34042 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34043 constraint on value.
34044 [C99-based standards] (WCHAR_MIN): Likewise.
34045 [C99-based standards] (WINT_MIN): Likewise.
34046 [C99-based standards] (*_t): Allow.
34047 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34048 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34049 Include math.h-data and complex.h-data. Remove all expectations
34050 of math.h and complex.h contents.
34051 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34053 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34054 (struct tm): Expect tag.
34055 [C99-based-standards] (wcstof): Expect function.
34056 [C99-based-standards] (wcstold): Likewise.
34057 [C99-based-standards] (wcstoll): Likewise.
34058 [C99-based-standards] (wcstoull): Likewise.
34059 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34060 macro-int-constant. Specify type.
34061 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34062 constraint on value.
34063 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34065 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34067 [ISO C standards]: Do not allow headers.
34068 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34069 wcs[abcdefghijklmnopqrstuvwxyz]*.
34070 [ISO C standards] (*_t): Do not allow.
34071 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34073 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34074 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34076 [ISO C standards]: Do not allow headers.
34077 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34078 is[abcdefghijklmnopqrstuvwxyz]*.
34079 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34080 to[abcdefghijklmnopqrstuvwxyz]*.
34081 [ISO C standards] (*_t): Do not allow.
34082 * conform/data/stdalign.h-data: New file.
34083 * conform/data/stdbool.h-data: Likewise.
34084 * conform/data/stdnoreturn.h-data: Likewise.
34086 2012-11-07 Roland McGrath <roland@hack.frob.com>
34089 * manual/filesys.texi (Directory Entries): Typo fix.
34090 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34092 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34094 * elf/elf.h (EM_AARCH64): New macro.
34095 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34096 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34097 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34098 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34099 (R_AARCH64_TLSDESC): Likewise.
34100 (NT_ARM_TLS): Likewise.
34101 (NT_ARM_HW_BREAK): Likewise.
34102 (NT_ARM_HW_WATCH): Likewise.
34104 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34107 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34108 (__ieee754_powl): Saturate nonzero exponents with absolute value
34109 below 0x1p-79 to +/- 0x1p-79.
34110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34111 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34112 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34113 nonzero exponents with absolute value below 0x1p-32 to +/-
34115 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34116 (__ieee754_powl): Saturate nonzero exponents with absolute value
34117 below 0x1p-79 to +/- 0x1p-79.
34118 * math/libm-test.inc (pow_test): Add more tests.
34120 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34122 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34123 _dl_s390_cap_flags with kernel. Increase string length.
34124 (_dl_s390_platforms): Add z196 and zEC12.
34126 2012-11-07 Joseph Myers <joseph@codesourcery.com>
34128 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34129 Change XOPEN21K to XOPEN2K.
34131 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34133 * string/memmove.c: Use memcpy when possible.
34135 2012-11-06 Andreas Jaeger <aj@suse.de>
34137 * po/eo.po: Update from translation team.
34139 2012-11-06 Joseph Myers <joseph@codesourcery.com>
34142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34143 exponent and small x and y exponents, scale x or y up. Increase
34144 by 2 the exponent used in scaling up.
34145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34147 * math/libm-test.inc (fma_test): Add more tests.
34148 (fma_test_towardzero): Likewise.
34149 (fma_test_downward): Likewise.
34150 (fma_test_upward): Likewise.
34152 2012-11-05 Joseph Myers <joseph@codesourcery.com>
34155 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34159 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34160 namespace for names of struct fields.
34161 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34163 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34164 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34166 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34169 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34171 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34173 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34177 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34180 2012-11-04 Joseph Myers <joseph@codesourcery.com>
34183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34184 definitely overflow as x * y not x * y + z.
34185 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34186 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34187 * math/libm-test.inc (fma_test): Add more tests.
34188 (fma_test_towardzero): Likewise.
34189 (fma_test_downward): Likewise.
34190 (fma_test_upward): Likewise.
34192 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34196 * include/stub-tag.h: Remove file.
34197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34199 * manual/maint.texi (Porting): Don't reference it.
34200 * Makerules ($(objpfx)stubs): Likewise.
34201 * dirent/closedir.c: Don't include <stub-tag.h>.
34202 * dirent/dirfd.c: Likewise.
34203 * dirent/fdopendir.c: Likewise.
34204 * dirent/getdents.c: Likewise.
34205 * dirent/getdents64.c: Likewise.
34206 * dirent/opendir.c: Likewise.
34207 * dirent/readdir.c: Likewise.
34208 * dirent/readdir64.c: Likewise.
34209 * dirent/readdir64_r.c: Likewise.
34210 * dirent/readdir_r.c: Likewise.
34211 * dirent/rewinddir.c: Likewise.
34212 * dirent/seekdir.c: Likewise.
34213 * dirent/telldir.c: Likewise.
34214 * gmon/profil.c: Likewise.
34215 * grp/setgroups.c: Likewise.
34216 * inet/if_index.c: Likewise.
34217 * io/access.c: Likewise.
34218 * io/chdir.c: Likewise.
34219 * io/chmod.c: Likewise.
34220 * io/chown.c: Likewise.
34221 * io/close.c: Likewise.
34222 * io/dup.c: Likewise.
34223 * io/dup2.c: Likewise.
34224 * io/dup3.c: Likewise.
34225 * io/euidaccess.c: Likewise.
34226 * io/faccessat.c: Likewise.
34227 * io/fchdir.c: Likewise.
34228 * io/fchmod.c: Likewise.
34229 * io/fchmodat.c: Likewise.
34230 * io/fchown.c: Likewise.
34231 * io/fchownat.c: Likewise.
34232 * io/fcntl.c: Likewise.
34233 * io/flock.c: Likewise.
34234 * io/fstatfs.c: Likewise.
34235 * io/fstatfs64.c: Likewise.
34236 * io/fstatvfs.c: Likewise.
34237 * io/fstatvfs64.c: Likewise.
34238 * io/futimens.c: Likewise.
34239 * io/fxstat.c: Likewise.
34240 * io/fxstat64.c: Likewise.
34241 * io/fxstatat.c: Likewise.
34242 * io/fxstatat64.c: Likewise.
34243 * io/getcwd.c: Likewise.
34244 * io/isatty.c: Likewise.
34245 * io/lchmod.c: Likewise.
34246 * io/lchown.c: Likewise.
34247 * io/link.c: Likewise.
34248 * io/linkat.c: Likewise.
34249 * io/lseek.c: Likewise.
34250 * io/lseek64.c: Likewise.
34251 * io/lxstat64.c: Likewise.
34252 * io/mkdir.c: Likewise.
34253 * io/mkdirat.c: Likewise.
34254 * io/mkfifo.c: Likewise.
34255 * io/mkfifoat.c: Likewise.
34256 * io/open.c: Likewise.
34257 * io/open64.c: Likewise.
34258 * io/openat.c: Likewise.
34259 * io/openat64.c: Likewise.
34260 * io/pipe.c: Likewise.
34261 * io/pipe2.c: Likewise.
34262 * io/poll.c: Likewise.
34263 * io/posix_fadvise.c: Likewise.
34264 * io/posix_fadvise64.c: Likewise.
34265 * io/posix_fallocate.c: Likewise.
34266 * io/posix_fallocate64.c: Likewise.
34267 * io/read.c: Likewise.
34268 * io/readlink.c: Likewise.
34269 * io/readlinkat.c: Likewise.
34270 * io/rmdir.c: Likewise.
34271 * io/sendfile.c: Likewise.
34272 * io/sendfile64.c: Likewise.
34273 * io/statfs.c: Likewise.
34274 * io/statfs64.c: Likewise.
34275 * io/statvfs.c: Likewise.
34276 * io/statvfs64.c: Likewise.
34277 * io/symlink.c: Likewise.
34278 * io/symlinkat.c: Likewise.
34279 * io/ttyname.c: Likewise.
34280 * io/ttyname_r.c: Likewise.
34281 * io/umask.c: Likewise.
34282 * io/unlink.c: Likewise.
34283 * io/unlinkat.c: Likewise.
34284 * io/utime.c: Likewise.
34285 * io/utimensat.c: Likewise.
34286 * io/write.c: Likewise.
34287 * io/xmknod.c: Likewise.
34288 * io/xmknodat.c: Likewise.
34289 * io/xstat.c: Likewise.
34290 * io/xstat64.c: Likewise.
34291 * login/getpt.c: Likewise.
34292 * login/grantpt.c: Likewise.
34293 * login/unlockpt.c: Likewise.
34294 * math/e_acoshl.c: Likewise.
34295 * math/e_acosl.c: Likewise.
34296 * math/e_asinl.c: Likewise.
34297 * math/e_atan2l.c: Likewise.
34298 * math/e_atanhl.c: Likewise.
34299 * math/e_coshl.c: Likewise.
34300 * math/e_expl.c: Likewise.
34301 * math/e_fmodl.c: Likewise.
34302 * math/e_gammal_r.c: Likewise.
34303 * math/e_hypotl.c: Likewise.
34304 * math/e_j0l.c: Likewise.
34305 * math/e_j1l.c: Likewise.
34306 * math/e_jnl.c: Likewise.
34307 * math/e_lgammal_r.c: Likewise.
34308 * math/e_log10l.c: Likewise.
34309 * math/e_log2l.c: Likewise.
34310 * math/e_logl.c: Likewise.
34311 * math/e_powl.c: Likewise.
34312 * math/e_rem_pio2l.c: Likewise.
34313 * math/e_sinhl.c: Likewise.
34314 * math/e_sqrtl.c: Likewise.
34315 * math/fclrexcpt.c: Likewise.
34316 * math/fedisblxcpt.c: Likewise.
34317 * math/feenablxcpt.c: Likewise.
34318 * math/fegetenv.c: Likewise.
34319 * math/fegetexcept.c: Likewise.
34320 * math/fegetround.c: Likewise.
34321 * math/feholdexcpt.c: Likewise.
34322 * math/fesetenv.c: Likewise.
34323 * math/fesetround.c: Likewise.
34324 * math/feupdateenv.c: Likewise.
34325 * math/fgetexcptflg.c: Likewise.
34326 * math/fraiseexcpt.c: Likewise.
34327 * math/fsetexcptflg.c: Likewise.
34328 * math/ftestexcept.c: Likewise.
34329 * math/k_cosl.c: Likewise.
34330 * math/k_rem_pio2l.c: Likewise.
34331 * math/k_sinl.c: Likewise.
34332 * math/k_tanl.c: Likewise.
34333 * math/s_asinhl.c: Likewise.
34334 * math/s_atanl.c: Likewise.
34335 * math/s_cbrtl.c: Likewise.
34336 * math/s_erfl.c: Likewise.
34337 * math/s_expm1l.c: Likewise.
34338 * math/s_log1pl.c: Likewise.
34339 * math/s_tanhl.c: Likewise.
34340 * misc/acct.c: Likewise.
34341 * misc/brk.c: Likewise.
34342 * misc/chflags.c: Likewise.
34343 * misc/chroot.c: Likewise.
34344 * misc/fchflags.c: Likewise.
34345 * misc/fgetxattr.c: Likewise.
34346 * misc/flistxattr.c: Likewise.
34347 * misc/fremovexattr.c: Likewise.
34348 * misc/fsetxattr.c: Likewise.
34349 * misc/fsync.c: Likewise.
34350 * misc/ftruncate.c: Likewise.
34351 * misc/futimes.c: Likewise.
34352 * misc/futimesat.c: Likewise.
34353 * misc/getdomain.c: Likewise.
34354 * misc/getdtsz.c: Likewise.
34355 * misc/gethostid.c: Likewise.
34356 * misc/gethostname.c: Likewise.
34357 * misc/getloadavg.c: Likewise.
34358 * misc/getpagesize.c: Likewise.
34359 * misc/getsysstats.c: Likewise.
34360 * misc/getxattr.c: Likewise.
34361 * misc/gtty.c: Likewise.
34362 * misc/ioctl.c: Likewise.
34363 * misc/lgetxattr.c: Likewise.
34364 * misc/listxattr.c: Likewise.
34365 * misc/llistxattr.c: Likewise.
34366 * misc/lremovexattr.c: Likewise.
34367 * misc/lsetxattr.c: Likewise.
34368 * misc/lutimes.c: Likewise.
34369 * misc/madvise.c: Likewise.
34370 * misc/mincore.c: Likewise.
34371 * misc/mlock.c: Likewise.
34372 * misc/mlockall.c: Likewise.
34373 * misc/mmap.c: Likewise.
34374 * misc/mprotect.c: Likewise.
34375 * misc/msync.c: Likewise.
34376 * misc/munlock.c: Likewise.
34377 * misc/munlockall.c: Likewise.
34378 * misc/munmap.c: Likewise.
34379 * misc/preadv.c: Likewise.
34380 * misc/preadv64.c: Likewise.
34381 * misc/ptrace.c: Likewise.
34382 * misc/pwritev.c: Likewise.
34383 * misc/pwritev64.c: Likewise.
34384 * misc/readv.c: Likewise.
34385 * misc/reboot.c: Likewise.
34386 * misc/remap_file_pages.c: Likewise.
34387 * misc/removexattr.c: Likewise.
34388 * misc/revoke.c: Likewise.
34389 * misc/select.c: Likewise.
34390 * misc/setdomain.c: Likewise.
34391 * misc/setegid.c: Likewise.
34392 * misc/seteuid.c: Likewise.
34393 * misc/sethostid.c: Likewise.
34394 * misc/sethostname.c: Likewise.
34395 * misc/setregid.c: Likewise.
34396 * misc/setreuid.c: Likewise.
34397 * misc/setxattr.c: Likewise.
34398 * misc/sstk.c: Likewise.
34399 * misc/stty.c: Likewise.
34400 * misc/swapoff.c: Likewise.
34401 * misc/swapon.c: Likewise.
34402 * misc/sync.c: Likewise.
34403 * misc/syncfs.c: Likewise.
34404 * misc/syscall.c: Likewise.
34405 * misc/truncate.c: Likewise.
34406 * misc/ualarm.c: Likewise.
34407 * misc/usleep.c: Likewise.
34408 * misc/ustat.c: Likewise.
34409 * misc/utimes.c: Likewise.
34410 * misc/vhangup.c: Likewise.
34411 * misc/writev.c: Likewise.
34412 * posix/_exit.c: Likewise.
34413 * posix/alarm.c: Likewise.
34414 * posix/execve.c: Likewise.
34415 * posix/fexecve.c: Likewise.
34416 * posix/fork.c: Likewise.
34417 * posix/fpathconf.c: Likewise.
34418 * posix/getaddrinfo.c: Likewise.
34419 * posix/getegid.c: Likewise.
34420 * posix/geteuid.c: Likewise.
34421 * posix/getgid.c: Likewise.
34422 * posix/getgroups.c: Likewise.
34423 * posix/getlogin.c: Likewise.
34424 * posix/getlogin_r.c: Likewise.
34425 * posix/getpgid.c: Likewise.
34426 * posix/getpid.c: Likewise.
34427 * posix/getppid.c: Likewise.
34428 * posix/getresgid.c: Likewise.
34429 * posix/getresuid.c: Likewise.
34430 * posix/getsid.c: Likewise.
34431 * posix/getuid.c: Likewise.
34432 * posix/glob64.c: Likewise.
34433 * posix/nanosleep.c: Likewise.
34434 * posix/pathconf.c: Likewise.
34435 * posix/pause.c: Likewise.
34436 * posix/posix_madvise.c: Likewise.
34437 * posix/pread.c: Likewise.
34438 * posix/pread64.c: Likewise.
34439 * posix/pwrite.c: Likewise.
34440 * posix/pwrite64.c: Likewise.
34441 * posix/sched_getaffinity.c: Likewise.
34442 * posix/sched_getp.c: Likewise.
34443 * posix/sched_gets.c: Likewise.
34444 * posix/sched_primax.c: Likewise.
34445 * posix/sched_primin.c: Likewise.
34446 * posix/sched_rr_gi.c: Likewise.
34447 * posix/sched_setaffinity.c: Likewise.
34448 * posix/sched_setp.c: Likewise.
34449 * posix/sched_sets.c: Likewise.
34450 * posix/sched_yield.c: Likewise.
34451 * posix/setgid.c: Likewise.
34452 * posix/setlogin.c: Likewise.
34453 * posix/setpgid.c: Likewise.
34454 * posix/setresgid.c: Likewise.
34455 * posix/setresuid.c: Likewise.
34456 * posix/setsid.c: Likewise.
34457 * posix/setuid.c: Likewise.
34458 * posix/sleep.c: Likewise.
34459 * posix/spawni.c: Likewise.
34460 * posix/sysconf.c: Likewise.
34461 * posix/times.c: Likewise.
34462 * posix/wait.c: Likewise.
34463 * posix/wait3.c: Likewise.
34464 * posix/wait4.c: Likewise.
34465 * posix/waitpid.c: Likewise.
34466 * resolv/gai_sigqueue.c: Likewise.
34467 * resource/getpriority.c: Likewise.
34468 * resource/getrlimit.c: Likewise.
34469 * resource/getrusage.c: Likewise.
34470 * resource/nice.c: Likewise.
34471 * resource/setpriority.c: Likewise.
34472 * resource/setrlimit.c: Likewise.
34473 * resource/ulimit.c: Likewise.
34474 * rt/aio_cancel.c: Likewise.
34475 * rt/aio_fsync.c: Likewise.
34476 * rt/aio_read.c: Likewise.
34477 * rt/aio_sigqueue.c: Likewise.
34478 * rt/aio_suspend.c: Likewise.
34479 * rt/aio_write.c: Likewise.
34480 * rt/clock_getres.c: Likewise.
34481 * rt/clock_gettime.c: Likewise.
34482 * rt/clock_nanosleep.c: Likewise.
34483 * rt/clock_settime.c: Likewise.
34484 * rt/lio_listio.c: Likewise.
34485 * rt/mq_close.c: Likewise.
34486 * rt/mq_getattr.c: Likewise.
34487 * rt/mq_notify.c: Likewise.
34488 * rt/mq_open.c: Likewise.
34489 * rt/mq_receive.c: Likewise.
34490 * rt/mq_send.c: Likewise.
34491 * rt/mq_setattr.c: Likewise.
34492 * rt/mq_timedreceive.c: Likewise.
34493 * rt/mq_timedsend.c: Likewise.
34494 * rt/mq_unlink.c: Likewise.
34495 * rt/shm_open.c: Likewise.
34496 * rt/shm_unlink.c: Likewise.
34497 * rt/timer_create.c: Likewise.
34498 * rt/timer_delete.c: Likewise.
34499 * rt/timer_getoverr.c: Likewise.
34500 * rt/timer_gettime.c: Likewise.
34501 * rt/timer_settime.c: Likewise.
34502 * setjmp/__longjmp.c: Likewise.
34503 * setjmp/setjmp.c: Likewise.
34504 * signal/kill.c: Likewise.
34505 * signal/killpg.c: Likewise.
34506 * signal/raise.c: Likewise.
34507 * signal/sigaction.c: Likewise.
34508 * signal/sigaltstack.c: Likewise.
34509 * signal/sigblock.c: Likewise.
34510 * signal/sigignore.c: Likewise.
34511 * signal/sigintr.c: Likewise.
34512 * signal/signal.c: Likewise.
34513 * signal/sigpause.c: Likewise.
34514 * signal/sigpending.c: Likewise.
34515 * signal/sigqueue.c: Likewise.
34516 * signal/sigreturn.c: Likewise.
34517 * signal/sigset.c: Likewise.
34518 * signal/sigsetmask.c: Likewise.
34519 * signal/sigstack.c: Likewise.
34520 * signal/sigsuspend.c: Likewise.
34521 * signal/sigtimedwait.c: Likewise.
34522 * signal/sigvec.c: Likewise.
34523 * signal/sigwait.c: Likewise.
34524 * signal/sigwaitinfo.c: Likewise.
34525 * signal/sysv_signal.c: Likewise.
34526 * socket/accept.c: Likewise.
34527 * socket/accept4.c: Likewise.
34528 * socket/bind.c: Likewise.
34529 * socket/connect.c: Likewise.
34530 * socket/getpeername.c: Likewise.
34531 * socket/getsockname.c: Likewise.
34532 * socket/getsockopt.c: Likewise.
34533 * socket/isfdtype.c: Likewise.
34534 * socket/listen.c: Likewise.
34535 * socket/recv.c: Likewise.
34536 * socket/recvfrom.c: Likewise.
34537 * socket/recvmsg.c: Likewise.
34538 * socket/send.c: Likewise.
34539 * socket/sendmsg.c: Likewise.
34540 * socket/sendto.c: Likewise.
34541 * socket/setsockopt.c: Likewise.
34542 * socket/shutdown.c: Likewise.
34543 * socket/sockatmark.c: Likewise.
34544 * socket/socket.c: Likewise.
34545 * socket/socketpair.c: Likewise.
34546 * stdio-common/ctermid.c: Likewise.
34547 * stdio-common/cuserid.c: Likewise.
34548 * stdio-common/remove.c: Likewise.
34549 * stdio-common/rename.c: Likewise.
34550 * stdio-common/renameat.c: Likewise.
34551 * stdio-common/tempname.c: Likewise.
34552 * stdlib/getcontext.c: Likewise.
34553 * stdlib/makecontext.c: Likewise.
34554 * stdlib/setcontext.c: Likewise.
34555 * stdlib/swapcontext.c: Likewise.
34556 * stdlib/system.c: Likewise.
34557 * streams/fattach.c: Likewise.
34558 * streams/fdetach.c: Likewise.
34559 * streams/getmsg.c: Likewise.
34560 * streams/getpmsg.c: Likewise.
34561 * streams/putmsg.c: Likewise.
34562 * streams/putpmsg.c: Likewise.
34563 * sysdeps/unix/bsd/getpt.c: Likewise.
34564 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34565 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34566 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34569 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34570 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34571 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34572 * sysvipc/msgctl.c: Likewise.
34573 * sysvipc/msgget.c: Likewise.
34574 * sysvipc/msgrcv.c: Likewise.
34575 * sysvipc/msgsnd.c: Likewise.
34576 * sysvipc/semctl.c: Likewise.
34577 * sysvipc/semget.c: Likewise.
34578 * sysvipc/semop.c: Likewise.
34579 * sysvipc/semtimedop.c: Likewise.
34580 * sysvipc/shmat.c: Likewise.
34581 * sysvipc/shmctl.c: Likewise.
34582 * sysvipc/shmdt.c: Likewise.
34583 * sysvipc/shmget.c: Likewise.
34584 * termios/tcdrain.c: Likewise.
34585 * termios/tcflow.c: Likewise.
34586 * termios/tcflush.c: Likewise.
34587 * termios/tcgetattr.c: Likewise.
34588 * termios/tcgetpgrp.c: Likewise.
34589 * termios/tcsendbrk.c: Likewise.
34590 * termios/tcsetattr.c: Likewise.
34591 * termios/tcsetpgrp.c: Likewise.
34592 * time/adjtime.c: Likewise.
34593 * time/clock.c: Likewise.
34594 * time/getitimer.c: Likewise.
34595 * time/gettimeofday.c: Likewise.
34596 * time/setitimer.c: Likewise.
34597 * time/settimeofday.c: Likewise.
34598 * time/stime.c: Likewise.
34599 * time/time.c: Likewise.
34601 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34603 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34606 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34608 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34610 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34614 FE_TONEAREST before applying Dekker multiplication and Knuth
34615 addition. Clear inexact exceptions and check for exact zero
34616 results afterwards.
34617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34618 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34620 * math/libm-test.inc (fma_test): Add more tests.
34621 (fma_test_towardzero): Likewise.
34622 (fma_test_downward): Likewise.
34623 (fma_test_upward): Likewise.
34624 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34626 (libc_fesetround): New macro.
34627 (libc_fesetroundf): Likewise.
34628 (libc_fesetroundl): Likewise.
34629 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34631 (libc_fesetround_387): Likewise.
34632 (libc_fesetroundf): New macro.
34633 (libc_fesetround): Likewise.
34634 (libc_fesetroundl): Likewise.
34635 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34637 (libc_fesetroundf): New macro.
34638 (libc_fesetround): Likewise.
34639 (libc_fesetroundl): Likewise.
34640 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34641 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34642 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34644 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34645 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34647 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34648 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34650 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34654 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34655 integer constant usable in #if and use that to give value to enum
34657 (FE_DIVBYZERO): Likewise.
34658 (FE_UNDERFLOW): Likewise.
34659 (FE_OVERFLOW): Likewise.
34660 (FE_INVALID): Likewise.
34661 (FE_INVALID_SNAN): Likewise.
34662 (FE_INVALID_ISI): Likewise.
34663 (FE_INVALID_IDI): Likewise.
34664 (FE_INVALID_ZDZ): Likewise.
34665 (FE_INVALID_IMZ): Likewise.
34666 (FE_INVALID_COMPARE): Likewise.
34667 (FE_INVALID_SOFTWARE): Likewise.
34668 (FE_INVALID_SQRT): Likewise.
34669 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34670 (FE_TONEAREST): Likewise.
34671 (FE_TOWARDZERO): Likewise.
34672 (FE_UPWARD): Likewise.
34673 (FE_DOWNWARD): Likewise.
34674 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34675 (FE_DIVBYZERO): Likewise.
34676 (FE_OVERFLOW): Likewise.
34677 (FE_UNDERFLOW): Likewise.
34678 (FE_INEXACT): Likewise.
34679 (FE_TONEAREST): Likewise.
34680 (FE_DOWNWARD): Likewise.
34681 (FE_UPWARD): Likewise.
34682 (FE_TOWARDZERO): Likewise.
34683 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34684 (FE_UNDERFLOW): Likewise.
34685 (FE_OVERFLOW): Likewise.
34686 (FE_DIVBYZERO): Likewise.
34687 (FE_INVALID): Likewise.
34688 (FE_TONEAREST): Likewise.
34689 (FE_TOWARDZERO): Likewise.
34690 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34691 (FE_OVERFLOW): Likewise.
34692 (FE_UNDERFLOW): Likewise.
34693 (FE_DIVBYZERO): Likewise.
34694 (FE_INEXACT): Likewise.
34695 (FE_TONEAREST): Likewise.
34696 (FE_TOWARDZERO): Likewise.
34697 (FE_UPWARD): Likewise.
34698 (FE_DOWNWARD): Likewise.
34699 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34700 (FE_DIVBYZERO): Likewise.
34701 (FE_OVERFLOW): Likewise.
34702 (FE_UNDERFLOW): Likewise.
34703 (FE_INEXACT): Likewise.
34704 (FE_TONEAREST): Likewise.
34705 (FE_DOWNWARD): Likewise.
34706 (FE_UPWARD): Likewise.
34707 (FE_TOWARDZERO): Likewise.
34709 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34711 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34713 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34715 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34716 commands. Quote $PWD.
34717 (blacklist_exports): Don't use remove_newlines. Replace "declare
34719 (remove_newlines): Remove.
34721 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34723 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34724 * stdlib/stdlib.h (atof): Moved to ...
34725 * include/bits/stdlib-float.h: Here. New file.
34726 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34727 * stdlib/bits/stdlib-float.h: New file.
34728 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34730 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34733 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34735 * conform/conformtest.pl (@headers): Add fenv.h.
34736 * conform/data/fenv.h-data: New file.
34737 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34738 include of <math/fenv.h>.
34740 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34741 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34742 && !UNIX98]. Enables tests for XOPEN2K8.
34743 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34744 POSIX2008]: Likewise.
34746 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34747 (struct rusage): Do not expect type or its members.
34750 * math/math.h (FP_NAN): Define macro to integer constant usable in
34751 #if and use that to give value to enum constant.
34752 (FP_INFINITE): Likewise.
34753 (FP_ZERO): Likewise.
34754 (FP_SUBNORMAL): Likewise.
34755 (FP_NORMAL): Likewise.
34757 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34759 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34760 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34763 2012-11-02 Roland McGrath <roland@hack.frob.com>
34765 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34766 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34767 autoconf-time if not.
34768 * configure.in: Remove AC_PREREQ.
34770 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34772 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34773 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34774 of the internal implementation.
34776 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34778 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34779 except include of <misc/sys/syslog.h>.
34781 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34784 function returns with a NULL context exit with zero.
34786 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34788 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34790 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34792 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34793 (run_program_cmd): This.
34794 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34795 (tst_langinfo): New variable. Use it.
34797 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34799 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34800 floating point opcodes.
34802 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34804 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34807 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34809 * sysdeps/mach/hurd/powerpc: Remove directory.
34810 * sysdeps/mach/powerpc: Likewise.
34812 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34814 * scripts/check-local-headers.sh: Ignore c++ headers.
34816 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34818 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34819 __libc_cleanup_region_start argument.
34821 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34826 x * y using scaling, not as x * y + z.
34827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34829 * math/libm-test.inc (fma_test): Add more tests.
34830 (fma_test_towardzero): Likewise.
34831 (fma_test_downward): Likewise.
34832 (fma_test_upward): Likewise.
34834 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34836 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34838 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34840 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34843 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34845 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34847 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34854 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34857 Fix the order of the list for glibc 2.17.
34858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34861 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34865 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34868 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34869 for low part of x being zero before using __atanl (y).
34870 * math/libm-test.inc (atan2_test): Add another test.
34872 * manual/install.texi (Configuring and compiling): Document
34873 general use of test-wrapper and test-wrapper-env.
34874 * INSTALL: Regenerated.
34876 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34877 (__fma): Do not extract and scale down low bits on after-rounding
34878 systems when result rounded to normal precision would have normal
34880 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34881 (__fmal): Do not extract and scale down low bits on after-rounding
34882 systems when result rounded to normal precision would have normal
34884 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34885 (__fmal): Do not extract and scale down low bits on after-rounding
34886 systems when result rounded to normal precision would have normal
34888 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34890 (fma_test): Add more tests.
34891 (fma_test_towardzero): Likewise.
34892 (fma_test_downward): Likewise.
34893 (fma_test_upward): Likewise.
34895 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34897 * sysdeps/i386/tininess.h: Renamed to ...
34898 * sysdeps/x86/tininess.h: This.
34899 * sysdeps/x86_64/tininess.h: Removed.
34901 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34903 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34904 input. Use $(build-program-cmd).
34905 ($(objpfx)tst-array1-static.out): Likewise.
34906 ($(objpfx)tst-array2.out): Likewise.
34907 ($(objpfx)tst-array3.out): Likewise.
34908 ($(objpfx)tst-array4.out): Likewise.
34909 ($(objpfx)tst-array5.out): Likewise.
34910 ($(objpfx)tst-array5-static.out): Likewise.
34912 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34914 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34917 * nss/nsswitch.h (nss_interface_function): Provide new
34918 macro for use with NSS functions.
34919 * grp/initgroups.c: Use new macro.
34920 * nss/getXXbyYY.c: Likewise.
34921 * nss/getXXbyYY_r.c: Likewise.
34922 * nss/getXXent.c: Likewise.
34923 * nss/getXXent_r.c: Likewise.
34924 * sysdeps/posix/getaddrinfo.c: Likewise.
34926 2012-10-30 Andreas Jaeger <aj@suse.de>
34928 * po/ru.po: Update Russion translation from translation project.
34930 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34935 result and shift together with sticky bit instead of replicating
34936 round-to-nearest rounding.
34937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34939 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34940 missing underflow exceptions.
34941 (fma_test_towardzero): Add more tests.
34942 (fma_test_downward): Likewise.
34943 (fma_test_upward): Likewise.
34946 * sysdeps/generic/tininess.h: New file.
34947 * sysdeps/i386/tininess.h: Likewise.
34948 * sysdeps/sh/tininess.h: Likewise.
34949 * sysdeps/x86_64/tininess.h: Likewise.
34950 * stdlib/tst-strtod-underflow.c: Likewise.
34951 * stdlib/tst-tininess.c: Likewise.
34952 * stdlib/strtod_l.c: Include <tininess.h>.
34953 (round_and_return): Do not set errno for exact underflow cases.
34954 Force an underflow exception when setting errno for underflow.
34955 Determine underflow based on rounding to normal precision if
34956 TININESS_AFTER_ROUNDING.
34957 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34958 ERANGE for exact underflow cases.
34959 * stdlib/Makefile (tests): Add tst-tininess and
34960 tst-strtod-underflow.
34961 ($(objpfx)tst-tininess): Use $(link-libm).
34962 ($(objpfx)tst-strtod-underflow): Likewise.
34964 2012-10-30 Andreas Jaeger <aj@suse.de>
34967 * elf/Makefile (tests): Remove conditional for have-initfini-array
34968 since this is now always required and the variable does not exist
34970 (tests-static): Likewise.
34971 (modules-names): Likewise.
34973 * po/eo.po: Add Esperanto translation from translation project.
34975 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34976 merged with constructor/destructor.
34977 (init_array): Likewise.
34978 * elf/tst-array2dep.c (fini_array): Likewise.
34979 (init_array): Likewise.
34981 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34983 * manual/message.texi: Delete @cartouche tags.
34985 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34987 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34989 * sysdeps/mach/hurd/fsync.c: Likewise.
34991 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34992 [_POSIX_REALTIME_SIGNALS]: Change condition to
34993 [_POSIX_REALTIME_SIGNALS > 0].
34995 2012-10-27 Andreas Jaeger <aj@suse.de>
34997 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34998 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34999 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35000 [__WORDSIZE != 64]: Likewise.
35002 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35004 * iconvdata/tst-table.sh: Remove ${SHELL}.
35005 * iconvdata/tst-tables.sh: Likewise.
35007 2012-10-25 David S. Miller <davem@davemloft.net>
35009 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35010 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35015 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35016 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35017 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35020 2012-10-25 Roland McGrath <roland@hack.frob.com>
35022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35023 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35026 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35027 Jim Blandy <jimb@codesourcery.com>
35029 * scripts/cross-test-ssh.sh: New file.
35030 * manual/install.texi (Configuring and compiling): Document use of
35032 * INSTALL: Regenerated.
35034 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35036 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35039 2012-10-25 Joseph Myers <joseph@codesourcery.com>
35041 * Makeconfig (run-program-prefix): Fix comment.
35043 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35044 Jim Blandy <jimb@codesourcery.com>
35046 * Makeconfig (test-wrapper): New variable,
35047 (test-wrapper-env): Likewise.
35048 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35049 (run-built-tests): Define to yes.
35050 (run-program-prefix): Use $(test-wrapper).
35051 (built-program-cmd): Likewise.
35052 * Rules (make-test-out): Use $(test-wrapper-env) and
35053 $(host-built-program-cmd).
35054 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35055 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35057 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35058 $(test-wrapper-env) to tst-rtld-load-self.sh.
35059 ($(objpfx)order2.out): Use $(test-wrapper).
35060 ($(objpfx)tst-initorder.out): Likewise.
35061 ($(objpfx)tst-initorder2.out): Likewise.
35062 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35063 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35064 (test_wrapper_env): New variable. Use it to run ld.so.
35065 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35066 Use it to run ld.so.
35067 (test_wrapper_env): Likewise.
35068 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35069 $(test-wrapper) to run-iconv-test.sh.
35070 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35071 (ICONV): Use $test_wrapper.
35072 * posix/Makefile ($(objpfx)globtest.out): Pass
35073 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35074 globtest.sh, not $(run-program-prefix).
35075 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35076 (test_wrapper): Likewise.
35077 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35078 set together with run_via_rtld_prefix.
35079 (run_program_prefix): Define in terms of test_wrapper and
35080 run_via_rtld_prefix.
35082 2012-10-24 Roland McGrath <roland@hack.frob.com>
35084 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35085 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35089 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35090 Declare __clock_getres, __clock_gettime, __clock_settime,
35091 __clock_nanosleep, and __clock_getcpuclockid.
35092 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35093 Remove librt_hidden_def (clock_gettime).
35094 * sysdeps/unix/clock_gettime.c: Likewise.
35095 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35096 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35097 * rt/clock_getres.c: Define __clock_getres as an alias.
35098 * sysdeps/posix/clock_getres.c: Likewise.
35099 * rt/clock_settime.c: Define __clock_settime as an alias.
35100 * sysdeps/unix/clock_settime.c: Likewise.
35101 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35102 * sysdeps/unix/clock_nanosleep.c: Likewise.
35103 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35104 * rt/clock-compat.c: New file.
35105 * rt/Makefile (librt-routines): Add clock-compat and move
35106 $(clock-routines) to ...
35107 (routines): ... here, new variable.
35108 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35109 Don't add get_clockfreq here.
35110 * rt/Versions (libc: GLIBC_2.17): New version set.
35111 Add clock_* symbols here.
35112 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35114 (GLIBC_2.17): Add clock_* symbols.
35115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35126 * NEWS: Mention the move.
35128 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35129 Use __open, __read, __close rather than their public counterparts.
35130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35131 (__get_clockfreq_via_cpuinfo): Likewise.
35132 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35133 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35135 * config.h.in (HAVE_IFUNC): New #undef.
35136 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35138 * configure: Regenerated.
35140 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35142 * configure.in: Move READELF check to start of file.
35143 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35144 libc_cv_asm_gnu_indirect_function in the process.
35145 * configure: Regenerated.
35147 2012-10-24 Mike Frysinger <vapier@gentoo.org>
35149 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35150 send the output to /dev/null.
35151 (libc_cv_cc_with_libunwind): Likewise.
35152 (libc_cv_as_noexecstack): Likewise.
35153 * configure: Regenerate.
35155 2012-10-24 Joseph Myers <joseph@codesourcery.com>
35157 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35159 * posix/globtest.sh (TMPDIR): Do not set.
35160 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35161 (testout): Likewise.
35163 2012-10-24 Andreas Jaeger <aj@suse.de>
35165 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35166 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35167 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35168 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35169 posix_fadvise64, posix_fallocate64.
35171 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35172 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35173 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35175 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35177 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35180 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35181 <bits/fcntl-linux.h>.
35182 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35185 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35186 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35187 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35188 [__WORDSIZE != 64]: Likewise.
35190 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35192 * Makeconfig (run-built-tests): New variable.
35193 * Rules [$(cross-compiling) = yes]: Change condition to
35194 [$(run-built-tests) = no].
35195 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35196 to [$(run-built-tests) = yes].
35197 * elf/Makefile [$(cross-compiling) = no]: Likewise
35198 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35199 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35200 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35201 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35202 * io/Makefile [$(cross-compiling) = no]: Likewise.
35203 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35204 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35205 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35206 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35207 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35208 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35209 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35210 * string/Makefile [$(cross-compiling) = no]: Likewise.
35212 * posix/Makefile ($(objpfx)globtest.out): Pass
35213 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35214 $(rtld-installed-name).
35215 * posix/globtest.sh (elf_objpfx): Remove variable.
35216 (rtld_installed_name): Likewise.
35217 (library_path): Likewise.
35218 (run_program_prefix): New variable. Use for running globtest
35221 2012-10-23 Jim Blandy <jimb@codesourcery.com>
35222 Joseph Myers <joseph@codesourcery.com>
35224 * Makeconfig (host-built-program-cmd): New variable.
35225 * elf/Makefile (tst-stackguard1-ARGS): Use
35226 $(host-built-program-cmd).
35227 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35228 (tst-spawn-ARGS): Likewise.
35229 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35231 2012-10-23 Joseph Myers <joseph@codesourcery.com>
35232 Jim Blandy <jimb@codesourcery.com>
35234 * Makeconfig (run-via-rtld-prefix): New variable.
35235 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35236 (built-program-cmd): Likewise.
35238 2012-10-22 Andreas Jaeger <aj@suse.de>
35240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35241 __O_RSYNC if it exists, otherwise to O_SYNC.
35243 2012-10-22 Jim Blandy <jimb@codesourcery.com>
35244 Joseph Myers <joseph@codesourcery.com>
35246 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35248 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35250 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35253 2012-10-22 Andreas Jaeger <aj@suse.de>
35255 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35260 bits/fcntl-linux.h.
35262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35263 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35270 2012-10-21 Jim Blandy <jimb@codesourcery.com>
35271 Joseph Myers <joseph@codesourcery.com>
35273 * config.make.in (NM): New variable.
35275 2012-10-21 Andreas Jaeger <aj@suse.de>
35277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35278 definitions and declarations that are provided by
35279 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35281 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35284 * elf/Makefile (tests-static): Add tst-leaks1-static.
35285 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35286 ($(objpfx)tst-leaks1-static): New rule.
35287 ($(objpfx)tst-leaks1-static-mem): Likewise.
35288 (tst-leaks1-static-ENV): New macro.
35289 * elf/dl-open.c (dl_open_worker): Check the main application
35290 only if SHARED is defined.
35291 * elf/tst-leaks1-static.c: New file.
35293 2012-10-20 Andreas Jaeger <aj@suse.de>
35295 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35296 generic values for Linux.
35297 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35298 and declarations that are provided by <bits/fcntl-linux.h> and
35299 include <bits/fcntl-linux.h>.
35300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35303 2012-10-20 Roland McGrath <roland@hack.frob.com>
35305 * io/fcntl.h: Move include of <bits/types.h> to the top and
35306 include it unconditionally.
35308 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35310 * wcsmbs/Makefile (tests-ifunc): New variable.
35311 (tests): Add $(tests-ifunc).
35312 * wcsmbs/test-wcschr-ifunc.c: New file.
35313 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35314 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35315 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35316 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35317 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35319 * string/Makefile (tests-ifunc): New variable.
35320 (tests): Add $(tests-ifunc).
35321 * string/test-memccpy.c (TEST_NAME): New macro.
35322 * string/test-memchr.c (TEST_NAME): Likewise.
35323 * string/test-memcmp.c (TEST_NAME): Likewise.
35324 * string/test-memcpy.c (TEST_NAME): Likewise.
35325 * string/test-memmem.c (TEST_NAME): Likewise.
35326 * string/test-memmove.c (TEST_NAME): Likewise.
35327 * string/test-memset.c (TEST_NAME): Likewise.
35328 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35329 * string/test-stpcpy.c (TEST_NAME): Likewise.
35330 * string/test-stpncpy.c (TEST_NAME): Likewise.
35331 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35332 * string/test-strcasestr.c (TEST_NAME): Likewise.
35333 * string/test-strcat.c (TEST_NAME): Likewise.
35334 * string/test-strchr.c (TEST_NAME): Likewise.
35335 * string/test-strcmp.c(TEST_NAME): Likewise.
35336 * string/test-strcpy.c (TEST_NAME): Likewise.
35337 * string/test-strcspn.c (TEST_NAME): Likewise.
35338 * string/test-strlen.c (TEST_NAME): Likewise.
35339 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35340 * string/test-strncmp.c (TEST_NAME): Likewise.
35341 * string/test-strncpy.c (TEST_NAME): Likewise.
35342 * string/test-strnlen.c (TEST_NAME): Likewise.
35343 * string/test-strpbrk.c (TEST_NAME): Likewise.
35344 * string/test-strrchr.c (TEST_NAME): Likewise.
35345 * string/test-strspn.c (TEST_NAME): Likewise.
35346 * string/test-strstr.c (TEST_NAME): Likewise.
35347 * string/test-bcopy-ifunc.c: New file.
35348 * string/test-bzero-ifunc.c: Likewise.
35349 * string/test-memccpy-ifunc.c: Likewise.
35350 * string/test-memchr-ifunc.c: Likewise.
35351 * string/test-memcmp-ifunc.c: Likewise.
35352 * string/test-memcpy-ifunc.c: Likewise.
35353 * string/test-memmem-ifunc.c: Likewise.
35354 * string/test-memmove-ifunc.c: Likewise.
35355 * string/test-mempcpy-ifunc.c: Likewise.
35356 * string/test-memset-ifunc.c: Likewise.
35357 * string/test-rawmemchr-ifunc.c: Likewise.
35358 * string/test-stpcpy-ifunc.c: Likewise.
35359 * string/test-stpncpy-ifunc.c: Likewise.
35360 * string/test-strcasecmp-ifunc.c: Likewise.
35361 * string/test-strcasestr-ifunc.c: Likewise.
35362 * string/test-strcat-ifunc.c: Likewise.
35363 * string/test-strchr-ifunc.c: Likewise.
35364 * string/test-strchrnul-ifunc.c: Likewise.
35365 * string/test-strcmp-ifunc.c: Likewise.
35366 * string/test-strcpy-ifunc.c: Likewise.
35367 * string/test-strcspn-ifunc.c: Likewise.
35368 * string/test-strlen-ifunc.c: Likewise.
35369 * string/test-strncasecmp-ifunc.c: Likewise.
35370 * string/test-strncat-ifunc.c: Likewise.
35371 * string/test-strncmp-ifunc.c: Likewise.
35372 * string/test-strncpy-ifunc.c: Likewise.
35373 * string/test-strnlen-ifunc.c: Likewise.
35374 * string/test-strpbrk-ifunc.c: Likewise.
35375 * string/test-strrchr-ifunc.c: Likewise.
35376 * string/test-strspn-ifunc.c: Likewise.
35377 * string/test-strstr-ifunc.c: Likewise.
35379 * debug/Makefile (tests-ifunc): New variable.
35380 (tests): Add $(tests-ifunc).
35381 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35382 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35383 * debug/test-stpcpy_chk-ifunc.c: New file.
35384 * debug/test-strcpy_chk-ifunc.c: Likewise.
35386 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35389 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35390 header is not read in.
35392 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35394 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35395 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35396 directly. Pass built executable to script as
35397 $(built-program-cmd).
35398 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35399 $testprogram without using LD_LIBRARY_PATH and $ldso.
35401 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35402 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35403 $(rtld-installed-name).
35404 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35405 (rtld_installed_name): Likewise.
35406 (library_path): Likewise.
35407 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35408 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35409 $(run-program-prefix) to tst-tables.sh.
35410 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35411 it to run tst-table-from and tst-table-to.
35412 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35413 Pass it to tst-table.sh.
35414 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35415 $(run-program-prefix) to tst-gettext.sh.
35416 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35418 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35420 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35421 to run tst-gettext.
35422 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35423 to run tst-gettext2.
35424 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35425 to run tst-translit.
35426 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35427 $(run-program-prefix) to tst-mtrace.sh.
35428 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35430 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35431 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35432 $(rtld-installed-name).
35433 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35434 (rtld_installed_name): Likewise.
35435 (run_program_prefix): New variable. Use it to run wordexp-test.
35437 * Makeconfig (ARCH): Remove all definitions.
35438 (machine): Likewise.
35439 [ARCH]: Remove conditional code.
35440 [!objdir]: Give error.
35441 [!objdir] (objpfx): Remove.
35442 [!objdir] (common-objpfx): Likewise.
35443 [!objdir] (common-objdir): Likewise.
35444 * configure.in (config_makefile): Remove. Hardcode Makefile in
35445 AC_CONFIG_FILES call.
35446 * configure: Regenerated.
35449 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35451 (testout): Likewise.
35453 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35454 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35455 $(rtld-installed-name).
35456 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35457 (rtld_installed_name): Likwise.
35458 (runit): Remove function.
35459 (run_getconf): New variable, Use it for running getconf binary.
35461 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35464 * string/test-memmem.c (check_result): New function.
35465 (do_one_test): Use it.
35466 (check1): New function.
35467 (test_main): Use it.
35469 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35471 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35473 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35475 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35476 (_G_LSEEK64): Likewise.
35477 (_G_MMAP64): Likewise.
35478 (_G_FSTAT64): Likewise.
35479 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35480 (_G_LSEEK64): Likewise.
35481 (_G_MMAP64): Likewise.
35482 (_G_FSTAT64): Likewise.
35483 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35484 unconditional. Call __mmap64 directly.
35485 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35486 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35487 __lseek64 directly.
35488 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35489 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35491 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35492 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35493 __lseek64 directly.
35494 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35495 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35496 __lseek64 directly.
35497 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35498 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35499 __lseek64 directly.
35500 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35501 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35502 __fxstat64 directly.
35503 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35504 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35506 (freopen64) [!_G_OPEN64]: Remove conditional code.
35507 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35509 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35510 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35512 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35513 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35515 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35516 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35518 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35519 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35521 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35522 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35524 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35525 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35527 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35529 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35532 * manual/memory.texi (Malloc Tunable Parameters): Add note
35533 about free list pointers overwriting some perturb bytes.
35534 Wording suggested by Roland McGrath.
35536 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35538 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35539 (lgamma_test): Likewise.
35540 (tgamma_test): Likewise.
35542 2012-10-16 Florian Weimer <fweimer@redhat.com>
35545 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35546 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35548 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35550 * NEWS: Mention BZ #14716.
35551 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35552 when removing AVAILABLE1_USES_J macro.
35554 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35556 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35557 (__bswap_64): __uint64_t for unsigned 64-bit int.
35559 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35561 * include/string.h (memmem): Declare libc hidden alias.
35562 * string/memmem.c (memmem): Define libc hidden alias.
35563 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35564 __read, __close instead of open, read, close.
35566 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35569 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35571 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35572 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35573 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35575 (__rawmemchr_sse2): Likewise.
35576 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35577 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35578 (__strchr_sse2): Likewise.
35579 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35580 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35581 (__strcasecmp_sse2): Likewise.
35582 (__strncasecmp_sse2): Likewise.
35583 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35584 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35585 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35586 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35587 (__strrchr_sse2): Likewise.
35588 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35590 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35591 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35592 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35593 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35594 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35595 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35596 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35597 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35598 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35599 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35600 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35601 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35602 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35603 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35604 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35605 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35606 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35607 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35608 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35609 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35610 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35611 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35612 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35613 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35614 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35615 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35616 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35617 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35618 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35619 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35621 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35623 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35624 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35625 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35626 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35628 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35630 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35631 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35632 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35633 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35635 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35636 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35637 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35638 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35639 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35640 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35641 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35642 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35643 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35644 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35645 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35646 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35647 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35648 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35649 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35650 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35651 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35652 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35653 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35662 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35663 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35667 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35669 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35670 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35671 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35672 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35673 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35674 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35677 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35678 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35679 * include/ifunc-impl-list.h: New file.
35680 * misc/ifunc-impl-list.c: Likewise.
35681 * misc/Makefile (routines): Add ifunc-impl-list.
35682 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35683 * string/test-string.h: Include <ifunc-impl-list.h>.
35684 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35685 TEST_NAME]: New variables.
35686 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35688 (test_init): Call __libc_ifunc_impl_list to initialize
35689 func_list if TEST_IFUNC and TEST_NAME are defined.
35691 * string/Makefile (strop-tests): Add bcopy and bzero.
35692 * string/test-bcopy.c: New file.
35693 * string/test-bzero.c: Likewise.
35694 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35696 * string/test-memset.c: Support bzero test if TEST_BZERO is
35698 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35700 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35702 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35705 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35707 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35708 * configure: Regenerated.
35710 * Makeconfig (+link-static-before-libc): Don't include
35711 $(link-static-libc).
35713 * libio/libio.h (_IO_pos_t): Remove.
35715 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35717 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35720 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35722 * crypt/crypt-entry.c: Include fips-private.h.
35723 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35724 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35725 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35726 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35728 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35730 * crypt/crypt-private.h: Include stdbool.h.
35731 (_ufc_setup_salt_r): Return bool.
35732 * crypt/crypt-entry.c: Include errno.h.
35733 (__crypt_r): Return NULL with EINVAL for bad salt.
35734 * crypt/crypt_util.c (bad_for_salt): New.
35735 (_ufc_setup_salt_r): Check that salt is long enough and within
35736 the specified alphabet.
35737 * crypt/badsalttest.c: New file.
35738 * crypt/Makefile (tests): Add it.
35739 ($(objpfx)badsalttest): New.
35741 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35743 * NEWS: Add entry for BZ #14602.
35745 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35747 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35749 * math/libm-test.inc: Update comment listing what functions and
35751 (isgreater_test): New function.
35752 (isgreaterequal_test): Likewise.
35753 (isless_test): Likewise.
35754 (islessequal_test): Likewise.
35755 (islessgreater_test): Likewise.
35756 (isunordered_test): Likewise.
35757 (main): Call the new functions.
35759 2012-10-09 Roland McGrath <roland@hack.frob.com>
35761 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35762 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35763 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35764 * sysdeps/i386/configure: Regenerated.
35765 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35766 * sysdeps/mach/configure: Regenerated.
35767 * sysdeps/mach/hurd/configure: Regenerated.
35768 * sysdeps/powerpc/configure: Regenerated.
35769 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35770 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35771 * sysdeps/s390/s390-32/configure: Regenerated.
35772 * sysdeps/s390/s390-64/configure: Regenerated.
35773 * sysdeps/sh/configure: Regenerated.
35774 * sysdeps/sparc/configure: Regenerated.
35775 * sysdeps/unix/sysv/linux/configure: Regenerated.
35776 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35777 * sysdeps/x86_64/configure: Regenerated.
35779 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35780 defined. Don't check if MAP is NULL.
35782 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35784 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35785 (_G_stat64): Likewise.
35786 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35787 (_G_stat64): Likewise.
35788 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35789 instead of struct _G_stat64.
35790 * libio/fileops.c (mmap_remap_check): Likewise.
35791 (decide_maybe_mmap): Likewise.
35792 (_IO_new_file_seekoff): Likewise.
35793 (_IO_file_stat): Likewise.
35794 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35796 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35797 instead of struct _G_stat64.
35798 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35800 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35803 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35805 (CHECK_EOL): New macro.
35806 (two_way_short_needle): Check beginning of haystack for EOL. Use
35808 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35809 Replace with CHECK_EOL.
35810 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35811 Replace with CHECK_EOL.
35813 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35815 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35817 * math/libm-test.inc: Update comment listing what functions and
35819 (finite_test): New function.
35820 (isinf_test): Likewise.
35821 (isnan_test): Likewise.
35822 (fpclassify_test): Test subnormal input.
35823 (isfinite_test): Likewise.
35824 (isnormal_test): Likewise.
35825 (main): Call the new functions.
35827 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35830 * Makerules (%.dynsym): Force C locale when running
35831 $(OBJDUMP) --dynamic-syms.
35833 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35835 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35838 2012-10-06 David S. Miller <davem@davemloft.net>
35840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35841 upper 32-bits of the length value in %o2 since we use branch-on-register
35842 tests which consider the entire 64-bit register.
35844 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35846 * string/test-strstr.c (check2): Add a test for page boundary.
35848 2012-10-05 David S. Miller <davem@davemloft.net>
35850 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35851 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35853 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35855 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35856 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35857 and bzero when HWCAP_SPARC_CRYPTO is present.
35859 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35862 * string/test-strstr.c (check2): New function.
35863 (test_main): Call check2.
35865 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35867 * string/bug-strcasestr1.c (do_test): Moved to ...
35868 * string/test-strcasestr.c (check1): Here. New function.
35869 (do_one_test): Break out result checking code into ...
35870 (check_result): This. New function.
35871 (do_one_test): Call check_result.
35872 (test_main): Call check1.
35873 * string/bug-strchr1.c (do_test): Moved to ...
35874 * string/test-strchr.c (check1): Here. New function.
35875 (do_one_test): Break out result checking code into ...
35876 (check_result): This. New function.
35877 (do_one_test): Call check_result.
35878 (test_main): Call check1.
35879 * string/bug-strstr1.c (main): Moved to ...
35880 * string/test-strstr.c (check1): Here. New function.
35881 (do_one_test): Break out result checking code into ...
35882 (check_result): This. New function.
35883 (do_one_test): Call check_result.
35884 (test_main): Call check1.
35885 * string/bug-strcasestr1.c: Removed.
35886 * string/bug-strchr1.c: Likewise.
35887 * string/bug-strstr1.c: Likewise.
35889 * elf/Makefile (dl-routines): Add hwcaps.
35890 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35891 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35892 (_dl_important_hwcaps): Moved to ...
35893 * elf/dl-hwcaps.c: Here. New file.
35894 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35897 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35898 if IS_IN_rtld isn't defined.
35900 * elf/dl-support.c (_dl_sysinfo_map): New.
35901 Include "get-dynamic-info.h" and "setup-vdso.h".
35902 (_dl_non_dynamic_init): Call setup_vdso.
35903 * elf/dynamic-link.h: Don't include <assert.h>.
35904 (elf_get_dynamic_info): Moved to ...
35905 * elf/get-dynamic-info.h: Here. New file.
35906 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35907 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35908 * elf/setup-vdso.h: Here. New file.
35909 * elf/rtld.c: Include "setup-vdso.h".
35910 (dl_main): Call setup_vdso.
35912 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35914 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35915 creal in comment listing functions tested. List finite, isinf,
35916 isnan, isless, islessequal, isgreater, isgreaterequal,
35917 islessgreater, isunordered, lgamma_r and pow10 as functions and
35918 macros not tested. Mention which functions not tested are aliases
35919 for other functions. Fix typo. Note that signs of NaNs are not
35922 * scripts/config.guess: Update from config.git.
35923 * scripts/config.sub: Likewise.
35925 2012-10-04 Roland McGrath <roland@hack.frob.com>
35927 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35928 * misc/madvise.c (madvise): Renamed to __madvise.
35929 Make madvise a weak alias.
35930 * include/sys/mman.h: Declare __madvise.
35931 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35932 * sysdeps/unix/syscalls.list
35933 (madvise): Make __madvise the strong name, and madvise a weak alias.
35934 * sysdeps/unix/sysv/linux/syscalls.list
35935 (madvise, mmap): Remove redundant entries.
35936 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35937 * malloc/malloc.c (mtrim): Likewise.
35938 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35940 2012-10-03 Roland McGrath <roland@hack.frob.com>
35942 * sysdeps/mach/hurd/dl-cache.c: File removed.
35943 * config.h.in (USE_LDCONFIG): New #undef.
35944 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35945 * configure: Regenerated.
35946 * elf/Makefile (dl-routines): Add dl-cache only under
35947 [$(use-ldconfig) = yes].
35948 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35949 cache on [USE_LDCONFIG].
35950 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35952 * elf/rtld.c (dl_main): Likewise.
35954 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35956 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35957 _SC_LEVEL4_CACHE_LINESIZE.
35959 2012-10-03 Roland McGrath <roland@hack.frob.com>
35961 * sysdeps/unix/bsd/confstr.h: File removed.
35963 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35965 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35968 2012-10-02 Roland McGrath <roland@hack.frob.com>
35970 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35971 Make 'mapoff' field ElfW(Off) rather than off_t.
35973 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35975 * nscd/Makefile: Remove nscd-cflags and all its users.
35976 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35977 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35980 * malloc.c (malloc_printerr): Clarify error message.
35982 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35986 Set bit_FMA_Usable if FMA is supported.
35987 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35989 (bit_FMA4_Usable): Updated.
35990 (index_FMA_Usable): New macro.
35991 (CPUID_FMA): Likewise
35992 (HAS_FMA): Defined with bit_FMA_Usable.
35994 2012-10-01 Roland McGrath <roland@hack.frob.com>
35996 * bits/types.h (__swblk_t): Type removed.
35997 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35998 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36000 (__SWBLK_T_TYPE): Likewise.
36001 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36002 (__SWBLK_T_TYPE): Likewise.
36003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36004 (__SWBLK_T_TYPE): Likewise.
36005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36006 (__SWBLK_T_TYPE): Likewise.
36008 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
36009 Honza Horak <hhorak@redhat.com>
36011 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36012 (xdr_mapname): Use YPMAXMAP as maxsize.
36013 (xdr_peername): Use YPMAXPEER as maxsize.
36014 (xdr_keydat): Use YPAXRECORD as maxsize.
36015 (xdr_valdat): Use YPMAXRECORD as maxsize.
36017 2012-10-01 Roland McGrath <roland@hack.frob.com>
36019 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36021 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36022 * csu/init-first.c: ... here.
36023 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36024 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36025 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36026 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36027 * sysdeps/i386/init-first.c: File removed.
36028 * sysdeps/sh/init-first.c: File removed.
36030 2012-10-01 Joseph Myers <joseph@codesourcery.com>
36033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36034 if x * y might underflow to zero and z is zero.
36035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36037 * math/libm-test.inc (min_subnorm_value): New variable.
36038 (fma_test): Add more tests.
36039 (fma_test_towardzero): Likewise.
36040 (fma_test_downward): Likewise
36041 (fma_test_upward): Likewise.
36042 (initialize): Set min_subnorm_value.
36044 2012-09-29 Joseph Myers <joseph@codesourcery.com>
36047 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36049 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36050 mode for addition resulting in exact zero.
36051 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36054 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36056 * math/libm-test.inc (fma_test): Add more tests.
36057 (fma_test_towardzero): New function.
36058 (fma_test_downward): Likewise.
36059 (fma_test_upward): Likewise.
36060 (main): Call the new functions.
36062 2012-09-28 David S. Miller <davem@davemloft.net>
36064 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36066 2012-09-28 Roland McGrath <roland@hack.frob.com>
36068 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36069 instead of SIGALRM.
36071 * sysdeps/gnu/_G_config.h: Moved to ...
36072 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36073 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36074 * sysdeps/generic/_G_config.h: ... here.
36076 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36078 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36080 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36081 Conditionalize target on [libnss_test1.so-version].
36083 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36085 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36086 (elfobjdir): Move out of conditionals.
36088 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36089 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36090 (__nss_lookup_function): Conditionalize label remove_from_tree on
36091 [!DO_STATIC_NSS || SHARED], matching its only use.
36093 2012-09-28 David S. Miller <davem@davemloft.net>
36095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36096 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36098 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36100 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36102 when HWCAP_SPARC_CRYPTO is present.
36104 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36106 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36108 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36111 * stdio-common/vfprintf.c (process_string_arg): Revert
36114 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36116 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36118 * stdio-common/tst-sprintf.c: Include <locale.h>
36119 (main): Test sprintf's handling of incomplete multibyte
36122 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36124 * elf/dl-runtime.c (VERSYMIDX): Removed.
36125 * elf/dl-version.c (VERSYMIDX): Likewise.
36126 * elf/do-rel.h (VERSYMIDX): Likewise.
36127 (VALIDX): Likewise.
36128 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36129 * elf/rtld.c (VALIDX): Likewise.
36130 (ADDRIDX): Likewise.
36131 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36132 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36133 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36134 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36135 (VALIDX): Likewise.
36136 (ADDRIDX): Likewise.
36138 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36140 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36142 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36145 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36147 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36148 addresses are in the same scope as 192.0.2/24.
36149 * posix/gai.conf: Document new scope table defaults.
36151 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36154 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36155 for ftell. Compute offsets from write pointers instead.
36156 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36158 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36161 * libio/Makefile (tests): New test case tst-fseek.
36162 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36163 combination works in wide mode.
36164 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36165 state when the external buffer state changes.
36167 2012-09-27 David S. Miller <davem@davemloft.net>
36170 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36171 pass reloc->r_addend in as the 'high' argument to
36172 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36176 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36178 * rt/tst-aio2.c: Include <pthread.h>.
36179 * rt/tst-aio3.c: Likewise.
36181 2012-09-27 Steve Ellcey <sellcey@mips.com>
36183 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36185 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36187 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36188 contents on [SHARED].
36190 2012-09-26 Marek Polacek <polacek@redhat.com>
36194 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36195 for C++ and GCC <4.3 as well as for non GCC compilers.
36197 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36201 2012-09-25 Roland McGrath <roland@hack.frob.com>
36203 * Makefile.in (all, install): Declare with .PHONY.
36204 Reported by Michael Hope <michael.hope@linaro.org>.
36206 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36208 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36209 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36211 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36213 (sydep_routines): Add the new and the internal functions.
36214 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36215 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36217 (GLIBC_2.17): Add the new function.
36218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36219 (GLIBC_2.17): Likewise.
36220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36221 (GLIBC_2.17): Likewise.
36222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36223 (GLIBC_2.17): Likewise.
36224 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36226 2012-09-25 Alan Modra <amodra@gmail.com>
36228 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36229 Add release barrier before setting once_control to say
36230 initialisation is done. Add hints on lwarx. Use macro in
36232 (clear_once_control): Add release barrier.
36234 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36237 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36239 * math/s_clog10.c (__clog10): Likewise.
36240 * math/s_clog10f.c (__clog10f): Likewise.
36241 * math/s_clog10l.c (__clog10l): Likewise.
36242 * math/s_clogf.c (__clogf): Likewise.
36243 * math/s_clogl.c (__clogl): Likewise.
36244 * math/Makefile (libm-calls): Add x2y2m1.
36245 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36246 (__x2y2m1): Likewise.
36247 (__x2y2m1l): Likewise.
36248 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36249 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36250 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36251 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36252 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36253 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36254 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36255 * sysdeps/i386/fpu/libm-test-ulps: Update.
36256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36259 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36260 int as type of variable DEPTH.
36261 (glob): Use size_t instead of int as type of variables NEWCOUNT
36264 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36266 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36267 Add s_sincosf-sse2.
36268 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36269 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36270 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36271 macros for using routine as __sincosf_ia32.
36272 Use macro for function declaration and weak_alias.
36273 * sysdeps/i386/fpu/libm-test-ulps: Update.
36275 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36278 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36279 subnormal argument.
36280 * math/s_cexpf.c (__cexpf): Likewise.
36281 * math/s_csinf.c (__csinf): Likewise.
36282 * math/s_csinhf.c (__csinhf): Likewise.
36283 * math/s_ctanf.c (__ctanf): Likewise.
36284 * math/s_ctanhf.c (__ctanhf): Likewise.
36285 * math/s_ccosh.c (__ccoshf): Likewise.
36286 * math/s_cexp.c (__cexpl): Likewise.
36287 * math/s_csin.c (__csin): Likewise.
36288 * math/s_csinh.c (__csinh): Likewise.
36289 * math/s_ctan.c (__ctan): Likewise.
36290 * math/s_ctanh.c (ctanh): Likewise.
36291 * math/s_ccoshl.c (__ccoshl): Likewise.
36292 * math/s_cexpl.c (__cexpl): Likewise.
36293 * math/s_csinl.c (__csinl): Likewise.
36294 * math/s_csinhl.c (__csinhl): Likewise.
36295 * math/s_ctanl.c (__ctanl): Likewise.
36296 * math/s_ctanhl.c (__ctanhl): Likewise.
36298 2012-09-25 Joseph Myers <joseph@codesourcery.com>
36300 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36301 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36302 (_IO_off_t): Define to __off_t, not _G_off_t.
36303 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36304 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36305 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36306 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36307 type of __dummy and __dummy2 fields.
36308 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36309 (_G_ssize_t): Likewise.
36310 (_G_off_t): Likewise.
36311 (_G_pid_t): Likewise.
36312 (_G_uid_t): Likewise.
36313 (_G_wchar_t): Likewise.
36314 (_G_wint_t): Likewise.
36315 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36316 (_G_ssize_t): Likewise.
36317 (_G_off_t): Likewise.
36318 (_G_pid_t): Likewise.
36319 (_G_uid_t): Likewise.
36320 (_G_wchar_t): Likewise.
36321 (_G_wint_t): Likewise.
36322 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36323 (_G_ssize_t): Likewise.
36324 (_G_off_t): Likewise.
36325 (_G_pid_t): Likewise.
36326 (_G_uid_t): Likewise.
36327 (_G_wchar_t): Likewise.
36328 (_G_wint_t): Likewise.
36330 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36332 * malloc/arena.c: Include malloc-sysdep.h.
36333 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36334 is sufficient to shrink the heap or an unmap is needed.
36335 * sysdeps/generic/malloc-sysdep.h: New file. Define
36336 new function check_may_shrink_heap.
36337 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36338 new function check_may_shrink_heap.
36340 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36342 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36345 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36347 * catgets/test-gencat.sh: Add "set -e".
36348 * elf/tst-pathopt.sh: Likewise.
36349 * grp/tst_fgetgrent.sh: Likewise.
36350 * iconvdata/run-iconv-test.sh: Likewise.
36351 * intl/tst-gettext.sh: Likewise.
36352 * intl/tst-gettext2.sh: Likewise.
36353 * intl/tst-gettext4.sh: Likewise.
36354 * intl/tst-gettext6.sh: Likewise.
36355 * intl/tst-translit.sh: Likewise.
36356 * io/ftwtest-sh: Likewise.
36357 * libio/test-freopen.sh: Likewise.
36358 * malloc/tst-mtrace.sh: Likewise.
36359 * posix/globtest.sh: Likewise.
36360 * posix/tst-getconf.sh: Likewise.
36361 * posix/wordexp-tst.sh: Likewise.
36362 * stdio-common/tst-printf.sh: Likewise.
36363 * stdio-common/tst-unbputc.sh: Likewise.
36364 * stdlib/tst-fmtmsg.sh: Likewise.
36365 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36366 * catgets/Makefile: Do not specify -e option when running
36367 testsuite shell scripts.
36368 * elf/Makefile: Likewise.
36369 * grp/Makefile: Likewise.
36370 * iconvdata/Makefile: Likewise.
36371 * intl/Makefile: Likewise.
36372 * io/Makefile: Likewise.
36373 * libio/Makefile: Likewise.
36374 * malloc/Makefile: Likewise.
36375 * posix/Makefile: Likewise.
36376 * stdio-common/Makefile: Likewise.
36377 * stdlib/Makefile: Likewise.
36378 * sysdeps/x86_64/Makefile: Likewise.
36380 * io/ftwtest-sh: Add copyright header.
36381 * posix/globtest.sh: Likewise.
36382 * posix/tst-getconf.sh: Likewise.
36383 * posix/wordexp-tst.sh: Likewise.
36384 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36386 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36389 * Makeconfig (+link): Defined as $(+link-static) if
36390 $(build-shared) isn't yes.
36391 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36393 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36395 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36398 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36399 new chunk size with MALLOC_ALIGN_MASK.
36401 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36404 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36406 (__printf_fphex): Determine rounding using get_rounding_mode and
36408 * stdio-common/tst-printf-round.c (struct hex_test): New
36410 (hex_tests): New variable.
36411 (test_hex_in_one_mode): New function.
36412 (do_test): Also run tests for hex float output.
36414 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36416 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36417 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36418 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36419 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36420 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36421 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36422 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36423 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36425 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36427 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36428 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36429 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36430 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36432 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36435 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36437 * elf/tst-rtld-load-self.sh: New test.
36438 * elf/Makefile: Run it.
36440 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36442 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36443 (tst-writev-ENV): Remove.
36444 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36446 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36448 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36450 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36452 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36454 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36456 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36457 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36458 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36461 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36464 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36465 * config.make.in (have-cpp-asm-debuginfo): Removed.
36466 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36467 * configure: Regenerated.
36469 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36472 * stdio-common/printf_fp.c: Include <stdbool.h> and
36474 (___printf_fp): Determine rounding using get_rounding_mode and
36476 * stdio-common/tst-printf-round.c: New file.
36477 * stdio-common/Makefile (tests): Add tst-printf-round.
36478 (link-libm): New variable.
36479 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36481 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36484 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36485 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36487 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36490 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36492 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36493 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36494 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36495 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36497 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36500 * include/rounding-mode.h: New file.
36501 * sysdeps/generic/get-rounding-mode.h: Likewise.
36502 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36503 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36504 (MAX_VALUE): New macro.
36505 (MIN_VALUE): Likewise.
36506 (overflow_value): New function.
36507 (underflow_value): Likewise.
36508 (round_and_return): Use overflow_value and underflow_value to
36509 determine return values in overflow and underflow cases. Use
36510 round_away to determine rounding depending on rounding mode.
36511 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36512 determine return values in overflow and underflow cases.
36513 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36514 (struct test_results): New structure.
36515 (struct test): Use struct test_results to store expected results
36516 for all rounding modes.
36517 (TEST): Include expected results for all rounding modes.
36518 (test_in_one_mode): New function.
36519 (do_test): Use test_in_one_mode to compute and check results.
36520 Check results for all rounding modes.
36521 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36524 2012-12-09 Allan McRae <allan@archlinux.org>
36526 * sysdeps/i386/fpu/libm-test-ulps: Update
36528 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36530 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36531 (_G_int32_t): Likewise.
36532 (_G_uint16_t): Likewise.
36533 (_G_uint32_t): Likewise.
36534 (_G_HAVE_BOOL): Likewise.
36535 (_G_HAVE_ATEXIT): Likewise.
36536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36537 (_G_HAVE_IO_FILE_OPEN): Likewise.
36538 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36539 (_G_int32_t): Likewise.
36540 (_G_uint16_t): Likewise.
36541 (_G_uint32_t): Likewise.
36542 (_G_HAVE_BOOL): Likewise.
36543 (_G_HAVE_ATEXIT): Likewise.
36544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36545 (_G_HAVE_IO_FILE_OPEN): Likewise.
36546 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36547 (_G_int32_t): Likewise.
36548 (_G_uint16_t): Likewise.
36549 (_G_uint32_t): Likewise.
36550 (_G_HAVE_BOOL): Likewise.
36551 (_G_HAVE_ATEXIT): Likewise.
36552 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36553 (_G_HAVE_IO_FILE_OPEN): Likewise.
36555 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36557 * csu/libc-tls.c: Update copyright years.
36559 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36561 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36562 [!_G_USING_THUNKS]: Remove conditional code.
36563 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36564 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36566 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36567 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36568 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36569 (_G_VTABLE_LABEL_PREFIX): Likewise.
36570 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36571 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36572 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36573 (_G_VTABLE_LABEL_PREFIX): Likewise.
36574 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36575 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36576 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36577 (_G_VTABLE_LABEL_PREFIX): Likewise.
36578 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36580 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36582 * libio/Makefile: Include ../Makeconfig before tests.
36583 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36584 only if $(build-shared) is yes.
36586 * iconv/gconv_db.c: Update copyright years.
36588 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36590 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36591 unwind info if defined PIC. Fix special cases description.
36592 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36594 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36596 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36598 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36600 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36602 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36605 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36606 (LDLIBS-tst-chk4): This.
36607 (LDFLAGS-tst-chk5): Renamed to ...
36608 (LDLIBS-tst-chk5): This.
36609 (LDFLAGS-tst-chk6): Renamed to ...
36610 (LDLIBS-tst-chk6): This.
36611 (LDFLAGS-tst-lfschk4): Renamed to ...
36612 (LDLIBS-tst-lfschk4): This.
36613 (LDFLAGS-tst-lfschk5): Renamed to ...
36614 (LDLIBS-tst-lfschk5): This.
36615 (LDFLAGS-tst-lfschk6): Renamed to ...
36616 (LDLIBS-tst-lfschk6): This.
36618 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36619 on $(common-objpfx)soversions.mk.
36621 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36624 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36627 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36629 * malloc/arena.c (arena_get_retry): New function that gets
36630 another arena for the caller to try its request on.
36631 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36632 current arena cannot fulfill the request.
36633 (__libc_memalign): Likewise.
36634 (__libc_memalign): Likewise.
36635 (__libc_pvalloc): Likewise.
36636 (__libc_calloc): Likewise.
36638 2012-09-05 John Tobey <john.tobey@gmail.com>
36641 * manual/arith.texi (Operations on Complex): Fix description
36642 of carg branch cut.
36644 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36647 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36651 * manual/memory.texi (Memory): Make order of menu items match
36654 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36656 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36657 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36658 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36660 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36662 * csu/libc-tls.c (static_dtv): Renamed to ...
36663 (_dl_static_dtv): This. Make it global.
36664 (_dl_initial_dtv): Removed.
36665 (__libc_setup_tls): Updated.
36666 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36667 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36670 2012-09-06 Petr Machata <pmachata@redhat.com>
36672 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36673 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36674 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36675 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36677 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36680 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36681 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36684 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36687 * Makeconfig (link-static-before-libc): Replace $(+prector)
36689 (link-static-after-libc): Replace $(+postctor) with
36691 (link-bounded): Replace $(+prector)/$(+postctor) with
36692 $(+prectorT)/$(+postctorT).
36693 (+prectorT): New macro.
36694 (+postctorT): Likewise.
36696 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36698 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36699 (round_str): Handle values above the maximum for IBM long double
36701 * stdlib/tst-strtod-round.c (tests): Regenerated.
36703 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36705 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36707 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36708 zarch_nohighgprs around the zarch optimized routines.
36709 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36710 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36711 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36714 2012-09-05 David S. Miller <davem@davemloft.net>
36716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36718 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36719 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36720 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36721 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36724 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36726 * malloc/arena.c: Fold copyright years.
36727 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36731 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36733 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36735 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36737 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36739 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36740 change internal state upon failure.
36742 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36744 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36745 * malloc/memusage.c (mmap): Likewise.
36746 (mmap64, mremap): Likewise. Adjust name in comment.
36748 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36750 * libio/fileops.c: Fix typos in comments.
36751 * libio/oldfileops.c: Likewise.
36752 * libio/wfileops.c: Likewise.
36754 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36757 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36758 (tst-malloc-usable-ENV): Set environment for test case.
36759 * malloc/hooks.c (malloc_check_get_size): New function to get
36761 * malloc/malloc.c (musable): Use malloc_check_get_size.
36762 * malloc/tst-malloc-usable.c: New test case.
36764 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36766 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36768 2012-09-05 Allan McRae <allan@archlinux.org>
36771 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36772 determine header location.
36773 * configure: Regenerated.
36775 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36777 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36779 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36780 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36782 (test): Regenerate.
36784 2012-09-04 David S. Miller <davem@davemloft.net>
36786 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36787 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36788 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36790 2012-09-04 Florian Weimer <fweimer@redhat.com>
36792 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36795 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36797 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36800 * libio/iogetdelim.c: Include <limits.h>.
36801 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36802 + len + 1 would overflow.
36804 2012-09-03 Andreas Jaeger <aj@suse.de>
36806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36807 * sysdeps/i386/fpu/libm-test-ulps: Update.
36809 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36811 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36812 Add s_sinf-sse2, s_conf-sse2.
36814 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36815 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36816 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36817 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36819 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36820 for using routine as __sinf_ia32.
36821 Use macro for function declaration and weak_alias.
36822 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36823 for using routine as __cosf_ia32.
36824 Use macro for function declaration and weak_alias.
36826 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36827 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36829 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36830 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36831 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36833 * math/libm-test.inc (cos_test): Add more test cases.
36834 (sin_test): Likewise.
36835 (sincos_test): Likewise.
36837 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36839 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36840 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36842 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36844 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36847 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36848 first element of the GOT.
36849 (elf_machine_load_address): Return the difference between
36850 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36852 2012-09-01 Allan McRae <allan@archlinux.org>
36855 * configure.in (AWK): Require gawk version 3.0 or later.
36856 * configure: Regenerated.
36858 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36860 * sysdeps/unix/sysv/linux/kernel-features.h
36861 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36862 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36863 [__NR_clock_getres]: Make code unconditional.
36864 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36865 (clock_getcpuclockid): Remove code left unreachable by removal of
36867 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36868 code unconditional.
36869 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36870 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36871 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36872 Make code unconditional.
36873 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36874 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/clock_settime.c
36876 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36878 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36879 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36881 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36884 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36885 scripts/test-installation.pl.
36887 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36888 and $ld_so_version if it is set.
36890 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36893 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36894 failure if reading from procfs failed.
36895 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36897 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36899 * sysdeps/unix/sysv/linux/kernel-features.h
36900 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36901 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36902 Remove conditional code.
36903 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36904 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36905 Remove conditional code.
36906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36907 * sysdeps/unix/sysv/linux/i386/fxstat.c
36908 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36910 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36913 * sysdeps/unix/sysv/linux/i386/lxstat.c
36914 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36916 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36917 Remove conditional code.
36918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36919 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36920 Remove conditional code.
36921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36922 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36923 <kernel-features.h>.
36924 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36926 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36927 Remove conditional code.
36928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36929 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36930 Remove conditional.
36932 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36935 * NEWS: Add fixed bug number.
36937 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36940 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36941 underflowing exponent in case of negative sign.
36942 * stdlib/tst-strtod-round-data: Add more tests.
36943 * stdlib/tst-strtod-round.c (tests): Regenerated.
36946 * stdlib/strtod_l.c (NDIG): Remove.
36947 (HEXNDIG): Likewise.
36948 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36949 smallest representable value.
36950 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36951 lie within an exact representation of 1/2 ulp of the result.
36952 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36954 (TENS_P9_IDX): Define unconditionally.
36955 (TENS_P9_SIZE): Likewise.
36956 (TENS_P10_IDX): Likewise.
36957 (TENS_P10_SIZE): Likewise.
36958 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36959 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36960 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36961 entries for 10^2^13 and 10^2^14.
36962 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36963 (TENS_P13_IDX): Define.
36964 (TENS_P13_SIZE): Likewise.
36965 (TENS_P14_IDX): Likewise.
36966 (TENS_P14_SIZE): Likewise.
36967 (_fpioconst_pow10): Change array size to
36968 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36970 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36971 1024]: Add entries for 10^2^13 and 10^2^14.
36972 [LAST_POW10 > _LAST_POW10]: Remove #error.
36973 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36974 (_fpioconst_pow10): Change array size to
36975 FPIOCONST_POW10_ARRAY_SIZE.
36976 * stdlib/gen-fpioconst.c: New file.
36977 * stdlib/gen-tst-strtod-round.c: Likewise.
36978 * stdlib/tst-strtod-round-data: Likewise.
36979 * stdlib/tst-strtod-round.c: Likewise.
36980 * stdlib/Makefile (tests): Add tst-strtod-round.
36983 * stdlib/strtod_l.c: Include <stdint.h>.
36984 (NDEBUG): Do not define.
36985 (round_and_return): Change EXPONENT parameter to type intmax_t.
36986 Rearrange calculations to avoid internal overflow possibilities.
36987 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36988 Rearrange calculations to avoid internal overflow possibilities.
36989 Assert that number fits inside MPNSIZE limbs.
36990 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36991 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36992 calculations and add assertions to avoid internal overflow
36993 possibilities. Add casts to avoid signed/unsigned operations.
36994 * stdlib/tst-strtod-overflow.c: New file.
36995 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36997 2012-08-25 Marek Polacek <polacek@redhat.com>
36999 * time/time.h: Fix some typos in comments.
37001 2012-08-23 Roland McGrath <roland@hack.frob.com>
37003 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37004 * posix/tst-rfc3484-2.c: Likewise.
37005 * posix/tst-rfc3484-3.c: Likewise.
37007 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37009 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37010 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37012 2012-08-23 Joseph Myers <joseph@codesourcery.com>
37014 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37015 #include of fxstatat64.c.
37017 2012-08-22 Roland McGrath <roland@hack.frob.com>
37019 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37020 * shadow/getspent_r.c: Likewise.
37021 * shadow/getspnam.c: Likewise.
37022 * shadow/getspnam_r.c: Likewise.
37023 * gshadow/getsgent.c: Likewise.
37024 * gshadow/getsgent_r.c: Likewise.
37025 * gshadow/getsgnam.c: Likewise.
37026 * gshadow/getsgnam_r.c: Likewise.
37027 * inet/getnetbyad.c: Likewise.
37028 * inet/getnetbyad_r.c: Likewise.
37029 * inet/getnetbynm.c: Likewise.
37030 * inet/getnetbynm_r.c: Likewise.
37031 * inet/getnetent.c: Likewise.
37032 * inet/getnetent_r.c: Likewise.
37033 * inet/getproto.c: Likewise.
37034 * inet/getproto_r.c: Likewise.
37035 * inet/getprtent.c: Likewise.
37036 * inet/getprtent_r.c: Likewise.
37037 * inet/getprtname.c: Likewise.
37038 * inet/getprtname_r.c: Likewise.
37039 * inet/getrpcbyname.c: Likewise.
37040 * inet/getrpcbyname_r.c: Likewise.
37041 * inet/getrpcbynumber.c: Likewise.
37042 * inet/getrpcbynumber_r.c: Likewise.
37043 * inet/getrpcent.c: Likewise.
37044 * inet/getrpcent_r.c: Likewise.
37045 * inet/getaliasent.c: Likewise.
37046 * inet/getaliasent_r.c: Likewise.
37047 * inet/getaliasname.c: Likewise.
37048 * inet/getaliasname_r.c: Likewise.
37049 * nscd/getgrgid_r.c: Likewise.
37050 * nscd/getgrnam_r.c: Likewise.
37051 * nscd/gethstbyad_r.c: Likewise.
37052 * nscd/gethstbynm3_r.c: Likewise.
37053 * nscd/getpwnam_r.c: Likewise.
37054 * nscd/getpwuid_r.c: Likewise.
37055 * nscd/getsrvbynm_r.c: Likewise.
37056 * nscd/getsrvbypt_r.c: Likewise.
37057 * nscd/gai.c: Likewise.
37059 * configure.in (build_nscd): New substituted variable, set
37060 by --disable-build-nscd and defaults to $use_nscd.
37061 * configure: Regenerated.
37062 * config.make.in (build-nscd): New substituted variable.
37063 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37064 Change conditional to require [$(build-nscd) = yes] as well.
37065 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37068 * configure.in (use_nscd): New substituted variable, set by
37069 --disable-nscd. If enabled, define USE_NSCD.
37070 * configure: Regenerated.
37071 * config.h.in: Add USE_NSCD.
37072 * config.make.in (use-nscd): New substituted variable.
37073 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37074 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37075 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37076 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37077 (CFLAGS-getgrnam_r.c): Likewise.
37078 (CFLAGS-initgroups.c): Likewise.
37079 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37080 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37082 * inet/getnetgrent_r.c
37083 (nscd_setnetgrent): New function, broken out of ...
37084 (setnetgrent): ... here. Call it.
37085 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37086 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37087 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37088 * nscd/Makefile (routines, aux): Move definitions after include of
37089 Makeconfig. Conditionalize on [$(use-nscd) != no].
37090 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37091 Conditionalize on [USE_NSCD].
37092 (is_nscd, nscd_init_cb): Likewise.
37093 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37094 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37095 * nss/nss_db/db-init.c: Likewise.
37096 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37098 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37099 (make_request): Use it.
37100 (cache_valid_p): New function.
37101 (__check_pf): Use it.
37102 * NEWS: Add item for --disable-nscd.
37104 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37106 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37107 to support sed >= 4.2.1-20-ga9bf076.
37108 * configure: Regenerated.
37110 2012-08-22 Roland McGrath <roland@hack.frob.com>
37112 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37113 Conditionalize whole body on [IREL].
37115 2012-08-22 Jeff Law <law@redhat.com>
37118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37119 if the family is PF_UNSPEC.
37121 2012-08-22 Mike Frysinger <vapier@gentoo.org>
37123 * Makerules (lib-version): Rename from V.
37124 (install-lib-nosubdir): Change V to lib-version.
37126 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37129 * powerpc32/power6/wcschr.c: New file.
37130 * powerpc32/power6/wcscpy.c: New file.
37131 * powerpc32/power6/wcsrchr.c: New file.
37132 * powerpc64/power6/wcschr.c: New file.
37133 * powerpc64/power6/wcscpy.c: New file.
37134 * powerpc64/power6/wcsrchr.c: New file.
37136 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37138 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37139 (two_way_short_needle): Use it.
37140 * string/strstr.c (AVAILABLE1_USES_J): Define.
37141 * string/strcasestr.c: Likewise.
37143 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37145 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37148 * NEWS: Add an entry.
37149 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37150 define their defaults.
37151 (two_way_short_needle): Detect end-of-string on-the-fly.
37152 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37153 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37154 * string/bug-strcasestr1.c: New test.
37155 * string/Makefile: Run it.
37157 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37160 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37161 the first character.
37163 2012-08-21 Roland McGrath <roland@hack.frob.com>
37165 * csu/elf-init.c (__libc_csu_irel): Function removed.
37166 * csu/libc-start.c (apply_irel): New function.
37167 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37169 2012-08-21 Joseph Myers <joseph@codesourcery.com>
37171 * sysdeps/unix/sysv/linux/kernel-features.h
37172 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37173 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37174 <kernel-features.h>.
37175 [__NR_fadvise64_64]: Make code unconditional.
37176 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37177 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37178 !__NR_fadvise64_64)]: Likewise.
37179 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37180 !__NR_fadvise64_64))]: Likewise.
37181 [__NR_fadvise64]: Make code unconditional.
37182 [!__NR_fadvise64]: Remove conditional code.
37183 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37184 <kernel-features.h>.
37185 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37187 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37190 not include <kernel-features.h>.
37191 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37193 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37195 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37196 include <kernel-features.h>.
37197 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37199 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37202 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37204 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37205 slight instruction rearrangements per scrollpipe analysis.
37206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37208 2012-08-20 Roland McGrath <roland@hack.frob.com>
37210 * manual/syslog.texi (syslog; vsyslog, closelog):
37211 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37212 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37214 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37215 DSOCAPS to match condition on defining it.
37217 2012-08-20 Joseph Myers <joseph@codesourcery.com>
37219 * sysdeps/unix/sysv/linux/kernel-features.h
37220 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37222 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37223 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37228 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37229 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37231 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37232 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37234 * sysdeps/unix/sysv/linux/kernel-features.h
37235 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37236 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37238 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37239 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37240 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37241 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37242 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37243 Make code unconditional.
37244 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37245 (__mmap64) [!__NR_mmap2]: Likewise.
37246 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37247 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37248 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37249 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37250 [__NR_mmap2]: Make code unconditional.
37251 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37252 (__mmap64) [!__NR_mmap2]: Likewise.
37254 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37256 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37258 2012-08-18 Andreas Jaeger <aj@suse.de>
37260 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37262 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37264 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37265 * include/unistd.h (__have_sock_cloexec): Likewise.
37266 (__have_pipe2): Likewise.
37267 (__have_dup3): Likewise.
37269 2012-08-18 Mike Frysinger <vapier@gentoo.org>
37272 * include/unistd.h (__have_pipe2): Change define into an extern int.
37273 (__have_dup3): Likewise.
37274 * socket/have_sock_cloexec.c: Include fcntl.h.
37275 (__have_pipe2): New variable.
37276 (__have_dup3): Likewise.
37278 2012-08-17 Mike Frysinger <vapier@gentoo.org>
37280 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37282 2012-08-17 Marek Polacek <polacek@redhat.com>
37284 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37285 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37287 2012-08-17 Roland McGrath <roland@hack.frob.com>
37289 * configure.in: Add AC_SUBST for sysheaders.
37290 * configure: Regenerated.
37291 * config.make.in (sysheaders): New substituted variable.
37293 * sysdeps/unix/mkfifo.c: Moved ...
37294 * sysdeps/posix/mkfifo.c: ... here.
37295 * sysdeps/unix/mkfifoat.c: Moved ...
37296 * sysdeps/posix/mkfifoat.c: ... here.
37298 * sysdeps/unix/utime.c: Moved ...
37299 * sysdeps/posix/utime.c: ... here.
37301 * sysdeps/unix/time.c: Moved ...
37302 * sysdeps/posix/time.c: ... here.
37303 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37304 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37306 * sysdeps/unix/nice.c: Moved ...
37307 * sysdeps/posix/nice.c: ... here.
37309 * sysdeps/unix/alarm.c: Moved ...
37310 * sysdeps/posix/alarm.c: ... here.
37312 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37314 2012-08-17 Jeff Law <law@redhat.com>
37316 * intl/Makefile (codeset_mo): New variable.
37317 ($(codeset_mo)): New target.
37318 (tst-codeset.out): Depend on that. Remove explicit rule.
37319 (tst-gettext3.out, tst-gettext5.out): Likewise.
37320 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37321 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37322 * intl/tst-codeset.sh: Remove.
37323 * intl/tst-gettext3.sh: Likewise.
37324 * intl/tst-gettext5.sh: Likewise.
37326 2012-08-17 Roland McGrath <roland@hack.frob.com>
37328 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37329 * sysdeps/unix/syscalls.list: ... here.
37331 * sysdeps/posix/getaddrinfo.c
37332 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37333 (gaiconf_init, gaiconf_reload): Use them.
37334 [!_STATBUF_ST_NSEC]
37335 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37336 Define using time_t rather than struct timespec.
37338 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37339 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37341 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37343 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37344 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37347 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37348 __libc_cleanup_push argument.
37350 * bits/param.h: New file.
37351 * misc/sys/param.h: New file.
37352 * include/sys/param.h: New file.
37353 * misc/Makefile (headers): Add bits/param.h.
37354 * sysdeps/generic/sys/param.h: File removed.
37355 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37356 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37357 * sysdeps/mach/hurd/bits/param.h: New file.
37358 * sysdeps/mach/hurd/sys/param.h: File removed.
37360 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37363 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37365 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37366 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37369 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37370 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37371 rather than -D_IO_MTSAFE_IO conditionally.
37372 * stdio-common/Makefile (CPPFLAGS): Likewise.
37373 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37374 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37375 Use $(libio-mtsafe).
37376 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37377 of -D_IO_MTSAFE_IO.
37378 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37379 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37380 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37381 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37382 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37383 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37384 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37385 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37386 (CFLAGS-fread_u_chk.c): Likewise.
37387 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37388 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37389 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37390 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37391 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37392 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37393 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37394 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37395 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37397 * libio/Makefile: Test [$(libc-reentrant) = yes]
37398 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37401 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37402 * sysdeps/pthread/configure: File removed.
37403 * sysdeps/pthread/Makeconfig: New file.
37404 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37405 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37407 2012-08-16 Gary Benson <gbenson@redhat.com>
37409 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37410 unmapping the first object in a namespace.
37412 2012-08-16 Roland McGrath <roland@hack.frob.com>
37414 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37415 (__internal_setnetgrent): ... this. Add internal_function to
37416 definition. Add libc_hidden_def.
37417 (setnetgrent): Update caller.
37418 (internal_endnetgrent): Renamed to ...
37419 (__internal_endnetgrent): ... this. Add internal_function to
37420 definition. Add libc_hidden_def.
37421 (endnetgrent): Update caller.
37422 (internal_getnetgrent_r): Renamed to ...
37423 (__internal_getnetgrent_r): ... this. Add internal_function to
37424 definition. Add libc_hidden_def.
37425 (__getnetgrent_r): Update caller.
37426 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37428 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37430 * stdlib/longlong.h: Update from GCC.
37432 2012-08-16 Roland McGrath <roland@hack.frob.com>
37434 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37435 on _QL, which is set by umul_ppmm but never used.
37436 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37437 variables, which are set by GMP macros but never used.
37438 * stdio-common/_itowa.c (_itowa): Likewise.
37439 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37440 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37442 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37444 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37445 struct La_sh_regs is not constant.
37446 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37447 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37448 and struct La_sparc64_regs are not constant.
37450 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37452 * sysdeps/unix/sysv/linux/kernel-features.h
37453 (__ASSUME_POSIX_TIMERS): Remove.
37454 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37455 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37456 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37457 Make code unconditional.
37458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37459 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37460 Make code unconditional.
37461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37462 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37463 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37465 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37466 Make code unconditional.
37467 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37468 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37469 (__libc_missing_posix_timers): Remove.
37471 2012-08-15 Roland McGrath <roland@hack.frob.com>
37473 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37474 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37476 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37478 * elf/dl-sym.c: Include <stdlib.h>.
37480 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37481 constants, which avoids warnings in 32-bit builds.
37483 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37484 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37486 * misc/lseek.c: File moved to ...
37487 * io/lseek.c: ... here.
37489 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37491 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37492 shifting LEN more than 31 bits at once.
37494 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37497 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37498 segmentation fault for a case of two empty input strings.
37499 * string/test-strncasecmp.c (check1): Renamed to...
37500 (bz12205): ...this.
37501 (bz14195): Add new testcase for two empty input strings and N > 0.
37502 (test_main): Call new testcase, adapt for renamed function.
37504 2012-08-15 Andreas Jaeger <aj@suse.de>
37507 * crypt/md5test2.c: New test, based on test supplied by Serge
37508 Belyshev <belyshev@depni.sinp.msu.ru>.
37509 * crypt/Makefile (xtests): Add md5test-giant..
37510 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37512 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37515 * crypt/md5.c (md5_process_block): Don't assume the buffer
37516 length is less than 2**32.
37517 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37518 length is less than 2**64.
37520 2012-08-15 Roland McGrath <roland@hack.frob.com>
37522 * string/str-two-way.h: Include <sys/param.h>.
37523 (MAX): Macro removed.
37525 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37526 Move #define and #undef of memmove to just before and after
37527 including <string.h>.
37529 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37530 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37531 and after including <string.h>. Move declarations of
37532 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37533 to before #include "string/memmove.c".
37535 * include/dirent.h: Declare __getdirentries.
37537 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37538 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37540 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37542 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37543 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37544 * sysdeps/i386/configure: Regenerated.
37545 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37546 STABS_CURRENT_FILE, and STABS_FUN.
37547 (END): Remove call to STABS_FUN_END.
37548 (STABS_CURRENT_FILE1): Delete.
37549 (STABS_CURRENT_FILE): Likewise.
37550 (STABS_FUN): Likewise.
37551 (STABS_FUN_END): Likewise.
37552 (STABS_FUN2): Likewise.
37553 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37554 * sysdeps/x86_64/configure: Regenerated.
37556 2012-08-14 Roland McGrath <roland@hack.frob.com>
37558 * elf/dl-open.c: Include <atomic.h>.
37559 * elf/dl-lookup.c: Likewise.
37561 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37563 * sysdeps/unix/sysv/linux/kernel-features.h
37564 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37565 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37567 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37569 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37570 condition on __ASSUME_CLONE_THREAD_FLAGS.
37572 2012-08-14 Andreas Jaeger <aj@suse.de>
37574 * sysdeps/i386/fpu/libm-test-ulps: Update.
37576 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37578 * include/atomic.h (atomic_exchange_and_add): Split into ...
37579 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37582 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37586 2012-08-13 Jeff Law <law@redhat.com>
37588 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37589 null byte in the output string.
37591 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37593 * sysdeps/unix/sysv/linux/kernel-features.h
37594 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37595 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37596 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37597 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37598 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37599 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37600 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37602 2012-08-09 Jeff Law <law@redhat.com>
37605 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37606 When avoid_arena is set, don't retry in the that arena. Pick the
37607 next one, whatever it might be.
37608 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37609 (arena_lock): Pass in new parameter to arena_get2.
37610 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37612 (__libc_malloc): Unify retrying after main arena failure with
37613 __libc_memalign version.
37614 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37616 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37619 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37620 to __redirect_strstr.
37621 (__strstr_sse42): Use typeof __redirect_strstr.
37622 (__strstr_ia32): Likewise.
37623 (__libc_strstr): New prototype.
37624 (strstr): Renamed to ...
37625 (__libc_strstr): This.
37626 (strstr): New strong alias of __libc_strstr.
37627 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37628 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37631 (__libc_time): New prototype.
37632 (time_ifunc): Replace time with __libc_time.
37633 (time): New strong alias and hidden definition of __libc_time.
37634 (__GI_time): Remove strong alias.
37635 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37636 Include <stddef.h>.
37637 (memmove): Redefined to __redirect_memmove.
37638 (__memmove_sse2): Use typeof __redirect_memmove.
37639 (__memmove_ssse3): Likewise.
37640 (__memmove_ssse3_back): Likewise.
37641 (__libc_memmove): New prototype.
37642 (memmove): Renamed to ...
37643 (__libc_memmove): This.
37644 (memmove): New strong alias of __libc_memmove.
37646 2012-08-08 Mark Salter <msalter@redhat.com>
37649 (R_MN10300_TLS_GD): Define.
37650 (R_MN10300_TLS_LD): Likewise.
37651 (R_MN10300_TLS_LDO): Likewise.
37652 (R_MN10300_TLS_GOTIE): Likewise.
37653 (R_MN10300_TLS_IE): Likewise.
37654 (R_MN10300_TLS_LE): Likewise.
37655 (R_MN10300_TLS_DTPMOD): Likewise.
37656 (R_MN10300_TLS_DTPOFF): Likewise.
37657 (R_MN10300_TLS_TPOFF): Likewise.
37658 (R_MN10300_SYM_DIFF): Likewise.
37659 (R_MN10300_ALIGN): Likewise.
37660 (R_MN10300_NUM): Update.
37662 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37667 2012-08-08 Roland McGrath <roland@hack.frob.com>
37669 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37671 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37672 sysdeps/unix -> sysdeps/posix move.
37673 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37675 2012-08-07 Allan McRae <allan@archlinux.org>
37678 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37679 (SUNOS_CPP): Likewise.
37680 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37682 (open_input): Call CPP using execvp.
37684 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37686 * sysdeps/unix/sysv/linux/kernel-features.h
37687 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37688 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37689 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37690 (__ASSUME_WAITID_SYSCALL): Likewise.
37691 * sysdeps/unix/sysv/linux/dl-execstack.c
37692 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37693 code unconditional.
37694 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37696 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37697 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37698 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37700 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37702 [__ASSUME_WAITID_SYSCALL]: Likewise.
37703 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37705 2012-08-07 Roland McGrath <roland@hack.frob.com>
37707 * sysdeps/unix/closedir.c: Renamed to ...
37708 * sysdeps/posix/closedir.c: ... here.
37709 * sysdeps/unix/dirfd.c: Renamed to ...
37710 * sysdeps/posix/dirfd.c: ... here.
37711 * sysdeps/unix/dirstream.h: Renamed to ...
37712 * sysdeps/posix/dirstream.h: ... here.
37713 * sysdeps/unix/fdopendir.c: Renamed to ...
37714 * sysdeps/posix/fdopendir.c: ... here.
37715 * sysdeps/unix/opendir.c: Renamed to ...
37716 * sysdeps/posix/opendir.c: ... here.
37717 * sysdeps/unix/readdir.c: Renamed to ...
37718 * sysdeps/posix/readdir.c: ... here.
37719 * sysdeps/unix/readdir_r.c: Renamed to ...
37720 * sysdeps/posix/readdir_r.c: ... here.
37721 * sysdeps/unix/rewinddir.c: Renamed to ...
37722 * sysdeps/posix/rewinddir.c: ... here.
37723 * sysdeps/unix/seekdir.c: Renamed to ...
37724 * sysdeps/posix/seekdir.c: ... here.
37725 * sysdeps/unix/telldir.c: Renamed to ...
37726 * sysdeps/posix/telldir.c: ... here.
37727 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37728 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37729 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37730 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37732 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37733 * bits/fcntl.h: ... here.
37735 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37737 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37738 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37739 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37740 (struct flock): Move l_start, l_len to the beginning.
37741 Use __pid_t for l_pid.
37742 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37743 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37744 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37745 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37746 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37747 [__USE_LARGEFILE64] (struct flock64): New type.
37748 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37750 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37751 * bits/dirent.h: ... here.
37753 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37754 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37756 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37759 Change from 2.6.0 to 2.6.16.
37760 * sysdeps/unix/sysv/linux/configure: Regenerated.
37761 * sysdeps/unix/sysv/linux/kernel-features.h
37762 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37763 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37765 (__ASSUME_UTIMES): Likewise.
37766 (__ASSUME_CLONE_STOPPED): Remove.
37767 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37768 architectures, not kernel version.
37769 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37770 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37771 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37772 (__ASSUME_WAITID_SYSCALL): Likewise.
37773 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37774 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37775 * README: State 2.6.16 as minimum Linux kernel version. Do not
37776 refer to older versions.
37778 2012-08-06 Roland McGrath <roland@hack.frob.com>
37780 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37781 Define alphasort64 as an alias.
37782 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37783 Define versionsort64 as an alias.
37784 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37785 Define scandir64 as an alias.
37786 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37787 Define scandirat64 as an alias.
37788 * dirent/alphasort64.c (alphasort64):
37789 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37790 * dirent/versionsort64.c: Likewise.
37791 * dirent/scandir64.c: Likewise.
37792 * dirent/scandirat64.c: Likewise.
37793 * sysdeps/wordsize-64/alphasort.c: File removed.
37794 * sysdeps/wordsize-64/alphasort64.c: File removed.
37795 * sysdeps/wordsize-64/scandir.c: File removed.
37796 * sysdeps/wordsize-64/scandir64.c: File removed.
37797 * sysdeps/wordsize-64/scandirat.c: File removed.
37798 * sysdeps/wordsize-64/scandirat64.c: File removed.
37799 * sysdeps/wordsize-64/versionsort.c: File removed.
37800 * sysdeps/wordsize-64/versionsort64.c: File removed.
37801 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37802 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37803 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37804 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37805 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37806 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37808 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37810 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37812 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37813 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37814 [defined __arch64__ || defined __sparcv9]
37815 (__INO_T_MATCHES_INO64_T): New macro.
37816 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37817 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37818 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37819 * sysdeps/unix/sysv/linux/bits/dirent.h
37820 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37821 (_DIRENT_MATCHES_DIRENT64): New macro.
37823 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37824 Define lockf64 as an alias.
37825 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37826 Define fseeko64 as an alias.
37827 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37828 Define ftello64 as an alias.
37829 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37830 Define _IO_fgetpos64 and fgetpos64 as aliases.
37831 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37832 Define _IO_fsetpos64 and fsetpos64 as aliases.
37833 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37834 Conditionalize body on this.
37835 * libio/fseeko64.c: Likewise.
37836 * libio/ftello64.c: Likewise.
37837 * libio/iofgetpos64.c: Likewise.
37838 * libio/iofsetpos64.c: Likewise.
37839 * sysdeps/wordsize-64/lockf.c: File removed.
37840 * sysdeps/wordsize-64/lockf64.c: File removed.
37841 * sysdeps/wordsize-64/fseeko.c: File removed.
37842 * sysdeps/wordsize-64/fseeko64.c: File removed.
37843 * sysdeps/wordsize-64/ftello.c: File removed.
37844 * sysdeps/wordsize-64/ftello64.c: File removed.
37845 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37846 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37847 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37848 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37849 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37850 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37851 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37852 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37853 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37854 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37857 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37858 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37860 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37862 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37864 [defined __arch64__ || defined __sparcv9]
37865 (__OFF_T_MATCHES_OFF64_T): New macro.
37866 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37867 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37869 (__OFF_T_MATCHES_OFF64_T): New macro.
37871 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37873 * stdlib/secure-getenv.c (__secure_getenv): Replace
37874 GLIBC_2_16 with GLIBC_2_17.
37876 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37878 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37879 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37881 2012-08-03 David S. Miller <davem@davemloft.net>
37883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37885 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37887 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37889 (__ASSUME_CORRECT_SI_PID): Likewise.
37890 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37891 (__ASSUME_TMPFS_NAME): Likewise.
37892 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37893 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37894 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37895 (HAVE_AUX_SECURE): Make definition unconditional.
37896 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37897 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37899 2012-08-03 Roland McGrath <roland@hack.frob.com>
37901 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37902 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37903 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37904 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37905 __eloop_threshold instead of SYMLOOP_MAX.
37907 * sysdeps/generic/eloop-threshold.h: New file.
37908 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37910 * elf/chroot_canon.c (chroot_canon): Likewise.
37912 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37915 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37916 Change to 2.6.0 everywhere.
37917 * sysdeps/unix/sysv/linux/configure: Regenerated.
37918 * sysdeps/unix/sysv/linux/kernel-features.h
37919 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37920 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37922 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37923 (__ASSUME_FUTEX_REQUEUE): Remove.
37924 (__ASSUME_STATFS64): Define unconditionally.
37925 (__ASSUME_AT_SECURE): Likewise.
37926 (__ASSUME_CORRECT_SI_PID): Likewise.
37927 (__ASSUME_TGKILL): Define without depending on kernel version for
37929 (__ASSUME_UTIMES): Likewise.
37930 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37932 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37933 (__ASSUME_TMPFS_NAME): Likewise.
37934 * README: Update reference to Linux kernel versions.
37936 2012-08-02 Marek Polacek <polacek@redhat.com>
37939 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37940 libc_cv_asm_type_prefix with %.
37941 * configure: Regenerated.
37942 * include/libc-symbols.h: Remove comment about
37943 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37944 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37945 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37946 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37947 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37948 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37949 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37950 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37951 * elf/tst-unique2mod1.c: Likewise.
37952 * elf/tst-unique1mod2.c: Likewise.
37953 * elf/tst-unique1mod1.c: Likewise.
37954 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37955 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37956 Replace ASM_TYPE_DIRECTIVE with .type.
37957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37958 * sysdeps/i386/sysdep.h: Likewise.
37959 * sysdeps/x86_64/sysdep.h: Likewise.
37960 * sysdeps/sh/sysdep.h: Likewise.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37962 Do not define ASM_TYPE_DIRECTIVE.
37963 * sysdeps/powerpc/sysdep.h: Likewise.
37964 * sysdeps/powerpc/powerpc32/sysdep.h:
37965 Replace ASM_TYPE_DIRECTIVE with .type.
37966 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37967 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37968 * sysdeps/i386/fpu/e_powf.S: Likewise.
37969 * sysdeps/i386/fpu/e_expl.S: Likewise.
37970 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37971 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37972 * sysdeps/i386/fpu/e_pow.S: Likewise.
37973 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37975 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37976 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37977 * sysdeps/i386/fpu/e_log2.S: Likewise.
37978 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37980 * sysdeps/i386/fpu/e_powl.S: Likewise.
37981 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37982 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37983 * sysdeps/i386/fpu/e_logl.S: Likewise.
37984 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37985 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37986 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37987 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37988 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37989 * sysdeps/i386/fpu/e_log.S: Likewise.
37990 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37991 * sysdeps/i386/fpu/e_logf.S: Likewise.
37992 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37993 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37994 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37995 * sysdeps/i386/fpu/e_log10.S: Likewise.
37996 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37997 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37998 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37999 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38000 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38001 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38002 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38003 * sysdeps/i386/i686/strtok.S: Likewise.
38004 * sysdeps/i386/i386-mcount.S: Likewise.
38005 * sysdeps/i386/strtok.S: Likewise.
38006 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38007 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38009 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38010 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38012 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38013 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38014 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38015 * sysdeps/x86_64/_mcount.S: Likewise.
38016 * sysdeps/x86_64/strtok.S: Likewise.
38017 * sysdeps/sh/_mcount.S: Likewise.
38019 2012-08-01 Roland McGrath <roland@hack.frob.com>
38021 * libio/iofopen.c: Include <fcntl.h>.
38022 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38023 (_IO_fopen64, fopen64): Define as aliases.
38024 * libio/iofopen64.c: Include <fcntl.h>.
38025 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38026 Conditionalize body on this.
38027 * sysdeps/wordsize-64/iofopen.c: File removed.
38028 * sysdeps/wordsize-64/iofopen64.c: File removed.
38030 2012-08-01 Marek Polacek <polacek@redhat.com>
38032 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38033 Use dlfcn directly instead of a variable.
38034 (binfmt-subdir): Do not define.
38037 2012-08-01 Joseph Myers <joseph@codesourcery.com>
38039 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38040 Remove all definitions.
38041 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38042 <kernel-features.h>.
38043 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38044 (miss_F_GETOWN_EX): Remove all definitions.
38045 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38047 [!__ASSUME_FCNTL64]: Remove conditional code.
38048 [__ASSUME_FCNTL64]: Make code unconditional.
38049 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38050 <kernel-features.h>.
38051 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38052 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38053 (lockf64) [__NR_fcntl64]: Make code unconditional.
38054 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38056 * sysdeps/unix/sysv/linux/kernel-features.h
38057 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38058 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38059 Make code unconditional.
38060 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38061 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38063 [__NR_vfork]: Make code unconditional.
38064 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38065 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38067 [__NR_vfork]: Make code unconditional.
38068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38071 2012-08-01 Roland McGrath <roland@hack.frob.com>
38073 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38074 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38076 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38077 Define mkstemp64 as an alias.
38078 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38079 Define mkstemps64 as an alias.
38080 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38081 Define mkostemp64 as an alias.
38082 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38083 Define mkostemps64 as an alias.
38084 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38085 Conditionalize body on this.
38086 * misc/mkostemp64.c: Likewise.
38087 * misc/mkostemps64.c: Likewise.
38088 * misc/mkstemps64.c: Likewise.
38089 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38090 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38091 * sysdeps/wordsize-64/mkostemp.c: File removed.
38092 * sysdeps/wordsize-64/mkstemp.c: File removed.
38093 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38099 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38100 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38101 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38102 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38104 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38105 compat_symbol macros from <shlib-compat.h> rather than the underlying
38106 default_symbol_version and symbol_version macros, so that DEFAULT
38107 lines in shlib-versions are respected.
38108 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38110 2012-08-01 Florian Weimer <fweimer@redhat.com>
38112 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38113 Declare with warn_unused_result.
38114 (setgid, setregid, setegid, setresgid): Likewise.
38115 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38117 * WUR-REPORT: Remove set*id functions.
38119 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38121 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38123 2012-07-31 Roland McGrath <roland@hack.frob.com>
38126 * include/sys/socket.h (__libc_accept, __libc_accept4):
38127 Add attribute_hidden.
38128 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38130 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38132 * inet/getnetgrent_r.c (setup): Likewise.
38134 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38136 2012-07-31 David S. Miller <davem@davemloft.net>
38138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38140 2012-07-31 Joseph Myers <joseph@codesourcery.com>
38143 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38144 value between 1.0 and 2.0 and smaller part has absolute value less
38146 * math/s_clog10.c (__clog10): Likewise.
38147 * math/s_clog10f.c (__clog10f): Likewise.
38148 * math/s_clog10l.c (__clog10l): Likewise.
38149 * math/s_clogf.c (__clogf): Likewise.
38150 * math/s_clogl.c (__clogl): Likewise.
38151 * math/libm-test.inc (clog_test): Add more tests.
38152 (clog10_test): Likewise.
38153 * sysdeps/i386/fpu/libm-test-ulps: Update.
38154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38156 2012-07-31 Florian Weimer <fweimer@redhat.com>
38158 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38159 Exit with zero in case no suitable GID is found, and write a
38160 message to standard error.
38162 2012-07-30 Roland McGrath <roland@hack.frob.com>
38164 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38166 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38167 (MAXPATHLEN): Removed.
38168 (NOGROUP, NODEV): New macros.
38169 (setbit, clrbit, isset, isclr): New macros.
38170 (howmany, roundup, powerof2): New macros.
38171 (DEV_BSIZE): New macro.
38173 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38174 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38176 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38177 definition on [!__NO_LONG_DOUBLE_MATH].
38179 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38180 PTR_MANGLE and PTR_DEMANGLE.
38182 * socket/accept4.c (accept4): Rename to __libc_accept4.
38183 Define accept4 as a weak alias.
38185 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38186 on [_DIRENT_HAVE_D_TYPE].
38187 * io/ftw.c (ftw_dir): Likewise.
38189 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38191 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38193 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38194 Use the BSD numbers rather than the arbitrary ones we had.
38195 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38196 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38197 (SIGXCPU, SIGXFSZ): New macros.
38200 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38201 initializer on [_LIBC_REENTRANT].
38203 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38204 definitions inside [_POSIX_MAPPED_FILES].
38206 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38208 * dirent/opendir.c: Include <fcntl.h>.
38210 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38211 (__libc_getspecific): Likewise.
38212 (__libc_key_create): Likewise.
38214 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38215 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38216 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38217 (tmpfile64): Define as alias.
38218 * sysdeps/wordsize-64/tmpfile.c: File removed.
38219 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38220 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38221 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38223 * stdio-common/vfscanf.c: Include <stdbool.h>.
38224 * nss/makedb.c: Likewise.
38225 * stdio-common/_i18n_number.h: Likewise.
38226 * argp/argp-help.c: Likewise.
38227 * posix/wordexp.c: Likewise.
38228 * sysdeps/posix/spawni.c: Likewise.
38229 * nss/nss_files/files-initgroups.c: Likewise.
38230 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38231 * nss/nss_files/files-initgroups.c: Likewise.
38232 * nss/nss_db/db-netgrp.c: Likewise.
38233 * nss/nss_db/db-initgroups.c: Likewise.
38234 * io/fchmodat.c: Include <sys/stat.h>.
38236 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38237 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38239 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38242 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38243 Add multiple inclusion protection.
38245 2012-07-27 David S. Miller <davem@davemloft.net>
38247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38249 2012-07-27 Gary Benson <gbenson@redhat.com>
38252 * elf/rtld.c: Include <stap-probe.h>.
38253 (dl_main): Added static probes "init_start" and "init_complete".
38254 * elf/dl-load.c: Include <stap-probe.h>.
38255 (lose): Take new parameter "nsid".
38256 Added static probe "map_failed".
38257 (_dl_map_object_from_fd): Pass namespace id to lose.
38258 Added static probe "map_start".
38259 (open_verify): Pass namespace id to lose.
38260 * elf/dl-open.c: Include <stap-probe.h>.
38261 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38262 and "reloc_complete".
38263 * elf/dl-close.c: Include <stap-probe.h>.
38264 (_dl_close_worker): Added static probes "unmap_start" and
38266 * elf/rtld-debugger-interface.txt: New file documenting the above.
38268 2012-07-26 Roland McGrath <roland@hack.frob.com>
38270 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38271 rather than a string variable.
38272 * sunrpc/rpc_main.c (h_output): Likewise.
38273 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38275 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38277 * inet/check_native.c: New file.
38279 2012-07-26 Joseph Myers <joseph@codesourcery.com>
38282 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38283 if larger part has absolute value 1.0.
38284 * math/s_clog10.c (__clog10): Likewise.
38285 * math/s_clog10f.c (__clog10f): Likewise.
38286 * math/s_clog10l.c (__clog10l): Likewise.
38287 * math/s_clogf.c (__clogf): Likewise.
38288 * math/s_clogl.c (__clogl): Likewise.
38289 * math/libm-test.inc (clog_test): Add more tests.
38290 (clog10_test): Likewise.
38291 * sysdeps/i386/fpu/libm-test-ulps: Update.
38292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38294 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38295 (pltexit): Likewise.
38296 (La_regs): Likewise.
38297 (La_retval): Likewise.
38298 (int_retval): Likewise.
38299 Update #error for removed macros to refer only to definitions in
38301 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38303 (pltexit): Likewise.
38304 (La_regs): Likewise.
38305 (La_retval): Likewise.
38306 (int_retval): Likewise.
38307 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38309 (pltexit): Likewise.
38310 (La_regs): Likewise.
38311 (La_retval): Likewise.
38312 (int_retval): Likewise.
38313 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38315 (pltexit): Likewise.
38316 (La_regs): Likewise.
38317 (La_retval): Likewise.
38318 (int_retval): Likewise.
38319 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38321 (pltexit): Likewise.
38322 (La_regs): Likewise.
38323 (La_retval): Likewise.
38324 (int_retval): Likewise.
38325 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38327 (pltexit): Likewise.
38328 (La_regs): Likewise.
38329 (La_retval): Likewise.
38330 (int_retval): Likewise.
38331 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38333 (pltexit): Likewise.
38334 (La_regs): Likewise.
38335 (La_retval): Likewise.
38336 (int_retval): Likewise.
38337 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38338 macro definitions in tst-audit.h.
38339 * sysdeps/i386/tst-audit.h: New file.
38340 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38341 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38342 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38343 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38344 * sysdeps/sh/tst-audit.h: Likewise.
38345 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38346 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38347 * sysdeps/x86_64/tst-audit.h: Likewise.
38349 2012-07-26 Andreas Jaeger <aj@suse.de>
38351 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38354 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38355 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38356 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38358 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38359 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38360 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38362 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38365 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38367 (si_call_addr, si_syscall, si_arch): Define new macro.
38368 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38370 (si_call_addr, si_syscall, si_arch): Define new marcro.
38371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38373 (si_call_addr, si_syscall, si_arch): Define new macro.
38374 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38376 (si_call_addr, si_syscall, si_arch): Define new macro.
38378 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38381 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38382 Change to 2.4.21 where previously 2.4.1.
38383 * sysdeps/unix/sysv/linux/configure: Regenerated.
38384 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38385 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38386 Linux kernel version.
38387 (__ASSUME_STD_AUXV): Remove.
38388 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38390 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38391 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38392 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38393 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38394 (__ASSUME_NETLINK_SUPPORT): Likewise.
38395 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38396 (__no_netlink_support): Remove conditional definition.
38397 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38399 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38400 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38401 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38402 (if_nameindex_ioctl): Remove.
38403 (if_nameindex_netlink): Do not handle __no_netlink_support.
38404 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38406 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38407 Remove conditional code.
38408 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38410 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38412 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38413 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38414 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38416 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38417 [!__ASSUME_STD_AUXV]: Remove conditional code.
38418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38419 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38420 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38422 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38423 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38425 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38427 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38428 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38430 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38432 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38435 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38438 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38439 code unconditional.
38440 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38442 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38444 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38447 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38449 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38452 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38453 code unconditional.
38454 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38456 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38458 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38461 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38462 code unconditional.
38463 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38465 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38467 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38470 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38472 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38473 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38474 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38475 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38476 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38477 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38478 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38479 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38480 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38481 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38482 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38483 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38484 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38485 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38486 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38487 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38488 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38489 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38490 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38492 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38493 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38494 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38496 2012-07-25 Florian Weimer <fweimer@redhat.com>
38498 * Versions.def: Add GLIBC_2.17.
38499 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38500 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38501 Introduce __libc_secure_getenv.
38502 * stdlib/Versions (2.17): Add secure_getenv
38503 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38504 * stdlib/secure-getenv.c: Rename __secure_getenv to
38505 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38506 symbol __secure_getenv for GLIBC_2.0.
38507 * stdlib/tst-secure-getenv.c: New.
38508 * stdlib/Makefile (tests): Add testcase.
38509 * manual/startup.texi (Environment Access): Document
38511 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38512 __libc_secure_getenv.
38513 * inet/ruserpass.c (ruserpass): Likewise.
38514 * malloc/mtrace.c (mtrace): Likewise.
38515 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38516 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38517 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38518 * sysdeps/posix/tempname.c: Likewise. Evaluate
38519 HAVE_SECURE_GETENV.
38520 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38521 __secure_getenv to __libc_secure_getenv.
38522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38529 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38535 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38537 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38538 (struct La_i86_retval): Likewise.
38539 (struct La_x86_64_regs): Likewise.
38540 (struct La_x86_64_retval): Likewise.
38541 (struct La_x32_regs): Likewise.
38542 (struct La_x32_retval): Likewise.
38543 (struct La_ppc32_regs): Likewise.
38544 (struct La_ppc32_retval): Likewise.
38545 (struct La_ppc64_regs): Likewise.
38546 (struct La_ppc64_retval): Likewise.
38547 (struct La_sh_regs): Likewise.
38548 (struct La_sh_retval): Likewise.
38549 (struct La_s390_32_regs): Likewise.
38550 (struct La_s390_32_retval): Likewise.
38551 (struct La_s390_64_regs): Likewise.
38552 (struct La_s390_64_retval): Likewise.
38553 (struct La_sparc32_regs): Likewise.
38554 (struct La_sparc32_retval): Likewise.
38555 (struct La_sparc64_regs): Likewise.
38556 (struct La_sparc64_retval): Likewise.
38557 (struct audit_ifaces): Remove architecture-specific pltenter and
38559 * sysdeps/i386/ldsodefs.h: New file.
38560 * sysdeps/powerpc/ldsodefs.h: Likewise.
38561 * sysdeps/s390/ldsodefs.h: Likewise.
38562 * sysdeps/sh/ldsodefs.h: Likewise.
38563 * sysdeps/sparc/ldsodefs.h: Likewise.
38564 * sysdeps/x86_64/ldsodefs.h: Likewise.
38566 2012-07-25 Marek Polacek <polacek@redhat.com>
38569 * math/libm-test.inc (yn_test): Add another test.
38570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38571 to ERANGE when the result is +-Inf.
38572 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38573 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38574 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38575 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38577 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38579 * conform/data/time.h-data (NULL): Use macro-constant. Require
38581 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38583 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38585 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38587 * configure.in <sysdeps resolving>: Correct printing
38589 * configure: Regenerate.
38591 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38593 * math/w_ilogb.c: Include <limits.h>.
38594 * math/w_ilogbl.c: Likewise.
38596 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38598 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38599 va_copy. Document allowing for unavailable va_copy only as
38600 pre-C99 compatibility.
38601 * manual/string.texi (Copying and Concatenation): Use va_copy
38602 instead of __va_copy in concat example.
38604 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38606 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38607 (__sendto): Use create_address_port. Initialize APORT and deallocate
38610 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38611 with O_NOLINK passed to __file_name_lookup.
38613 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38614 with O_NOLINK passed to __file_name_lookup.
38616 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38617 negative N or less than NGIDS.
38619 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38620 type to string_t. Set ERANGE as errno and return it if NAME is not big
38621 enough. Use memcpy instead of strncpy.
38623 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38625 * elf/Makefile (check-data): Remove.
38626 (localplt.data): New vpath directive.
38627 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38628 instead of $(check-data).
38629 * scripts/data/localplt-generic.data: Move to ...
38630 * sysdeps/generic/localplt.data: ... here.
38631 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38632 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38633 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38636 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38639 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38642 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38645 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38648 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38652 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38654 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38655 PPC32 and PPC64 files.
38656 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38657 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38659 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38661 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38662 __makecontext_ret to ...
38663 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38664 ... here and call exit if uc_link is NULL. New file.
38665 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38666 __makecontext_ret.S.
38667 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38668 __makecontext_ret to ...
38669 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38670 ... here and call exit if uc_link is NULL. New file.
38671 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38672 __makecontext_ret.S.
38674 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38676 * elf/elf.h (R_390_IRELATIVE): New definition.
38677 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38678 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38679 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38681 (elf_machine_lazy_rel): Likewise.
38682 * sysdeps/s390/dl-irel.h: New file.
38683 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38684 * sysdeps/s390/s390-64/memset.S: New asm code.
38685 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38686 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38687 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38688 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38689 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38690 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38691 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38692 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38693 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38694 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38695 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38696 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38697 * sysdeps/s390/s390-32/memset.S: New asm code.
38698 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38700 2012-07-17 Marek Polacek <polacek@redhat.com>
38703 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38704 * sysdeps/s390/s390-64/configure.in: Likewise.
38705 * sysdeps/sparc/configure.in: Likewise.
38706 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38707 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38708 * sysdeps/i386/configure.in: Likewise.
38709 * sysdeps/x86_64/configure.in: Likewise.
38710 * sysdeps/sh/configure.in: Likewise.
38711 * sysdeps/s390/s390-32/configure: Regenerated.
38712 * sysdeps/s390/s390-64/configure: Likewise.
38713 * sysdeps/x86_64/configure: Likewise.
38714 * sysdeps/sh/configure: Likewise.
38715 * sysdeps/powerpc/powerpc64/configure: Likewise.
38716 * sysdeps/powerpc/powerpc32/configure: Likewise.
38717 * sysdeps/sparc/configure: Likwise.
38718 * sysdeps/i386/configure: Likewise.
38720 * elf/dl-open.c: Comment fixes.
38722 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38724 * Makefile [CXX] (check-data): Remove.
38725 [CXX] (c++-types.data): New vpath directive.
38726 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38727 vpath. Do not allow for C++ type data being missing.
38728 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38729 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38730 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38731 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38732 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38733 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38734 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38737 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38740 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38743 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38746 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38749 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38752 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38755 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38758 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38759 definitions to architecture-specific files.
38760 (TLS_IE): Likewise.
38761 (TLS_LD): Likewise.
38762 (TLS_GD): Likewise.
38763 * sysdeps/i386/tls-macros.h: New file.
38764 * sysdeps/powerpc/tls-macros.h: Likewise.
38765 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38766 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38767 * sysdeps/sh/tls-macros.h: Likewise.
38768 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38769 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38770 * sysdeps/x86_64/tls-macros.h: Likewise.
38772 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38774 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38775 zero value for regular exit case.
38777 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38778 (__start_context): Preserve zero value for regular exit case.
38780 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38781 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38783 * manual/setjmp.texi (setcontext): Clarify normal process
38784 termination when uc_link is the null pointer.
38785 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38788 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38790 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38791 preprocessor. Test for each exception mask separately.
38793 2012-07-16 Andreas Jaeger <aj@suse.de>
38795 * po/ru.po: Update from translation team.
38797 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38799 * conform/data/string.h-data (NULL): Use macro-constant. Require
38801 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38802 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38803 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38804 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38805 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38807 2012-07-13 Andreas Jaeger <aj@suse.de>
38809 * po/fr.po: Update from translation team.
38811 2012-07-12 Marek Polacek <polacek@redhat.com>
38814 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38815 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38818 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38822 Change to 2.4.1 where previously 2.4.0.
38823 * sysdeps/unix/sysv/linux/configure: Regenerated.
38824 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38825 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38827 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38828 (__ASSUME_AT_CLKTCK): Remove.
38829 (__ASSUME_AT_PAGESIZE): Likewise.
38830 (__ASSUME_AT_XID): Likewise.
38831 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38832 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38833 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38835 (HAVE_AUX_PAGESIZE): Likewise.
38836 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38837 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38838 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38840 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38844 the temporary buffer used to invoke __gethostbyname2_r,
38845 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38846 host_data / struct gaih_addrtuple.
38847 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38848 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38849 header file nss/nsswitch.h.
38850 * nss/nsswitch.h (global scope): Add definition of implementation
38851 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38852 resolv/nss_dns/dns-host.c).
38854 2012-07-11 Andreas Jaeger <aj@suse.de>
38856 * po/fr.po: Update from translation team.
38858 * po/sv.po: Update from translation team
38859 * po/fr.po: Another update from translation team.
38861 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38863 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38864 for subnormals or multiply small sinh result by itself.
38865 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38868 2012-07-11 David S. Miller <davem@davemloft.net>
38870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38872 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38875 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38876 (INTERNAL_MARK): Shift it here.
38878 2012-07-10 Marek Polacek <polacek@redhat.com>
38881 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38882 libc_cv_asm_global_directive with .globl.
38883 * configure: Regenerated.
38884 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38886 * sysdeps/i386/configure: Regenerated.
38887 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38889 * sysdeps/x86_64/configure: Regenerated.
38890 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38891 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38892 * elf/tst-unique2mod2.c: Likewise.
38893 * elf/tst-unique2mod1.c: Likewise.
38894 * elf/tst-unique1mod2.c: Likewise.
38895 * elf/tst-unique1mod1.c: Likewise.
38896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38897 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38899 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38900 * sysdeps/mach/sysdep.h: Likewise.
38901 * sysdeps/i386/sysdep.h: Likewise.
38902 * sysdeps/i386/i386-mcount.S: Likewise.
38903 * sysdeps/x86_64/_mcount.S: Likewise.
38904 * sysdeps/x86_64/sysdep.h: Likewise.
38905 * sysdeps/sh/_mcount.S: Likewise.
38906 * sysdeps/sh/sysdep.h: Likewise.
38907 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38908 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38909 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38910 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38911 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38912 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38913 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38914 * locale/localeinfo.h: Likewise.
38915 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38916 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38918 2012-07-09 Roland McGrath <roland@hack.frob.com>
38921 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38923 * manual/message.texi (The Uniforum approach): Likewise.
38924 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38925 (glibc iconv Implementation): Likewise.
38927 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38930 * math/s_clog.c (__clog): Avoid scaling a value down where that
38931 could result in underflow.
38932 * math/s_clog10.c (__clog10): Likewise.
38933 * math/s_clog10f.c (__clog10f): Likewise.
38934 * math/s_clog10l.c (__clog10l): Likewise.
38935 * math/s_clogf.c (__clogf): Likewise.
38936 * math/s_clogl.c (__clogl): Likewise.
38937 * math/libm-test.inc (clog_test): Add more tests.
38938 (clog10_test): Likewise.
38939 * sysdeps/i386/fpu/libm-test-ulps: Update.
38940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38942 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38945 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38946 by 7 not 8 to examine high bit of fractional part.
38949 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38950 for call to __mcount_internal.
38951 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38952 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38953 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38955 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38958 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38959 approximation for values within 0x1p-13f of an odd multiple of
38961 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38962 exception. Add more tests.
38963 * sysdeps/i386/fpu/libm-test-ulps: Update.
38966 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38967 inputs and return -1 for them. Do not check for +Inf in case not
38968 reachable for +Inf.
38969 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38970 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38971 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38972 and return -1 for them. Do not check for +Inf in case not
38973 reachable for +Inf.
38974 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38976 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38977 and return -1 for them. Do not check for +Inf in case not
38978 reachable for +Inf.
38979 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38980 spurious underflow.
38981 * sysdeps/i386/fpu/libm-test-ulps: Update.
38982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38984 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38986 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38988 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38992 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38993 could result in spurious underflow. Scale down values above
38994 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38995 * math/s_csqrtf.c (__csqrtf): Likewise.
38996 * math/s_csqrtl.c (__csqrtl): Likewise.
38997 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38998 spurious underflow.
38999 * sysdeps/i386/fpu/libm-test-ulps: Update.
39000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39002 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39004 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39006 * catgets/xopen-msg.awk: New file.
39007 * catgets/xopen-msg.sed: Removed.
39009 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39011 * intl/po2test.awk: New file.
39012 * intl/po2test.sed: Removed.
39014 2012-07-04 Joseph Myers <joseph@codesourcery.com>
39017 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39018 or multiply small sinh result by itself.
39019 * math/s_ctanf.c (__ctanf): Likewise.
39020 * math/s_ctanh.c (__ctanh): Likewise.
39021 * math/s_ctanhf.c (__ctanhf): Likewise.
39022 * math/s_ctanhl.c (__ctanhl): Likewise.
39023 * math/s_ctanl.c (__ctanl): Likewise.
39024 * math/libm-test.inc (ctan_test_tonearest): New function.
39025 (ctan_test_towardzero): Likewise.
39026 (ctan_test_downward): Likewise.
39027 (ctan_test_upward): Likewise.
39028 (ctanh_test_tonearest): Likewise.
39029 (ctanh_test_towardzero): Likewise.
39030 (ctanh_test_downward): Likewise.
39031 (ctanh_test_upward): Likewise.
39032 (main): Call these new functions.
39033 * sysdeps/i386/fpu/libm-test-ulps: Update.
39034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39036 2012-07-03 Mike Frysinger <vapier@gentoo.org>
39038 * .gitignore: Delete /ports entry.
39040 2012-07-03 Andreas Jaeger <aj@suse.de>
39042 * po/bg.po: Update from translation team.
39043 * po/cs.po: Likewise.
39044 * po/de.po: Likewise.
39045 * po/hr.po: Likewise.
39046 * po/nl.pl: Likewise.
39047 * po/pl.po: Likewise.
39048 * po/vi.po: Likewise.
39050 2012-07-03 Joseph Myers <joseph@codesourcery.com>
39052 * Makeconfig [!+link] (+link-before-libc): New variable.
39053 [!+link] (+link-after-libc): Likewise.
39054 [!+link] (+link-tests): Likewise.
39055 [!+link] (+link): Define in terms of $(+link-before-libc) and
39056 $(+link-after-libc).
39057 [!+link-static] (+link-static-before-libc): New variable.
39058 [!+link-static] (+link-static-after-libc): Likewise.
39059 [!+link-static] (+link-static-tests): Likewise.
39060 [!+link-static] (+link-static): Define in terms of
39061 $(+link-static-before-libc) and $(+link-static-after-libc).
39062 [build-shared] (link-libc-before-gnulib): New variable.
39063 [build-shared] (link-libc-tests): Likewise.
39064 [build-shared] (link-libc): Define in terms of
39065 $(link-libc-before-gnulib).
39066 [!build-shared] (link-libc-tests): New variable.
39067 (link-libc-static-tests): New variable.
39068 [!gnulib] (gnulib-arch): New variable.
39069 [!gnulib] (gnulib-tests): Likewise.
39070 [!gnulib] (static-gnulib-arch): Likewise.
39071 [!gnulib] (static-gnulib-tests): Likewise.
39072 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39073 Define with "=" instead of ":=".
39074 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39075 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39076 * Rules (binaries-all-notests): New variable.
39077 (binaries-all-tests): Likewise.
39078 (binaries-static-notests): Likewise.
39079 (binaries-static-tests): Likewise.
39080 (binaries-all): Define using $(binaries-all-notests) and
39081 $(binaries-all-tests).
39082 (binaries-static): Define using $(binaries-static-notests) and
39083 $(binaries-static-tests).
39084 (binaries-shared-tests): New variable.
39085 (binaries-shared-notests): Likewise.
39086 (binaries-shared): Remove variable.
39087 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39088 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39089 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39090 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39091 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39092 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39093 * elf/Makefile (sln-modules): New variable.
39094 (extra-objs): Add $(sln-modules:=.o).
39095 (ldconfig-modules): Add static-stubs.
39096 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39097 * elf/static-stubs.c: New file.
39100 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39101 by 7 not 8 to examine high bit of fractional part. Use volatile
39102 variables when splitting into final array of floats if
39103 __FLT_EVAL_METHOD__ != 0.
39104 * math/libm-test.inc (cos_test): Add another test.
39105 (sin_test): Likewise.
39106 * sysdeps/i386/fpu/libm-test-ulps: Update.
39109 * math/libm-test.inc (cosh_test): Add more tests.
39111 * version.h (RELEASE): Set to "development".
39112 (VERSION): Set to "2.16.90".
39114 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39116 * NEWS: Update copyright. Remove last-updated date.
39117 Mention math library bug fixes and timezone data changes.
39118 * README: Mention GNU/Hurd, x32, and HPPA support status.
39120 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39122 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39124 2012-06-27 Andreas Jaeger <aj@suse.de>
39126 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39128 2012-06-25 Andreas Jaeger <aj@suse.de>
39130 * sysdeps/s390/fpu/libm-test-ulps: Update.
39132 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39133 Thomas Schwinge <thomas@codesourcery.com>
39135 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39136 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39137 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39140 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39142 * sysdeps/mach/start.c: Remove file.
39143 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39144 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39145 * sysdeps/sh/init-first.c: Likewise.
39147 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39148 registers for frame unwinding purposes, add CFI directives.
39149 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39151 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39154 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39155 __fortify_fail returning.
39156 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39158 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39159 sysdeps/sh/____longjmp_chk.S.
39160 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39161 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39162 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39163 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39165 * sysdeps/sh/abort-instr.h: New file.
39166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39167 process in case exit returns.
39169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39170 initialize the GOT register before use.
39172 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39173 calculation of ARGC > 4.
39175 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39176 meaningful names to some local labels.
39178 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39179 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39181 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39182 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39183 (__arch_compare_and_exchange_val_16_acq): Likewise.
39184 (__arch_compare_and_exchange_val_32_acq): Likewise.
39185 (atomic_exchange_and_add): Fix gUSA sequence.
39186 (atomic_add): Likewise.
39187 (atomic_add_negative): Likewise.
39188 (atomic_add_zero): Likewise.
39189 (atomic_bit_test_set): Likewise.
39191 2012-06-22 Andreas Schwab <schwab@redhat.com>
39194 * include/link.h (struct link_map): Add l_free_initfini.
39195 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39197 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39198 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39199 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39202 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39204 * configure.in: Use AC_LANG_SOURCE.
39205 * configure: Regenerate.
39207 2012-06-22 Roland McGrath <roland@hack.frob.com>
39209 * configure.in (libc_cv_localstatedir): New substituted variable.
39210 * configure: Regenerated.
39211 * config.make.in (localstatedir): New variable, substituted from
39212 libc_cv_localstatedir.
39213 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39214 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39215 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39216 * sysdeps/gnu/configure: Regenerated.
39218 2012-06-21 Jeff Law <law@redhat.com>
39221 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39222 free. Simplify list management for _LIBC case.
39224 2012-06-21 Joseph Myers <joseph@codesourcery.com>
39227 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39228 Clear sign bit of 64-bit integer value before comparing against
39231 * sysdeps/mach/configure: Regenerated.
39233 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39236 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39238 2012-06-21 Jeff Law <law@redhat.com>
39241 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39242 uint16_t for elements in the "seen" array to avoid char overflows.
39243 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39244 * elf/dl-open.c (dl_open_worker): Likewise.
39246 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39248 * scripts/list-sources.sh: Scan PORTS for translations.
39249 * po/libc.pot: Regenerated.
39251 2012-06-21 Andreas Jaeger <aj@suse.de>
39254 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39256 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39257 * bits/byteswap-16.h (__bswap_16): Likewise.
39258 * bits/byteswap.h (__bswap_constant_16): Likewise.
39260 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39263 * sysdeps/i386/fpu_control.h: Removed.
39264 * sysdeps/x86_64/fpu_control.h: Moved to ...
39265 * sysdeps/x86/fpu_control.h: Here.
39267 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39268 (_FPU_SETCW): Likewise.
39270 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39273 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39274 * sysdeps/x86/fpu/bits/mathinline.h: This.
39275 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39279 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39280 functions if __x86_64__ is defined.
39282 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39284 * string/endian.h: Add !__ASSEMBLER__ condition for including
39285 conversion interfaces.
39287 2012-06-15 Joseph Myers <joseph@codesourcery.com>
39290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39291 of ABS(x) in calculating zero to negative powers other than odd
39293 * math/libm-test.inc (pow_test): Add more tests.
39295 2012-06-15 Andreas Jaeger <aj@suse.de>
39297 * manual/contrib.texi (Contributors): Update entry of Liubov
39298 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39301 2012-06-15 Cyril Hrubis <metan@ucw.cz>
39303 * string/string.h: Add __wur to GNU version of strerror_r.
39305 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39308 * string/Makefile (tests): Add tst-strtok_r.
39309 * string/tst-strtok_r.c: New file.
39310 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39311 RAX_LP/RDX_LP on SAVE_PTR.
39313 2012-06-14 Roland McGrath <roland@hack.frob.com>
39315 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39317 2012-06-14 Joseph Myers <joseph@codesourcery.com>
39319 * libm_test.inc (csqrt_test): Allow more spurious underflow
39321 (j0_test): Likewise.
39322 (j1_test): Likewise.
39323 (y0_test): Likewise.
39324 (y1_test): Likewise.
39326 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39328 * po/Makefile (libc.pot): Use UTF-8 charset.
39330 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39333 Suppress sign-conversion warning from FD_SET.
39334 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39335 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39336 not unsigned long int.
39337 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39339 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39343 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39344 __extern_always_inline instead of __extern_inline.
39345 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39346 (__signbit): Likewise.
39347 (__signbitl): Support C++ namespace.
39348 (lrintf): New inline function.
39350 (llrintf): Likewise.
39351 (llrint): Likewise.
39361 (floorf): Likewise.
39362 (nearbyint): Likewise.
39363 (nearbyintf): Likewise.
39365 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39367 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39368 non-default versions.
39370 2012-06-11 Roland McGrath <roland@hack.frob.com>
39373 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39375 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39377 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39378 (FE_UPWARD, FE_DOWNWARD): Don't define.
39379 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39380 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39382 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39384 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39385 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39387 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39389 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39391 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39392 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39394 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39397 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39398 * sysdeps/i386/fpu/Implies: New file.
39399 * sysdeps/x86_64/fpu/Implies: Likewise.
39400 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39401 * sysdeps/x86/fpu/bits/fenv.h: This.
39403 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39406 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39409 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39410 character 0xffff that matches the last element of the
39413 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39418 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39420 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39421 values higher than 25.6283.
39423 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39426 subnormal exponent extraction and add some __builtin_expect.
39427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39428 Fix for subnormal mantissa calculation.
39430 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39432 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39433 cpu2 is -1 and errno is not ENOSYS.
39435 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39438 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39439 * sysdeps/x86/bits/string.h: This.
39440 * sysdeps/x86_64/bits/string.h: Removed.
39442 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39443 if not compiling for x86-64, but compiling for >= i486.
39445 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39446 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39448 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39449 New macro from Linux kernel 3.4.0.
39450 (FP_XSTATE_MAGIC2): Likewise.
39451 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39452 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39453 (struct _fpx_sw_bytes): New struct.
39454 (struct _xsave_hdr): Likewise.
39455 (struct _ymmh_state): Likewise.
39456 (struct _xstate): Likewise.
39458 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39459 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39460 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39461 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39462 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39463 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39465 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39466 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39467 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39468 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39469 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39470 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39472 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39475 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39476 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39477 (sysdep_headers): Include sys/platform/ppc.h.
39478 * sysdeps/powerpc/test-gettimebase.c: Test for
39479 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39480 * manual/Makefile (appendices): Include platform.texi.
39481 * manual/contrib.texi (Contributors): Update @node pointers.
39482 * manual/maint.texi (Maintenance): Likewise.
39483 (Platform): New node.
39484 * manual/platform.texi: New file. Document the new features.
39486 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39487 Jakub Jelinek <jakub@redhat.com>
39490 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39491 where __builtin_expect is unavailable.
39493 2012-06-03 David S. Miller <davem@davemloft.net>
39495 * stdlib/longlong.h: Updated from GCC.
39497 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39500 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39501 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39504 (GLIBC_2.16): Likewise.
39506 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39508 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39510 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39513 (default-abi): New variable.
39514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39515 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39517 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39519 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39521 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39524 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39525 definition. Document in comment.
39527 2012-06-01 David S. Miller <davem@davemloft.net>
39529 * stdlib/longlong.h: Updated from GCC.
39531 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39534 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39535 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39536 sys/debugreg.h sys/io.h here.
39537 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39538 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39540 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39541 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39542 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39543 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39544 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39545 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39547 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39548 Define only if __x86_64__ is defined.
39550 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39553 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39554 Use int64_t for variable i.
39555 * math/libm-test.inc (fmod_test): Add more tests.
39557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39558 z computation is not scheduled after fetestexcept.
39559 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39560 Use math_force_eval instead of asm to ensure calculation scheduled
39561 before exception test.
39562 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39563 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39565 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39568 computation is not scheduled after fetestexcept.
39570 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39573 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39574 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39576 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39578 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39579 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39581 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39584 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39586 (__WCHAR_MIN): Support __WORDSIZE == 64.
39587 (__WCHAR_MAX): Likewise.
39589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39593 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39594 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39597 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39598 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39600 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39601 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39603 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39604 Defined to 1 if __x86_64__ isn't defined.
39605 (_STAT_VER_LINUX_OLD): New.
39606 (st_atime): Remove duplicate.
39607 (st_mtime): Likewise.
39608 (st_ctime): Likewise.
39610 2012-05-31 David S. Miller <davem@davemloft.net>
39612 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39615 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39617 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39621 * elf/dl-reloc.c: Include <_itoa.h>.
39622 (_dl_reloc_bad_type): Remove use of INTUSE.
39623 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39624 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39625 * stdio-common/psiginfo.c (psiginfo): Likewise.
39626 * stdio-common/psignal.c (psignal): Likewise.
39627 * string/strsignal.c (strsignal): Likewise.
39628 * include/signal.h (_sys_siglist): Declare hidden proto.
39629 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39630 INTVARDEF with libc_hidden_data_def.
39631 * stdio-common/itoa-udigits.c: Likewise.
39632 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39633 (_itoa_lower_digits_internal): Remove declaration.
39634 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39635 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39636 (_sys_sigabbrev_internal): Remove aliases.
39637 (_sys_siglist): Define hidden alias.
39639 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39644 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39647 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39648 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39650 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39651 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39652 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39653 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39654 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39655 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39657 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39658 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39659 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39661 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39669 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39670 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39671 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39673 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39674 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39675 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39676 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39677 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39678 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39680 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39681 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39683 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39684 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39686 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39690 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39691 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39693 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39695 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39696 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39697 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39699 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39701 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39703 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39705 * math/math.h (M_El): Use two more decimal places.
39706 (M_LOG2El): Likewise.
39707 (M_LOG10El): Likewise.
39708 (M_LN2l): Likewise.
39709 (M_LN10l): Likewise.
39711 (M_PI_2l): Likewise.
39712 (M_PI_4l): Likewise.
39713 (M_1_PIl): Likewise.
39714 (M_2_PIl): Likewise.
39715 (M_2_SQRTPIl): Likewise.
39716 (M_SQRT2l): Likewise.
39717 (M_SQRT1_2l): Likewise.
39719 2012-05-31 David S. Miller <davem@davemloft.net>
39721 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39722 values between float registers.
39723 * sysdeps/sparc/sparc64/memset.S: Likewise.
39724 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39726 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39728 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39729 -D_FORTIFY_SOURCE=1.
39730 (CPPFLAGS-tst-longjmp_chk.c): Define.
39731 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39732 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39733 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39734 CFLAGS-tst-wchar-h.c.
39736 2012-05-31 Marek Polacek <polacek@redhat.com>
39739 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39740 __endmntent_internal): Remove declaration.
39741 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39742 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39743 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39745 2012-05-30 David S. Miller <davem@davemloft.net>
39747 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39748 (___Q_simulate_exceptions): Use real FP ops rather than writing
39750 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39753 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39756 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39757 * sysdeps/x86/bits/xtitypes.h: This.
39759 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39760 * sysdeps/x86/bits/wordsize.h: This.
39762 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39763 * sysdeps/x86/bits/huge_vall.h: This.
39765 * sysdeps/i386/bits/select.h: Removed.
39766 * sysdeps/x86_64/bits/select.h: Renamed to ...
39767 * sysdeps/x86/bits/select.h: This.
39769 * sysdeps/i386/bits/setjmp.h: Removed.
39770 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39771 * sysdeps/x86/bits/setjmp.h: This.
39773 * sysdeps/i386/bits/mathdef.h: Removed.
39774 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39775 * sysdeps/x86/bits/mathdef.h: This.
39777 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39780 * include/sys/socket.h (__connect_internal)
39781 (__libc_sa_len_internal): Remove declaration.
39782 (__connect, __libc_sa_len): Declare hidden_proto.
39783 (SA_LEN): Remove use of INTUSE.
39784 * socket/connect.c: Add libc_hidden_def.
39785 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39786 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39787 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39789 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39790 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39791 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39792 of adding _internal alias.
39794 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39797 * sysdeps/i386/bits/link.h: Removed.
39798 * sysdeps/i386/bits/linkmap.h: Likewise.
39799 * sysdeps/x86_64/bits/link.h: Renamed to ...
39800 * sysdeps/x86/bits/link.h: This.
39801 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39802 * sysdeps/x86/bits/linkmap.h: This.
39804 * sysdeps/i386/bits/endian.h: Removed.
39805 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39806 * sysdeps/x86/bits/endian.h: This.
39808 * sysdeps/i386/bits/byteswap.h: Removed.
39809 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39810 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39811 * sysdeps/x86/bits/byteswap.h: This.
39812 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39813 * sysdeps/x86/bits/byteswap-16.h: This.
39814 * sysdeps/i386/Implies: Add x86.
39815 * sysdeps/x86_64/Implies: Likewise.
39817 2012-05-30 David S. Miller <davem@davemloft.net>
39819 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39820 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39821 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39822 (FP_TRAPPING_EXCEPTIONS): Define.
39823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39824 (FP_TRAPPING_EXCEPTIONS): Define.
39825 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39826 subnormals only when inexact has been signalled or underflow
39827 exceptions are enabled.
39828 (_FP_PACK_CANONICAL): Likewise.
39830 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39833 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39834 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39836 2012-05-30 Richard Henderson <rth@twiddle.net>
39838 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39839 with #ifndef NOT_IN_libc.
39841 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39842 marked to avoid plt entry.
39844 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39847 * Makeconfig (default-abi): New macro.
39848 (abi-includes): Likewise.
39849 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39850 $(abi-$(default-abi)-lib-soname) for soname if defined.
39851 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39853 * Makefile (installed-stubs): Likewise.
39854 * include/stubs-biarch.h: Removed.
39855 * scripts/lib-names.awk: Only handle one library at a time.
39856 * scripts/soversions.awk: Remove WORDSIZE support.
39857 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39859 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39861 (syscall-list-default-condition): Likewise.
39862 (syscall-list-default-condition): Likewise.
39863 (syscall-list-includes): Likewise.
39864 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39865 syscall-list-* with abi-*. Handle undefined abi-variants.
39866 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39867 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39868 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39869 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39870 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39871 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39873 (syscall-list-32-options): Likewise.
39874 (syscall-list-32-condition): Likewise.
39875 (syscall-list-64-options): Likewise.
39876 (syscall-list-64-condition): Likewise.
39877 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39879 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39882 (abi-64-ld-soname): New macro.
39883 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39884 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39887 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39888 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39890 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39892 * sysdeps/unix/sysv/linux/kernel-features.h
39893 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39894 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39895 include <kernel-features.h>.
39896 [!__NR_ftruncate64]: Remove conditional code.
39897 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39898 [__NR_ftruncate64]: Make code unconditional.
39899 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39900 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39901 include <kernel-features.h>.
39902 [!__NR_ftruncate64]: Remove conditional code.
39903 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39904 [__NR_ftruncate64]: Make code unconditional.
39905 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39907 include <kernel-features.h>.
39908 [!__NR_ftruncate64]: Remove conditional code.
39909 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39910 [__NR_ftruncate64]: Make code unconditional.
39911 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39913 include <kernel-features.h>.
39914 [!__NR_ftruncate64]: Remove conditional code.
39915 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39916 [__NR_ftruncate64]: Make code unconditional.
39917 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39919 * configure.in (libc_cv_fpie): Weaken to a compile test using
39920 LIBC_TRY_CC_OPTION.
39921 * configure: Regenerated.
39923 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39938 2012-05-27 David S. Miller <davem@davemloft.net>
39940 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39942 (__Q_simulate_exceptions): Return void. Change to simulate
39943 exceptions by writing into the %fsr.
39944 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39945 (__Qp_handle_exceptions): Likewise.
39947 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39948 __Qp_handle_exceptions.
39949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39950 __Qp_handle_exceptions.
39951 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39952 as unused and give dummy FP_RND_NEAREST initializer.
39953 (FP_INHIBIT_RESULTS): Define.
39954 (___Q_simulate_exceptions): Update declaration.
39955 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39957 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39958 as unused and give dummy FP_RND_NEAREST initializer.
39959 (__Qp_handle_exceptions): Update declaration.
39960 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39963 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39965 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39966 the temporary FPU control word.
39967 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39968 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39970 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39971 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39972 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39973 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39974 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39975 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39976 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39977 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39979 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39981 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39984 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39986 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39987 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39988 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39989 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39991 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39992 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39995 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39997 * po/h.po: Update from translation team.
39999 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40001 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40003 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40004 handling of denormals.
40005 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40006 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40007 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40008 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40009 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40014 2012-05-26 Marek Polacek <polacek@redhat.com>
40017 * math/libm-test.inc (fma_test): Don't always expect underflow
40020 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40023 * elf/tst-execstack.c: Include stackinfo.h.
40024 (do_test): Adjust test case to ensure that pthread_getattr_np
40025 behaviour remains the same after marking stack executable.
40027 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40029 * sysdeps/unix/sysv/linux/kernel-features.h
40030 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40031 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40033 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40034 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40035 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40037 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40038 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40040 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40042 * configure.in: Define the default includes to being none.
40043 * configure: Regenerated.
40045 2012-05-25 Roland McGrath <roland@hack.frob.com>
40047 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40048 * sysdeps/x86_64/setjmp.S: Likewise.
40049 * sysdeps/i386/bsd-setjmp.S: Likewise.
40050 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40051 * sysdeps/i386/setjmp.S: Likewise.
40052 * sysdeps/i386/__longjmp.S: Likewise.
40053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40054 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40056 * include/stap-probe.h: New file.
40057 * configure.in: Handle --enable-systemtap.
40058 * configure: Regenerated.
40059 * config.h.in (USE_STAP_PROBE): New #undef.
40060 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40061 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40062 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40064 2012-05-25 Joseph Myers <joseph@codesourcery.com>
40067 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40068 to 2.4.0 where earlier.
40069 * sysdeps/unix/sysv/linux/configure: Regenerated.
40070 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40071 <kernel-features.h>.
40072 [__ASSUME_32BITUIDS]: Make code unconditional.
40073 [!__ASSUME_32BITUIDS]: Remove conditional code.
40074 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40075 <kernel-features.h>.
40076 [__ASSUME_32BITUIDS]: Make code unconditional.
40077 [!__ASSUME_32BITUIDS]: Remove conditional code.
40078 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40079 [__ASSUME_32BITUIDS]: Make code unconditional.
40080 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40081 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40082 <kernel-features.h>.
40083 [__ASSUME_32BITUIDS]: Make code unconditional.
40084 [!__ASSUME_32BITUIDS]: Remove conditional code.
40085 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40086 <kernel-features.h>.
40087 [__ASSUME_32BITUIDS]: Make code unconditional.
40088 [!__ASSUME_32BITUIDS]: Remove conditional code.
40089 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40090 <kernel-features.h>.
40091 [__ASSUME_32BITUIDS]: Make code unconditional.
40092 [!__ASSUME_32BITUIDS]: Remove conditional code.
40093 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40094 <kernel-features.h>.
40095 [__ASSUME_32BITUIDS]: Make code unconditional.
40096 [!__ASSUME_32BITUIDS]: Remove conditional code.
40097 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40098 <kernel-features.h>.
40099 [__ASSUME_32BITUIDS]: Make code unconditional.
40100 [!__ASSUME_32BITUIDS]: Remove conditional code.
40101 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40102 <kernel-features.h>.
40103 [__ASSUME_32BITUIDS]: Make code unconditional.
40104 [!__ASSUME_32BITUIDS]: Remove conditional code.
40105 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40106 <kernel-features.h>.
40107 [__ASSUME_32BITUIDS]: Make code unconditional.
40108 [!__ASSUME_32BITUIDS]: Remove conditional code.
40109 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40110 <kernel-features.h>.
40111 [__ASSUME_32BITUIDS]: Make code unconditional.
40112 [!__ASSUME_32BITUIDS]: Remove conditional code.
40113 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40114 <kernel-features.h>.
40115 [__ASSUME_32BITUIDS]: Make code unconditional.
40116 [!__ASSUME_32BITUIDS]: Remove conditional code.
40117 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40118 <kernel-features.h>.
40119 [__ASSUME_32BITUIDS]: Make code unconditional.
40120 [!__ASSUME_32BITUIDS]: Remove conditional code.
40121 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40122 <kernel-features.h>.
40123 [__NR_setresgid] (__setresgid): Do not declare.
40124 [__ASSUME_32BITUIDS]: Make code unconditional.
40125 [!__ASSUME_32BITUIDS]: Remove conditional code.
40126 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40127 <kernel-features.h>.
40128 [__NR_setresuid] (__setresuid): Do not declare.
40129 [__ASSUME_32BITUIDS]: Make code unconditional.
40130 [!__ASSUME_32BITUIDS]: Remove conditional code.
40131 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40132 <kernel-features.h>.
40133 [__ASSUME_32BITUIDS]: Make code unconditional.
40134 [!__ASSUME_32BITUIDS]: Remove conditional code.
40135 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40136 <kernel-features.h>.
40137 [__ASSUME_32BITUIDS]: Make code unconditional.
40138 [!__ASSUME_32BITUIDS]: Remove conditional code.
40139 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40140 <kernel-features.h>.
40141 [__ASSUME_32BITUIDS]: Make code unconditional.
40142 [!__ASSUME_32BITUIDS]: Remove conditional code.
40143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40144 <kernel-features.h>.
40145 [__ASSUME_32BITUIDS]: Make code unconditional.
40146 [!__ASSUME_32BITUIDS]: Remove conditional code.
40147 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40148 <kernel-features.h>.
40149 [__ASSUME_32BITUIDS]: Make code unconditional.
40150 [!__ASSUME_32BITUIDS]: Remove conditional code.
40151 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40152 <kernel-features.h>.
40153 [__ASSUME_32BITUIDS]: Make code unconditional.
40154 [!__ASSUME_32BITUIDS]: Remove conditional code.
40155 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40156 <kernel-features.h>.
40157 [__ASSUME_32BITUIDS]: Make code unconditional.
40158 [!__ASSUME_32BITUIDS]: Remove conditional code.
40159 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40160 <kernel-features.h>.
40161 [__ASSUME_32BITUIDS]: Make code unconditional.
40162 [!__ASSUME_32BITUIDS]: Remove conditional code.
40163 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40164 <kernel-features.h>.
40165 [__ASSUME_32BITUIDS]: Make code unconditional.
40166 [!__ASSUME_32BITUIDS]: Remove conditional code.
40167 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40168 <kernel-features.h>.
40169 [__ASSUME_32BITUIDS]: Make code unconditional.
40170 [!__ASSUME_32BITUIDS]: Remove conditional code.
40171 * sysdeps/unix/sysv/linux/kernel-features.h
40172 (__ASSUME_SETRESUID_SYSCALL): Remove.
40173 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40174 (__ASSUME_32BITUIDS): Likewise.
40175 (__ASSUME_LDT_WORKS): Likewise.
40176 (__ASSUME_O_DIRECTORY): Likewise.
40177 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40178 architecture but not kernel version.
40179 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40180 (__ASSUME_MMAP2_SYSCALL): Likewise.
40181 (__ASSUME_STAT64_SYSCALL): Likewise.
40182 (__ASSUME_IPC64): Likewise.
40183 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40184 <kernel-features.h>.
40185 [__ASSUME_32BITUIDS]: Make code unconditional.
40186 [!__ASSUME_32BITUIDS]: Remove conditional code.
40187 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40188 <kernel-features.h>.
40189 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40190 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40191 132096]: Remove conditional code.
40192 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40193 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40194 <kernel-features.h>.
40195 [__ASSUME_32BITUIDS]: Make code unconditional.
40196 [!__ASSUME_32BITUIDS]: Remove conditional code.
40197 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40198 <kernel-features.h>.
40199 [__ASSUME_32BITUIDS]: Make code unconditional.
40200 [!__ASSUME_32BITUIDS]: Remove conditional code.
40201 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40202 <kernel-features.h>.
40203 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40205 (__setresgid): Do not declare.
40206 [__ASSUME_32BITUIDS]: Make code unconditional.
40207 [!__ASSUME_32BITUIDS]: Remove conditional code.
40208 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40209 <kernel-features.h>.
40210 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40212 (__setresuid): Do not declare.
40213 [__ASSUME_32BITUIDS]: Make code unconditional.
40214 [!__ASSUME_32BITUIDS]: Remove conditional code.
40215 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40216 <kernel-features.h>.
40217 [__ASSUME_32BITUIDS]: Make code unconditional.
40218 [!__ASSUME_32BITUIDS]: Remove conditional code.
40219 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40220 <kernel-features.h>.
40221 [__ASSUME_32BITUIDS]: Make code unconditional.
40222 [!__ASSUME_32BITUIDS]: Remove conditional code.
40224 2012-05-25 Richard Henderson <rth@twiddle.net>
40226 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40227 dl_hwcap to ifunc resolver.
40228 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40230 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40231 dl_hwcap to ifunc resolver.
40232 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40234 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40237 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40238 for |x| <= 2**-26, not 2**-57.
40239 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40242 2012-05-24 Jeff Law <law@redhat.com>
40244 * stdio-common/Makefile (tests): Add bug25.
40245 * stdio-common/bug25.c: New test.
40247 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40250 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40251 multiple of MALLOC_ALIGNMENT in size.
40252 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40254 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40256 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40258 (FILENAME_MAX): Use macro-int-constant.
40259 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40260 (_IOFBF): Use macro-int-constant.
40261 (_IOLBF): Likewise.
40262 (_IONBF): Likewise.
40263 (SEEK_CUR): Likewise.
40264 (SEEK_END): Likewise.
40265 (SEEK_SET): Likewise.
40266 (TMP_MAX): Likewise.
40267 (EOF): Use macro-int-constant. Require < 0.
40268 (NULL): Use macro-constant. Require == 0.
40269 (stdin): Require type to be FILE *.
40270 (stdout): Likewise.
40271 (stderr): Likewise.
40272 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40273 macro-int-constant.
40274 (EXIT_SUCCESS): Likewise.
40275 (NULL): Use macro-constant. Require == 0.
40276 (RAND_MAX): Use macro-int-constant.
40277 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40278 [C99-based standards] (strtof): Require function.
40279 [C99-based standards] (strtold): Likewise.
40280 [C99-based standards] (strtoll): Likewise.
40281 [C99-based standards] (strtoull): Likewise.
40282 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40283 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40284 [ISO || ISO99 || ISO11] (math.h): Likewise.
40285 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40286 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40289 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40292 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40293 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40294 * intl/dgettext.c (DCGETTEXT): Likewise.
40295 * intl/gettext.c (DCGETTEXT): Likewise.
40296 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40297 * posix/regex_internal.h (gettext): Likewise.
40298 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40299 Remove declaration.
40300 * include/argz.h (__argz_count_internal)
40301 (__argz_stringify_internal): Remove declaration.
40302 (__argz_count, __argz_stringify): Declare hidden proto.
40303 * intl/dcgettext.c: Remove use of INTDEF.
40304 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40305 * string/argz-stringify.c: Likewise.
40306 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40307 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40308 Declare hidden proto.
40309 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40310 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40311 Declare hidden proto.
40312 * include/stdio.h (__asprintf_internal): Don't declare.
40313 (__asprintf): Don't define as macro. Declare hidden proto.
40314 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40315 (__fsetlocking): Declare hidden proto.
40316 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40317 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40319 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40320 (_IO_setlinebuf): Remove use of INTUSE.
40321 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40322 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40323 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40324 Remove declaration.
40325 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40326 (_IO_do_flush): Remove use of INTUSE.
40327 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40328 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40329 (_IO_adjust_column, _IO_least_wmarker)
40330 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40331 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40332 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40333 (_IO_default_doallocate, _IO_wdefault_doallocate)
40334 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40335 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40336 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40337 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40338 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40339 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40340 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40341 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40342 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40343 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40344 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40345 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40346 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40348 (_IO_flush_all_internal, _IO_adjust_column_internal)
40349 (_IO_default_uflow_internal, _IO_default_finish_internal)
40350 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40351 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40352 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40353 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40354 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40355 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40356 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40357 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40358 (_IO_file_close_internal, _IO_file_close_it_internal)
40359 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40360 (_IO_file_init_internal, _IO_file_attach_internal)
40361 (_IO_file_fopen_internal, _IO_file_read_internal)
40362 (_IO_file_sync_internal, _IO_file_seek_internal)
40363 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40364 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40365 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40366 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40367 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40368 (_IO_list_all_internal, _IO_link_in_internal)
40369 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40370 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40371 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40372 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40373 (_IO_do_write_internal, _IO_padn_internal)
40374 (_IO_getline_info_internal, _IO_getline_internal)
40375 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40376 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40377 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40378 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40379 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40380 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40381 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40382 with libc_hidden_ver, remove use of INTUSE.
40383 * libio/genops.c: Likewise.
40384 * libio/freopen.c: Likewise.
40385 * libio/freopen64.c: Likewise.
40386 * libio/iofclose.c: Likewise.
40387 * libio/iofdopen.c: Likewise.
40388 * libio/iofflush.c: Likewise.
40389 * libio/iofflush_u.c: Likewise.
40390 * libio/iofgets.c: Likewise.
40391 * libio/iofgets_u.c: Likewise.
40392 * libio/iofopen.c: Likewise.
40393 * libio/iofopncook.c: Likewise.
40394 * libio/iofread.c: Likewise.
40395 * libio/iofread_u.c: Likewise.
40396 * libio/ioftell.c: Likewise.
40397 * libio/iofwrite.c: Likewise.
40398 * libio/iogetline.c: Likewise.
40399 * libio/iogets.c: Likewise.
40400 * libio/iogetwline.c: Likewise.
40401 * libio/iopadn.c: Likewise.
40402 * libio/iopopen.c: Likewise.
40403 * libio/ioseekoff.c: Likewise.
40404 * libio/ioseekpos.c: Likewise.
40405 * libio/iosetbuffer.c: Likewise.
40406 * libio/iosetvbuf.c: Likewise.
40407 * libio/ioungetc.c: Likewise.
40408 * libio/ioungetwc.c: Likewise.
40409 * libio/iovdprintf.c: Likewise.
40410 * libio/iovsprintf.c: Likewise.
40411 * libio/iovsscanf.c: Likewise.
40412 * libio/memstream.c: Likewise.
40413 * libio/obprintf.c: Likewise.
40414 * libio/oldfileops.c: Likewise.
40415 * libio/oldiofclose.c: Likewise.
40416 * libio/oldiofdopen.c: Likewise.
40417 * libio/oldiofopen.c: Likewise.
40418 * libio/oldiopopen.c: Likewise.
40419 * libio/oldstdfiles.c: Likewise.
40420 * libio/putc.c: Likewise.
40421 * libio/setbuf.c: Likewise.
40422 * libio/setlinebuf.c: Likewise.
40423 * libio/stdfiles.c: Likewise.
40424 * libio/strops.c: Likewise.
40425 * libio/vasprintf.c: Likewise.
40426 * libio/vscanf.c: Likewise.
40427 * libio/vsnprintf.c: Likewise.
40428 * libio/vswprintf.c: Likewise.
40429 * libio/wfiledoalloc.c: Likewise.
40430 * libio/wfileops.c: Likewise.
40431 * libio/wgenops.c: Likewise.
40432 * libio/wmemstream.c: Likewise.
40433 * libio/wstrops.c: Likewise.
40434 * libio/__fpurge.c: Likewise.
40435 * libio/__fsetlocking.c: Likewise.
40436 * assert/assert.c: Likewise.
40437 * debug/fgets_chk.c: Likewise.
40438 * debug/fgets_u_chk.c: Likewise.
40439 * debug/fread_chk.c: Likewise.
40440 * debug/fread_u_chk.c: Likewise.
40441 * debug/gets_chk.c: Likewise.
40442 * debug/obprintf_chk.c: Likewise.
40443 * debug/vasprintf_chk.c: Likewise.
40444 * debug/vdprintf_chk.c: Likewise.
40445 * debug/vsnprintf_chk.c: Likewise.
40446 * debug/vsprintf_chk.c: Likewise.
40447 * malloc/mtrace.c: Likewise.
40448 * misc/error.c: Likewise.
40449 * misc/syslog.c: Likewise.
40450 * stdio-common/asprintf.c: Likewise.
40451 * stdio-common/fxprintf.c: Likewise.
40452 * stdio-common/getw.c: Likewise.
40453 * stdio-common/isoc99_fscanf.c: Likewise.
40454 * stdio-common/isoc99_scanf.c: Likewise.
40455 * stdio-common/isoc99_vfscanf.c: Likewise.
40456 * stdio-common/isoc99_vscanf.c: Likewise.
40457 * stdio-common/isoc99_vsscanf.c: Likewise.
40458 * stdio-common/printf-prs.c: Likewise.
40459 * stdio-common/printf_fp.c: Likewise.
40460 * stdio-common/printf_fphex.c: Likewise.
40461 * stdio-common/printf_size.c: Likewise.
40462 * stdio-common/putw.c: Likewise.
40463 * stdio-common/scanf.c: Likewise.
40464 * stdio-common/sprintf.c: Likewise.
40465 * stdio-common/tmpfile.c: Likewise.
40466 * stdio-common/vfprintf.c: Likewise.
40467 * stdio-common/vfscanf.c: Likewise.
40468 * stdlib/strfmon_l.c: Likewise.
40469 * sunrpc/openchild.c: Likewise.
40470 * sunrpc/xdr_stdio.c: Likewise.
40471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40472 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40474 2012-05-24 Roland McGrath <roland@hack.frob.com>
40476 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40478 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40479 in the third column, to generate for the shared library an IFUNC
40480 that uses _dl_vdso_vsym.
40481 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40482 * Makeconfig (object-suffixes-noshared): New variable.
40484 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40485 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40486 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40487 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40490 * include/sys/time.h (__gettimeofday): Remove macro.
40491 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40492 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40494 (__gettimeofday): Add libc_hidden_def.
40495 (gettimeofday): Add libc_hidden_weak.
40496 * sysdeps/mach/gettimeofday.c: Likewise.
40497 * sysdeps/posix/gettimeofday.c: Likewise.
40498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40501 (__gettimeofday_internal): Remove strong_alias.
40502 (__gettimeofday): Add libc_hidden_def.
40503 (gettimeofday): Add libc_hidden_weak.
40504 * sysdeps/unix/syscalls.list (gettimeofday):
40505 Remove __gettimeofday_internal alias.
40507 2012-05-24 Daniel Jacobowitz <drow@false.org>
40508 H.J. Lu <hongjiu.lu@intel.com>
40511 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40512 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40513 (largebin_index_32_big): New.
40514 (largebin_index): Use it for 16-byte alignment.
40515 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40516 correction with front_misalign.
40518 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40546 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40547 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40549 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40553 * math/libm-test.inc (exp_test): Add test from bug 14036.
40554 (pow_test): Add test from bug 10846.
40556 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40558 (special_function): Do not include flags in test name.
40559 (parse_args): Likewise.
40560 * sysdeps/i386/fpu/libm-test-ulps: Update.
40561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40562 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40563 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40566 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40568 * math/libm-test.inc ("Philosophy"): Update comment about
40570 (UNDERFLOW_EXCEPTION): New macro.
40571 (UNDERFLOW_EXCEPTION_OK): Likewise.
40572 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40573 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40574 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40575 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40576 (INVALID_EXCEPTION_OK): Update value.
40577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40578 (OVERFLOW_EXCEPTION_OK): Likewise.
40579 (IGNORE_ZERO_INF_SIGN): Likewise.
40580 (test_exceptions): Handle underflow exceptions.
40581 (acos_test): Update for underflow exception expectations.
40582 (cexp_test): Likewise.
40583 (clog_test): Likewise.
40584 (clog10_test): Likewise.
40585 (csqrt_test): Likewise.
40586 (ctan_test): Likewise.
40587 (ctanh_test): Likewise.
40588 (exp_test): Likewise.
40589 (exp10_test): Likewise.
40590 (exp2_test): Likewise.
40591 (expm1_test): Likewise.
40592 (fma_test): Likewise.
40593 (j0_test): Likewise.
40594 (jn_test): Likewise.
40595 (nexttoward_test): Likewise.
40596 (pow_test): Likewise.
40597 (scalbn_test): Likewise.
40598 (scalbln_test): Likewise.
40599 (tan_test): Likewise.
40600 (y1_test): Likewise.
40601 * sysdeps/i386/fpu/libm-test-ulps: Update.
40602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40604 2012-05-23 David S. Miller <davem@davemloft.net>
40606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40607 (__libc_sigaction): Remove unused local variables.
40609 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40611 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40613 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40615 mktime: avoid signed integer overflow
40616 * time/mktime.c (__mktime_internal): Do not mishandle the case
40617 where diff == INT_MIN.
40619 mktime: simplify computation of average
40620 * time/mktime.c (ranged_convert): Use new time_t_avg function
40621 instead of rolling our own (probably-slower) code.
40623 mktime: do not assume signed right shift propagates sign bit
40624 * time/mktime.c (isdst_differ): New static function.
40625 (__mktime_internal): No need to normalize tm_isdst now.
40626 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40629 mktime: merge another wrapv change from gnulib
40630 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40631 from some compilers.
40633 mktime: remove incorrect attempt at unusual arithmetics
40634 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40635 The code didn't really work on such machines anyway.
40636 (TYPE_MINIMUM): Assume two's complement.
40637 (twos_complement_arithmetic): Verify that long_int and time_t
40638 are two's complement (or unsigned, in the latter case).
40640 mktime: check signed shifts on long_int and time_t, too
40641 * time/mktime.c (SHR): Check that shifts work as desired
40642 on the types long_int and time_t too, as SHR is used on
40645 mktime: do not assume 'long' is wide enough
40646 * time/mktime.c (verify): Move decl up.
40647 (long_int): New type.
40648 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40649 to remove assumption in the code that 'long' is wide enough to
40650 store year values. This assumption is not true on x32 and on
40651 some non-glibc platforms.
40653 mktime: merge wrapv change from gnulib
40654 * time/mktime.c (WRAPV): New macro.
40655 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40656 (guess_time_tm, __mktime_internal): Do not assume that signed
40657 integer overflow wraps around; modern compilers generate code
40658 where this assumption is no longer valid.
40660 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40662 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40663 Replace "jmp L(pseudo_end)" with "ret".
40664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40667 2012-05-23 Andreas Jaeger <aj@suse.de>
40669 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40670 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40672 2012-05-23 Andreas Jaeger <aj@suse.de>
40673 Maximilian Attems <max@stro.at>
40675 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40678 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40680 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40681 code so that pseudo_end is just ret and the stack pointer is
40682 correct also for static library in error case.
40684 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40686 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40687 move to syscalls.list.
40688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40693 * manual/install.texi (Running make install): Do not mention Linux
40694 kernel version for which pt_chown is not needed.
40695 (Linux): Do not mention problems with nscd with 2.0 kernels.
40696 * INSTALL: Regenerated.
40698 2012-05-23 Andreas Jaeger <aj@suse.de>
40700 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40701 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40703 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40705 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40707 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40713 * sysdeps/unix/sysv/linux/bits/in.h
40714 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40716 2012-05-22 Roland McGrath <roland@hack.frob.com>
40718 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40719 (PREPARE_VERSION): Just use assert instead, it will be elided
40720 under [NDEBUG] anyway.
40722 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40724 * sysdeps/unix/sysv/linux/Makefile: Include
40725 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40726 (sysdep_routines): Remove sysctl.
40727 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40728 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40729 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40730 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40731 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40733 2012-05-22 Andreas Jaeger <aj@suse.de>
40735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40736 that pseudo_end is just ret and the stack pointer is correct also
40737 for static library in error case.
40739 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40742 * nss/nsswitch.c (defconfig_entries): New variable.
40743 (__nss_database_lookup): Don't leak defconfig entries.
40744 (nss_parse_service_list): Don't leak on error paths.
40745 (free_database_entries): New function.
40746 (free_defconfig): New function.
40747 (free_mem): Move common code to free_database_entries.
40749 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40753 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40755 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40756 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40759 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40760 (INTERNAL_SYSCALL_TYPES): Likewise.
40761 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40762 (LOAD_REGS_TYPES_[1-6]): Likewise.
40763 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40764 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40766 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40769 copysignl for GLIBC_2_0.
40770 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40771 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40773 logbl for GLIBC_2_0.
40774 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40775 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40777 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40782 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40785 * time/mktime.c: Update copyright years.
40787 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40789 mktime: merge comment-quoting-style change from gnulib
40790 * time/mktime.c: Quote 'like this' in comments.
40791 The GNU coding standards suggest that we no longer quote `like this',
40792 as "`" and "'" are typically rendered asymmetrically nowadays.
40793 The typical gnulib style is to quote 'like this' when quoting
40794 code, and "like this" when quoting English.
40796 * time/mktime.c (compile-command): Add "-I.".
40798 mktime: merge mktime-internal.h change from gnulib
40799 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40801 mktime: merge time_r change from gnulib
40802 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40804 mktime: merge DEBUG change from gnulib
40805 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40806 case system <time.h> has a #define.
40808 mktime: merge <sys/types.h> change from gnulib
40809 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40810 since <time.t> is now guaranteed to define time_t.
40812 mktime: merge HAVE_CONFIG_H change from gnulib
40813 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40815 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40820 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40822 (struct rusage): Use anonymous union to pad each field to
40825 2012-05-21 David S. Miller <davem@davemloft.net>
40827 * Makefules (o-iterator): Remove .s cases.
40828 (compile-command.s): Delete.
40829 (COMPILE.s): Delete.
40830 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40832 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40834 * configure.in (libc_cv_predef_stack_protector): Only consider
40835 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40836 * configure: Regenerated.
40838 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40841 New macro. Use R*LP on int and pointer.
40842 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40843 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40844 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40845 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40847 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40848 [__WORDSIZE_TIME64_COMPAT32] instead of
40849 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40850 (struct utmp): Likewise.
40851 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40852 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40854 (__WORDSIZE_TIME64_COMPAT32): This.
40855 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40856 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40857 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40858 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40859 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40860 (__WORDSIZE_TIME64_COMPAT32): New macro.
40862 2012-05-21 Andreas Jaeger <aj@suse.de>
40864 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40865 only if [SHARED]. Add prototype for __wcschr_ia32.
40867 2012-05-21 Roland McGrath <roland@hack.frob.com>
40869 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40870 of %rbp unmolested in the jmp_buf while mangling the low bits.
40871 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40872 unmolested high bits of %rbp while demangling the low bits.
40873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40875 2012-05-21 Andreas Jaeger <aj@suse.de>
40877 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40878 * sunrpc/svc_simple.c: Use it for registerrpc.
40879 * sunrpc/xcrypt.c: Use it for passwd2des.
40881 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40883 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40885 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40886 Don't define if [__SYSCALL_WORDSIZE != 32].
40887 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40890 2012-05-21 Bruno Haible <bruno@clisp.org>
40891 Andreas Jaeger <aj@suse.de>
40893 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40894 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40895 inptr and inend for must_buffer_ch.
40896 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40897 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40898 * stdio-common/Makefile (tests): Remove bug15.
40899 (bug15-ENV): Remove macro.
40900 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40903 2012-05-19 Andreas Jaeger <aj@suse.de>
40904 Roland McGrath <roland@hack.frob.com>
40906 * manual/contrib.texi: Completely rewritten. It contains now an
40907 alphabetical list of contributors and their contributions.
40909 2012-05-21 Richard Henderson <rth@twiddle.net>
40911 * misc/getauxval.c (__getauxval): Use unsigned long int.
40912 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40913 (getauxval): Use unsigned long int.
40915 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40917 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40919 2012-05-21 Roland McGrath <roland@hack.frob.com>
40921 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40922 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40923 __alignof__ (long double).
40925 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40929 2012-05-20 Richard Henderson <rth@twiddle.net>
40931 * misc/getauxval.c: New file.
40932 * misc/sys/auxv.h: New file.
40933 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40934 (routines): Add getauxval.
40935 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40936 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40937 * elf/dl-sysdep.c (_dl_auxv): Remove.
40938 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40939 * elf/dl-support.c (_dl_auxv): New variable.
40940 (_dl_aux_init): Initialize it.
40941 * manual/startup.texi (Auxiliary Vector): New node.
40942 * sysdeps/generic/bits/hwcap.h: New file.
40943 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40944 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40945 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40946 * sysdeps/sparc/sysdep.h: ... here. Include it.
40947 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40960 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40964 2012-05-19 David S. Miller <davem@davemloft.net>
40966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40968 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40971 * math/s_ccosh.c: Include <float.h>
40972 (__ccosh): Avoid internal overflow calculating sinh and cosh
40973 values before multiplying by sin and cos values.
40974 * math/s_ccoshf.c: Likewise.
40975 * math/s_ccoshl.c: Likewise.
40976 * math/s_csin.c: Likewise.
40977 * math/s_csinf.c: Likewise.
40978 * math/s_csinl.c: Likewise.
40979 * math/s_csinh.c: Likewise.
40980 * math/s_csinhf.c: Likewise.
40981 * math/s_csinhl.c: Likewise.
40982 * math/libm-test.inc (ccos_test): Add more tests.
40983 (ccosh_test): Likewise.
40984 (csin_test): Likewise.
40985 (csinh_test): Likewise.
40986 * sysdeps/i386/fpu/libm-test-ulps: Update.
40987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40989 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40991 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40992 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40994 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40996 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40998 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40999 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41000 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41001 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41002 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41003 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41004 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41005 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41006 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41007 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41008 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41009 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41010 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41011 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41012 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41013 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41014 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41015 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41016 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41017 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41018 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41019 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41020 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41021 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41022 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41023 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41024 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41025 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41026 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41027 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41028 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41030 2012-05-18 Andreas Jaeger <aj@suse.de>
41032 * csu/.gitignore: Delete.
41034 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41036 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41037 (timex): Use __syscall_slong_t.
41039 2012-05-18 Andreas Jaeger <aj@suse.de>
41040 Carlos O'Donell <carlos_odonell@mentor.com>
41042 * manual/install.texi (Configuring and compiling): Update
41043 description about files modified in the source directory.
41044 * INSTALL: Regenerated.
41046 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41048 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41049 value. Use "or" to set return value to -1.
41050 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41051 negate return value.
41053 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41055 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41056 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41057 failure if the compiler has Graphite support disabled.
41058 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41060 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41061 (CFLAGS-memmove.c): Likewise.
41062 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41065 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41067 * sysdeps/x86_64/x32/_itoa.h: New file.
41069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41070 getdents system call only if kernel and user dirents have the
41071 same d_ino and d_off.
41073 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41074 LLONG_MAX != LONG_MAX.
41075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41076 (_fitoa_word): Likewise.
41078 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41080 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41082 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41084 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41085 include <bits/wordsize.h>. Check __x86_64__ instead of
41087 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41088 if __x86_64__ is defined. Use anonymous union on fpstate.
41090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41093 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41095 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41096 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41097 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41098 Refer to _rtld_local_ro instead of _rtld_global_ro.
41099 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41101 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41103 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41105 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41106 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41107 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41109 * sysdeps/powerpc/powerpc32/dl-machine.c
41110 (__elf_machine_runtime_setup) [PROF]: Don't reference
41113 2012-05-18 Andreas Jaeger <aj@suse.de>
41115 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41116 function only available for GCCs before 3.4 since GCC 3.4
41117 introduced a builtin.
41119 (llrintf): Likewise.
41120 (llrint): Likewise.
41127 (nearbyint): Likewise.
41128 (nearbyintf): Likewise.
41132 (floorf): Likewise.
41134 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41136 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41137 on both fields and cast pointer to __syscall_ulong_t.
41139 * bits/types.h (__fsword_t): New type.
41140 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41141 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41143 (__FSWORD_T_TYPE): Likewise.
41144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41145 (__FSWORD_T_TYPE): Likewise.
41146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41147 (__FSWORD_T_TYPE): Likewise.
41148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41149 (__FSWORD_T_TYPE): Likewise.
41150 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41151 __SWORD_TYPE with __fsword_t.
41152 (statfs64): Likewise.
41154 2012-05-17 David S. Miller <davem@davemloft.net>
41156 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41158 2012-05-17 Andreas Jaeger <aj@suse.de>
41160 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41163 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41165 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41167 2012-05-17 Andreas Jaeger <aj@suse.de>
41169 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41172 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41174 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41176 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41178 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41179 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41181 2012-05-17 Andreas Jaeger <aj@suse.de>
41182 Carlos O'Donell <carlos_odonell@mentor.com>
41185 * sysdeps/x86_64/multiarch/init-arch.h
41186 (bit_YMM_Usable): Rename to...
41187 (bit_AVX_Usable): ... this.
41188 (bit_FMA4_Usable): New macro.
41189 (bit_XMM_state): New macro.
41190 (bit_YMM_state): New macro.
41191 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41192 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41193 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41194 (CPUID_OSXSAVE): New macro.
41195 (CPUID_AVX): New macro.
41196 (CPUID_FMA4): New macro.
41197 (index_YMM_Usable): Rename to...
41198 (index_AVX_Usable): ... this.
41199 (HAS_AVX): Use HAS_ARCH_FEATURE.
41200 (HAS_FMA4): Likewise.
41201 (HAS_YMM_USABLE): Remove.
41202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41203 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41205 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41206 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41207 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41208 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41209 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41211 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41213 * math/libm-test.c: Support platforms without multiple rounding modes.
41214 * math/bug-nextafter.c: Support platforms without FP exceptions.
41215 * math/bug-nexttoward.c: Likewise.
41216 * math/test-fenv.c: Likewise.
41217 * math/test-misc.c: Likewise.
41218 * stdlib/bug-getcontext.c: Likewise.
41220 2012-05-17 Andreas Jaeger <aj@suse.de>
41222 * manual/examples/search.c (critter_cmp): Change signature to
41224 * manual/string.texi (Collation Functions): Likewise.
41226 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41228 * bits/types.h: Fold copyright years.
41229 * bits/typesizes.h: Likewise.
41230 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41234 * time/time.h: Likewise.
41236 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41239 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41240 in instead of returning them. Return void.
41241 (__libc_mallinfo): Accumulate over all arenas.
41242 (__malloc_stats): Adjust for change in int_mallinfo interface.
41244 2012-05-16 Roland McGrath <roland@hack.frob.com>
41247 * configure.in (NM): Add AC_CHECK_TOOL for it.
41248 (libc_extra_cflags): New substituted variable.
41249 Check for -fstack-protector being used implicitly.
41250 * configure: Regenerated.
41251 * config.make.in (config-extra-cflags): New variable,
41252 gets @libc_extra_cflags@.
41253 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41256 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41257 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41258 * configure: Regenerated.
41259 * config.make.in (CPPUNDEFS): New substituted variable.
41260 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41261 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41262 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41264 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41266 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41267 (mq_attr): Use __syscall_slong_t.
41269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41272 Check __x86_64__ instead of __WORDSIZE.
41273 (_STAT_VER_LINUX): Likewise.
41274 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41275 __syscall_ulong_t and __syscall_slong_t.
41276 (stat64): Likewise.
41278 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41282 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41284 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41288 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41291 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41292 include <bits/wordsize.h>. Check __x86_64__ instead of
41294 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41296 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41299 include <bits/wordsize.h>. Check __x86_64__ instead of
41301 (user_regs_struct): Use "__extension__ unsigned long long"
41302 instead of "unsigned long" if __x86_64__ is defined.
41303 (user): Likewise. Pad after pointer field if __ILP32__ is
41306 2012-05-16 Joseph Myers <joseph@codesourcery.com>
41308 * configure.in (makeinfo): Require version 4.5 or later. Allow
41310 * configure: Regenerated.
41311 * manual/install.texi (texinfo): Increase version requirement to
41313 * INSTALL: Regenerated.
41315 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41317 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41319 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41321 * sysdeps/x86_64/x32/ffs.c: New file.
41323 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41325 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41326 defined. Use __syscall_ulong_t.
41327 (shminfo): Use __syscall_ulong_t.
41328 (shm_info): Likewise.
41330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41333 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41335 (msgqnum_t): Use __syscall_ulong_t.
41336 (msglen_t): Likewise.
41337 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41340 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41345 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41346 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41348 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41352 include <bits/wordsize.h>. Check __x86_64__ instead of
41355 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41356 "unsigned long long int" if __x86_64__ is defined.
41357 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41361 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41365 (GET_PC): Cast to uintptr_t first.
41366 (GET_FRAME): Likewise.
41367 (GET_STACK): Likewise.
41369 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41375 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41376 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41377 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41389 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41391 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41393 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41395 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41399 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41401 * Makerules (+depfiles): Also collect depfiles from .oS in
41403 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41404 .oS, $(libnldbl-routines)).
41406 * Makerules (native-compile-mkdep-flags): Define.
41407 * sunrpc/Makefile (extra-objs): Add $(addprefix
41408 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41409 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41410 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41411 calling $(make-target-directory).
41413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41415 * bits/types.h (__snseconds_t): Removed.
41416 * time/time.h (struct timespec): Replace __snseconds_t with
41418 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41419 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41422 (__SNSECONDS_T_TYPE): Likewise.
41423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41424 (__SNSECONDS_T_TYPE): Likewise.
41425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41426 (__SNSECONDS_T_TYPE): Likewise.
41428 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41430 * sysdeps/mach/hurd/bits/typesizes.h
41431 (__SYSCALL_SLONG_TYPE): New macro.
41432 (__SYSCALL_ULONG_TYPE): Likewise.
41434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41436 * bits/types.h (__syscall_slong_t): New type.
41437 (__syscall_ulong_t): Likewise.
41439 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41440 (__SYSCALL_ULONG_TYPE): Likewise.
41441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41442 (__SYSCALL_SLONG_TYPE): Likewise.
41443 (__SYSCALL_ULONG_TYPE): Likewise.
41444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41445 (__SYSCALL_SLONG_TYPE): Likewise.
41446 (__SYSCALL_ULONG_TYPE): Likewise.
41447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41448 (__SYSCALL_SLONG_TYPE): Likewise.
41449 (__SYSCALL_ULONG_TYPE): Likewise.
41451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41453 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41454 Add sigaltstack-offsets.sym.
41455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41456 <sigaltstack-offsets.h>.
41457 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41458 longjmp_msg pointer.
41459 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41460 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41462 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41464 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41466 * elf/stackguard-macros.h: Remove file.
41467 * sysdeps/generic/stackguard-macros.h: New file.
41468 * sysdeps/i386/stackguard-macros.h: Likewise.
41469 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41470 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41471 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41472 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41473 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41474 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41475 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41476 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41477 <elf/stackguard-macros.h>.
41480 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41481 __aligned__ in attribute.
41482 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41483 (gregset_t): Likewise.
41485 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41487 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41488 * sysdeps/x86_64/64/Implies-after: Here. New file.
41489 * sysdeps/x86_64/x32/Implies-after: New file.
41491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41493 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41494 and access return value for _dl_profile_fixup. Use R10_LP to
41497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41503 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41504 * sysdeps/x86_64/x32/sysdep.h: New file.
41506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41508 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41509 * sysdeps/x86_64/setjmp.S: Likewise.
41511 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41515 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41517 remove unused global constant.
41519 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41521 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41522 include of <not-cancel.h>.
41524 2012-05-15 Roland McGrath <roland@hack.frob.com>
41526 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41528 2012-05-15 Jeff Law <law@redhat.com>
41529 Andreas Jaeger <aj@suse.de>
41532 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41534 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41535 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41537 code changing __hst_map_handle.map.
41539 2012-05-15 Roland McGrath <roland@hack.frob.com>
41541 * configure.in (sysnames): Look for Implies-before and Implies-after
41543 * configure: Regenerated.
41545 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41548 8-byte data alignment with LP_SIZE alignment.
41550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41552 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41555 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41557 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41562 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41569 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41570 (stackinfo_sub_sp): Likewise.
41572 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41589 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41593 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41594 into R11_LP and load __x86_64_shared_cache_size_half into
41597 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41602 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41611 powerpc32/power7/fpu/s_logb.c via #include.
41612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41613 powerpc32/power7/fpu/s_logbf.c via #include.
41614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41615 powerpc32/power7/fpu/s_logbl.c via #include.
41617 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41619 * README.libm: Remove file.
41621 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41623 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41624 count for x32. Use R*_LP and omit operand-size suffix.
41626 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41628 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41629 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41630 * sysdeps/x86_64/x32/shlib-versions: New file.
41632 2012-05-14 Roland McGrath <roland@hack.frob.com>
41634 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41635 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41636 Use _dl_fatal_printf instead.
41638 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41640 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41641 set if not set by the user. Do not allow for being unset.
41642 * sysdeps/unix/sysv/linux/configure: Regenerated.
41644 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41646 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41647 the `q' suffix from lea and replace .quad with ASM_ADDR.
41649 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41652 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41654 (PTR_DEMANGLE): Likewise.
41656 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41658 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41660 (ASM_ADDR): Likewise.
41661 (RAX_LP): Likewise.
41662 (RBP_LP): Likewise.
41663 (RBX_LP): Likewise.
41664 (RCX_LP): Likewise.
41665 (RDI_LP): Likewise.
41666 (RSI_LP): Likewise.
41667 (RSP_LP): Likewise.
41670 (R10_LP): Likewise.
41671 (R10_LP): Likewise.
41672 (R11_LP): Likewise.
41673 (R12_LP): Likewise.
41674 (R13_LP): Likewise.
41675 (R14_LP): Likewise.
41676 (R15_LP): Likewise.
41678 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41680 * sysdeps/x86_64/x32/dl-machine.h: New file.
41682 2012-05-14 Andreas Jaeger <aj@suse.de>
41684 * manual/Makefile (subdir): Remove export of subdir.
41685 (all): Remove target.
41686 (.PHONY): Remove all from list.
41687 (mkinstalldirs): Remove.
41688 (.PHONY): Remove installdirs from list.
41689 ($(inst_infodir)/libc.info): Use make-target-directory.
41690 (installdirs): Remove.
41691 (subdir_%): Remove.
41692 (glibc-targets): Remove.
41695 ($(objpfx)stubs ../po/manual.pot): Remove.
41696 ($(objpfx)stamp%): Remove.
41697 (make-target-directory): Remove.
41698 (subdir_install): Remove.
41699 (routines): Remove.
41706 * manual/.gitignore: Remove, it's not needed anymore.
41707 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41709 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41711 (texis): Renamed to $(objpfx)texis.
41712 (texis-path): New, contains path to generated files.
41713 (chapters.%): Use texis-path for complete path, add extra argument
41715 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41716 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41717 (summary,texi, stamp-summary): Use complete path of
41718 files. Generate files in build dir.
41719 (dir-add.texi): Build in build dir.
41720 (libm-err.texi,stamp-libm-err): Likewise.
41721 (version.texi, stamp-version): Likewise.
41722 (.%c.texi): Likewise.
41723 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41724 (mostlyclean): Remove target.
41725 (realclean): Remove target.
41726 (generated): Add new variable with contents from mostlyclean and
41727 realclean, remove entries duplicated in common-mostlyclean, add
41728 stamp-libm-err and stamp-version.
41729 (generated-dirs): Add libc directory.
41730 ($(inst_infodir)/libc.info): Install files from build dir.
41732 * manual/install.texi (Configuring and compiling): Adjust since
41733 the info files are not part of the tar ball anymore.
41735 2012-05-14 Andreas Jaeger <aj@suse.de>
41737 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41740 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41744 to 2.2.0 where earlier.
41745 * sysdeps/unix/sysv/linux/configure: Regenerated.
41746 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41747 Remove conditional code.
41748 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41749 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41750 Remove conditional code.
41751 [!__NR_lchown]: Likewise.
41752 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41753 [__NR_lchown]: Likewise.
41754 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41755 comment referencing __ASSUME_LCHOWN_SYSCALL.
41756 * sysdeps/unix/sysv/linux/i386/sigaction.c
41757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41759 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41760 Remove conditional code.
41761 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41762 (__protocol_available): Remove #if 0 code.
41763 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41765 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41766 * sysdeps/unix/sysv/linux/kernel-features.h
41767 (__ASSUME_GETCWD_SYSCALL): Don't define.
41768 (__ASSUME_REALTIME_SIGNALS): Likewise.
41769 (__ASSUME_PREAD_SYSCALL): Likewise.
41770 (__ASSUME_PWRITE_SYSCALL): Likewise.
41771 (__ASSUME_POLL_SYSCALL): Likewise.
41772 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41773 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41775 (__ASSUME_SIOCGIFNAME): Don't define.
41776 (__ASSUME_MSG_NOSIGNAL): Likewise.
41777 (__ASSUME_SENDFILE): Define unconditionally.
41778 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41779 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41781 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41782 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41783 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41784 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41785 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41787 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41812 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41813 Remove conditional code.
41814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41815 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41816 Remove conditional code.
41817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41818 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41819 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41820 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41821 Remove conditional code.
41822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41823 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41824 Remove conditional code.
41825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41826 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41827 Remove conditional code.
41828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41829 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41830 Remove conditional code.
41831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41832 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41833 Remove conditional code.
41834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41835 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41838 * sysdeps/unix/sysv/linux/sigaction.c
41839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41841 * sysdeps/unix/sysv/linux/sigpending.c
41842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41844 * sysdeps/unix/sysv/linux/sigprocmask.c
41845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41847 * sysdeps/unix/sysv/linux/sigsuspend.c
41848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41851 (__libc_missing_rt_sigs): Remove.
41852 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41853 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41854 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41855 Remove conditional code.
41856 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41857 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41860 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41864 2012-05-14 Andreas Jaeger <aj@suse.de>
41866 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41867 it's not used in glibc.
41868 (__coshm1): Likewise.
41869 (__acosh1p): Likewise.
41872 * manual/string.texi (Copying and Concatenation): Add missing
41873 variable in concat example.
41874 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41876 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41880 __builtin_clzl with __builtin_clzll.
41882 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41885 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41888 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41890 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41891 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41892 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41893 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41895 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41897 * NEWS: Update ia64 info.
41899 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41901 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41904 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41906 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41907 * sysdeps/unix/syscalls.list (dup3): Likewise.
41908 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41909 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41911 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41913 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41914 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41916 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41918 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41920 (TLS_IE): Use mov/add instead of movq/addq to load thread
41922 (TLS_GD_PREFIX): New.
41925 2012-05-11 David S. Miller <davem@davemloft.net>
41927 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41928 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41929 (_FPU_SETCW): Likewise.
41931 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41933 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41934 is 32-byte aligned.
41936 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41939 * iconvdata/gb18030.c: Update tables.
41940 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41941 characters specially.
41942 (BODY for TO_LOOP): Add encoding of missing ranges.
41944 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41947 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41948 * sysdeps/mach/hurd/dup3.c: Likewise.
41949 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41950 * sysdeps/powerpc/memmove.c:: Likewise.
41952 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41955 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41957 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41959 * elf/elf.h (R_X86_64_RELATIVE64): New.
41960 (R_X86_64_NUM): Updated.
41961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41962 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41963 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41964 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41965 tst-quad1pie tst-quad2pie
41966 (modules-names): Add tst-quadmod1 tst-quadmod2.
41967 ($(objpfx)tst-quad1): New dependency.
41968 ($(objpfx)tst-quad2): Likewise.
41969 ($(objpfx)tst-quad1pie): Likewise.
41970 ($(objpfx)tst-quad2pie): Likewise.
41971 * sysdeps/x86_64/tst-quad1.c: New file.
41972 * sysdeps/x86_64/tst-quad1pie.c: New file.
41973 * sysdeps/x86_64/tst-quad2.c: Likewise.
41974 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41975 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41976 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41977 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41978 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41982 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41983 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41984 * streams/stropts.h (t_scalar_t): Define type.
41986 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41987 (_PATH_PRESERVE): Set to "/var/lib".
41988 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41990 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41993 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41994 if __dir_mkfile succeeded.
41996 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41997 checking for _hurd_dtablesize. Unlock it right after having
41998 finished _hurd_dtable allocation.
42000 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42002 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42003 * sysdeps/mach/hurd/configure: Regenerated.
42004 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42005 special-casing to...
42006 * sysdeps/gnu/configure.in: ... this new file.
42007 * sysdeps/unix/sysv/linux/configure: Regenerated.
42008 * sysdeps/gnu/configure: New generated file.
42010 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42011 for Linux: use nsec instead of usec, as well as:
42012 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42013 members of type struct timespec.
42014 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42016 (struct stat64): Likewise.
42017 (_STATBUF_ST_NSEC): New macro.
42018 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42021 __strtoul_internal rather than strtoul.
42023 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42025 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42030 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42031 which preserves existing values.
42032 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42034 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42036 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42037 TIMEOUT values. Return EINVAL for NFDS values either negative or
42038 greater than FD_SETSIZE.
42040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42042 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42043 allocated, call __vm_protect to finish enabling the existing space, and
42044 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42045 allocate the remainder.
42047 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42049 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42050 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42052 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42054 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42055 sysdeps/mach/hurd/readlink.c.
42057 * posix/tst-sysconf.c (posix_options): Only use
42058 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42059 _POSIX_SYNCHRONIZED_IO when they are defined
42060 * sysdeps/mach/hurd/bits/posix_opt.h:
42061 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42062 (_XOPEN_REALTIME): Undefine macro.
42063 (_XOPEN_REALTIME_THREADS): Undefine macro.
42064 (_XOPEN_SHM): Undefine macro.
42065 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42069 (_POSIX_ASYNC_IO): Undefine macro.
42070 (_POSIX_PRIORITIZED_IO): Undefine macro.
42071 (_POSIX_SPIN_LOCKS): Define macro to -1.
42073 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42074 SA_NODEFER, SA_RESETHAND.
42075 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42076 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42079 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42081 * elf/Makefile (pldd-modules): Define unconditionally.
42083 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42085 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42087 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42089 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42090 Return ENOENT when name is empty.
42091 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42095 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42097 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42101 Fix mlock in all cases except non-readable pages.
42102 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42103 instead of VM_PROT_ALL as parameter to __vm_wire function.
42105 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42106 (__mkdir): When path is `/', just fail with EEXIST.
42107 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42109 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42111 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42112 <sys/uio.h> (for writev).
42113 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42114 and <sys/param.h> (for MIN).
42116 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42118 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42119 REQUESTED_TIME. Properly set the remaining time and return EINTR
42122 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42124 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42125 Depend on against $(link-rpcuserlibs).
42127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42129 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42130 (__libc_stack_end): Do not use attribute_relro.
42131 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42132 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42133 to libthread-provided value.
42134 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42137 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42140 * bits/libc-lock.h (__libc_once_get): New macro.
42141 * sysdeps/mach/bits/libc-lock.h: Likewise.
42142 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42144 instead of using implementation details.
42146 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42147 * libio/freopen.c: Likewise.
42148 * libio/freopen64.c: Likewise.
42149 * misc/syslog.c: Likewise.
42150 * nscd/connections.c: Likewise.
42151 * nscd/netgroupcache.c: Likewise.
42152 * sysdeps/posix/getcwd.c: Likewise.
42154 2012-05-10 Roland McGrath <roland@hack.frob.com>
42156 * math/w_ilogbf.c: Add #include <limits.h>.
42158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42160 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42161 path instead of returning without unlocking.
42163 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42164 immediate-write ioctls.
42165 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42167 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42169 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42170 __builtin_frame_address instead of making assumptions about the
42171 location of the return address relative to DATA. Force early load of
42172 the return address.
42173 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42174 __builtin_frame_address.
42177 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42178 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42179 implement dup3 and do some further code clean-ups.
42180 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42181 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42183 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42185 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42187 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42188 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42189 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42190 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42191 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42194 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42195 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42196 when handler == SIG_ERR, not when handler != SIG_ERR.
42198 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42200 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42201 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42204 accept4 for GNU Hurd.
42205 * include/sys/socket.h (__libc_accept4): New prototype.
42206 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42207 to implement __libc_accept4.
42208 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42210 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42212 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42213 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42214 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42215 signal-defines.sym.
42217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42219 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42221 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
42223 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42224 assertion on O_CLOEXEC flag.
42225 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42226 * hurd/intern-fd.c: Likewise.
42227 * hurd/port2fd.c: Likewise.
42229 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42232 * bits/in.h (IPV6_PKTINFO): Define new macro.
42233 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42235 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42242 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42245 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42246 * math/libm-test.inc (logb_test) : Additional logb tests.
42248 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42249 Andreas Jaeger <aj@suse.de>
42251 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42252 * configure: Regenerated.
42253 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42254 * config.make.in (link-obsolete-rpc): New substituted variable.
42255 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42256 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42257 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42258 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42259 so that libc.a contains the symbols.
42260 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42261 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42262 * sunrpc/auth_none.c: Likewise.
42263 * sunrpc/auth_unix.c: Likewise.
42264 * sunrpc/authdes_prot.c: Likewise.
42265 * sunrpc/authuxprot.c: Likewise.
42266 * sunrpc/clnt_gen.c: Likewise.
42267 * sunrpc/clnt_perr.c: Likewise.
42268 * sunrpc/clnt_raw.c: Likewise.
42269 * sunrpc/clnt_simp.c: Likewise.
42270 * sunrpc/clnt_tcp.c: Likewise.
42271 * sunrpc/clnt_udp.c: Likewise.
42272 * sunrpc/clnt_unix.c: Likewise.
42273 * sunrpc/des_crypt.c: Likewise.
42274 * sunrpc/des_soft.c: Likewise.
42275 * sunrpc/get_myaddr.c: Likewise.
42276 * sunrpc/key_call.c: Likewise.
42277 * sunrpc/key_prot.c: Likewise.
42278 * sunrpc/netname.c: Likewise.
42279 * sunrpc/pm_getmaps.c: Likewise.
42280 * sunrpc/pm_getport.c: Likewise.
42281 * sunrpc/pmap_clnt.c: Likewise.
42282 * sunrpc/pmap_prot.c: Likewise.
42283 * sunrpc/pmap_prot2.c: Likewise.
42284 * sunrpc/pmap_rmt.c: Likewise.
42285 * sunrpc/publickey.c: Likewise.
42286 * sunrpc/rpc_cmsg.c: Likewise.
42287 * sunrpc/rpc_common.c: Likewise.
42288 * sunrpc/rpc_dtable.c: Likewise.
42289 * sunrpc/rpc_prot.c: Likewise.
42290 * sunrpc/rpc_thread.c: Likewise.
42291 * sunrpc/rtime.c: Likewise.
42292 * sunrpc/svc.c: Likewise.
42293 * sunrpc/svc_auth.c: Likewise.
42294 * sunrpc/svc_raw.c: Likewise.
42295 * sunrpc/svc_run.c: Likewise.
42296 * sunrpc/svc_tcp.c: Likewise.
42297 * sunrpc/svc_udp.c: Likewise.
42298 * sunrpc/svc_unix.c: Likewise.
42299 * sunrpc/svcauth_des.c: Likewise.
42300 * sunrpc/xcrypt.c: Likewise.
42301 * sunrpc/xdr.c: Likewise.
42302 * sunrpc/xdr_array.c: Likewise.
42303 * sunrpc/xdr_float.c: Likewise.
42304 * sunrpc/xdr_intXX_t.c: Likewise.
42305 * sunrpc/xdr_mem.c: Likewise.
42306 * sunrpc/xdr_rec.c: Likewise.
42307 * sunrpc/xdr_ref.c: Likewise.
42308 * sunrpc/xdr_sizeof.c: Likewise.
42309 * sunrpc/xdr_stdio.c: Likewise.
42311 2012-05-10 Roland McGrath <roland@hack.frob.com>
42313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42314 change. Update copyright years.
42316 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42318 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42320 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42321 Joseph Myers <joseph@codesourcery.com>
42322 Paul Pluzhnikov <ppluzhnikov@google.com>
42325 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42327 [cross-compiling] (extra-libs): Likewise.
42328 [cross-compiling] (extra-libs-others): Likewise.
42329 [cross-compiling] (librpcsvc-routines): Likewise.
42330 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42331 [cross-compiling] (omit-deps): Likewise.
42332 (sunrpc-CPPFLAGS): New variable.
42333 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42334 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42335 (cross-rpcgen-objs): New variable.
42336 (extra-objs): Append $(cross-rpcgen-objs).
42337 ($(cross-rpcgen-objs)): New rule.
42338 ($(objpfx)cross-rpcgen): Likewise.
42339 (rpcgen-cmd): Define to use $(built-program-file). Expand
42341 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42342 ($(objpfx)x%.stmp): Likewise.
42343 * sunrpc/proto.h [IS_IN_build] (_): Define.
42344 [IS_IN_build] (_libc_intl_domainname): Likewise.
42346 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42349 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42350 and R_X86_64_TPOFF64.
42352 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42354 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42355 sysdeps/unix/sysv/syscalls.list.
42358 * sysdeps/unix/sysv/syscalls.list: Remove file.
42360 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42363 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42364 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42365 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42366 (__LC_IDENTIFICATION): Make these macros useful in #if
42367 expressions, as required by C99.
42369 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42371 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42372 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42375 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42377 * stdlib/longlong.h: Updated from GCC.
42379 2012-05-09 Andreas Jaeger <aj@suse.de>
42381 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42382 default is first entry.
42383 (run_mode): Set type.
42384 (main): Remove informal message about syslog.
42385 (options): Fix typo.
42388 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42391 (llrintf): Likewise.
42392 (llrint): Likewise.
42395 (nearbyint): Likewise.
42396 (nearbyintf): Likewise.
42398 2012-05-09 Andreas Jaeger <aj@suse.de>
42399 Pedro Alves <palves@redhat.com>
42401 * nscd/nscd.c (run_mode): Use enum.
42402 (main): Cleanup coding style issue.
42404 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42405 Andreas Jaeger <aj@suse.de>
42407 * nscd/nscd.c (go_background): Replaced with...
42408 (run_mode): ... this.
42409 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42410 (options): Add -F --foreground.
42411 (main): Implement it.
42412 (parse_opt): Parse it.
42414 2012-05-09 Andreas Jaeger <aj@suse.de>
42417 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42418 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42419 -Wconversion warning.
42420 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42423 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42425 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42427 (LC_ALL): Use macro-int-constant.
42428 (LC_COLLATE): Likewise.
42429 (LC_CTYPE): Likewise.
42430 (LC_MESSAGES): Likewise.
42431 (LC_MONETARY): Likewise.
42432 (LC_NUMERIC): Likewise.
42433 (LC_TIME): Likewise.
42434 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42435 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42436 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42437 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42439 [C99-based standards] (float_t): Expect type.
42440 [C99-based standards] (double_t): Expect type.
42441 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42443 [C99-based standards] (HUGE_VALL): Likewise.
42444 [C99-based standards] (INFINITY): Likewise.
42445 [C99-based standards] (NAN): Likewise.
42446 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42447 [C99-based standards] (FP_NAN): Likewise.
42448 [C99-based standards] (FP_NORMAL): Likewise.
42449 [C99-based standards] (FP_SUBNORMAL): Likewise.
42450 [C99-based standards] (FP_ZERO): Likewise.
42451 [C99-based standards] (FP_FAST_FMA): Use
42452 optional-macro-int-constant. Specify type. Require == 1.
42453 [C99-based standards] (FP_FAST_FMAF): Likewise.
42454 [C99-based standards] (FP_FAST_FMAL): Likewise.
42455 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42456 [C99-based standards] (FP_ILOGBNAN): Likewise.
42457 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42459 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42460 [C99-based standards] (math_errhandling): Specify type.
42461 [ISO99 || ISO11] (signgam): Do not allow.
42462 [non-C99-based standards] (copysignf): Do not allow.
42463 [non-C99-based standards] (exp2f): Likewise.
42464 [non-C99-based standards] (log2f): Likewise.
42465 [non-C99-based standards] (modff): Allow.
42466 [non-C99-based standards] (erff): Do not allow.
42467 [non-C99-based standards] (erfcf): Likewise.
42468 [non-C99-based standards] (gammaf): Likewise.
42469 [non-C99-based standards] (hypotf): Likewise.
42470 [non-C99-based standards] (j0f): Likewise.
42471 [non-C99-based standards] (j1f): Likewise.
42472 [non-C99-based standards] (jnf): Likewise.
42473 [non-C99-based standards] (lgammaf): Likewise.
42474 [non-C99-based standards] (tgammaf): Likewise.
42475 [non-C99-based standards] (y0f): Likewise.
42476 [non-C99-based standards] (y1f): Likewise.
42477 [non-C99-based standards] (ynf): Likewise.
42478 [non-C99-based standards] (isnanf): Likewise.
42479 [non-C99-based standards] (acoshf): Likewise.
42480 [non-C99-based standards] (asinhf): Likewise.
42481 [non-C99-based standards] (atanhf): Likewise.
42482 [non-C99-based standards] (cbrtf): Likewise.
42483 [non-C99-based standards] (expm1f): Likewise.
42484 [non-C99-based standards] (ilogbf): Likewise.
42485 [non-C99-based standards] (log1pf): Likewise.
42486 [non-C99-based standards] (logbf): Likewise.
42487 [non-C99-based standards] (nextafterf): Likewise.
42488 [non-C99-based standards] (remainderf): Likewise.
42489 [non-C99-based standards] (rintf): Likewise.
42490 [non-C99-based standards] (scalbf): Likewise.
42491 [non-C99-based standards] (copysignl): Likewise.
42492 [non-C99-based standards] (exp2l): Likewise.
42493 [non-C99-based standards] (log2l): Likewise.
42494 [non-C99-based standards] (modfl): Allow.
42495 [non-C99-based standards] (erfl): Do not allow.
42496 [non-C99-based standards] (erfcl): Likewise.
42497 [non-C99-based standards] (gammal): Likewise.
42498 [non-C99-based standards] (hypotl): Likewise.
42499 [non-C99-based standards] (j0l): Likewise.
42500 [non-C99-based standards] (j1l): Likewise.
42501 [non-C99-based standards] (jnl): Likewise.
42502 [non-C99-based standards] (lgammal): Likewise.
42503 [non-C99-based standards] (tgammal): Likewise.
42504 [non-C99-based standards] (y0l): Likewise.
42505 [non-C99-based standards] (y1l): Likewise.
42506 [non-C99-based standards] (ynl): Likewise.
42507 [non-C99-based standards] (isnanl): Likewise.
42508 [non-C99-based standards] (acoshl): Likewise.
42509 [non-C99-based standards] (asinhl): Likewise.
42510 [non-C99-based standards] (atanhl): Likewise.
42511 [non-C99-based standards] (cbrtl): Likewise.
42512 [non-C99-based standards] (expm1l): Likewise.
42513 [non-C99-based standards] (ilogbl): Likewise.
42514 [non-C99-based standards] (log1pl): Likewise.
42515 [non-C99-based standards] (logbl): Likewise.
42516 [non-C99-based standards] (nextafterl): Likewise.
42517 [non-C99-based standards] (remainderl): Likewise.
42518 [non-C99-based standards] (rintl): Likewise.
42519 [non-C99-based standards] (scalbl): Likewise.
42520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42521 [non-C99-based standards] (FP_*): Do not allow.
42522 [C99-based standards] (FP_*): Change to
42523 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42524 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42526 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42527 (SIG_ERR): Likewise.
42528 [X/Open-based standards] (SIG_HOLD): Likewise.
42529 (SIG_IGN): Likewise.
42530 (SIGABRT): Use macro-int-constant. Specify type. Require
42532 (SIGFPE): Likewise.
42533 (SIGILL): Likewise.
42534 (SIGINT): Likewise.
42535 (SIGSEGV): Likewise.
42536 (SIGTER): Likewise.
42537 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42538 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42539 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42540 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42541 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42542 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42543 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42544 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42545 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42546 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42547 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42548 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42549 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42550 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42551 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42552 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42553 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42554 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42555 [X/Open-based standards] (SIGTRAP): Likewise.
42556 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42557 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42558 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42559 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42560 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42563 2012-05-08 Ian Wienand <ianw@vmware.com>
42566 * time/tzset.c (__tzset_parse_tz): Update default rules for
42567 daylight time changes in the Energy Policy Act of 2005.
42569 2012-05-09 Andreas Jaeger <aj@suse.de>
42572 * elf/ldconfig.c (parse_conf): Change string to make clear that
42573 ldconfig only issued a warning if ld.so.conf does not exist.
42575 2012-05-08 David S. Miller <davem@davemloft.net>
42577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42578 movxtod instead of popping the value on the stack.
42580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42582 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42584 * config.h.in: Add HAVE_ARM_PCS_VFP.
42586 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42589 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42590 checking but the checks are disabled for any reason.
42592 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42594 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42595 and ELF64_R_TYPE with ELFW(R_TYPE).
42597 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42599 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42600 (ulimit): Likewise.
42602 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42603 (settimeofday): Likewise.
42605 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42607 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42608 a struct th_u2 inside the union, and move tu_block/tu_code into
42609 a new th_u3 union of tu_block/tu_code inside of that. Move
42610 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42611 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42612 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42613 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42614 (th_stuff): Change to th_u1.tu_stuff.
42616 (th_msg): Change to th_u1.th_u2.tu_data.
42618 2012-05-07 David S. Miller <davem@davemloft.net>
42620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42623 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42624 (SETUP_PIC_REG): Use it.
42625 (SETUP_PIC_REG_LEAF): Use it.
42627 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42633 (EXPL_FINITE): Likewise.
42634 (FLDLOG): Likewise.
42635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42636 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42640 (EXPL_FINITE): Likewise.
42641 (FLDLOG): Likewise.
42642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42643 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42645 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42646 test of -max_value argument for long double.
42647 * sysdeps/i386/fpu/libm-test-ulps: Update.
42648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42650 2012-05-06 David S. Miller <davem@davemloft.net>
42652 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42653 quad soft-float symbols whose references which are compiler
42655 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42657 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42663 (EXPL_FINITE): Likewise.
42664 (FLDLOG): Likewise.
42667 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42668 Adjust comments for base varying.
42669 (__expl_finite): Change alias to EXPL_FINITE.
42670 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42672 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42673 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42675 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42678 (EXPL_FINITE): Likewise.
42679 (FLDLOG): Likewise.
42682 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42683 Adjust comments for base varying.
42684 (__expl_finite): Change alias to EXPL_FINITE.
42685 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42690 * math/libm-test.inc (check_float_internal): Correct ulp
42691 calculation for subnormal expected results.
42693 2012-05-06 Andreas Jaeger <aj@suse.de>
42695 * Makeconfig (+math-flags): New, set to -frounding-math.
42696 (+cflags): Add +math-flags so that all of glibc gets compiled with
42699 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42701 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42703 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42709 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42710 (__ieee754_expl): Allow for and saturate large arguments.
42711 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42712 (u_threshold): Likewise.
42713 (__exp): Call __ieee754_exp before checking for overflow and
42715 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42716 (u_threshold): Likewise.
42717 (__expf): Call __ieee754_expf before checking for overflow and
42719 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42720 (u_threshold): Likewise.
42721 (__expl): Call __ieee754_expl before checking for overflow and
42723 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42724 (__ieee754_expl): Allow for and saturate large arguments.
42725 * math/libm-test.inc (exp_test): Add another test. Do not allow
42726 missing overflow exception on overflow.
42727 (expm1_test): Do not allow missing overflow exception on overflow.
42729 * sysdeps/i386/fpu/e_expl.c: Move to ...
42730 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42731 rather than using inline asm.
42732 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42733 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42734 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42736 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42739 (signal): Likewise.
42743 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42745 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42746 sysdeps/unix/common/syscalls.list.
42747 (fchmod): Likewise.
42748 (fchown): Likewise.
42749 (ftruncate): Likewise.
42750 (getrusage): Likewise.
42751 (gettimeofday): Likewise.
42752 (setpgid): Likewise.
42753 (setregid): Likewise.
42754 (setreuid): Likewise.
42755 (sigaction): Likewise.
42756 (truncate): Likewise.
42757 (vhangup): Likewise.
42758 * sysdeps/unix/common/syscalls.list: Remove file.
42759 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42760 * sysdeps/unix/sysv/linux/Implies: Likewise.
42762 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42764 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42766 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42770 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42773 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42779 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42782 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42785 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42788 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42792 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42796 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42799 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42803 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42807 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42809 * sysdeps/unix/common/bits/dirent.h: Remove file.
42810 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42812 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42813 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42814 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42815 * sysdeps/unix/bsd/isatty.c: Likewise.
42816 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42817 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42818 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42820 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42824 long double comparison inaccuracies.
42825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42828 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42830 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42833 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42837 nonzero digits before rounding a hex value.
42838 * stdlib/tst-strtod.c (tests): Add another test.
42840 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42842 * sysdeps/s390/fpu/libm-test-ulps: Update.
42844 2012-05-03 Andreas Jaeger <aj@suse.de>
42846 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42847 does not get optimized out.
42848 (malloc_opt_barrier): New.
42850 2012-05-03 Andreas Jaeger <aj@suse.de>
42851 Roland McGrath <roland@hack.frob.com>
42853 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42854 intermediate file deletion.
42855 (generated): Add .symlist files.
42857 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42860 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42861 Redirect under this condition.
42862 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42863 [__USE_GNU] (__dprintf_chk): Not under this condition.
42864 [__USE_GNU] (__vdprintf_chk): Likewise.
42865 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42866 under this condition.
42867 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42868 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42869 [__USE_XOPEN2K8] (vdprintf): Likewise.
42870 [__USE_GNU] (__dprintf_chk): Not under this condition.
42871 [__USE_GNU] (__vdprintf_chk): Likewise.
42872 [__USE_GNU] (dprintf): Likewise.
42873 [__USE_GNU] (vdprintf): Likewise.
42875 2012-05-03 Roland McGrath <roland@hack.frob.com>
42877 * elf/Makefile (common-generated): Set this instead of generated for
42878 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42879 $(all-built-dso)-derived lists.
42881 2012-05-03 Andreas Jaeger <aj@suse.de>
42883 * sysdeps/i386/fpu/libm-test-ulps: Update.
42886 * FAQ.in: Likewise.
42887 * scripts/gen-FAQ.pl: Likewise.
42888 * manual/install.texi (Installation): Point to online location of
42890 * Makefile (files-for-dist): Remove FAQ.
42893 2012-05-02 Allan McRae <allan@archlinux.org>
42895 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42896 (LDFLAGS-reldepmod5.so): Likewise.
42897 (LDFLAGS-reldep6mod1.so): Likewise.
42898 (LDFLAGS-reldep6mod4.so): Likewise.
42899 (LDFLAGS-reldep8mod3.so): Likewise.
42900 (LDFLAGS-unload4mod1.so): Likewise.
42901 (LDFLAGS-unload4mod2.so): Likewise.
42902 (LDFLAGS-tst-initorder): Likewise.
42903 (LDFLAGS-tst-initordera2.so): Likewise.
42904 (LDFLAGS-tst-initordera3.so): Likewise.
42905 (LDFLAGS-tst-initordera4.so): Likewise.
42906 (LDFLAGS-tst-initorderb2.so): Likewise.
42907 (LDFLAGS-noload): Likewise.
42908 (LDFLAGS-next): Likewise.
42909 (LDFLAGS-order2mod1.so): Likewise.
42910 (LDFLAGS-order2mod2.so): Likewise.
42911 (LDFLAGS-tst-initorder2): Likewise.
42912 (LDFLAGS-tst-initorder2a.so): Likewise.
42913 (LDFLAGS-tst-initorder2b.so): Likewise.
42914 (LDFLAGS-tst-initorder2c.so): Likewise.
42915 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42917 2012-05-02 David S. Miller <davem@davemloft.net>
42919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42921 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42924 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42926 2012-05-02 Andreas Jaeger <aj@suse.de>
42928 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42929 since we manipulate rounding mode.
42930 (CPPFLAGS-test-idouble.c): Likewise.
42931 (CPPFLAGS-test-ifloat.c): Likewise.
42932 (CFLAGS-test-ldouble.c): Likewise.
42933 (CFLAGS-test-double.c): Likewise.
42934 (CFLAGS-test-float.c): Likewise.
42935 (CFLAGS-test-misc.c): Likewise.
42936 (CFLAGS-test-test-fenv.c): Likewise.
42938 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42943 comparisons to determine direction to adjust input.
42945 2012-05-01 Roland McGrath <roland@hack.frob.com>
42947 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42948 output to the target.
42950 * scripts/localplt.awk: New file.
42951 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42952 (check-localplt-CFLAGS): Variable removed.
42953 ($(all-built-dso:=.jmprel)): New static pattern rule.
42954 (generated): Add those targets.
42955 (localplt-built-dso): New variable.
42956 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42958 * elf/check-localplt.c: File removed.
42960 * scripts/check-execstack.awk: New file.
42961 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42962 (check-execstack-CFLAGS): Variable removed.
42963 ($(objpfx)check-execstack.h): Target removed.
42964 ($(objpfx)execstack-default): New target.
42965 (generated): Add that instead of check-execstack.h.
42966 ($(all-built-dso:=.phdr)): New static pattern rule.
42967 (generated): Add those targets.
42968 * elf/check-execstack.c: File removed.
42970 * scripts/check-textrel.awk: New file.
42971 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42972 (check-textrel-CFLAGS): Variable removed.
42973 (all-built-dso): Use := to define.o
42974 ($(all-built-dso:=.dyn)): New static pattern rule.
42975 (generated): Add those targets.
42976 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42977 * config.make.in (READELF): New substituted variable.
42978 * elf/check-textrel.c: File removed.
42980 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42982 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42984 * conform/data/ctype.h-data [C99-based standards] (isblank):
42986 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42987 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42989 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42990 Specify type. Require positive value.
42991 (EILSEQ): Likewise.
42992 (ERANGE): Likewise.
42993 [ISO || POSIX] (EILSEQ): Do not expect.
42994 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42995 Specify type. Require positive value.
42996 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42997 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42998 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42999 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43000 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43001 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43002 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43003 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43004 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43005 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43006 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43007 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43008 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43009 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43010 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43011 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43012 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43013 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43014 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43015 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43016 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43017 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43018 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43019 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43020 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43021 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43022 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43023 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43024 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43025 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43026 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43027 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43028 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43029 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43030 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43031 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43032 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43033 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43034 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43035 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43036 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43037 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43038 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43039 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43040 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43041 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43042 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43043 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43044 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43045 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43046 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43047 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43048 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43049 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43050 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43051 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43052 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43053 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43054 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43055 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43056 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43057 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43058 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43059 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43060 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43061 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43062 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43063 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43064 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43065 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43066 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43067 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43068 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43069 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43070 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43071 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43072 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43074 (FLT_ROUNDS): Expect as macro, not constant.
43075 (FLT_MANT_DIG): Use macro-int-constant.
43076 (DBL_MANT_DIG): Likewise.
43077 (LDBL_MANT_DIG): Likewise.
43078 (FLT_DIG): Likewise.
43079 (DBL_DIG): Likewise.
43080 (LDBL_DIG): Likewise.
43081 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43082 (DBL_MIN_EXP): Likewise.
43083 (LDBL_MIN_EXP): Likewise.
43084 (FLT_MAX_EXP): Use macro-int-constant.
43085 (DBL_MAX_EXP): Likewise.
43086 (LDBL_MAX_EXP): Likewise.
43087 (FLT_MAX_10_EXP): Likewise.
43088 (DBL_MAX_10_EXP): Likewise.
43089 (LDBL_MAX_10_EXP): Likewise.
43090 (FLT_MAX): Use macro-constant.
43091 (DBL_MAX): Likewise.
43092 (LDBL_MAX): Likewise.
43093 (FLT_EPSILON): Use macro-constant. Give upper bound.
43094 (DBL_EPSILON): Likewise.
43095 (LDBL_EPSILON): Likewise.
43096 (FLT_MIN): Likewise.
43097 (DBL_MIN): Likewise.
43098 (LDBL_MIN): Likewise.
43099 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43100 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43101 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43102 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43103 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43104 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43105 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43106 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43107 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43108 [ISO11] (FLT_TRUE_MIN): Likewise.
43109 [ISO11] (LDBL_TRUE_MIN): Likewise.
43110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43111 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43112 (SCHAR_MIN): Use macro-int-constant. Specify type.
43113 (SCHAR_MAX): Likewise.
43114 (UCHAR_MAX): Likewise.
43115 (CHAR_MIN): Likewise.
43116 (CHAR_MAX): Likewise.
43117 (MB_LEN_MAX): Use macro-int-constant.
43118 (SHRT_MIN): Use macro-int-constant. Specify type.
43119 (SHRT_MAX): Likewise.
43120 (USHRT_MAX): Likewise.
43121 (INT_MAX): Likewise.
43122 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43124 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43126 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43128 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43129 bound negative. Suffix upper bound with "L".
43130 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43132 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43134 [C99-based standards] (LLONG_MAX): Likewise.
43135 [C99-based standards] (ULLONG_MAX): Likewise.
43136 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43138 [ISO11] (max_align_t): Require type.
43139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43141 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43142 from $CFLAGS, without defining away __attribute__ calls.
43143 (checknamespace): Use $CFLAGS_namespace.
43145 * conform/conformtest.pl (@keywords): Only include C99 keywords
43146 for standards based on C99 or C11.
43148 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43150 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43153 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43154 usability of symbols in #if.
43156 * conform/conformtest.pl: If macro or constant types start
43157 "promoted:", expect the symbol to be of the following type
43158 promoted by the integer promotions.
43160 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43161 in one place. Also handle "macro-constant".
43163 * conform/conformtest.pl: Only accept expected macro values with
43164 "==". Parse all "macro" lines in one place.
43165 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43167 * conform/conformtest.pl: Handle braced types on "constant" lines
43168 instead of handling "typed-constant".
43169 * conform/data/signal.h-data: Use "constant" instead of
43172 * conform/conformtest.pl: Handle "optional-" at start of lines in
43173 one place rather than duplicating several cases. Handle each
43174 format of "macro" line with initial "optional-".
43176 * conform/conformtest.pl: Only accept expected constant or
43177 optional-constant values with "==". Parse all "constant" lines in
43178 one place. Parse all "optional-constant" lines in one place.
43179 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43180 * conform/data/fmtmsg.h-data: Likewise.
43181 * conform/data/netinet/in.h-data: Likewise.
43182 * conform/data/tar.h-data: Likewise.
43183 * conform/data/limits.h-data: Use "==" form on "constant" and
43184 "optional-constant" lines.
43186 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43187 Use -std=c99 for XOPEN2K.
43188 (@knownproblems): Remove.
43189 (newtoken): Don't check %isknown.
43191 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43192 Do not expect macro.
43193 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43194 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43195 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43196 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43197 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43198 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43199 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43200 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43201 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43202 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43203 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43204 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43205 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43206 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43207 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43208 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43209 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43210 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43211 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43212 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43213 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43217 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43218 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43219 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43220 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43221 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43222 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43223 [XPG3] (acosh): Likewise.
43224 [XPG3] (asinh): Likewise.
43225 [XPG3] (atanh): Likewise.
43226 [XPG3] (cbrt): Likewise.
43227 [XPG3] (expm1): Likewise.
43228 [XPG3] (ilogb): Likewise.
43229 [XPG3] (log1p): Likewise.
43230 [XPG3] (logb): Likewise.
43231 [XPG3] (nextafter): Likewise.
43232 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43233 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43234 [XPG3] (remainder): Likewise.
43235 [XPG3] (rint): Likewise.
43236 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43237 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43238 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43239 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43240 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43241 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43242 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43243 [UNIX98 || XOPEN2K] (scalb): Expect.
43244 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43245 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43246 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43247 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43248 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43249 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43250 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43251 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43252 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43253 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43254 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43255 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43256 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43257 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43258 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43259 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43260 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43261 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43262 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43263 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43264 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43265 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43266 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43267 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43268 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43269 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43270 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43271 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43272 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43273 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43274 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43275 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43276 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43277 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43278 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43279 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43280 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43281 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43282 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43283 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43284 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43285 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43286 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43287 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43288 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43289 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43290 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43291 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43292 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43293 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43294 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43295 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43296 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43297 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43298 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43299 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43300 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43301 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43302 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43303 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43304 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43305 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43306 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43307 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43308 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43309 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43310 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43311 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43312 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43313 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43314 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43315 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43316 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43317 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43318 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43319 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43320 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43321 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43322 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43323 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43324 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43325 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43326 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43327 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43328 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43329 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43330 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43331 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43332 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43333 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43334 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43335 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43336 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43337 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43338 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43339 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43340 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43341 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43342 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43343 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43344 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43345 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43346 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43347 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43348 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43349 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43350 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43351 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43352 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43353 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43354 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43355 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43356 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43357 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43358 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43359 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43360 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43361 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43362 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43363 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43364 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43365 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43366 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43367 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43368 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43369 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43370 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43371 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43372 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43373 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43374 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43375 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43376 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43377 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43378 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43379 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43380 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43382 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43383 _XOPEN_SOURCE_EXTENDED for XPG4.
43385 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43387 * Makeconfig (localtime): Remove variable.
43388 (inst_localtime-file): Likewise.
43390 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43411 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43415 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43416 comparisons to determine direction to adjust input.
43417 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43418 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43428 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43430 * math/libm-test.inc (nexttoward_test): Add more tests.
43432 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43436 in version GLIBC_2.1, not GLIBC_2.0.
43437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43440 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43445 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43446 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43447 * math/libm-test.inc (acos_test): Add more tests.
43448 (asin_test): Likewise.
43449 * sysdeps/i386/fpu/libm-test-ulps: Update.
43450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43453 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43455 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43456 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43457 * math/libm-test.inc (acos_test_tonearest): New function.
43458 (acos_test_towardzero): Likewise.
43459 (acos_test_downward): Likewise.
43460 (acos_test_upward): Likewise.
43461 (asin_test_tonearest): Likewise.
43462 (asin_test_towardzero): Likewise.
43463 (asin_test_downward): Likewise.
43464 (asin_test_upward): Likewise.
43465 (main): Call the new functions.
43466 * sysdeps/i386/fpu/libm-test-ulps: Update.
43467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43471 * math/e_exp10.c: Include <float.h>.
43472 (__ieee754_exp10): Handle underflow here rather than multiplying
43473 large negative argument by M_LN10.
43474 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43476 * math/e_exp10l.c: Include <float.h>.
43477 (__ieee754_exp10l): Handle underflow here rather than multiplying
43478 large negative argument by M_LN10l.
43479 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43480 spurious overflow exception on underflow.
43482 2012-04-29 Marek Polacek <polacek@redhat.com>
43484 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43485 (__fortify_function): New macro.
43486 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43487 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43488 __extern_always_inline.
43489 * libio/bits/stdio2.h: Likewise.
43490 * libio/bits/stdio.h: Likewise.
43491 * string/string.h: Likewise.
43492 * string/bits/string3.h: Likewise.
43493 * include/stdio.h: Likewise.
43494 * stdlib/bits/stdlib.h: Likewise.
43495 * stdlib/stdlib.h: Likewise.
43496 * rt/bits/mqueue2.h: Likewise.
43497 * rt/mqueue.h: Likewise.
43498 * posix/bits/unistd.h: Likewise.
43499 * posix/unistd.h: Likewise.
43500 * io/bits/poll2.h: Likewise.
43501 * io/bits/fcntl2.h: Likewise.
43502 * io/fcntl.h: Likewise.
43503 * io/sys/poll.h: Likewise.
43504 * misc/bits/syslog.h: Likewise.
43505 * misc/bits/syslog-ldbl.h: Likewise.
43506 * misc/sys/syslog.h: Likewise.
43507 * socket/bits/socket2.h: Likewise.
43508 * socket/sys/socket.h: Likewise.
43509 * debug/tst-chk1.c: Likewise.
43510 * wcsmbs/bits/wchar2.h: Likewise.
43511 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43512 * wcsmbs/wchar.h: Likewise.
43514 2012-04-29 Andreas Jaeger <aj@suse.de>
43516 * Makerules (tests): Remove enable-check-abi protection.
43517 (check-abi-warn): Remove.
43518 (check-abi-%): Remove check-abi-warn usage.
43520 * configure.in: Remove check-abi configure option.
43521 * configure: Regenerated.
43522 * config.make.in (enable-check-abi): Remove.
43524 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43527 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43528 double functions to double *_finite functions.
43531 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43532 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43534 * stdio-common/Makefile (tests): Add tst-sprintf3.
43535 * stdio-common/tst-sprintf3.c: New file.
43537 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43538 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43540 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43542 * conform/conformtest.pl: Remove duplicate typed-constant
43545 2012-04-28 David S. Miller <davem@davemloft.net>
43547 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43548 (check-abi-%): Remove AWK script prerequisite and explicit
43550 (check-abi): Rewrite to just diff the symlist with the abilist.
43551 (config-tls, config-abi-config): Delete, no longer used.
43552 (update-abi-%): Remove AWK script and explicit abilist directory.
43553 (update-abi): Rewrite to simply compare and conditionally copy the
43554 symlist and the sysdep abilist file. Remove update-abi-config
43556 * abilist/ld.abilist: Remove.
43557 * abilist/libBrokenLocale.abilist: Remove.
43558 * abilist/libanl.abilist: Remove.
43559 * abilist/libcrypt.abilist: Remove.
43560 * abilist/libdl.abilist: Remove.
43561 * abilist/librt.abilist: Remove.
43562 * abilist/libthread_db.abilist: Remove.
43563 * abilist/libutil.abilist: Remove.
43564 * scripts/extract-abilist.awk: Remove.
43565 * scripts/merge-abilist.awk: Remove.
43566 * sysdeps/generic/libcidn.abilist: New file.
43567 * sysdeps/generic/libnss_compat.abilist: New file.
43568 * sysdeps/generic/libnss_db.abilist: New file.
43569 * sysdeps/generic/libnss_dns.abilist: New file.
43570 * sysdeps/generic/libnss_files.abilist: New file.
43571 * sysdeps/generic/libnss_hesiod.abilist: New file.
43572 * sysdeps/generic/libnss_nis.abilist: New file.
43573 * sysdeps/generic/libnss_nisplus.abilist: New file.
43574 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43575 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43576 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43579 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43580 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43581 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43582 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43583 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43584 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43585 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43586 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43588 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43589 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43590 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43591 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43593 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43594 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43595 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43596 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43597 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43598 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43601 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43602 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43604 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43707 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43708 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43709 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43712 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43713 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43715 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43716 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43717 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43718 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43719 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43720 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43772 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43774 * conform/conformtest.pl: Fix typo in handling typed-constant from
43777 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43779 * README: Cut down references to pre-2.6 Linux kernels and
43780 Linuxthreads. Update lists of configurations in libc and ports
43781 and sort alphabetically. Say "or newer" with Linux kernel version
43784 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43786 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43789 * math/libm-test.inc (logb_test_downward): New test to expose
43790 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43793 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43796 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43798 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43799 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43801 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43803 * sysdeps/unix/i386/brk.S: Remove file.
43804 * sysdeps/unix/i386/dl-brk.S: Likewise.
43805 * sysdeps/unix/i386/pipe.S: Likewise.
43806 * sysdeps/unix/i386/sigreturn.S: Likewise.
43807 * sysdeps/unix/i386/syscall.S: Likewise.
43808 * sysdeps/unix/i386/vfork.S: Likewise.
43809 * sysdeps/unix/i386/wait.S: Likewise.
43811 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43812 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43814 * configure.in (arm*-none*): Do not allow without
43815 --enable-hacker-mode.
43816 (netbsd*): Remove case setting base_os.
43817 (386bsd*): Likewise.
43818 (freebsd*): Likewise.
43821 (sunos*): Likewise.
43822 (ultrix*): Likewise.
43823 (newsos*): Likewise.
43824 (dynix*): Likewise.
43830 (minix*): Likewise.
43831 (irix4*): Likewise.
43832 (irix6*): Likewise.
43833 (solaris[2-9]*): Likewise.
43835 * configure: Regenerated.
43837 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43841 overflow or cancellation in calculating denominator.
43842 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43843 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43844 down expression to avoid unexpected rounding in newer GCCs.
43845 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43847 2012-04-26 David S. Miller <davem@davemloft.net>
43849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43850 long-double compat symbols.
43851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43865 2012-04-25 David S. Miller <davem@davemloft.net>
43867 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43868 HWCAP_* values only after the memory barriers have been defined.
43869 (atomic_full_barrier): Define.
43870 (atomic_read_barrier): Define.
43871 (atomic_write_barrier): Define.
43873 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43875 * shlib-versions: Add libgcc_s version information.
43876 * sysdeps/generic/libgcc_s.h: Remove.
43877 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43879 * sysdeps/gnu/unwind-resume.c: Likewise.
43880 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43882 2012-04-25 David S. Miller <davem@davemloft.net>
43884 * sysdeps/unix/sparc/brk.S: Delete.
43885 * sysdeps/unix/sparc/dl-brk.S: Delete.
43886 * sysdeps/unix/sparc/pipe.S: Delete.
43887 * sysdeps/unix/sparc/sysdep.S: Delete.
43888 * sysdeps/unix/sparc/sysdep.h: Delete.
43889 * sysdeps/unix/sparc/vfork.S: Delete.
43890 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43891 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43893 (ret_ERRVAL, r0, r1, MOVE): Define.
43894 (JUMPTARGET): Remove.
43895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43896 sysdeps/unix/sparc/sysdep.h
43897 (ENTRY, END): Remove.
43898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43900 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43902 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43903 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43906 * timezone/README: Update upstream location and email address for
43908 * timezone/zdump.c: Update from tzcode 2012b.
43909 * timezone/zic.c: Likewise.
43911 * configure.in (libc_cv_as_needed): Remove test.
43912 * configure: Regenerated.
43913 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43914 conditional definition.
43915 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43916 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43917 * config.make.in (have-as-needed): Remove variable.
43919 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43920 Paul Pluzhnikov <ppluzhnikov@google.com>
43922 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43925 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43927 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43928 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43929 * sysdeps/sh/strlen.S: Likewise.
43931 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43933 * sysdeps/unix/fork.S: Remove file.
43934 * sysdeps/unix/i386/fork.S: Likewise.
43935 * sysdeps/unix/sparc/fork.S: Likewise.
43937 * sysdeps/unix/system.c: Remove file.
43938 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43940 * sysdeps/unix/getegid.S: Remove file.
43941 * sysdeps/unix/geteuid.S: Likewise.
43943 2012-04-24 Roland McGrath <roland@hack.frob.com>
43945 * scripts/check-localplt.awk: New file.
43946 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43948 * scripts/data/localplt-generic.data: Add a comment.
43950 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43951 NODE when __dir_mkfile failed.
43952 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43953 Reported by Ludovic Courtès <ludo@gnu.org>.
43955 2012-04-24 Andreas Jaeger <aj@suse.de>
43957 * Makerules (common-clean): Also remove gen-as-const-headers
43960 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43962 * Makerules (native-compile): Do not change working directory for
43963 build. Use $(OUTPUT_OPTION) in command.
43964 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43966 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43969 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43970 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43971 * math/libm-test.inc (floor_test): Add more tests.
43972 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43974 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43976 * sysdeps/unix/getdents.c: Remove file.
43977 * sysdeps/unix/sysv/getdents.c: Likewise.
43978 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43980 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43981 sysdeps/unix/mman/syscalls.list.
43983 (mprotect): Likewise.
43985 (munmap): Likewise.
43986 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43987 * sysdeps/unix/mman/syscalls.list: Remove.
43988 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43990 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43991 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43992 * configure: Regenerated.
43993 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43994 $(libgcc_s_suffix).
43995 * config.make.in (libgcc_s_suffix): Remove variable.
43997 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43999 * sysdeps/unix/sysv/gethostname.c: Move to ...
44000 * sysdeps/posix/gethostname.c: ... here.
44002 * sysdeps/unix/execve.S: Remove file.
44004 * sysdeps/unix/_exit.S: Remove file.
44006 2012-04-23 Andreas Jaeger <aj@suse.de>
44009 * manual/Makefile: Remove make dist support, there's no
44010 need for a stand-alone documentation tar ball.
44011 (TEXI2DVI): Define always, it's not in Makeconfig.
44014 (edition): Removed.
44015 (glibc-doc-$(edition).tar): Removed
44019 (ETAGS): Remove, it's in Makeconfig.
44020 (move-if-change): Remove, it's in Makeconfig.
44022 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
44025 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44026 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44027 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44028 (strtod_l, strtof_l, strtold_l): Remove __wur.
44029 It is not necessarily an error to ignore strtol's return value.
44030 One can reliably look at the stored endptr to decide whether
44031 the number had valid syntax.
44033 2012-04-21 Andreas Jaeger <aj@suse.de>
44036 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44038 2012-04-21 Joseph Myers <joseph@codesourcery.com>
44040 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44041 * sysdeps/unix/sysv/Versions: Remove file.
44043 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44048 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
44051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44052 version from __vm86.
44054 2012-04-20 Joseph Myers <joseph@codesourcery.com>
44056 * sysdeps/unix/common/lxstat.c: Remove file.
44057 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44059 * sysdeps/unix/sysv/Makefile: Remove file.
44061 * sysdeps/unix/sysv/direct.h: Remove file.
44063 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44064 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44065 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44066 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44067 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44068 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44069 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44071 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44073 * sysdeps/unix/xmknod.c: Remove file.
44074 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44076 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44078 * sysdeps/unix/sysv/i386/time.S: Remove file.
44080 * sysdeps/unix/fxstat.c: Remove file.
44081 * sysdeps/unix/xstat.c: Likewise.
44082 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44084 * sysdeps/unix/sysv/sigaction.c: Remove file.
44086 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44087 (sysdep_headers): Remove variable.
44088 [termio.h not in sysdep_headers] (generated): Likewise.
44089 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44090 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44091 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44092 * sysdeps/unix/sysv/tcflow.c: Likewise.
44093 * sysdeps/unix/sysv/tcflush.c: Likewise.
44094 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44095 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44096 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44097 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44098 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44100 * sysdeps/unix/siglist.c: Remove file.
44102 * sysdeps/unix/getppid.S: Remove file.
44104 * sysdeps/unix/mkdir.c: Remove file.
44105 * sysdeps/unix/rmdir.c: Likewise.
44107 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44109 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44111 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44112 errlist-compat value.
44114 2012-04-18 David S. Miller <davem@davemloft.net>
44116 * sysdeps/generic/memcopy.h (reg_char): Delete.
44117 * debug/strcat_chk.c: Use char, not reg_char.
44118 * debug/strcpy_chk.c: Likewise.
44119 * debug/strncat_chk.c: Likewise.
44120 * debug/strncpy_chk.c: Likewise.
44121 * string/memchr.c: Likewise.
44122 * string/memrchr.c: Likewise.
44123 * string/rawmemchr.c: Likewise.
44124 * string/strcat.c: Likewise.
44125 * string/strchr.c: Likewise.
44126 * string/strchrnul.c: Likewise.
44127 * string/strcmp.c: Likewise.
44128 * string/strcpy.c: Likewise.
44129 * string/strncat.c: Likewise.
44130 * string/strncmp.c: Likewise.
44131 * string/strncpy.c: Likewise.
44133 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44135 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44136 __builtin_memcopy is called when src and dest ranges are known to not
44139 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44142 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44143 fwd_align_merge macro call.
44144 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44145 bwd_align_merge macro call.
44146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44148 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44151 bwd_align_merge macros.
44152 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44153 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44154 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44156 2012-04-18 David S. Miller <davem@davemloft.net>
44158 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44160 2012-04-18 Andreas Jaeger <aj@suse.de>
44163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44164 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44168 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44169 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44171 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44172 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44173 Adjust for changed ldbl-128 files.
44175 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44176 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44177 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44179 2012-04-17 David S. Miller <davem@davemloft.net>
44181 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44183 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44185 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44186 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44187 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44188 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44189 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44190 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44192 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44195 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44196 * math/libm-test.inc: Add ilogb errno and exception tests.
44197 * math/w_ilogb.c: New file: ilogb wrapper.
44198 * math/w_ilogbf.c: New file: ilogbf wrapper.
44199 * math/w_ilogbl.c: New file: ilogbl wrapper.
44200 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44201 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44202 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44203 exception being thrown with 0.0 as argument.
44204 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44205 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44206 exception being thrown with 0.0 as argument.
44207 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44208 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44209 exception being thrown with 0.0 as argument.
44210 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44211 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44212 exception being thrown with 0.0 as argument.
44213 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44214 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44215 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44216 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44217 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44218 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44219 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44220 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44221 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44223 2012-04-17 Petr Baudis <pasky@ucw.cz>
44225 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44228 2012-04-16 Marek Polacek <polacek@redhat.com>
44230 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44232 2012-04-16 Marek Polacek <polacek@redhat.com>
44234 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44235 operands of fdivp instruction.
44237 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44239 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44240 * elf/tst-auditmod3b.c: Likewise.
44241 * elf/tst-auditmod4b.c: Likewise.
44242 * elf/tst-auditmod5b.c: Likewise.
44243 * elf/tst-auditmod6b.c: Likewise.
44244 * elf/tst-auditmod6c.c: Likewise.
44245 * elf/tst-auditmod7b.c: Likewise.
44246 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44247 * sysdeps/x86_64/preconfigure.in: Likewise.
44248 * sysdeps/x86_64/preconfigure: Regenerated.
44250 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44252 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44255 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
44257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44258 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44260 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44263 * locale/iso-639.def: Fix gl language name. Spotted by
44266 2012-04-12 Roland McGrath <roland@hack.frob.com>
44269 * libio/libio.h (__io_write_fn): Update comment.
44271 2012-04-12 Petr Baudis <pasky@ucw.cz>
44274 * stdio.texi (Hook Functions): The user provided writer function
44275 is not allowed to return -1.
44277 2012-04-11 David S. Miller <davem@davemloft.net>
44279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44281 2012-04-11 Mike Frysinger <vapier@gentoo.org>
44283 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44284 Add a leading slash to rtkaio.
44286 2012-04-11 Jim Meyering <meyering@redhat.com>
44289 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44290 It is not necessarily an error to ignore fwrite's return
44291 value. One can reliably use ferror to test for errors after
44294 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44296 * bits/types.h (__snseconds_t): New type.
44297 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44299 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44301 (__SNSECONDS_T_TYPE): Likewise.
44302 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44303 (__SNSECONDS_T_TYPE): Likewise.
44304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44305 (__SNSECONDS_T_TYPE): Likewise.
44307 2012-04-10 Andreas Jaeger <aj@suse.de>
44310 * manual/time.texi (Processor Time): Return type of times is
44311 elapsed real time since an arbitrary point in the past.
44312 (CPU Time): Move CLK_TCK from here...
44313 (Processor Time): ...to here. Correct description.
44314 * manual/conf.texi (Constants for Sysconf): Correct description of
44317 2012-04-10 David S. Miller <davem@davemloft.net>
44320 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44321 where the is a gap between DT_REL(A) and DT_JMPREL.
44323 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44325 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44326 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44327 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44329 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44331 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44332 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44333 (dl_main): Handle --inhibit-cache.
44334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44336 * elf/dl-load.c (_dl_map_object): Use it.
44337 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44339 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44342 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44343 (__ieee754_powl): Saturate large exponents rather than testing for
44344 overflow of y*log2(x).
44345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44346 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44350 * math/s_ctan.c: Include <float.h>.
44351 (__ctan): Avoid internal overflow or cancellation in calculating
44353 * math/s_ctanf.c: Likewise.
44354 * math/s_ctanl.c: Likewise.
44355 * math/s_ctanh.c: Likewise.
44356 * math/s_ctanhf.c: Likewise.
44357 * math/s_ctanhl.c: Likewise.
44358 * math/libm-test.inc (ctan_test): Add more tests.
44359 (ctanh_test): Likewise.
44360 * sysdeps/i386/fpu/libm-test-ulps: Update.
44361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44363 2012-04-09 Andreas Jaeger <aj@suse.de>
44366 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44367 is an optional BSD extension.
44370 * manual/stdio.texi (Opening Streams): Document additional fopen
44373 2012-04-09 Roland McGrath <roland@hack.frob.com>
44375 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44376 %eax without telling the compiler.
44378 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44381 * manual/install.texi: Use sourceware.org.
44383 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44386 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44387 (__ieee754_pow): Generate overflow and underflow using huge*huge
44388 and tiny*tiny rather than just returning constant infinity or zero
44389 for large exponents.
44390 * math/libm-test.inc (pow_test): Require overflow exceptions for
44391 applicable cases of large exponents.
44394 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44395 (__ieee754_pow): Use iterative multiplication algorithm only for
44396 integer exponents with absolute value below 1024. Check for odd
44397 integer exponents when using algorithm for real exponents.
44398 * math/libm-test.inc (pow_test): Add more tests.
44399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44401 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44404 * math/libm-test.inc (exp_test): Do not allow overflow exception
44407 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44410 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44411 instead of __kernel_standard_f.
44413 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44415 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44416 * sysdeps/x86_64/memset_chk.S: Likewise.
44418 2012-04-08 Andreas Jaeger <aj@suse.de>
44421 * manual/startup.texi (Environment Access): Describe return value
44422 for putenv and setenv.
44425 * manual/filesys.texi (Directory Entries): Add description for
44429 * manual/filesys.texi (Directory Entries): Clarify that it's file
44430 system not operating system in the description of DT_UNKNOWN.
44433 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44435 2012-04-08 Stephen Compall <s11@member.fsf.org>
44438 * manual/llio.texi (Opening and Closing Files): Add cross
44439 reference to explain mode argument.
44441 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44443 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44444 * sysdeps/x86_64/memset_chk.S: Likewise.
44446 2012-04-07 David S. Miller <davem@davemloft.net>
44448 * elf/elf.h (R_SPARC_WDISP10): Define.
44449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44452 R_SPARC_SIZE64 and R_SPARC_H34.
44454 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44457 conditions and remove no longer applicable assertion.
44459 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44461 * bits/byteswap.h: Include <features.h>.
44462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44465 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44467 * bits/byteswap.h (__bswap_16): Removed.
44468 Include <bits/byteswap-16.h> to get __bswap_16.
44469 * sysdeps/i386/bits/byteswap.h: Likewise.
44470 * sysdeps/s390/bits/byteswap.h: Likewise.
44471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44472 * bits/byteswap-16.h: New file.
44473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44474 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44475 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44476 * string/Makefile (headers): Add bits/byteswap-16.h.
44478 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44481 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44483 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44484 * nss/tst-nss-static.c: New.
44486 2012-04-06 Robert Millan <rmh@gnu.org>
44489 * manual/llio.texi (File Position Primitive): lseek
44490 refers to WHENCE when it really means OFFSET.
44492 2012-04-06 Andreas Jaeger <aj@suse.de>
44494 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44495 strncmp declarations.
44497 * abilist/libc.abilist: Add __poll and __ppoll.
44499 2012-04-05 David S. Miller <davem@davemloft.net>
44501 * scripts/check-local-headers.sh: Accept a host triplet in the
44502 path matched by the exclude regexp.
44504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44506 * sysdeps/powerpc/powerpc32/dl-machine.h
44507 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44508 * sysdeps/s390/s390-32/dl-machine.h
44509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44510 * sysdeps/sparc/sparc32/dl-machine.h
44511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44512 * sysdeps/sparc/sparc64/dl-machine.h
44513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44515 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44517 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44518 undefined symbol errors.
44520 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44523 2012-04-05 Michael Matz <matz@suse.de>
44526 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44528 2012-04-05 Andreas Jaeger <aj@suse.de>
44531 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44534 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44537 which ROUND is no valid rounding mode.
44539 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44543 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44545 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44547 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44548 an exception using FPU order intentionally.
44550 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44552 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44553 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44554 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44555 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44557 2012-04-05 Simon Josefsson <simon@josefsson.org>
44560 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44561 EINVAL when BUFLEN is too smal.
44563 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44566 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44567 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44569 2012-04-03 Andreas Jaeger <aj@suse.de>
44572 * manual/setjmp.texi (System V contexts): Fix sentence.
44575 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44576 New macro for this case.
44577 [!__GNUC__] (__bswap_64): New inline function for this case.
44578 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44579 * bits/byteswap.h: Likewise.
44580 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44581 ull, guard with __GLIBC_HAVE_LONG_LONG.
44583 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44584 __GLIBC_HAVE_LONG_LONG.
44586 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44587 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44589 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44592 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44593 inptr and inend, rather than using last_ch.
44595 2012-04-02 David S. Miller <davem@davemloft.net>
44597 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44598 * stdio-common/printf-parse.h (read_int): Change return type to
44599 'int', return -1 on INT_MAX overflow.
44600 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44601 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44602 overflows INT_MAX. Check for overflow of in-format-string precision
44603 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44604 SIZE_MAX not INT_MAX for integer overflow test.
44605 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44606 skip the construct in the format string but do not record anything.
44607 * stdio-common/bug22.c: Adjust to test both width/prevision
44608 INT_MAX overflow as well as total length INT_MAX overflow. Check
44609 explicitly for proper errno values.
44611 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44613 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44615 * string/test-strcmp.c [! WIDE]: Likewise.
44616 * time/tst-mktime2.c: Likewise for INT_MAX.
44617 * string/test-string.h: #include <sys/param.h> for MIN.
44619 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44620 * sysdeps/i386/init-first.c (init): Likewise.
44621 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44622 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44623 * sysdeps/sh/init-first.c (init): Likewise.
44625 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44627 * po/ru.po: Update from translation team.
44628 * po/vi.po: Likewise.
44630 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44632 * resolv/nss_dns/dns-host.c: Merge copyright years.
44634 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44637 Optimize memcpy with prefetch if
44638 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44639 src, dst pointers have unequal 16 byte alignments.
44641 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44644 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44645 from a CNAME entry and return the minimum ttl for the query.
44646 (gaih_getanswer_slice): Likewise.
44648 2012-03-30 Jeff Law <law@redhat.com>
44650 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44652 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44653 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44655 * resolv/nss_dns/dns-host.c: Update copyright year.
44657 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44659 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44660 requests to save a system call. Fix check that all bytes are sent.
44662 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44663 comments for sendmmsg.
44665 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44668 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44669 with only 1 character between 0x0041 and 0x01b0.
44670 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44671 * wcsmbs/tst-mbsnrtowcs.c: New file.
44673 2012-03-29 David S. Miller <davem@davemloft.net>
44675 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44676 small copies by hand.
44678 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44681 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44682 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44685 2012-03-28 David S. Miller <davem@davemloft.net>
44687 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44688 that branches into memcpy.
44689 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44692 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44695 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44696 implementation too.
44697 * sysdeps/sparc/mempcpy.S: New file.
44699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44700 the IFUNC routine in the libc case.
44701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44705 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44706 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44707 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44708 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44709 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44710 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44712 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44713 loop to 256 bytes instead of 64 bytes and fix test signedness.
44715 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44716 * sysdeps/sparc/sparc32/Makefile: rather than here...
44717 * sysdeps/sparc/sparc64/Makefile: and here.
44719 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44721 * malloc/mallocbug.c: Avoid warnings about unused variables.
44723 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44726 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44727 in the right place. Discard and retry query if response is
44728 larger than input buffer size.
44730 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44735 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44736 x for large integer exponent.
44737 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44738 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44739 sign of result as needed afterwards.
44740 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44742 result for underflowing pow the same as for overflow.
44743 (__kernel_standard_l): Handle powl overflow and underflow here
44744 rather than calling __kernel_standard.
44745 * math/libm-test.inc (pow_test): Add more tests.
44760 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44761 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44762 (__kernel_standard_l): New function.
44763 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44765 * math/w_acosl.c (__acosl): Likewise.
44766 * math/w_asinl.c (__asinl): Likewise.
44767 * math/w_atan2l.c (__atan2l): Likewise.
44768 * math/w_atanhl.c (__atanhl): Likewise.
44769 * math/w_coshl.c (__coshl): Likewise.
44770 * math/w_exp10l.c (__exp10l): Likewise.
44771 * math/w_exp2l.c (__exp2l): Likewise.
44772 * math/w_fmodl.c (__fmodl): Likewise.
44773 * math/w_hypotl.c (__hypotl): Likewise.
44774 * math/w_j0l.c (__j0l, __y0l): Likewise.
44775 * math/w_j1l.c (__j1l, __y1l): Likewise.
44776 * math/w_jnl.c (__jnl, __ynl): Likewise.
44777 * math/w_lgammal.c (__lgammal): Likewise.
44778 * math/w_log10l.c (__log10l): Likewise.
44779 * math/w_log2l.c (__log2l): Likewise.
44780 * math/w_logl.c (__logl): Likewise.
44781 * math/w_powl.c (__powl): Likewise.
44782 * math/w_remainderl.c (__remainderl): Likewise.
44783 * math/w_scalbl.c (sysv_scalbl): Likewise.
44784 * math/w_sinhl.c (__sinhl): Likewise.
44785 * math/w_sqrtl.c (__sqrtl): Likewise.
44786 * math/w_tgammal.c (__tgammal): Likewise.
44787 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44788 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44789 * math/libm-test.inc (acos_test): Add more tests.
44790 (acosh_test): Likewise.
44791 (asin_test): Likewise.
44792 (atanh_test): Likewise.
44793 (exp_test): Likewise.
44794 (exp10_test): Likewise.
44795 (exp2_test): Likewise.
44796 (expm1_test): Likewise.
44797 (lgamma_test): Likewise.
44798 (log_test): Likewise.
44799 (log10_test): Likewise.
44800 (log1p_test): Likewise.
44801 (log2_test): Likewise.
44802 (pow_test): Do not allow some spurious overflow exceptions.
44803 (sqrt_test): Add more tests.
44804 (tgamma_test): Likewise.
44805 (y0_test): Likewise.
44806 (y1_test): Likewise.
44807 (yn_test): Likewise.
44809 2012-03-27 Anton Blanchard <anton@samba.org>
44811 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44817 2012-03-27 David S. Miller <davem@davemloft.net>
44819 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44821 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44822 have-as-vis3 check.
44824 2012-03-27 Andreas Jaeger <aj@suse.de>
44826 * sysdeps/x86_64/elf/configure.in: Moved to ...
44827 * sysdeps/x86_64/configure.in: ... here.
44828 * sysdeps/x86_64/elf/start.S: Moved to ...
44829 * sysdeps/x86_64/start.S: ... here.
44830 * sysdeps/x86_64/elf/configure: Delete.
44832 * sysdeps/x86_64/configure.in: Merge contents from
44833 sysdeps/i386/configure.in (without i686 check).
44835 * sysdeps/i386/elf/Versions: Merge into ...
44836 * sysdeps/i386/Versions: ... this.
44837 * sysdeps/i386/elf/Versions: Delete file.
44838 * sysdeps/i386/elf/start.S: Moved to ...
44839 * sysdeps/i386/start.S: ...here.
44840 * sysdeps/i386/elf/configure.in: Merge into...
44841 * sysdeps/i386/configure.in: ...here.
44842 * sysdeps/i386/elf/configure.in: Delete file.
44843 * sysdeps/i386/elf/configure: Delete file.
44845 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44846 * debug/backtracesyms.c: ... here.
44847 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44848 * debug/backtracesymsfd.c: ... here.
44849 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44850 * sysdeps/generic/ifunc-sel.h: ... here.
44852 * sysdeps/unix/i386/start.c: Delete file.
44853 * sysdeps/unix/sparc/start.c: Delete file.
44854 * sysdeps/unix/start.c: Delete file.
44856 * sysdeps/sh/elf/configure.in: Moved to ...
44857 * sysdeps/sh/configure.in: ... here.
44858 * sysdeps/sh/elf/start.S: Moved to ...
44859 * sysdeps/sh/start.S: ... here.
44860 * sysdeps/sh/elf/configure: Delete file.
44862 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44863 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44864 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44865 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44866 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44867 * sysdeps/powerpc/powerpc64/start.S: here.
44868 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44869 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44870 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44871 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44872 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44874 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44875 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44876 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44877 * sysdeps/powerpc/powerpc32/start.S: ... here.
44878 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44879 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44880 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44882 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44883 * sysdeps/powerpc/ifunc-sel.h: ... here.
44884 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44885 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44887 * sysdeps/sparc/elf/configure.in: Moved to ...
44888 * sysdeps/sparc/configure.in: ... here.
44889 * sysdeps/sparc/elf/configure: Delete file.
44890 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44891 * sysdeps/sparc/sparc32/start.S: ... here.
44892 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44893 * sysdeps/sparc/sparc64/start.S: ... here.
44894 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44895 * sysdeps/sparc/sparc32/Makefile: ... this.
44896 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44897 * sysdeps/sparc/sparc64/Makefile: ... this.
44899 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44900 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44901 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44902 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44903 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44904 * sysdeps/s390/s390-32/setjmp.S: ... here.
44905 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44906 * sysdeps/s390/s390-32/configure.in: ... here.
44907 * sysdeps/s390/s390-32/elf/configure: Delete file.
44908 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44909 * sysdeps/s390/s390-32/start.S: ... here.
44911 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44912 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44913 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44914 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44915 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44916 * sysdeps/s390/s390-64/setjmp.S: ... here.
44917 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44918 * sysdeps/s390/s390-64/configure.in: ... here
44919 * sysdeps/s390/s390-64/elf/configure: Delete file.
44920 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44921 * sysdeps/s390/s390-64/start.S: ... here.
44922 * sysdeps/s390/s390-64/elf/configure: Delete.
44924 * configure.in: Remove support for elf directories in sysdeps.
44926 * configure: Regenerated.
44927 * sysdeps/i386/configure: Regenerated.
44928 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44929 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44930 * sysdeps/s390/s390-32/configure: Regenerated.
44931 * sysdeps/s390/s390-64/configure: Regenerated.
44932 * sysdeps/sh/configure: Regenerated.
44933 * sysdeps/sparc/configure: Regenerated.
44934 * sysdeps/x86_64/configure: Regenerated.
44936 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44941 denormal result into account.
44943 2012-03-25 Roland McGrath <roland@hack.frob.com>
44945 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44946 Reported by Allan McRae <allan@archlinux.org>.
44948 2012-03-23 Jeff Law <law@redhat.com>
44950 * nss/getnssent.c (__nss_getent): Fix typo.
44952 2012-03-23 David S. Miller <davem@davemloft.net>
44954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44956 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44958 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44959 to pad to uint64_t for each field.
44960 (dl_tls_index): Replace unsigned long with uint64_t.
44962 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44963 Paul Pluzhnikov <ppluzhnikov@google.com>
44966 * grp/Makefile (otherlibs): Don't set it.
44967 * inet/Makefile (otherlibs): Likewise.
44968 * login/Makefile (otherlibs): Likewise.
44969 * nscd/Makefile (otherlibs): Likewise.
44970 * posix/Makefile (otherlibs): Likewise.
44971 * pwd/Makefile (otherlibs): Likewise.
44972 * rt/Makefile (otherlibs): Likewise.
44973 * sunrpc/Makefile (otherlibs): Likewise.
44974 * nss/Makefile (otherlibs): Likewise.
44975 Add libnss_files to routines and static-only-routines.
44976 ($(objpfx)getent): Remove rule.
44977 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44978 static-only-routines.
44980 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44983 * math/s_cexp.c: Include <float.h>.
44984 (__cexp): Handle exp result overflowing not necessarily
44985 overflowing both real and imaginary parts of result.
44986 * math/s_cexpf.c: Likewise.
44987 * math/s_cexpl.c: Likewise.
44988 * math/libm-test.inc (cexp_test): Add more tests.
44989 * sysdeps/i386/fpu/libm-test-ulps: Update.
44990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44992 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44994 * include/link.h (ELFW): New macro.
44995 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44996 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44998 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45000 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45003 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45005 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45007 (struct La_x32_retval): Likewise.
45009 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45011 * sysdeps/x86_64/preconfigure.in: New file.
45012 * sysdeps/x86_64/preconfigure: New generated file.
45014 2012-03-22 Joseph Myers <joseph@codesourcery.com>
45017 * math/e_exp2l.c: Include <float.h>.
45018 (__ieee754_exp2l): Handle overflow and underflow cases
45019 separately. Only pass fractional part of argument to
45021 * math/libm-test.inc (exp2_test): Add more tests.
45023 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45024 negating x to take absolute value.
45025 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45030 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45031 computing low part if x was negated.
45032 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45034 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45036 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45037 la_x32_gnu_pltexit.
45038 (pltexit): Cast int_retval to ptrdiff_t.
45039 * elf/tst-auditmod3b.c: Likewise.
45040 * elf/tst-auditmod4b.c: Likewise.
45041 * elf/tst-auditmod5b.c: Likewise.
45042 * elf/tst-auditmod6b.c: Likewise.
45043 * elf/tst-auditmod6c.c: Likewise.
45044 * elf/tst-auditmod7b.c: Likewise.
45046 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45047 and x32_gnu_pltexit.
45049 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45050 __ELF_NATIVE_CLASS.
45051 (La_x32_regs): New macro.
45052 (La_x32_retval): Likewise.
45053 (la_x32_gnu_pltenter): New function prototype.
45054 (la_x32_gnu_pltexit): Likewise.
45056 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45063 * configure.in (libc_cv_cc_nofma): Check for option to disable
45064 generation of FMA instructions.
45065 * configure: Regenerate.
45066 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45067 * sysdeps/ieee754/dbl-64/Makefile: New file.
45068 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45069 Remove brandred-fma4.
45070 (CFLAGS-brandred-fma4.c): Remove.
45071 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45077 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45079 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45080 LLONG_MAX != LONG_MAX.
45081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45082 (_fitoa_word): Likewise.
45083 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45084 LLONG_MAX != LONG_MAX.
45085 * stdio-common/_itowa.h: Include <_itoa.h>.
45086 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45087 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45088 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45089 only if not defined.
45090 (_ITOA_WORD_TYPE): Likewise.
45091 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45092 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45094 2012-03-21 David S. Miller <davem@davemloft.net>
45096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45098 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45100 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45101 of x86_64 when setting libc_cv_slibdir, libdir and
45103 * sysdeps/unix/sysv/linux/configure: Regenerated.
45105 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45107 * manual/lang.texi (Old Varargs): Remove section.
45108 (How Variadic): Update menu.
45109 (va_start): Do not mention varargs.h.
45111 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45112 Joseph Myers <joseph@codesourcery.com>
45114 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45116 * configure: Regenerated.
45118 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45120 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45121 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45124 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45127 * Makefile (files-for-dist): Remove NOTES.
45128 (NOTES): Remove rule.
45129 * README: Don't refer to NOTES.
45130 * manual/creature.texi: Don't include macros.texi.
45131 * manual/intro.texi (creature.texi): Remove comment referring to
45134 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45135 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45136 * configure: Regenerated.
45137 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45138 LIBC_TRY_CC_OPTION.
45139 (libc_cv_as_i686): Likewise.
45140 (libc_cv_cc_avx): Likewise.
45141 (libc_cv_cc_sse2avx): Likewise.
45142 (libc_cv_cc_fma4): Likewise.
45143 (libc_cv_cc_novzeroupper): Likewise.
45144 * sysdeps/i386/configure: Regenerated.
45147 * sysdeps/i386/fpu/s_cexp.S: Remove.
45148 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45149 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45150 * math/libm-test.inc (cexp_test): Add more tests.
45151 * sysdeps/i386/fpu/libm-test-ulps: Update.
45152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45154 2012-03-21 Allan McRae <allan@archlinux.org>
45156 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45158 2012-03-21 Joseph Myers <joseph@codesourcery.com>
45161 * math/w_exp2.c: Do not include <float.h>.
45162 (o_threshold, u_threshold): Remove.
45163 (__exp2): Calculate result before checking finiteness and calling
45165 * math/w_exp2f.c: Likewise.
45166 * math/w_exp2l.c: Likewise.
45167 * math/libm-test.inc (exp2_test): Require overflow exception for
45171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45172 range of signed 64-bit integers before using fistpll. Remove
45173 checks for whether integers fit in mantissa bits.
45174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45175 the range of signed 32-bit integers before using fistpl. Remove
45176 checks for whether integers fit in mantissa bits.
45177 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45178 (__ieee754_powl): Test for y outside the range of signed 64-bit
45179 integers before using fistpll. Reduce 64-bit values to 63-bit
45181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45182 divide-by-zero is raised for zero to large negative powers.
45183 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45184 (__ieee754_powl): Test for y outside the range of signed 64-bit
45185 integers before using fistpll. Reduce 64-bit values to 63-bit
45187 * math/libm-test.inc (pow_test): Add more tests.
45189 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45191 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45192 <stdio-common/_itoa.h>.
45193 * debug/segfault.c: Likewise.
45194 * elf/dl-cache.c: Likewise.
45195 * elf/dl-minimal.c: Likewise.
45196 * elf/dl-misc.c: Likewise.
45197 * elf/dl-sysdep.c: Likewise.
45198 * elf/dl-version.c: Likewise.
45199 * elf/rtld.c: Likewise.
45200 * hurd/hurdsock.c: Likewise.
45201 * hurd/lookup-retry.c: Likewise.
45202 * malloc/malloc.c: Likewise.
45203 * malloc/mtrace.c: Likewise.
45204 * nscd/nscd_getgr_r.c: Likewise.
45205 * nscd/nscd_getpw_r.c: Likewise.
45206 * nscd/nscd_getserv_r.c: Likewise.
45207 * posix/getopt_init.c: Likewise.
45208 * posix/wordexp.c: Likewise.
45209 * stdio-common/_itoa.c: Likewise.
45210 * stdio-common/printf_fphex.c: Likewise.
45211 * stdio-common/vfprintf.c: Likewise.
45212 * string/_strerror.c: Likewise.
45213 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45214 * sysdeps/i386/i686/hp-timing.h: Likewise.
45215 * sysdeps/mach/_strerror.c: Likewise.
45216 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45217 * sysdeps/mach/hurd/sethostid.c: Likewise.
45218 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45219 * sysdeps/mach/xpg-strerror.c: Likewise.
45220 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45221 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45222 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45223 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45224 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45225 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45227 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45228 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45229 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45230 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45231 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45232 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45233 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45234 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45235 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45236 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45237 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45238 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45239 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45240 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45242 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45244 * stdio-common/_itoa.h: Moved to ...
45245 * sysdeps/generic/_itoa.h: Here.
45247 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45249 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45250 instead of "_itoa.h" and "_itowa.h".
45251 * stdio-common/vfprintf.: Likewise.
45253 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45255 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45257 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45258 (__signbit): Likwise.
45259 (llrintf): Likwise.
45262 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45264 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45267 2012-03-20 Joseph Myers <joseph@codesourcery.com>
45269 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45270 OVERFLOW_EXCEPTION_OK.
45271 * math/libm-test.inc ("Philosophy"): Update comment about
45273 (OVERFLOW_EXCEPTION): Define.
45274 (OVERFLOW_EXCEPTION_OK): Likewise.
45275 (INVALID_EXCEPTION_OK): Renumber.
45276 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45277 (IGNORE_ZERO_INF_SIGN): Likewise.
45278 (test_exceptions): Handle FE_OVERFLOW.
45279 (exp10_test): Expect overflow exceptions.
45280 (exp2_test): Likewise.
45281 (expm1_test): Likewise.
45282 (nextafter_test): Likewise.
45283 (pow_test): Likewise.
45284 (scalbn_test): Likewise.
45285 (scalbln_test): Likewise.
45287 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45289 * sysdeps/x86_64/bits/atomic.h
45290 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45292 (atomic_exchange_acq): Likewise.
45293 (__arch_exchange_and_add_body): Likewise.
45294 (__arch_add_body): Likewise.
45295 (atomic_add_negative): Likewise.
45296 (atomic_add_zero): Likewise.
45298 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45300 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45301 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45303 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45305 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45306 Check __x86_64__ instead of __WORDSIZE.
45308 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45310 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45312 2012-03-19 David S. Miller <davem@davemloft.net>
45314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45316 * sysdeps/sparc/fpu/fenv_private.h: New file.
45317 * sysdeps/sparc/fpu/math_private.h: Use it.
45318 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45321 (libc_feholdexcept_setroundl): Remove.
45322 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45327 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45329 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45330 int64_t instead of long int.
45331 (INSERT_WORDS64): Likwise.
45333 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45335 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45336 _Unwind_GetCFA return to _Unwind_Ptr first.
45338 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45341 * math/s_clog.c: Include <float.h>.
45342 (__clog): Scale large or subnormal inputs.
45343 * math/s_clogf.c: Likewise.
45344 * math/s_clogl.c: Likewise.
45345 * math/s_clog10.c: Include <float.h>.
45346 (M_LOG10_2): Define.
45347 (__clog10): Scale large or subnormal inputs.
45348 * math/s_clog10f.c: Likewise.
45349 * math/s_clog10l.c: Likewise.
45350 * math/libm-test.inc (clog_test): Add more tests.
45351 (clog10_test): Likewise.
45352 * sysdeps/i386/fpu/libm-test-ulps: Update.
45353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45358 * math/libm-test.inc (atan2_test): Add another test.
45360 * Makerules (common-objdir-compile): Remove.
45361 * sysdeps/unix/Makefile (config-generated): Do not add
45362 $(unix-generated) to variable.
45363 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45364 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45366 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45368 [generic bits/local_lim.h] (before-compile): Do not append to
45370 [generic bits/local_lim.h] (common-generated): Likewise.
45371 [generic sys/param.h] (before-compile): Do not append to variable.
45372 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45373 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45375 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45377 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45378 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45379 [generic sys/param.h] ($(addprefix
45380 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45381 [generic sys/param.h] (common-generated): Do not append to
45383 [generic sys/param.h] (sysdep_headers): Likewise.
45384 [generic bits/errno.h] (before-compile): Do not append to
45386 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45388 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45389 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45390 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45391 [generic bits/errno.h] (common-generated): Do not append to
45393 [generic bits/ioctls.h] (before-compile): Do not append to
45395 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45397 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45398 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45399 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45402 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45403 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45404 [generic bits/ioctls.h] (common-generated): Do not append to
45406 [generic sys/syscall.h] (syscall.h): Remove variable.
45407 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45409 [generic sys/syscall.h] (before-compile): Do not append to
45411 [generic sys/syscall.h] (common-generated): Likewise.
45412 * sysdeps/unix/errnos-tmpl.c: Remove file.
45413 * sysdeps/unix/errnos.awk: Likewise.
45414 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45415 * sysdeps/unix/ioctls.awk: Likewise.
45416 * sysdeps/unix/mk-local_lim.c: Likewise.
45417 * sysdeps/unix/snarf-ioctls: Likewise.
45419 2012-03-19 Richard Henderson <rth@twiddle.net>
45421 * sysdeps/i386/fpu/fenv_private.h: New file.
45422 * sysdeps/i386/fpu/math_private.h: Use it.
45423 (math_opt_barrier, math_force_eval): Remove.
45424 (libc_feholdexcept_setround_53bit): Remove.
45425 (libc_feupdateenv_53bit): Remove.
45426 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45427 (math_opt_barrier, math_force_eval): Remove.
45428 (libc_feholdexcept): Remove.
45429 (libc_feholdexcept_setround): Remove.
45430 (libc_fetestexcept, libc_fesetenv): Remove.
45431 (libc_feupdateenv_test): Remove.
45432 (libc_feupdateenv, libc_feholdsetround): Remove.
45433 (libc_feresetround): Remove.
45435 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45436 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45438 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45439 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45440 (libc_feupdateenv_testl): New.
45441 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45442 (libc_feupdateenv_testf): New.
45443 (libc_feupdateenv): Use libc_feupdateenv_test.
45444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45447 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45448 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45449 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45450 (libc_feresetround_noex): New.
45451 (libc_feresetround_noexf): New.
45452 (libc_feresetround_noexl): New.
45453 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45454 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45455 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45461 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45462 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45463 SET_RESTORE_ROUND_NOEX.
45464 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45465 SET_RESTORE_ROUND_NOEXF.
45466 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45467 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45468 (libc_feholdsetroundf): New.
45469 (libc_feresetround, libc_feresetroundf): New.
45471 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45472 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45473 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45475 * sysdeps/generic/math_private.h: Include <fenv.h>.
45476 (default_libc_feholdexcept): New.
45477 (default_libc_feholdexcept_setround): New.
45478 (default_libc_fesetenv, default_libc_feupdateenv): New.
45479 (libc_feholdexcept): Only define if undefined.
45480 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45482 (libc_feholdexcept_setroundl): Likewise.
45483 (libc_feholdexcept_setround_53bit): Likewise.
45484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45487 (libc_feupdateenv_53bit): Likewise.
45488 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45489 (libc_feholdexcept): Convert from macro to inline function.
45490 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45491 (libc_fesetenv, libc_feupdateenv): Likewise.
45493 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45494 not previously defined.
45495 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45496 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45497 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45498 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45499 * sysdeps/ieee754/flt-32/math_private.h: New file.
45500 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45501 math_private.h below SET_FLOAT_WORD.
45502 (__isnan, __isinf_ns, __finite): Remove.
45503 (__isnanf, __isinf_nsf, __finitef): Remove.
45505 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45509 2012-03-17 David S. Miller <davem@davemloft.net>
45512 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45515 2012-03-16 David S. Miller <davem@davemloft.net>
45517 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45521 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45523 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45524 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45525 sysdep_routines when subdir is sysvipc.
45526 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45527 __getshmlba helper.
45529 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45533 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45536 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45538 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45539 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45540 (__lround): Renamed to ...
45541 (__llround): This. Replace long int with long long int.
45542 Define lround functions as aliases of llround functions.
45543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45545 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45547 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45548 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45549 adresses to uintptr_t. Replace "long int" and "unsigned long
45550 int" with "greg_t" on va_arg.
45552 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45554 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45555 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45557 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45558 Move e_machine check before EI_CLASS check. Handle x32
45559 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45560 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45561 SKIP_EM_IA_64 and include
45562 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45564 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45565 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45566 (add_system_dir): New macro.
45568 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45569 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45571 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45582 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45584 * math/w_j0f.c (j0f): Likewise.
45586 * math/w_j0l.c (__j0l): Likewise.
45588 * math/w_j1.c (j1): Likewise.
45590 * math/w_j1f.c (j1f): Likewise.
45592 * math/w_j1l.c (__j1l): Likewise.
45594 * math/w_jn.c (jn): Likewise.
45596 * math/w_jnf.c (jnf): Likewise.
45598 * math/w_jnl.c (__jnl): Likewise.
45600 * math/libm-test.inc (j0_test): Add more tests.
45601 (j1_test): Likewise.
45602 (jn_test): Likewise. Add trailing semicolon to existing test.
45603 (y0_test): Likewise.
45604 (y1_test): Likewise.
45605 * sysdeps/i386/fpu/libm-test-ulps: Update.
45606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45610 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45611 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45612 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45614 (__tanl): Set errno for infinite argument.
45615 * sysdeps/i386/fpu/mptan.c: Remove.
45616 * sysdeps/i386/fpu/s_tan.S: Likewise.
45617 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45618 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45619 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45620 * math/libm-test.inc (tan_test): Add more tests and enable more
45621 tests for double and long double.
45622 * sysdeps/i386/fpu/libm-test-ulps: Update.
45623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45625 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45627 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45628 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45630 2012-03-16 Roland McGrath <roland@hack.frob.com>
45632 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45633 * configure.in: Use it for both main tree and add-ons.
45634 * configure: Regenerated.
45636 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45638 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45640 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45642 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45646 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45647 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45648 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45649 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45650 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45652 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45654 != 0 for prec == 2.
45655 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45656 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45657 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45658 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45659 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45660 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45661 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45662 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45663 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45664 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45665 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45666 * math/libm-test.inc (cos_test): Add more tests and enable more
45667 tests for long double.
45668 (sin_test): Likewise.
45669 (sincos_test): Likewise.
45670 * sysdeps/i386/fpu/libm-test-ulps: Update.
45671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45673 2012-03-16 David S. Miller <davem@davemloft.net>
45675 * sysdeps/sparc/fpu/math_private.h: New file.
45677 2012-03-15 David S. Miller <davem@davemloft.net>
45679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45693 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45694 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45696 * sysdeps/sparc/sparc-ifunc.h: New file.
45697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45742 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45744 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45748 2012-03-15 Andreas Jaeger <aj@suse.de>
45751 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45752 ieee754/flt-32 implementation for sin, cos and sincos.
45753 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45754 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45755 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45756 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45757 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45758 ieee754/flt-32 implementation for tan.
45760 * math/libm-test.inc (cos_test): Enable some large input tests for
45762 (sin_test): Likewise.
45763 (sincos_test): Likewise.
45764 (tan_test): Add tests for large input.
45766 * sysdeps/i386/fpu/libm-test-ulps: Update.
45768 2012-03-15 Andreas Jaeger <aj@suse.de>
45771 * math/libm-test.inc (cos_test): Add more test cases.
45772 (sin_test): Likewise.
45773 (sincos_test): Likewise.
45775 2012-03-15 Andreas Jaeger <aj@suse.de>
45778 * math/libm-test.inc (cos_test): Add a test case for large input
45780 (sin_test): Likewise.
45781 (sincos_test): Likewise.
45783 2012-03-15 Andreas Jaeger <aj@suse.de>
45784 Joseph Myers <joseph@codesourcery.com>
45787 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45788 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45789 * sysdeps/i386/fpu/branred.c: Likewise.
45790 * sysdeps/i386/fpu/dosincos.c: Likewise.
45791 * sysdeps/i386/fpu/mpa.c: Likewise.
45792 * sysdeps/i386/fpu/s_cos.S: Likewise.
45793 * sysdeps/i386/fpu/s_sin.S: Likewise.
45794 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45795 * sysdeps/i386/fpu/sincos32.c: Likewise.
45797 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45799 (libc_feupdateenv_53bit): Define.
45800 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45802 (libc_feupdateenv_53bit): Define.
45804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45805 53 bit (without extend i386 double precision).
45807 * math/libm-test.inc (sincos_test): Add tests for large input.
45811 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45813 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45817 2012-03-15 David S. Miller <davem@davemloft.net>
45819 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45820 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45821 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45822 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45847 fmin/fmax sysdep routines.
45848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45850 2012-03-14 David S. Miller <davem@davemloft.net>
45852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45929 * sysdeps/sparc/configure.in: New file.
45930 * sysdeps/sparc/configure: Generate.
45931 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45932 * configure: Regenerate.
45933 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45934 * config.make.in (have-as-vis3): New.
45935 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45936 available use -Av9d instead of -Av9a.
45937 * sysdeps/sparc/sparc64/Makefile: Likewise.
45938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45953 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45954 fzeros/fnegs to load 0x80000000 into a float register instead of
45956 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45958 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45962 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45963 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45964 ($(inst_includedir)/bits/syscall.h): Remove rule.
45965 ($(objpfx)bits/syscall.d): Include instead of
45966 $(objpfx)syscall-list.d.
45967 (generated): Change syscall-list.h and syscall-list.d to
45968 bits/syscall.h and bits/syscall.d.
45970 2012-03-14 Roland McGrath <roland@hack.frob.com>
45973 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45975 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45978 * math/s_csqrt.c: Include <float.h>.
45979 (__csqrt): Scale large or subnormal inputs.
45980 * math/s_csqrtf.c: Likewise.
45981 * math/s_csqrtl.c: Likewise.
45982 * math/libm-test.inc (csqrt_test): Add more tests.
45983 * sysdeps/i386/fpu/libm-test-ulps: Update.
45984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45987 * math/libm-test.inc (hypot_test): Add more tests.
45989 2012-03-13 David S. Miller <davem@davemloft.net>
45992 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45993 double-precision for the calculation instead of scaling.
45995 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45997 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45998 manipulate bits before adding and subtracting TWO52[sx].
45999 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46004 2012-03-13 David S. Miller <davem@davemloft.net>
46006 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46007 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46009 rtld-global-offsets.h
46010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46012 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46015 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46017 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46018 'err' in the ifdef scope in which it is actually used.
46020 * nss/nss_db/db-init.c: Include string.h
46022 2012-03-12 David S. Miller <davem@davemloft.net>
46024 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46025 masking out of the most significant byte of random value used.
46026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46027 Fix coding style in previous change.
46029 * sysdeps/unix/sysv/linux/kernel-features.h
46030 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46031 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46033 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46036 2012-03-11 David S. Miller <davem@davemloft.net>
46038 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46039 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46041 for 'resultvar' otherwise things get truncated on 64-bit.
46043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46044 Fix masking out of the most significant byte of random value used.
46046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46048 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46052 2012-03-09 David S. Miller <davem@davemloft.net>
46054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46055 variables with appropriate CPP guards.
46056 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46057 from the frame pointer, not the stack pointer. Correct layout
46058 comments. Fix test on resulting framesize and the management of
46059 the outregs buffer for pltexit. Preserve floating point return
46060 values across _dl_call_pltexit call.
46061 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46062 framesize and the management of the outregs buffer for pltexit.
46063 Preserve floating point return values across _dl_call_pltexit
46065 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46066 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46067 (la_sparc64_gnu_pltexit): New functions.
46068 (print_exit): Fix format string for return register value.
46070 2012-03-10 Joseph Myers <joseph@codesourcery.com>
46072 * sunrpc/Makefile (others): Add rpcgen.
46073 ($(objpfx)rpcgen): Remove special build rule and dependency on
46075 * sunrpc/rpcgen.c: New file.
46077 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46080 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46081 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46082 * sysdeps/i386/crti.S: Likewise.
46083 * sysdeps/i386/crtn.S: Likewise.
46084 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46085 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46086 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46087 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46088 * sysdeps/sh/crti.S: Likewise.
46089 * sysdeps/sh/crtn.S: Likewise.
46090 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46093 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46095 * locale/programs/locfile-kw.gperf: Likewise.
46096 * locale/programs/charmap-kw.h: Regenerated.
46097 * locale/programs/locfile-kw.h: Likewise.
46100 * intl/plural.y: Replace FSF snail mail address with URL.
46101 * intl/plural.c: Regenerated.
46103 2012-03-09 Richard Henderson <rth@twiddle.net>
46105 * include/math_private.h: Remove file.
46106 * math/math_private.h: Move file ...
46107 * sysdeps/generic/math_private.h: ... here.
46109 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46110 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46111 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46113 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46114 and <math_private.h>.
46115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46120 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46121 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46123 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46124 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46130 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46131 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46132 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46133 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46134 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46136 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46137 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46139 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46147 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46148 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46152 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46153 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46155 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46156 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46161 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46165 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46166 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46167 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46169 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46170 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46172 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46174 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46176 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46178 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46180 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46181 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46182 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46189 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46193 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46195 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46202 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46203 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46206 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46209 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46219 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46220 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46222 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46227 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46229 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46238 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46242 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46243 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46244 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46245 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46246 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46248 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46249 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46250 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46251 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46253 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46257 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46258 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46259 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46260 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46261 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46262 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46263 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46264 * sysdeps/ieee754/k_standard.c: Likewise.
46265 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46266 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46268 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46269 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46270 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46271 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46281 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46282 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46283 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46284 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46285 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46286 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46287 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46288 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46290 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46292 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46300 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46303 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46307 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46308 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46309 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46310 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46311 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46313 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46317 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46318 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46321 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46322 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46327 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46328 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46332 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46333 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46342 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46346 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46352 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46358 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46361 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46362 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46364 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46372 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46373 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46382 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46386 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46387 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46388 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46398 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46399 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46402 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46403 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46404 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46405 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46406 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46407 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46408 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46414 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46415 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46419 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46420 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46422 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46425 * sysdeps/ieee754/s_lib_version.c: Likewise.
46426 * sysdeps/ieee754/s_matherr.c: Likewise.
46427 * sysdeps/ieee754/s_signgam.c: Likewise.
46428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46430 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46431 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46432 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46434 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46435 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46436 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46437 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46438 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46439 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46440 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46442 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46450 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46452 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46453 * sunrpc/rpc_main.c: Likewise.
46454 * sunrpc/rpc_svcout.c: Likewise.
46456 2012-03-09 David S. Miller <davem@davemloft.net>
46458 * include/math_private.h: New file.
46460 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46462 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46463 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46464 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46465 from <bits/socket_type.h>.
46466 (enum __socket_type): Don't define here.
46467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46469 bits/socket_type.h.
46472 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46473 checking __USE_GNU.
46475 * Makerules ($(inst_includedir)/%.h): New rule.
46476 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46477 (install-others): Remove variable setting.
46478 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46480 2012-03-08 Richard Henderson <rth@twiddle.net>
46482 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46483 from macro to inline function; merge with the
46484 !__LIBC_INTERNAL_MATH_INLINES version.
46485 (__ieee754_sqrtf): Likewise.
46487 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46488 to inline function.
46489 (__rintf, __floor, __floorf): Likewise.
46491 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46492 macro to inline function.
46493 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46496 not <math/math_private.h>.
46498 2012-03-08 David S. Miller <davem@davemloft.net>
46500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46502 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46504 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46506 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46508 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46509 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46511 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46513 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46514 be defined individually, they must be defined as a block. Define
46515 S for printing a string instead of hidint the different by using a
46516 macro for adding the 'l'.
46517 * stdio-common/tst-fphex-wide.c: Adjust.
46519 2012-03-07 Marek Polacek <polacek@redhat.com>
46521 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46523 2012-03-08 Marek Polacek <polacek@redhat.com>
46526 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46527 * stdio-common/tst-fphex.c: Define a few macros to make the
46528 test reusable. Use them.
46529 * stdio-common/tst-fphex-wide.c: New file.
46531 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46534 * manual/macros.texi (gnusystems): New macro.
46535 (nongnusystems): Likewise.
46536 (gnulinuxhurdsystems): Likewise.
46537 (gnuhurdsystems): Likewise..
46538 (gnulinuxsystems): Likewise.
46539 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46540 variants of the GNU system, not "GNU system".
46541 * manual/conf.texi: Likewise.
46542 * manual/errno.texi: Likewise. Update example of errno macro
46544 * manual/filesys.texi: Likewise.
46545 (getumask): Document as specific to GNU/Hurd.
46546 * manual/install.texi: Likewise. Reword some references to
46548 * manual/intro.texi: Likewise.
46549 * manual/io.texi: Likewise.
46550 (File Name Portability): Detail which constraints are inapplicable
46551 to all GNU systems and which are only inapplicable to GNU/Hurd.
46552 * manual/job.texi: Likewise.
46553 * manual/llio.texi: Likewise.
46554 (O_NOCTTY): Document as present on GNU/Linux.
46555 * manual/maint.texi: Likewise.
46556 * manual/memory.texi: Likewise.
46557 * manual/pattern.texi: Likewise.
46558 * manual/pipe.texi: Likewise.
46559 * manual/process.texi: Likewise.
46560 * manual/resource.texi: Likewise.
46561 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46563 * manual/setjmp.texi: Likewise.
46564 * manual/signal.texi: Likewise.
46565 * manual/startup.texi: Likewise.
46566 * manual/stdio.texi: Likewise.
46567 * manual/terminal.texi: Likewise.
46568 (ONLCR): Document as POSIX.
46569 (OXTABS): Document availability on GNU/Linux as XTABS.
46570 (ONOEOT): Document availability separately from other bits.
46571 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46572 * manual/time.texi: Likewise.
46573 * manual/users.texi: Likewise.
46574 * INSTALL: Regenerated.
46575 * sysdeps/gnu/errlist.c: Regenerated.
46577 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46578 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46579 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46581 * configure: Regenerated.
46583 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46585 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46586 default includes instead of AC_HEADER_CHECK.
46587 * sysdeps/i386/configure: Regenerated.
46590 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46591 * math/s_cacoshf.c (__cacoshf): Likewise.
46592 * math/s_cacoshl.c (__cacoshl): Likewise.
46593 * math/s_casinh.c (__casinh): Set signs of result from argument.
46594 * math/s_casinhf.c (__casinhf): Likewise.
46595 * math/s_casinhl.c (__casinhl): Likewise.
46596 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46597 (casinh_test): Add more tests.
46598 * sysdeps/i386/fpu/libm-test-ulps: Update.
46599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46601 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46603 * po/zh_TW.po: Update from translation team.
46605 * login/Makefile (distribute): Remove variable.
46606 * catgets/Makefile: Likewise.
46607 * mach/Makefile: Likewise.
46608 * malloc/Makefile: Likewise.
46609 * misc/Makefile: Likewise.
46610 * iconv/Makefile: Likewise.
46611 * nscd/Makefile: Likewise.
46612 * hurd/Makefile: Likewise.
46613 * manual/Makefile: Likewise.
46614 * locale/Makefile: Likewise.
46615 * intl/Makefile: Likewise.
46616 * conform/Makefile: Likewise.
46617 * nss/Makefile: Likewise.
46618 * time/Makefile: Likewise.
46619 * soft-fp/Makefile: Likewise.
46620 * dirent/Makefile: Likewise.
46621 * gmon/Makefile: Likewise.
46622 * po/Makefile: Likewise.
46623 * rt/Makefile: Likewise.
46624 * socket/Makefile: Likewise.
46625 * math/Makefile: Likewise.
46626 * signal/Makefile: Likewise.
46627 * debug/Makefile: Likewise.
46628 * elf/Makefile: Likewise.
46629 * timezone/Makefile: Likewise.
46630 * stdlib/Makefile: Likewise.
46631 * iconvdata/Makefile: Likewise.
46632 * sunrpc/Makefile: Likewise.
46633 * io/Makefile: Likewise.
46634 * argp/Makefile: Likewise.
46635 * inet/Makefile: Likewise.
46636 * hesiod/Makefile: Likewise.
46637 * grp/Makefile: Likewise.
46638 * csu/Makefile: Likewise.
46639 * wctype/Makefile: Likewise.
46640 * crypt/Makefile: Likewise.
46641 * libio/Makefile: Likewise.
46642 * string/Makefile: Likewise.
46643 * nis/Makefile: Likewise.
46644 * resolv/Makefile: Likewise.
46645 * stdio-common/Makefile: Likewise.
46646 * wcsmbs/Makefile: Likewise.
46647 * dlfcn/Makefile: Likewise.
46648 * posix/Makefile: Likewise.
46651 * timezone/Makefile: Don't install timezone files, just the programs
46654 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46656 * nss/databases.def: Add missing gshadow entry.
46658 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46660 2012-03-06 Marek Polacek <polacek@redhat.com>
46663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46665 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46666 * stdio-common/tst-long-dbl-fphex.c: New file.
46668 2012-03-06 David S. Miller <davem@davemloft.net>
46670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46671 (set_obp_int): New function.
46672 (get_obp_int): New function.
46673 (__get_clockfreq_via_dev_openprom): Likewise.
46674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46675 Avoid unused variable warnings on 'val' and use builtin_expect.
46676 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46678 (INLINE_CLONE_SYSCALL): Likewise.
46680 2012-03-05 David S. Miller <davem@davemloft.net>
46682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46684 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46689 only for |x| >= 40.
46690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46692 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46695 Replace gettimeofday with __vdso_gettimeofday.
46697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46698 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46699 __vdso_clock_gettime and __vdso_getcpu.
46701 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46702 time with __vdso_time.
46704 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46706 * manual/lang.texi (size_t): Note types to which size_t may be
46707 equivalent with the GNU C Library, but do not describe when
46708 differences between them are significant.
46710 2012-03-05 Andreas Jaeger <aj@suse.de>
46712 * sysdeps/i386/fpu/libm-test-ulps: Update.
46714 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46717 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46718 (__ieee754_pow): Save and restore rounding mode and use
46719 round-to-nearest for main computations.
46720 * math/libm-test.inc (pow_test_tonearest): New function.
46721 (pow_test_towardzero): Likewise.
46722 (pow_test_downward): Likewise.
46723 (pow_test_upward): Likewise.
46724 (main): Call the new functions.
46725 * sysdeps/i386/fpu/libm-test-ulps: Update.
46726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46729 * math/libm-test.inc (cosh_test_tonearest): New function.
46730 (cosh_test_towardzero): Likewise.
46731 (cosh_test_downward): Likewise.
46732 (cosh_test_upward): Likewise.
46733 (sinh_test_tonearest): Likewise.
46734 (sinh_test_towardzero): Likewise.
46735 (sinh_test_downward): Likewise.
46736 (sinh_test_upward): Likewise.
46737 (main): Call the new functions.
46738 * sysdeps/i386/fpu/libm-test-ulps: Update.
46739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46741 2012-03-05 Tom de Vries <tom@codesourcery.com>
46743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46744 default stack guard is set in last bytes.
46745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46747 2012-03-05 Kees Cook <keescook@chromium.org>
46749 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46752 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46753 possibly allocate from heap instead of stack.
46754 * stdio-common/bug-vfprintf-nargs.c: New file.
46755 * stdio-common/Makefile (tests): Add nargs overflow test.
46757 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46761 2012-03-03 Marek Polacek <polacek@redhat.com>
46763 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46764 * math/math_private.h: Likewise.
46765 * stdlib/tst-strtod.c: Likewise.
46766 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46767 * sysdeps/x86_64/bits/atomic.h: Likewise.
46769 2012-03-02 David S. Miller <davem@davemloft.net>
46771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46775 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46776 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46780 2012-03-02 Roland McGrath <roland@hack.frob.com>
46783 * manual/examples/README: New file, says the example source files
46784 can be used under GPL>=2.
46785 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46786 line containing just "*/".
46787 * manual/examples/add.c: Add copyright header (GPL>=2).
46788 * manual/examples/argp-ex1.c: Likewise.
46789 * manual/examples/argp-ex2.c: Likewise.
46790 * manual/examples/argp-ex3.c: Likewise.
46791 * manual/examples/argp-ex4.c: Likewise.
46792 * manual/examples/atexit.c: Likewise.
46793 * manual/examples/db.c: Likewise.
46794 * manual/examples/dir.c: Likewise.
46795 * manual/examples/dir2.c: Likewise.
46796 * manual/examples/execinfo.c: Likewise.
46797 * manual/examples/filecli.c: Likewise.
46798 * manual/examples/filesrv.c: Likewise.
46799 * manual/examples/fmtmsgexpl.c: Likewise.
46800 * manual/examples/genpass.c: Likewise.
46801 * manual/examples/inetcli.c: Likewise.
46802 * manual/examples/inetsrv.c: Likewise.
46803 * manual/examples/isockad.c: Likewise.
46804 * manual/examples/longopt.c: Likewise.
46805 * manual/examples/memopen.c: Likewise.
46806 * manual/examples/memstrm.c: Likewise.
46807 * manual/examples/mkfsock.c: Likewise.
46808 * manual/examples/mkisock.c: Likewise.
46809 * manual/examples/mygetpass.c: Likewise.
46810 * manual/examples/pipe.c: Likewise.
46811 * manual/examples/popen.c: Likewise.
46812 * manual/examples/rprintf.c: Likewise.
46813 * manual/examples/search.c: Likewise.
46814 * manual/examples/select.c: Likewise.
46815 * manual/examples/setjmp.c: Likewise.
46816 * manual/examples/sigh1.c: Likewise.
46817 * manual/examples/sigusr.c: Likewise.
46818 * manual/examples/stpcpy.c: Likewise.
46819 * manual/examples/strdupa.c: Likewise.
46820 * manual/examples/strftim.c: Likewise.
46821 * manual/examples/strncat.c: Likewise.
46822 * manual/examples/subopt.c: Likewise.
46823 * manual/examples/swapcontext.c: Likewise.
46824 * manual/examples/termios.c: Likewise.
46825 * manual/examples/testopt.c: Likewise.
46826 * manual/examples/testpass.c: Likewise.
46827 * manual/examples/timeval_subtract.c: Likewise.
46830 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46832 * manual/timeval_subtract.c.texi: ... here, new file.
46834 2012-03-02 David S. Miller <davem@davemloft.net>
46836 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46838 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46841 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46842 (__sin): Save and restore rounding mode and use round-to-nearest
46843 for all computations.
46844 (__cos): Save and restore rounding mode and use round-to-nearest
46845 for all computations.
46846 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46848 (tan): Save and restore rounding mode and use round-to-nearest for
46850 * math/libm-test.inc (cos_test_tonearest): New function.
46851 (cos_test_towardzero): Likewise.
46852 (cos_test_downward): Likewise.
46853 (cos_test_upward): Likewise.
46854 (sin_test_tonearest): Likewise.
46855 (sin_test_towardzero): Likewise.
46856 (sin_test_downward): Likewise.
46857 (sin_test_upward): Likewise.
46858 (tan_test_tonearest): Likewise.
46859 (tan_test_towardzero): Likewise.
46860 (tan_test_downward): Likewise.
46861 (tan_test_upward): Likewise.
46862 (main): Call the new functions.
46863 * sysdeps/i386/fpu/libm-test-ulps: Update.
46864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46867 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46868 small n, then large n, before computing and testing k+n.
46869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46874 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46875 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46882 * math/libm-test.inc (scalbn_test): Add more tests.
46883 (scalbln_test): Likewise.
46885 * manual/filesys.texi (mode_t): Describe constraints on size and
46886 signedness, not exact equivalence to a particular type.
46888 (ino64_t): Likewise.
46890 (nlink_t): Likewise.
46891 (blkcnt_t): Likewise.
46892 (blkcnt64_t): Likewise.
46893 * manual/llio.texi (off_t): Likewise.
46896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46897 (__ieee754_exp): Save and restore rounding mode and use
46898 round-to-nearest for all computations.
46899 * math/libm-test.inc (exp_test_tonearest): New function.
46900 (exp_test_towardzero): Likewise.
46901 (exp_test_downward): Likewise.
46902 (exp_test_upward): Likewise.
46903 (main): Call the new functions.
46904 * sysdeps/i386/fpu/libm-test-ulps: Update.
46905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46907 2012-03-01 Chris Demetriou <cgd@google.com>
46909 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46910 have predictable order.
46912 2012-03-01 David S. Miller <davem@davemloft.net>
46914 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46916 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46917 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46918 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46919 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46921 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46922 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46923 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46925 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46926 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46927 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46928 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46929 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46934 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46937 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46953 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46954 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46955 * sysdeps/sparc/elf/configure: Regenerated.
46957 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46959 * configure.in (AS, LD): Require binutils 2.20 or later.
46960 * configure: Regenerated.
46961 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46962 as required minimum version.
46963 * INSTALL: Regenerated.
46967 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46968 before squaring exponent.
46969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46970 bottom long double and 27 bits of top long double before squaring
46972 * math/libm-test.inc (erfc_test): Add more tests.
46973 * sysdeps/i386/fpu/libm-test-ulps: Update.
46974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46977 2012-03-01 Kai Tietz <ktietz@redhat.com>
46979 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46980 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46981 containing bit-fields.
46982 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46983 * soft-fp/single.h (_FP_UNION_S): Likewise.
46984 * soft-fp/double.h (_FP_UNION_D): Likewise.
46986 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46989 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46990 not include ../strcmp.S.
46991 [USE_AS_STRNCASECMP_L]: Likewise.
46992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46993 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46994 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46995 (__strncasecmp_l_ia32): Define as alias to
46996 __strncasecmp_l_nonascii.
46999 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47000 * sysdeps/i386/fpu/libm-test-ulps: Update.
47001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47003 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47006 2012-02-29 Jeff Law <law@redhat.com>
47008 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47009 out of bounds read.
47011 2012-02-29 Marek Polacek <polacek@redhat.com>
47014 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47015 * elf/Makefile: Add rules to run tst-unused-dep.out.
47017 2012-02-28 David S. Miller <davem@davemloft.net>
47019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47023 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47024 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47026 2012-02-29 Joseph Myers <joseph@codesourcery.com>
47028 * math/libm-test.inc (llround_test): Move one test from
47029 lround_test. Use TEST_f_L in moved test.
47030 (lround_test): Move misplaced test to llround_test. Add testcase
47033 2012-02-28 Ulrich Drepper <drepper@gmail.com>
47035 * sysdeps/x86_64/fpu/e_expf.S: New file.
47036 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47038 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47041 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47042 of remain_len that may cause incomplete multi-byte character and
47044 * posix/bug-regex33.c: New file.
47045 * posix/Makefile (tests): Add bug-regex33.
47047 2012-02-28 Joseph Myers <joseph@codesourcery.com>
47049 * manual/macros.texi: New file.
47050 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47051 * manual/libc.texinfo: Include macros.texi.
47052 * manual/creatute.texi: Likewise.
47053 * manual/install.texi: Likewise.
47054 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47055 @glibcadj{} in references to the GNU C Library.
47056 * manual/charset.texi: Likewise.
47057 * manual/conf.texi: Likewise.
47058 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47059 when not using those macros.
47060 * manual/creature.texi: Likewise.
47061 * manual/crypt.texi: Likewise.
47062 * manual/errno.texi: Likewise.
47063 * manual/filesys.texi: Likewise.
47064 * manual/header.texi: Likewise.
47065 * manual/install.texi: Likewise.
47066 * manual/intro.texi: Likewise.
47067 * manual/io.texi: Likewise.
47068 * manual/job.texi: Likewise.
47069 * manual/lang.texi: Likewise.
47070 * manual/libc.texiinfo: Likewise.
47071 * manual/llio.texi: Likewise.
47072 * manual/locale.texi: Likewise.
47073 * manual/maint.texi: Likewise.
47074 * manual/math.texi: Likewise.
47075 * manual/memory.texi: Likewise.
47076 * manual/message.texi: Likewise.
47077 * manual/nss.texi: Likewise.
47078 * manual/pattern.texi: Likewise.
47079 * manual/process.texi: Likewise.
47080 * manual/resource.texi: Likewise.
47081 * manual/search.texi: Likewise.
47082 * manual/setjmp.texi: Likewise.
47083 * manual/signal.texi: Likewise.
47084 * manual/socket.texi: Likewise.
47085 * manual/startup.texi: Likewise.
47086 * manual/stdio.texi: Likewise.
47087 * manual/string.texi: Likewise.
47088 * manual/sysinfo.texi: Likewise.
47089 * manual/syslog.texi: Likewise.
47090 * manual/terminal.texi: Likewise.
47091 * manual/time.texi: Likewise.
47092 * manual/users.texi: Likewise.
47093 * INSTALL: Regenerated.
47094 * NOTES: Regenerated.
47095 * sysdeps/gnu/errlist.c: Regenerated.
47097 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47099 * include/dirent.h: Include <dirstream.h> before
47102 2012-02-28 David S. Miller <davem@davemloft.net>
47104 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47105 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47106 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47109 2012-02-27 David S. Miller <davem@davemloft.net>
47111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47113 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47114 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47117 frame pointer instead of stack pointer relative arg slot.
47118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47122 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47125 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47127 2012-02-27 David S. Miller <davem@davemloft.net>
47129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47138 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47140 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47141 later. Allow versions 5-9.
47142 * configure: Regenerated.
47143 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47144 required minimum version and 4.6 as recommended version. Do not
47145 mention bugs in GCC 2.7 and 2.8.
47146 * INSTALL: Regenerated.
47148 2012-02-27 David S. Miller <davem@davemloft.net>
47150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47156 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47160 manipulate bits before adding and subtracting TWO112[sx].
47161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47163 2012-02-27 Roland McGrath <roland@hack.frob.com>
47166 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47167 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47168 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47169 being in POSIX, because they are in 1003.1-2008.
47171 * rt/tst-aio.c: Include <fcntl.h>.
47172 * rt/tst-aio7.c: Likewise.
47173 * rt/tst-aio64.c: Likewise.
47175 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47177 2012-02-27 Joseph Myers <joseph@codesourcery.com>
47179 * manual/install.texi (--with-headers): Describe headers as
47180 interface headers, not private headers.
47181 (Specific advice for GNU/Linux systems): Describe use of headers
47182 from "make headers_install", not private headers from older
47184 * INSTALL: Regenerated.
47185 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47187 * sysdeps/unix/sysv/linux/configure: Regenerated.
47189 * manual/llio.texi (fclean): Remove documentation.
47191 * manual/Makefile (libc-texi-generated): New variable. Include
47193 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47194 $(libc-texi-generated), not duplicated list of files.
47195 (version.texi, stamp-version): New rules.
47196 (realclean): Remove $(libc-texi-generated), not individual files
47197 from that list. Do not remove dir-add.texinfo.
47198 * manual/libc.texinfo: Comment out uses of edition numbers and
47199 references to printed manual. Remove last-updated dates.
47200 (EDITION): Comment out.
47202 (VERSION, UPDATED): Remove.
47203 (version.texi): Include.
47205 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47207 * sysdeps/posix/spawni.c: Include <signal.h>.
47208 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47209 * sysdeps/pthread/aio_fsync.c: Likewise.
47211 2012-02-26 Ulrich Drepper <drepper@gmail.com>
47213 * conform/Makefile (tests): Run only when not cross-compiling and
47214 when fast-check is not defined.
47216 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47217 * conform/data/limits.h-data: Fixes for POSIX2008.
47218 * conform/run-conformtest.sh: Run all tests.
47219 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47221 * include/bits/dlfcn.h: Likewise.
47222 * include/langinfo.h: Likewise.
47223 * include/monetary.h: Likewise.
47224 * include/sys/poll.h: Likewise.
47226 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47228 * posix/spawn.h: Define __need_sigset_t.
47229 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47230 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47231 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47232 to get sigevent_t only.
47233 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47234 only for __USE_GNU.
47235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47237 process_vm_writev only for __USE_GNU.
47238 * termios/termios.h: Declare tcgetsid also for POSIX2008.
47240 * conform/Makefile: For now ignore errors from run-conformtest.
47241 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47242 POSIX to avoid namespace pollution. Don't prepend headers.
47243 * conform/data/aio.h-data: Fixes for POSIX testing.
47244 * conform/data/fcntl.h-data: Likewise.
47245 * conform/data/glob.h-data: Likewise.
47246 * conform/data/grp.h-data: Likewise.
47247 * conform/data/pthread.h-data: Likewise.
47248 * conform/data/pwd.h-data: Likewise.
47249 * conform/data/signal.h-data: Likewise.
47250 * conform/data/spawn.h-data: Likewise.
47251 * conform/data/stdio.h-data: Likewise.
47252 * conform/data/stdlib.h-data: Likewise.
47253 * conform/data/stropts.h-data: Likewise.
47254 * conform/data/sys/mman.h-data: Likewise.
47255 * conform/data/sys/stat.h-data: Likewise.
47256 * conform/data/sys/types.h-data: Likewise.
47257 * conform/data/sys/wait.h-data: Likewise.
47258 * conform/data/time.h-data: Likewise.
47259 * conform/data/unistd.h-data: Likewise.
47260 * conform/data/utime.h-data: Likewise.
47262 * io/sys/stat.h: fchmod was always in POSIX.
47263 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47264 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47265 * rt/aio.h: Define __need_timespec before including <time.h>.
47266 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47267 struct. Add forward declaration of pthread_attr_t and use it in
47269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47271 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47272 always remove CLK_TCK definition.
47274 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47276 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47278 2012-02-25 Ulrich Drepper <drepper@gmail.com>
47280 * conform/run-conformtest.sh: New file.
47281 * conform/Makefile: Run run-conformtest for tests.
47282 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47285 * conform/data/uchar.h-data: New file.
47286 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47287 * conform/data/arpa/inet.h-data: Likewise.
47288 * conform/data/assert.h-data: Likewise.
47289 * conform/data/complex.h-data: Likewise.
47290 * conform/data/cpio.h-data: Likewise.
47291 * conform/data/ctype.h-data: Likewise.
47292 * conform/data/dirent.h-data: Likewise.
47293 * conform/data/dlfcn.h-data: Likewise.
47294 * conform/data/errno.h-data: Likewise.
47295 * conform/data/fcntl.h-data: Likewise.
47296 * conform/data/float.h-data: Likewise.
47297 * conform/data/fmtmsg.h-data: Likewise.
47298 * conform/data/fnmatch.h-data: Likewise.
47299 * conform/data/ftw.h-data: Likewise.
47300 * conform/data/glob.h-data: Likewise.
47301 * conform/data/grp.h-data: Likewise.
47302 * conform/data/iconv.h-data: Likewise.
47303 * conform/data/inttypes.h-data: Likewise.
47304 * conform/data/langinfo.h-data: Likewise.
47305 * conform/data/libgen.h-data: Likewise.
47306 * conform/data/limits.h-data: Likewise.
47307 * conform/data/locale.h-data: Likewise.
47308 * conform/data/math.h-data: Likewise.
47309 * conform/data/monetary.h-data: Likewise.
47310 * conform/data/mqueue.h-data: Likewise.
47311 * conform/data/ndbm.h-data: Likewise.
47312 * conform/data/net/if.h-data: Likewise.
47313 * conform/data/netdb.h-data: Likewise.
47314 * conform/data/netinet/in.h-data: Likewise.
47315 * conform/data/nl_types.h-data: Likewise.
47316 * conform/data/poll.h-data: Likewise.
47317 * conform/data/pthread.h-data: Likewise.
47318 * conform/data/pwd.h-data: Likewise.
47319 * conform/data/regex.h-data: Likewise.
47320 * conform/data/sched.h-data: Likewise.
47321 * conform/data/search.h-data: Likewise.
47322 * conform/data/semaphore.h-data: Likewise.
47323 * conform/data/setjmp.h-data: Likewise.
47324 * conform/data/signal.h-data: Likewise.
47325 * conform/data/spawn.h-data: Likewise.
47326 * conform/data/stdarg.h-data: Likewise.
47327 * conform/data/stdio.h-data: Likewise.
47328 * conform/data/stdlib.h-data: Likewise.
47329 * conform/data/string.h-data: Likewise.
47330 * conform/data/strings.h-data: Likewise.
47331 * conform/data/stropts.h-data: Likewise.
47332 * conform/data/sys/ipc.h-data: Likewise.
47333 * conform/data/sys/mman.h-data: Likewise.
47334 * conform/data/sys/msg.h-data: Likewise.
47335 * conform/data/sys/resource.h-data: Likewise.
47336 * conform/data/sys/select.h-data: Likewise.
47337 * conform/data/sys/sem.h-data: Likewise.
47338 * conform/data/sys/shm.h-data: Likewise.
47339 * conform/data/sys/socket.h-data: Likewise.
47340 * conform/data/sys/stat.h-data: Likewise.
47341 * conform/data/sys/statvfs.h-data: Likewise.
47342 * conform/data/sys/time.h-data: Likewise.
47343 * conform/data/sys/timeb.h-data: Likewise.
47344 * conform/data/sys/times.h-data: Likewise.
47345 * conform/data/sys/types.h-data: Likewise.
47346 * conform/data/sys/uio.h-data: Likewise.
47347 * conform/data/sys/un.h-data: Likewise.
47348 * conform/data/sys/utsname.h-data: Likewise.
47349 * conform/data/sys/wait.h-data: Likewise.
47350 * conform/data/syslog.h-data: Likewise.
47351 * conform/data/tar.h-data: Likewise.
47352 * conform/data/termios.h-data: Likewise.
47353 * conform/data/utime.h-data: Likewise.
47354 * conform/data/utmpx.h-data: Likewise.
47355 * conform/data/varargs.h-data: Likewise.
47356 * conform/data/wchar.h-data: Likewise.
47357 * conform/data/wctype.h-data: Likewise.
47358 * conform/data/wordexp.h-data: Likewise.
47360 * include/stropts.h: New file.
47361 * include/uchar.h: New file.
47362 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47363 * include/assert.h: Likewise.
47364 * include/ctype.h: Likewise.
47365 * include/dirent.h: Likewise.
47366 * include/dlfcn.h: Likewise.
47367 * include/fcntl.h: Likewise.
47368 * include/fnmatch.h: Likewise.
47369 * include/glob.h: Likewise.
47370 * include/grp.h: Likewise.
47371 * include/libio.h: Likewise.
47372 * include/locale.h: Likewise.
47373 * include/math.h: Likewise.
47374 * include/net/if.h: Likewise.
47375 * include/netdb.h: Likewise.
47376 * include/netinet/in.h: Likewise.
47377 * include/pthread.h: Likewise.
47378 * include/pwd.h: Likewise.
47379 * include/regex.h: Likewise.
47380 * include/sched.h: Likewise.
47381 * include/search.h: Likewise.
47382 * include/setjmp.h: Likewise.
47383 * include/signal.h: Likewise.
47384 * include/stdio.h: Likewise.
47385 * include/stdlib.h: Likewise.
47386 * include/string.h: Likewise.
47387 * include/sys/cdefs.h: Likewise.
47388 * include/sys/mman.h: Likewise.
47389 * include/sys/msg.h: Likewise.
47390 * include/sys/resource.h: Likewise.
47391 * include/sys/select.h: Likewise.
47392 * include/sys/socket.h: Likewise.
47393 * include/sys/stat.h: Likewise.
47394 * include/sys/statvfs.h: Likewise.
47395 * include/sys/time.h: Likewise.
47396 * include/sys/times.h: Likewise.
47397 * include/sys/uio.h: Likewise.
47398 * include/sys/utsname.h: Likewise.
47399 * include/sys/wait.h: Likewise.
47400 * include/termios.h: Likewise.
47401 * include/time.h: Likewise.
47402 * include/ulimit.h: Likewise.
47403 * include/unistd.h: Likewise.
47404 * include/utime.h: Likewise.
47405 * include/wchar.h: Likewise.
47406 * include/wctype.h: Likewise.
47407 * include/wordexp.h: Likewise.
47409 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47411 * time/time.h: TIME_UTC must be a macro.
47412 Make timespec_get available for ISO C11 only as well.
47414 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47416 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47417 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47419 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47421 * configure.in: Use -o not -a in test for unsupported multi-arch.
47423 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47425 * manual/texinfo.tex: Update to version 2012-01-19.16.
47427 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47429 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47431 2012-02-24 Roland McGrath <roland@hack.frob.com>
47434 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47435 * manual/fdl-1.3.texi: New file.
47436 * manual/fdl-1.1.texi: File removed.
47439 * manual/libc.texinfo (FDL_VERSION): New @set.
47440 Use it for mention of FDL in cover text.
47441 (Documentation License): Use it in @include file name.
47443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47444 Roland McGrath <roland@hack.frob.com>
47447 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47448 (not LONG_LONG_MAX and LONG_LONG_MIN.
47449 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47450 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47452 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47459 manipulate bits before adding and subtracting TWO23[sx].
47460 * math/libm-test.inc (nearbyint_test): Add more tests.
47462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47465 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47466 bits before adding and subtracting TWO23[sx].
47467 * math/libm-test.inc (rint_test): Add more tests.
47468 (rint_test_tonearest): Likewise.
47469 (rint_test_towardzero): Likewise.
47470 (rint_test_downward): Likewise.
47471 (rint_test_upward: Likewise.
47473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47476 * include/stdc-predef.h: New file. Extracted from features.h.
47477 * include/features.h: Include stdc-predef.h.
47478 * Makefile (headers): Add stdc-predef.h.
47479 * CONFORMANCE (Compiler limitations): Update.
47481 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47483 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47485 2012-02-21 David S. Miller <davem@davemloft.net>
47487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47490 2012-02-20 David S. Miller <davem@davemloft.net>
47492 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47493 using a normal save/restore sequence, rather than allocating a
47494 dummy stack frame just to store a frame pointer and restore.
47495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47497 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47499 * manual/install.texi: Fix stray word in line-wrapped comment.
47501 2012-02-20 David S. Miller <davem@davemloft.net>
47503 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47504 both binutils and gcc support GOTDATA.
47506 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47507 "rd %pc" in the PIC register setup sequences.
47509 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47510 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47512 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47513 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47518 (SYSCALL_ERROR_HANDLER): Likewise.
47519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47522 (SYSCALL_ERROR_HANDLER): Likewise.
47524 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47525 (HAVE_GCC_GOTDATA): New.
47526 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47527 relocation support in both binutils and gcc.
47528 * sysdeps/sparc/elf/configure: Regenerate.
47530 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47531 * sysdeps/sparc/sparc32/elf/configure: Delete.
47532 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47533 * sysdeps/sparc/sparc64/elf/configure: Delete.
47534 * sysdeps/sparc/elf/configure.in: New file.
47535 * sysdeps/sparc/elf/configure: Generate.
47537 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47538 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47539 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47540 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47541 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47543 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47545 * manual/install.texi: Do not mention specific glibc version
47547 * manual/libc.texinfo (VERSION, UPDATED): Update.
47548 (@copying): Use @copyright{} and range of years.
47550 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47553 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47554 [crti.S not in sysdirs] (generated): Do not append.
47555 [crti.S not in sysdirs] (omit-deps): Likewise.
47556 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47557 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47558 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47559 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47560 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47562 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47563 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47564 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47565 * csu/defs.awk: Remove file.
47566 * sysdeps/generic/initfini.c: Likewise.
47567 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47569 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47572 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47574 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47579 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47581 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47582 (__EPOLL_PACKED): Define to empty if not defined by
47584 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47588 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47590 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47591 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47592 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47595 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47599 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47601 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47608 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47613 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47615 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47616 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47618 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47620 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47623 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47625 * math/w_acos.c: Use non-signaling floating-point comparisons.
47626 * math/w_acosf.c: Likewise.
47627 * math/w_acosh.c: Likewise.
47628 * math/w_acoshf.c: Likewise.
47629 * math/w_acoshl.c: Likewise.
47630 * math/w_acosl.c: Likewise.
47631 * math/w_asin.c: Likewise.
47632 * math/w_asinf.c: Likewise.
47633 * math/w_asinl.c: Likewise.
47634 * math/w_atanh.c: Likewise.
47635 * math/w_atanhf.c: Likewise.
47636 * math/w_atanhl.c: Likewise.
47637 * math/w_exp2.c: Likewise.
47638 * math/w_exp2f.c: Likewise.
47639 * math/w_exp2l.c: Likewise.
47640 * math/w_j0.c: Likewise.
47641 * math/w_j0f.c: Likewise.
47642 * math/w_j0l.c: Likewise.
47643 * math/w_j1.c: Likewise.
47644 * math/w_j1f.c: Likewise.
47645 * math/w_j1l.c: Likewise.
47646 * math/w_jn.c: Likewise.
47647 * math/w_jnf.c: Likewise.
47648 * math/w_log.c: Likewise.
47649 * math/w_log10.c: Likewise.
47650 * math/w_log10f.c: Likewise.
47651 * math/w_log10l.c: Likewise.
47652 * math/w_log2.c: Likewise.
47653 * math/w_log2f.c: Likewise.
47654 * math/w_log2l.c: Likewise.
47655 * math/w_logf.c: Likewise.
47656 * math/w_logl.c: Likewise.
47657 * math/w_sqrt.c: Likewise.
47658 * math/w_sqrtf.c: Likewise.
47659 * math/w_sqrtl.c: Likewise.
47660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47661 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47666 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47669 * manual/string.texi (strnlen): Use correct parameter name in
47670 equivalent expression.
47672 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47675 * manual/users.texi (seteuid): Consistently use neweuid for
47678 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47681 * manual/nss.texi (Services in the NSS configuration): Correct
47682 list of services in example configuration file.
47684 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47687 * manual/arith.texi: Remove statements about negative zero
47688 behaving identically to zero.
47690 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47693 * manual/install.texi: Do not document upgrading from libc5.
47695 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47698 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47700 2012-02-18 David S. Miller <davem@davemloft.net>
47702 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47703 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47704 %o7 across the call.
47705 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47708 SETUP_PIC_REG_LEAF.
47709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47710 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47711 * sysdeps/sparc/crtn.S: Likewise.
47713 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47715 * aout/Makefile: Remove.
47717 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47720 * manual/examples/argp-ex1.c (main): Format definition in GNU
47722 * manual/examples/argp-ex2.c (main): Likewise.
47723 * manual/examples/argp-ex3.c (main): Likewise.
47724 * manual/examples/argp-ex4.c (main): Likewise.
47725 * manual/examples/longopt.c (main): Use new-style prototype
47727 * manual/examples/strncat.c (main): Specify return type and use
47728 (void) for arguments.
47729 * manual/examples/subopt.c (main): Use char **argv argument.
47731 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47734 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47737 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47740 * manual/string.texi (strchr): Change when strchrnul is
47743 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47746 * manual/locale.texi (setlocale): Document LOCPATH.
47748 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47751 * manual/process.texi (execle): Move @dots{} before last argument.
47753 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47756 * manual/charset.texi (Generic Charset Conversion): Fix typo
47757 (LC_TYPE -> LC_CTYPE).
47759 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47762 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47763 (scalbnf): Likewise.
47764 (scalbnl): Likewise.
47765 (scalbln): Likewise.
47766 (scalblnf): Likewise.
47767 (scalblnl): Likewise.
47768 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47769 (vwarnx): Likewise.
47772 * manual/filesys.texi (telldir): Use braces around return type.
47773 * manual/llio.texi (mmap): Add space after comma.
47774 (mmap64): Likewise.
47775 * manual/math.texi (jn): Use @var{} on parameter names.
47781 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47783 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47785 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47786 (sched_get_priority_max): Likewise.
47787 * manual/signal.texi (sigvec): Add space after comma.
47788 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47790 (if_indextoname): Likewise.
47791 (if_freenameindex): Likewise.
47792 (sendto): Use ',' instead of '.' in prototype.
47793 * manual/startup.texi (syscall): Use @dots{} instead of literal
47795 * manual/stdio.texi (__fpending): Separate initial words of
47796 paragraph from @deftypefun line.
47797 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47799 (vsyslog): Use @var{} on parameter names.
47800 * manual/terminal.texi (stty): Use @var{} on parameter names.
47801 * manual/users.texi (getutmp): Use @var{} on parameter names.
47802 (getutmpx): Likewise.
47804 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47807 * manual/stdio.texi (fopen): Fix typos in description of
47810 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47813 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47814 get clock_id definition.
47816 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47819 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47820 (madvise): Cast every argument to void on its own.
47822 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47825 * manual/startup.texi (Exit Status): Fix typo.
47827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47830 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47831 * manual/examples/argp-ex2.c: Likewise.
47832 * manual/examples/argp-ex3.c: Likewise.
47834 2012-02-16 Richard Henderson <rth@redhat.com>
47836 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47837 * sysdeps/s390/s390-32/initfini.c: Remove.
47838 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47839 * sysdeps/s390/s390-64/initfini.c: Remove.
47841 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47843 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47844 compiler output for sysdeps/generic/initfini.c.
47845 * sysdeps/sh/elf/initfini.c: Remove file.
47847 2012-02-16 David S. Miller <davem@davemloft.net>
47850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47852 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47853 * sysdeps/sparc/crti.S: New file.
47854 * sysdeps/sparc/crtn.S: New file.
47855 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47856 * sysdeps/sparc/sparc64/Makefile: Likewise.
47858 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47861 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47863 2012-02-15 Roland McGrath <roland@hack.frob.com>
47866 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47868 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47869 (write, read, close): Likewise.
47870 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47872 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47874 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47875 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47876 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47877 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47879 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47883 2012-02-14 Marek Polacek <polacek@redhat.com>
47885 * sysdeps/x86_64/crti.S: New file.
47886 * sysdeps/x86_64/crtn.S: New file.
47887 * sysdeps/x86_64/elf/initfini.c: Remove file.
47889 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47891 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47892 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47893 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47894 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47896 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47900 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47902 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47903 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47904 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47905 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47907 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47911 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47914 __feraiseexcept instead of feraiseexcept.
47916 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47917 nanosleep invocations.
47918 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47919 strings, and add error checking for a nanosleep invocations.
47921 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47923 Replace FSF snail mail address with URLs, as per GNU coding standards.
47924 Most of the snail mail addresses were wrong anyway, and omitting
47925 them makes the source code easier to maintain. Almost all of the
47926 changes are to license notices and to locale LC_IDENTIFICATION
47927 addresses, except for this one:
47928 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47929 not its snail mail address.
47931 2012-02-09 Richard Henderson <rth@twiddle.net>
47933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47934 of kernel-features.h.
47936 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47938 2012-02-08 Marek Polacek <polacek@redhat.com>
47940 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47941 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47942 * sysdeps/gnu/_G_config.h: Likewise.
47943 * sysdeps/generic/_G_config.h: Likewise.
47945 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47947 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47951 * sysdeps/powerpc/powerpc32/crti.S: New file.
47952 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47953 * sysdeps/powerpc/powerpc64/crti.S: New file.
47954 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47956 * Makeconfig (have-initfini): Don't set.
47957 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47958 * configure.in (nopic_initfini): Don't substitute.
47959 * config.h.in (HAVE_INITFINI): Don't #undef.
47960 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47961 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47963 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47965 Support crti.S and crtn.S provided directly by architectures.
47966 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47967 [crti.S in sysdirs] (omit-deps): Likewise.
47968 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47969 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47970 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47971 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47972 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47973 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47974 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47975 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47976 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47977 compiler output for sysdeps/generic/initfini.c.
47978 * sysdeps/i386/elf/Makefile: Remove file.
47979 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47981 2012-02-07 Marek Polacek <polacek@redhat.com>
47983 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47984 * sysdeps/gnu/_G_config.h: Likewise.
47985 * sysdeps/mach/hurd/_G_config.h: Likewise.
47987 2012-02-07 Marek Polacek <polacek@redhat.com>
47989 * math/Makefile (tests): Add tst-CMPLX2.
47990 * math/tst-CMPLX2.c: New file.
47992 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47996 * math/libm-test.inc (jn_test): Add missing L suffix.
47998 2012-02-06 Marek Polacek <polacek@redhat.com>
48000 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48001 * sysdeps/i386/fpu/e_powf.S: Likewise.
48002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48005 * sysdeps/i386/fpu/e_pow.S: Likewise.
48006 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48008 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48009 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48010 * sysdeps/i386/fpu/e_log2.S: Likewise.
48011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48013 * sysdeps/i386/fpu/e_powl.S: Likewise.
48014 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48017 * sysdeps/i386/fpu/e_logl.S: Likewise.
48018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48019 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48020 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48021 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48023 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48024 * sysdeps/i386/fpu/e_log.S: Likewise.
48025 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48027 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48028 * sysdeps/i386/fpu/e_logf.S: Likewise.
48029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48031 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48034 * sysdeps/i386/fpu/e_log10.S: Likewise.
48035 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48037 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48038 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48041 * sysdeps/i386/asm-syntax.h: Likewise.
48042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48045 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48046 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48048 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48049 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48051 * sysdeps/powerpc/sysdep.h: Likewise.
48052 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48053 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48055 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48058 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48060 2012-02-06 Joseph Myers <joseph@codesourcery.com>
48062 * sysdeps/i386/sysdep.h: Include <features.h>.
48063 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48066 2012-02-05 Joseph Myers <joseph@codesourcery.com>
48068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48070 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48073 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48075 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48076 (SETUP_PIC_REG): Use GET_PC_THUNK.
48077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48080 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48082 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48083 for non-PIC compilation.
48084 (SETUP_PIC_REG): Add .p2align directive.
48085 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48090 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48091 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48127 2012-02-03 Joseph Myers <joseph@codesourcery.com>
48129 * math/tst-CMPLX.c: Include <stdio.h>.
48131 2012-01-31 Joseph Myers <joseph@codesourcery.com>
48133 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48136 * sysdeps/sparc/bits/mathdef.h: Likewise.
48138 2012-01-31 Marek Polacek <polacek@redhat.com>
48140 * libio/libio.h: Don't define _PARAMS.
48141 * locale/programs/config.h: Don't define PARAMS.
48142 * stdlib/strtol_l.c: Likewise.
48143 (__strtol_l): Remove PARAMS from the prototype.
48145 2012-01-31 Ulrich Drepper <drepper@gmail.com>
48147 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48148 names. Just use the correct names. Remove unnecessary wrapper
48150 * malloc/arena.c: Likewise.
48151 * malloc/hooks.c: Likewise.
48153 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48154 ARENA_TEST says not to. Simplify test for creation of a new arena.
48155 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48157 2012-01-30 Ulrich Drepper <drepper@gmail.com>
48159 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48161 (update_get_addr): New function.
48162 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48163 GET_ADDR_MODULE parameter.
48165 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48167 * crypt/cert.c: Remove __STDC__ conditionals.
48168 * crypt/crypt-entry.c: Likewise.
48169 * crypt/crypt_util.c: Likewise.
48170 * libio/filedoalloc.c: Likewise.
48171 * libio/fileops.c: Likewise.
48172 * libio/genops.c: Likewise.
48173 * libio/iofclose.c: Likewise.
48174 * libio/iofdopen.c: Likewise.
48175 * libio/iofopen.c: Likewise.
48176 * libio/iofopen64.c: Likewise.
48177 * libio/iogetdelim.c: Likewise.
48178 * libio/iopopen.c: Likewise.
48179 * libio/obprintf.c: Likewise.
48180 * libio/oldfileops.c: Likewise.
48181 * libio/oldiofclose.c: Likewise.
48182 * libio/oldiofdopen.c: Likewise.
48183 * libio/oldiofopen.c: Likewise.
48184 * libio/oldiopopen.c: Likewise.
48185 * libio/wfiledoalloc.c: Likewise.
48186 * libio/wgenops.c: Likewise.
48187 * locale/programs/xmalloc.c: Likewise.
48188 * misc/syslog.c: Likewise.
48189 * stdio-common/xbug.c: Likewise.
48190 * string/memchr.c: Likewise.
48191 * string/memcmp.c: Likewise.
48192 * string/memrchr.c: Likewise.
48193 * string/rawmemchr.c: Likewise.
48194 * sysdeps/posix/getcwd.c: Likewise.
48195 * time/strftime_l.c: Likewise.
48197 2012-01-30 Joseph Myers <joseph@codesourcery.com>
48199 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48200 * config.make.in (config-cflags-sse2avx): Define.
48201 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48204 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48206 * scripts/config.guess: Update from upstream config git repository.
48207 * scripts/config.sub: Likewise.
48209 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48211 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48213 (R_TILEPRO_*, R_TILEGX_*): New macros.
48215 * scripts/firstversions.awk: Fix bug in version range handling.
48217 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48219 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48221 * include/sys/epoll.h: New file.
48222 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48225 2012-01-28 Ulrich Drepper <drepper@gmail.com>
48227 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48228 Avoid unnecessary __WORDSIZE == 64 test.
48229 (fmaxf): Use VEX format if possible.
48234 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48235 * math/math_private.h: Remove libc_fegetround* and
48237 * sysdeps/i386/configure.in: Check for -msse2avx.
48238 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48239 also if SSE2AVX is defined.
48240 Remove libc_fegetround* and libc_fesetround*.
48241 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48242 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48251 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48253 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48259 2012-01-27 Ulrich Drepper <drepper@gmail.com>
48262 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48264 * Makeconfig (libm): Define.
48265 * elf/Makefile: Add rules to build and run tst-relsort1.
48266 * elf/tst-relsort1.c: New file.
48267 * elf/tst-relsort1mod1.c: New file.
48268 * elf/tst-relsort1mod2.c: New file.
48270 2012-01-27 Joseph Myers <joseph@codesourcery.com>
48272 * math/s_ldexp.c: Remove __STDC__ conditionals.
48273 * math/s_ldexpf.c: Likewise.
48274 * math/s_ldexpl.c: Likewise.
48275 * math/s_nextafter.c: Likewise.
48276 * math/s_nexttowardf.c: Likewise.
48277 * math/s_significand.c: Likewise.
48278 * math/s_significandf.c: Likewise.
48279 * math/s_significandl.c: Likewise.
48280 * math/w_jnl.c: Likewise.
48281 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48282 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48283 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48284 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48285 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48287 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48298 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48309 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48321 * sysdeps/ieee754/k_standard.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48358 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48378 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48394 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48401 * sysdeps/ieee754/s_matherr.c: Likewise.
48402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48407 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48409 * crypt/md5.h: Remove __STDC__ conditionals.
48410 * libio/libioP.h: Likewise.
48411 * locale/programs/config.h: Likewise.
48412 * sysdeps/generic/sysdep.h: Likewise.
48413 * sysdeps/i386/asm-syntax.h: Likewise.
48414 * sysdeps/s390/asm-syntax.h: Likewise.
48415 * sysdeps/unix/sysdep.h: Likewise.
48416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48419 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48421 * libio/libio.h: Remove __STDC__ conditionals.
48422 * malloc/obstack.h: Likewise.
48423 * math/complex.h: Likewise.
48424 * math/math.h: Likewise.
48425 * sysdeps/generic/_G_config.h: Likewise.
48426 * sysdeps/gnu/_G_config.h: Likewise.
48427 * sysdeps/mach/hurd/_G_config.h: Likewise.
48428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48430 * sysdeps/sparc/bits/mathdef.h: Likewise.
48432 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48435 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48436 Clean up HAS_* macros.
48437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48438 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48448 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48450 * elf/tst-unique3.cc (gets): Remove declaration.
48451 * elf/tst-unique3lib.cc (gets): Likewise.
48452 * elf/tst-unique3lib2.cc (gets): Likewise.
48453 * elf/tst-unique4.cc (gets): Likewise.
48455 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48457 * include/stdio.h: Add C++ protection. Add gets declarations and
48459 * debug/tst-chk1.c: Don't declare gets here.
48460 * stdio-common/tst-gets.c: Likewise.
48462 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48464 * posix/glob: Remove directory.
48466 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48468 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48470 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48472 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48473 of the non-standard EPFNOSUPPORT.
48475 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48477 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48478 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48479 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48481 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48483 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48485 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48487 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48489 * nscd/grpcache.c (cache_addgr): Likewise.
48490 * nscd/hstcache.c (cache_addhst): Likewise.
48491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48492 * nscd/pwdcache.c (cache_addpw): Likewise.
48493 * nscd/servicescache.c (cache_addserv): Likewise.
48495 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48497 * malloc/malloc.c: Various cleanups.
48498 * malloc/hooks.c: Likewise.
48500 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48501 * stdlib/bug-fmtmsg1.c: New file.
48503 * stdlib/fmtmsg.c (init): Add missing unlock.
48504 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48506 2012-01-12 Marek Polacek <polacek@redhat.com>
48508 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48511 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48513 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48514 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48515 macro to ensure uniqueness of label name.
48516 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48517 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48519 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48524 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48528 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48532 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48534 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48536 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48543 * math/bits/math-finite.h: Add ldexp support.
48545 2012-01-10 Marek Polacek <polacek@redhat.com>
48547 * locale/programs/localedef.h (show_archive_content): Add noreturn
48550 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48554 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48556 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48558 * io/Makefile (headers): Add bits/poll2.h.
48560 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48563 typo #include statement.
48565 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48567 * include/sys/cdefs.h: Define __attribute_alloc_size.
48568 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48569 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48570 * elf/pldd.c: Likewise.
48571 * iconv/iconv_charmap.c: Likewise.
48572 * iconv/iconvconfig.c: Likewise.
48573 * iconv/strtab.c: Likewise.
48574 * locale/programs/locale.c: Likewise.
48575 * locale/programs/localedef.h: Likewise.
48576 * locale/programs/simple-hash.c: Likewise.
48577 * nscd/nscd.h: Likewise.
48578 * nss/makedb.c: Likewise.
48579 * sysdeps/generic/ldconfig.h: Likewise.
48580 * locale/programs/localedef.c: Remove xmalloc prototype.
48581 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48583 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48585 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48588 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48590 * math/Makefile (tests): Add tst-CMPLX.
48591 * math/tst-CMPLX.c: New file.
48593 * math/complex.h (CMPLXL): Fix typo.
48595 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48596 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48598 * debug/tst-chk1.c: Add poll and ppoll tests.
48599 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48600 * include/sys/poll.h: Add hidden proto for ppoll.
48601 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48602 * sysdeps/mach/hurd/ppoll.c: Likewise.
48603 * io/ppoll.c: Likewise.
48604 * debug/poll_chk.c: New file.
48605 * debug/ppoll_chk.c: New file.
48606 * include/bits/poll2.h: New file.
48607 * io/bits/poll2.h: New file.
48610 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48612 * configure.in: static is always set to yes. Remove.
48613 * config.make.in: Don't set build-static.
48614 * Makeconfig: Remove use of build-static.
48615 * dlfcn/Makefile: Likewise.
48616 * elf/Makefile: Likewise.
48617 * math/Makefile: Likewise.
48618 * misc/Makefile: Likewise.
48619 * nptl/Makefile: Likewise.
48620 * sysdeps/mach/hurd/Makefile: Likewise.
48622 * configure.in: PWD_P is not used anymore.
48623 * config.make.in: Remove PWD_P entry.
48625 * configure.in: Remove last remnants of RANLIB.
48626 No need to check for signed size_t anymore.
48627 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48629 Remove __builtin_expect test because we require at least gcc 3.4.
48630 * aclocal.m4: Likewise.
48632 * wcsmbs/mbrtoc16.c: Implement using towc function.
48633 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48634 * wcsmbs/wcsmbsload.c: Likewise.
48635 * iconv/gconv_simple.c: Likewise.
48636 * iconv/gconv_int.h: Likewise.
48637 * iconv/gconv_builtin.h: Likewise.
48638 * iconv/iconv_prog.c: Remove CHAR16 handling.
48640 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48642 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48644 * configure.in: Remove --with-elf and --enable-bounded options.
48645 Dont set base_machine for ia64. More non-ELF conditions removed.
48646 Remove testing and setting of leading underscore information.
48647 * config.make.in (build-bounded): Set to no.
48648 * config.h.in: Remove NO_UNDERSCORES entry.
48649 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48651 * csu/start.c: Remove !NO_UNDERSCORE code.
48652 * locale/localeinfo.h: Likewise.
48653 * sysdeps/generic/machine-gmon.h: Likewise.
48654 * sysdeps/generic/sysdep.h: Likewise.
48655 * sysdeps/i386/sysdep.h: Likewise.
48656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48657 * sysdeps/mach/sysdep.h: Likewise.
48658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48660 * sysdeps/sh/sysdep.h: Likewise.
48661 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48662 * sysdeps/unix/i386/sysdep.S: Likewise.
48663 * sysdeps/unix/sparc/start.c: Likewise.
48664 * sysdeps/unix/sparc/sysdep.S: Likewise.
48665 * sysdeps/unix/sparc/sysdep.h: Likewise.
48666 * sysdeps/unix/start.c: Likewise.
48667 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48668 * sysdeps/x86_64/sysdep.h: Likewise.
48670 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48673 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48675 * argp/argp-fmtstream.h: Use const instead __const.
48676 * argp/argp.h: Likewise.
48677 * assert/assert.h: Likewise.
48678 * bits/fenv.h: Likewise.
48679 * bits/sched.h: Likewise.
48680 * bits/sigset.h: Likewise.
48681 * bits/sigthread.h: Likewise.
48682 * catgets/nl_types.h: Likewise.
48683 * conform/data/pthread.h-data: Likewise.
48684 * crypt/crypt-private.h: Likewise.
48685 * crypt/crypt.h: Likewise.
48686 * crypt/crypt_util.c: Likewise.
48687 * ctype/ctype.h: Likewise.
48688 * debug/execinfo.h: Likewise.
48689 * debug/mbsnrtowcs_chk.c: Likewise.
48690 * debug/mbsrtowcs_chk.c: Likewise.
48691 * debug/wcsnrtombs_chk.c: Likewise.
48692 * debug/wcsrtombs_chk.c: Likewise.
48693 * debug/wcstombs_chk.c: Likewise.
48694 * dirent/dirent.h: Likewise.
48695 * dlfcn/dlfcn.h: Likewise.
48696 * elf/neededtest4.c: Likewise.
48697 * grp/grp.h: Likewise.
48698 * gshadow/gshadow.h: Likewise.
48699 * iconv/gconv.h: Likewise.
48700 * iconv/gconv_int.h: Likewise.
48701 * iconv/gconv_simple.c: Likewise.
48702 * iconv/iconv.h: Likewise.
48703 * iconv/loop.c: Likewise.
48704 * iconv/skeleton.c: Likewise.
48705 * include/aio.h: Likewise.
48706 * include/aliases.h: Likewise.
48707 * include/argz.h: Likewise.
48708 * include/arpa/inet.h: Likewise.
48709 * include/assert.h: Likewise.
48710 * include/dirent.h: Likewise.
48711 * include/dlfcn.h: Likewise.
48712 * include/execinfo.h: Likewise.
48713 * include/fcntl.h: Likewise.
48714 * include/fenv.h: Likewise.
48715 * include/glob.h: Likewise.
48716 * include/grp.h: Likewise.
48717 * include/libintl.h: Likewise.
48718 * include/mntent.h: Likewise.
48719 * include/netdb.h: Likewise.
48720 * include/pwd.h: Likewise.
48721 * include/rpc/netdb.h: Likewise.
48722 * include/sched.h: Likewise.
48723 * include/search.h: Likewise.
48724 * include/shadow.h: Likewise.
48725 * include/signal.h: Likewise.
48726 * include/stdio.h: Likewise.
48727 * include/stdlib.h: Likewise.
48728 * include/string.h: Likewise.
48729 * include/sys/socket.h: Likewise.
48730 * include/sys/stat.h: Likewise.
48731 * include/sys/statfs.h: Likewise.
48732 * include/sys/statvfs.h: Likewise.
48733 * include/sys/syslog.h: Likewise.
48734 * include/sys/time.h: Likewise.
48735 * include/sys/uio.h: Likewise.
48736 * include/time.h: Likewise.
48737 * include/unistd.h: Likewise.
48738 * include/utmp.h: Likewise.
48739 * include/wchar.h: Likewise.
48740 * include/wctype.h: Likewise.
48741 * inet/aliases.h: Likewise.
48742 * inet/arpa/inet.h: Likewise.
48743 * inet/netinet/ether.h: Likewise.
48744 * inet/netinet/in.h: Likewise.
48745 * intl/libintl.h: Likewise.
48746 * io/bits/fcntl2.h: Likewise.
48747 * io/fcntl.h: Likewise.
48748 * io/ftw.h: Likewise.
48749 * io/sys/poll.h: Likewise.
48750 * io/sys/stat.h: Likewise.
48751 * io/sys/statfs.h: Likewise.
48752 * io/sys/statvfs.h: Likewise.
48753 * io/utime.h: Likewise.
48754 * libio/bits/stdio.h: Likewise.
48755 * libio/bits/stdio2.h: Likewise.
48756 * libio/libio.h: Likewise.
48757 * libio/libioP.h: Likewise.
48758 * libio/stdio.h: Likewise.
48759 * locale/lc-ctype.c: Likewise.
48760 * locale/locale.h: Likewise.
48761 * login/utmp.h: Likewise.
48762 * malloc/arena.c: Likewise.
48763 * malloc/malloc.c: Likewise.
48764 * malloc/malloc.h: Likewise.
48765 * malloc/mcheck.c: Likewise.
48766 * malloc/mtrace.c: Likewise.
48767 * math/bits/mathcalls.h: Likewise.
48768 * math/fenv.h: Likewise.
48769 * math/math_private.h: Likewise.
48770 * misc/bits/error.h: Likewise.
48771 * misc/bits/syslog.h: Likewise.
48772 * misc/err.h: Likewise.
48773 * misc/error.h: Likewise.
48774 * misc/fstab.h: Likewise.
48775 * misc/mntent.h: Likewise.
48776 * misc/regexp.h: Likewise.
48777 * misc/search.h: Likewise.
48778 * misc/sgtty.h: Likewise.
48779 * misc/sys/mman.h: Likewise.
48780 * misc/sys/syslog.h: Likewise.
48781 * misc/sys/uio.h: Likewise.
48782 * misc/sys/xattr.h: Likewise.
48783 * misc/ttyent.h: Likewise.
48784 * nis/rpcsvc/ypclnt.h: Likewise.
48785 * nss/nss.h: Likewise.
48786 * posix/bits/unistd.h: Likewise.
48787 * posix/fnmatch.h: Likewise.
48788 * posix/glob.h: Likewise.
48789 * posix/sched.h: Likewise.
48790 * posix/spawn.h: Likewise.
48791 * posix/sys/wait.h: Likewise.
48792 * posix/unistd.h: Likewise.
48793 * posix/wordexp.h: Likewise.
48794 * pwd/pwd.h: Likewise.
48795 * resolv/netdb.h: Likewise.
48796 * resource/sys/resource.h: Likewise.
48797 * rt/aio.h: Likewise.
48798 * rt/bits/mqueue2.h: Likewise.
48799 * rt/mqueue.h: Likewise.
48800 * shadow/shadow.h: Likewise.
48801 * signal/signal.h: Likewise.
48802 * socket/send.c: Likewise.
48803 * socket/sendto.c: Likewise.
48804 * socket/sys/socket.h: Likewise.
48805 * stdio-common/printf.h: Likewise.
48806 * stdlib/bits/stdlib.h: Likewise.
48807 * stdlib/fmtmsg.h: Likewise.
48808 * stdlib/monetary.h: Likewise.
48809 * stdlib/stdlib.h: Likewise.
48810 * stdlib/ucontext.h: Likewise.
48811 * streams/stropts.h: Likewise.
48812 * string/argz.h: Likewise.
48813 * string/bits/string2.h: Likewise.
48814 * string/string.h: Likewise.
48815 * string/strings.h: Likewise.
48816 * sunrpc/rpc/auth.h: Likewise.
48817 * sunrpc/rpc/auth_des.h: Likewise.
48818 * sunrpc/rpc/clnt.h: Likewise.
48819 * sunrpc/rpc/netdb.h: Likewise.
48820 * sunrpc/rpc/pmap_clnt.h: Likewise.
48821 * sunrpc/rpc/xdr.h: Likewise.
48822 * sysdeps/generic/inttypes.h: Likewise.
48823 * sysdeps/generic/net/if.h: Likewise.
48824 * sysdeps/generic/sys/swap.h: Likewise.
48825 * sysdeps/gnu/net/if.h: Likewise.
48826 * sysdeps/gnu/utmpx.h: Likewise.
48827 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48828 * sysdeps/i386/i486/bits/string.h: Likewise.
48829 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48830 * sysdeps/s390/bits/string.h: Likewise.
48831 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48832 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48834 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48836 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48839 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48840 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48841 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48843 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48844 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48845 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48852 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48853 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48854 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48855 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48856 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48859 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48861 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48862 * sysvipc/sys/ipc.h: Likewise.
48863 * sysvipc/sys/msg.h: Likewise.
48864 * sysvipc/sys/sem.h: Likewise.
48865 * sysvipc/sys/shm.h: Likewise.
48866 * termios/termios.h: Likewise.
48867 * time/sys/time.h: Likewise.
48868 * time/time.h: Likewise.
48869 * wcsmbs/bits/wchar2.h: Likewise.
48870 * wcsmbs/uchar.h: Likewise.
48871 * wcsmbs/wchar.h: Likewise.
48872 * wctype/wctype.h: Likewise.
48875 * Makeconfig: Remove all but ELF support including AIX support.
48876 * Makerules: Likewise.
48877 * config.h.in: Likewise.
48878 * config.make.in: Likewise.
48879 * configure: Likewise.
48880 * configure.in: Likewise.
48881 * csu/Makefile: Likewise.
48882 * csu/version.c: Likewise.
48883 * debug/Makefile: Likewise.
48884 * dlfcn/Makefile: Likewise.
48885 * elf/Makefile: Likewise.
48886 * extra-lib.mk: Likewise.
48887 * iconv/Makefile: Likewise.
48888 * include/libc-symbols.h: Likewise.
48889 * include/shlib-compat.h: Likewise.
48890 * resolv/Makefile: Likewise.
48891 * resolv/res_libc.c: Likewise.
48892 * rt/Makefile: Likewise.
48893 * sysdeps/i386/asm-syntax.h: Likewise.
48894 * sysdeps/i386/sysdep.h: Likewise.
48895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48896 * sysdeps/mach/sysdep.h: Likewise.
48897 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48898 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48899 * sysdeps/s390/asm-syntax.h: Likewise.
48900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48902 * sysdeps/sh/sysdep.h: Likewise.
48903 * sysdeps/unix/sparc/sysdep.h: Likewise.
48904 * sysdeps/wordsize-32/divdi3.c: Likewise.
48905 * sysdeps/x86_64/sysdep.h: Likewise.
48907 * argp/Versions: Remove _argp_unlock_xxx.
48910 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48911 * abilist/libBrokenLocale.abilist: Likewise.
48912 * abilist/libanl.abilist: Likewise.
48913 * abilist/libc.abilist: Likewise.
48914 * abilist/libcrypt.abilist: Likewise.
48915 * abilist/libdl.abilist: Likewise.
48916 * abilist/libm.abilist: Likewise.
48917 * abilist/libnsl.abilist: Likewise.
48918 * abilist/libpthread.abilist: Likewise.
48919 * abilist/libresolv.abilist: Likewise.
48920 * abilist/librt.abilist: Likewise.
48921 * abilist/libthread_db.abilist: Likewise.
48922 * abilist/libutil.abilist: Likewise.
48923 * abilist/libnss_db.abilist: New file.
48925 * scripts/abilist.awk: Add support for indirect functions.
48927 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48929 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48931 * shlib-versions: Remove entries for ports architectures.
48933 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48935 * elf/stackguard-macros.h: Remove support for IA-64.
48936 * elf/tst-auditmod1.c: Likewise.
48937 * sysdeps/generic/ldsodefs.h: Likewise.
48939 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48940 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48944 * configure.in: Remove --enable-omitfp support.
48946 * config.make.in: Likewise.
48947 * Makeconfig: Likewise.
48948 * manual/install.texi: Likewise.
48950 In case anyone cares, the IA-64 architecture could move to ports.
48951 * sysdeps/ia64/*: Removed.
48952 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48953 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48956 * configure.in: Remove entries for unsupported architectures.
48959 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48960 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48962 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48963 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48964 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48965 fall back to using wcrtomb.
48966 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48967 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48969 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48970 * wcsmbs/tst-c16c32-1.c: New file.
48972 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48975 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48977 * elf/tst-unique3.cc: Add explicit declaration of gets.
48978 * elf/tst-unique3lib.cc: Likewise.
48979 * elf/tst-unique3lib2.cc: Likewise.
48980 * elf/tst-unique4.cc: Likewise.
48982 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48984 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48987 * assert/assert.h (static_assert): Don't define for C++.
48988 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48989 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48991 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48993 * iconv/loop.c (single loop): Fix assertion in storing of
48996 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48998 2012-01-01 Ulrich Drepper <drepper@gmail.com>
49000 * posix/getconf.c: Update copyright year.
49001 * nss/getent.c: Likewise.
49002 * nss/makedb.c: Likewise.
49003 * iconv/iconvconfig.c: Likewise.
49004 * iconv/iconv_prog.c: Likewise.
49005 * elf/ldconfig.c: Likewise.
49006 * elf/pldd.c: Likewise.
49007 * elf/sotruss.ksh: Likewise.
49008 * catgets/gencat.c: Likewise.
49009 * csu/version.c: Likewise.
49010 * elf/ldd.bash.in: Likewise.
49011 * elf/sprof.c (print_version): Likewise.
49012 * locale/programs/locale.c: Likewise.
49013 * locale/programs/localedef.c: Likewise.
49014 * login/programs/pt_chown.c: Likewise.
49015 * nscd/nscd.c (print_version): Likewise.
49016 * debug/xtrace.sh: Likewise.
49017 * malloc/memusage.sh: Likewise.
49018 * malloc/mtrace.pl: Likewise.
49019 * debug/catchsegv.sh: Likewise.
49021 2011-12-30 Jakub Jelinek <jakub@redhat.com>
49023 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49026 2011-12-24 Ulrich Drepper <drepper@gmail.com>
49029 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49030 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49032 * iconv/gconv_int.h: Likewise.
49033 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49034 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49035 from libc for GLIBC_2.16.
49036 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49037 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49038 * wcsmbs/uchar.h: Really define mbstate_t.
49039 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49040 * wcsmbs/c16rtomb.c: New file.
49041 * wcsmbs/mbrtoc16.c: New file.
49042 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49043 for C/POSIX locale.
49044 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49045 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49047 * wcsmbs/wchar.h: Add missing __restrict.
49049 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49052 * time/Makefile (routines): Add timespec_get.
49053 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49054 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49055 timespec for ISO C11.
49056 * time/timespec_get.c: New file.
49057 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49058 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49061 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49062 * stdlib/stdlib.h: Declare aligned_alloc.
49063 * Versions.def: Add GLIBC_2.16 for libc.
49064 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49067 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49070 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49074 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49077 * assert/assert.h (static_assert): Define.
49079 * version.h: Update for 2.16 development version.
49082 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49085 * version.h (RELEASE): Bump for 2.15 release.
49086 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49088 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49089 Patch by Marek Polacek <mpolacek@redhat.com>.
49091 * bits/byteswap.h: Protect long long constants with __extension__.
49092 * sysdeps/i386/bits/byteswap.h: Likewise.
49093 * sysdeps/ia64/bits/byteswap.h: Likewise.
49094 * sysdeps/s390/bits/byteswap.h: Likewise.
49095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49097 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49101 destination buffer.
49102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49104 2011-12-23 Marek Polacek <polacek@redhat.com>
49106 * elf/dl-addr.c (determine_info): Add inline keyword.
49107 * elf/tst-auditmod4b.c (check_avx): Likewise.
49108 * elf/tst-auditmod6b.c (check_avx): Likewise.
49109 * elf/tst-auditmod6c.c (check_avx): Likewise.
49110 * elf/tst-auditmod7b.c (check_avx): Likewise.
49112 2011-12-23 Ulrich Drepper <drepper@gmail.com>
49114 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49117 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49121 processing for last bytes.
49123 2011-08-06 Bruno Haible <bruno@clisp.org>
49126 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49127 U+0385, not to U+1FEE.
49130 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49131 entry for U+00A5 U+0301.
49133 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49136 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49137 buffer for the output is too small.
49139 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49143 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49144 SSE flags if possible.
49146 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49150 processing for last bytes.
49152 2011-12-22 Joseph Myers <joseph@codesourcery.com>
49154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49155 (syscall-list-default-options, syscall-list-default-condition)
49156 (syscall-list-includes): Define.
49157 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49158 list of ABIs and options and #if conditions for each ABI. Do not
49159 handle common syscalls between ABIs specially.
49160 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49162 (syscall-list-variants, syscall-list-32bit-options)
49163 (syscall-list-32bit-condition, syscall-list-64bit-options)
49164 (syscall-list-64bit-condition): Define.
49165 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49166 (syscall-list-variants, syscall-list-32bit-options)
49167 (syscall-list-32bit-condition, syscall-list-64bit-options)
49168 (syscall-list-64bit-condition): Define.
49169 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49171 (syscall-list-variants, syscall-list-32bit-options)
49172 (syscall-list-32bit-condition, syscall-list-64bit-options)
49173 (syscall-list-64bit-condition): Define.
49174 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49176 (syscall-list-variants, syscall-list-32bit-options)
49177 (syscall-list-32bit-condition, syscall-list-64bit-options)
49178 (syscall-list-64bit-condition): Define.
49180 2011-12-22 Ulrich Drepper <drepper@gmail.com>
49182 * locale/iso-639.def: Add brx entry.
49185 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49186 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49188 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49189 __feraiseexcept_renamed.
49191 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49194 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49195 EPOLLET with unsigned values.
49196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49199 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49200 to large cancellation.
49201 * math/s_cacoshf.c: Likewise.
49202 * math/s_cacoshl.c: Likewise.
49204 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49208 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49209 * math/s_cacoshf.c: Likewise.
49210 * math/s_cacoshl.c: Likewise.
49212 2011-12-21 Ulrich Drepper <drepper@gmail.com>
49215 * iconv/gconv.h: Define __GCONV_SWAP.
49216 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49217 * iconvdata/utf-16.c: Likewise.
49218 * iconvdata/utf-32.c: Likewise.
49220 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49224 numerator after shifting it by one limb.
49226 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49228 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49229 under [__USE_EXTERN_INLINES].
49231 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49234 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49236 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49238 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49239 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49241 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49243 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49244 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49245 for strncasecmp/strncasecmp_l compilation.
49246 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49247 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49249 2011-12-08 Marek Polacek <mpolacek@redhat.com>
49252 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49255 2011-12-17 Ulrich Drepper <drepper@gmail.com>
49258 * time/tzfile.c (__tzfile_read): Check values from file header.
49260 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49262 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49263 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49264 * powerpc/powerpc32/dl-start.S: Likewise.
49265 * powerpc/powerpc32/elf/start.S: Likewise.
49266 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49267 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49268 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49269 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49270 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49271 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49272 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49273 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49274 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49275 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49276 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49277 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49278 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49279 * powerpc/powerpc32/memset.S: Likewise.
49280 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49281 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49282 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49283 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49284 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49285 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49286 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49287 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49288 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49289 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49294 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49296 * math/libm-test.inc: Added more nearbyint tests.
49297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49302 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49304 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49307 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49309 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49310 Add wcscpy-ssse3 wcscpy-c.
49311 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49312 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49313 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49314 * sysdeps/x86_64/wcschr.S: New file.
49315 * sysdeps/x86_64/wcsrchr.S: New file.
49316 * string/test-strcmp.c: Remove checking of wcscmp function for
49318 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49319 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49320 wcsrchr-sse2 wcsrchr-c.
49321 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49322 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49323 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49324 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49327 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49328 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49329 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49330 * wcsmbc/wcschr.c (WCSCHR): New macro.
49332 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49334 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49335 * wcsmbs/test-wcsrchr.c: New file.
49336 * string/test-strrchr.c: Add wcsrchr support.
49338 * wcsmbs/test-wcscpy.c: New file.
49339 * string/test-strcpy.c: Add wcscpy support.
49342 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49347 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49350 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49352 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49355 Minor optimizations.
49357 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49358 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49359 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49361 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49363 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49364 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49365 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49366 for gcc to avoid warnings.
49367 * inet/Makefile (tests): Add tst-checks.
49368 * inet/tst-checks.c: New file.
49370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49373 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49376 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49377 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49379 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49381 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49386 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49388 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49391 conditional on GCC version.
49392 (__arch_compare_and_exchange_val_8_acq)
49393 (__arch_compare_and_exchange_val_16_acq)
49394 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49395 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49396 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49398 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49400 * sysdeps/sh/backtrace.c: New file.
49402 2011-12-02 Andreas Schwab <schwab@redhat.com>
49404 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49407 2011-12-01 Andreas Schwab <schwab@redhat.com>
49409 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49410 falling back to utime.
49412 2011-11-30 Andreas Schwab <schwab@redhat.com>
49414 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49415 expectations for float.
49417 2011-11-29 Andreas Schwab <schwab@redhat.com>
49419 * locale/weight.h (findidx): Add parameter len.
49420 * locale/weightwc.h (findidx): Likewise.
49421 * posix/fnmatch_loop.c (FCT): Adjust caller.
49422 * posix/regcomp.c (build_equiv_class): Likewise.
49423 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49424 * posix/regexec.c (check_node_accept_bytes): Likewise.
49425 * string/strcoll_l.c (STRCOLL): Likewise.
49426 * string/strxfrm_l.c (STRXFRM): Likewise.
49428 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49430 * Makefile.in: Remove CVSOPT handling.
49431 * configure.in: Remove use of AC_REVISION.
49432 * iconvdata/Makefile (distribute): No need to filter out CVS.
49433 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49436 2011-11-16 Andreas Schwab <schwab@redhat.com>
49438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49439 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49440 [USE_AS_STRNCASECMP_L]: Likewise.
49441 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49442 NO_TLS_DIRECT_SEG_REFS.
49443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49444 Fix argument offsets for non-PIC.
49445 [USE_AS_STRNCASECMP_L]: Likewise.
49446 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49447 NO_TLS_DIRECT_SEG_REFS.
49449 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49451 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49453 * locale/loadlocale.c (_nl_load_locale): Likewise.
49455 2011-11-15 Andreas Schwab <schwab@redhat.com>
49457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49458 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49460 (SYSCALL_GETTIME): Set errno on error.
49462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49463 count references to noai6ai_cached.
49465 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49467 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49469 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49470 FD_CLOEXEC for /proc/self/maps.
49472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49473 FD_CLOEXEC for /proc/meminfo.
49475 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49478 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49479 FD_CLOEXEC for given file.
49481 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49483 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49484 FD_CLOEXEC for /etc/hosts.
49485 (_gethtent): Likewise.
49487 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49490 cancellation and set FD_CLOEXEC for /etc/netgroup.
49492 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49493 reading /etc/publickey.
49495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49496 allow cancellation when reading /etc/group.
49498 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49500 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49502 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49503 when using data file.
49505 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49507 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49508 (write_nis_obj): Use "c" and "e" in fopen.
49510 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49512 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49514 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49516 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49518 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49521 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49523 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49525 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49527 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49528 file parsing and set FD_CLOEXEC.
49530 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49532 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49534 2011-11-14 Andreas Schwab <schwab@redhat.com>
49536 * malloc/arena.c (arena_get2): Don't call reused_arena when
49537 _int_new_arena failed.
49539 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49542 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49547 to compile strcasecmp and strncasecmp.
49548 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49549 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49553 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49555 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49556 locale-defines.sym to gen-as-const-headers.
49557 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49558 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49560 to compile strcasecmp and strncasecmp.
49561 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49562 strcasecmp_l and strncasecmp_l.
49563 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49564 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49565 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49567 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49569 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49570 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49571 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49572 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49573 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49575 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49577 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49578 result of SYSDEP_GETTIME_CPU to retval.
49579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49580 parameter list to macro. Remove trailing semicolon. Adjust users.
49582 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49585 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49590 from unused variable.
49592 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49594 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49597 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49600 * sunrpc/rpc_prot.c (rejected): Fix case value.
49602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49603 unsigned long long int to avoid warnings in shift.
49605 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49607 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49611 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49614 * nis/nis_table.c (nis_list): Use variable of correct type for
49615 result of __follow_path call.
49617 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49619 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49620 of math functions ceil, trunc, floor, round, and sqrt, when
49621 avaliable on the platform.
49622 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49625 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49626 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49628 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49630 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49633 2011-11-11 Roland McGrath <roland@hack.frob.com>
49635 * include/unistd.h: Fix __readlink return type.
49636 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49638 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49640 * stdlib/ucontext.h: Undo last change for makecontext.
49642 2011-11-11 Andreas Schwab <schwab@redhat.com>
49644 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49646 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49647 * setjmp/setjmp.h: Mark functions as non-leaf.
49648 * setjmp/bits/setjmp2.h: Likewise.
49649 * stdlib/ucontext.h: Likewise.
49651 2011-11-10 Andreas Schwab <schwab@redhat.com>
49653 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49654 (reused_arena): Don't check arena limit.
49655 (arena_get2): Atomically check arena limit.
49657 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49659 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49660 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49665 2011-11-07 Andreas Schwab <schwab@redhat.com>
49667 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49668 handler when locking.
49670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49671 Fix size of allocated buffer.
49673 2011-11-04 Andreas Schwab <schwab@redhat.com>
49676 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49677 declarations for long double functions.
49678 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49680 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49682 2011-11-03 Andreas Schwab <schwab@redhat.com>
49684 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49687 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49690 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49692 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49694 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49696 * include/alloca.h (stackinfo_alloca_round): Define.
49697 (extend_alloca): Use it.
49698 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49699 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49702 * scripts/check-local-headers.sh: Ignore libaudit.h.
49704 * nscd/Makefile (extra-objs): Make recursively expanded.
49706 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49708 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49711 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49712 * posix/tst-rfc3484-2.c: Likewise.
49713 * posix/tst-rfc3484-3.c: Likewise.
49715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49717 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49719 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49720 process_vm_writev from libc using GLIBC_2.15 version.
49722 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49724 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49726 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49729 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49732 * nss/getent.c (initgroups_keys): Show error message in case no group
49735 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49736 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49737 __bump_nl_timestamp.
49738 * nscd/connections (nscd_init): When host database is served open
49739 netlink socket and request notification about configuration changes.
49740 (main_loop_poll): Track netlink file descriptor and bump timestamp
49741 in case data becomes available.
49742 (main_loop_epoll): Likewise.
49743 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49744 (database_pers_head): Add extra_data fileds.
49745 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49747 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49750 in6ai data, call __free_in6ai.
49751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49752 Add -DHAVE_NETLINK.
49753 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49754 interface information. Reuse previous data if netlink timestamp
49756 (__bump_nl_timestamp): New function.
49757 (__free_in6ai): New function.
49759 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49762 close_not_cancel_no_status here.
49763 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49765 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49768 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49771 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49772 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49773 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49775 2011-07-03 Andreas Jaeger <aj@suse.de>
49778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49779 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49780 * math/libm-test.inc (sin_test): Add test case.
49782 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49785 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49788 * elf/chroot_canon.c (chroot_canon): Cleanups.
49790 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49793 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49794 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49796 * string/test-strchr.c: Make usable for strchrnul testing.
49797 * string/test-strchrnul.c: New file.
49798 * string/Makefile (strop-tests): Add strchrnul.
49800 * po/it.po: Update from translation team.
49801 * po/es.po: Likewise.
49803 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49806 the three constants needed as parameters. Drop the others.
49807 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49808 __m128i_strloadu_tolower.
49809 Create and initialize variable zero and use it in all the places
49810 where _mm_setzero_si128 was used.
49812 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49813 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49814 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49817 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49820 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49822 __mpranred, __mptan.
49823 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49824 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49825 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49826 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49833 2011-10-28 Andreas Schwab <schwab@redhat.com>
49835 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49836 redefine if SHARED.
49837 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49840 wide char related routines to wcsmbs subdir.
49842 2011-10-27 Andreas Schwab <schwab@redhat.com>
49845 * misc/sys/cdefs.h (__THROWNL): Define.
49846 * posix/unistd.h: Use __THREADNL instead of __THREAD
49847 for memory synchronization functions.
49849 2011-10-26 Roland McGrath <roland@hack.frob.com>
49852 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49854 * manual/stdio.texi (Obstack Streams): Node removed.
49856 2011-10-26 Andreas Schwab <schwab@redhat.com>
49858 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49862 * math/math_private.h (math_force_eval): Allow non-addressable
49864 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49866 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49869 file is not needed.
49871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49878 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49885 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49890 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49891 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49900 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49901 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49904 place. Use VEX encoding when compiling for AVX.
49906 2011-10-25 Andreas Schwab <schwab@redhat.com>
49908 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49909 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49911 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49913 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49915 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49916 useless if() expression.
49917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49930 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49931 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49937 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49939 2011-10-25 Andreas Schwab <schwab@redhat.com>
49941 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49945 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49947 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49948 .text section. Avoid duplicate constants.
49949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49958 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49959 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49961 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49962 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49976 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49995 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49997 * sysdeps/x86_64/dla.h: Move to ...
49998 * sysdeps/x86_64/fpu/dla.h: ...here.
49999 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50000 situations. Use __builtin_fma only for gcc 4.6 and up.
50002 * config.make.in: Add have-mfma4 entry.
50003 * configure.in: Substitute libc_cv_cc_fma4.
50004 * math/Makefile (dbl-only-routines): Add sincostab.
50005 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50006 Use __sincostab not sincos.
50007 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50014 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50015 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50016 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50017 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50020 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50022 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50023 define aliases when function name is a macro.
50024 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50025 sysdeps/ieee754/dbl-64/sincos.tbl.
50026 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50027 fma4-enabled routines.
50028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50029 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50030 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50031 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50038 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50040 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50059 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50070 2011-10-24 Andreas Schwab <schwab@redhat.com>
50072 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50074 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50078 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50082 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50083 Remove unused variable magic_bits.
50084 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50086 * string/strnlen.c: Define and use STRNLEN macro.
50087 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50088 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50090 * wcsmbs/wcslen.c: Define and use WCSLEN.
50091 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50092 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50093 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50094 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50095 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50096 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50099 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50102 strnlen-sse2-no-bsf.
50103 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50106 Add strnlen support.
50107 (USE_AS_STRNLEN): New macro.
50108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50110 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50111 * sysdeps/x86_64/wcslen.S: New file.
50113 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50116 XMM-moves are used for copying on small sizes.
50118 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50120 * wcsmbs/Makefile (strop-tests): Add wcschr.
50121 * wcsmbs/test-wcschr.c: New file.
50122 * string/test-strchr.c: Update.
50123 Add wcschr support.
50126 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50128 * wcsmbs/Makefile (strop-tests): Add wcslen.
50129 * wcsmbs/test-wcslen.c: New file.
50130 * string/test-strlen.c: Update.
50131 Add wcslen support.
50134 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50136 * po/it.po: Update from translation team.
50138 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50140 * sysdeps/x86_64/wcscmp.S: Update.
50141 Fix wrong comparison semantics.
50142 wcscmp shall use signed comparison not unsigned.
50143 Don't use substraction to avoid overflow bug.
50144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50145 * wcsmbc/wcscmp.c: Likewise.
50146 * string/test-strcmp.c: Likewise.
50147 Add new tests to check cases with negative values.
50149 2011-10-23 Ulrich Drepper <drepper@gmail.com>
50151 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50152 * sysdeps/x86_64/dla.h: ...here. New file.
50153 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50163 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50166 __ynl_finite aliases.
50168 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50172 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50174 [DLA_FMA] (EMULV): Use DLA_FMA.
50175 [DLA_FMA] (MUL12): Use EMULV.
50176 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50177 that are not needed.
50178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50186 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50188 * math/s_nan.c: Undef __nan.
50189 * math/s_nanf.c: Undef __nanf.
50190 * math/s_nanl.c: Undef __nanl.
50191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50194 2011-10-22 Ulrich Drepper <drepper@gmail.com>
50196 * math/s_catan.c: Add branch predictions.
50197 * math/s_catanf.c: Likewise.
50198 * math/s_catanh.c: Likewise.
50199 * math/s_catanhf.c: Likewise.
50200 * math/s_catanhl.c: Likewise.
50201 * math/s_catanl.c: Likewise.
50202 * math/s_cexp.c: Likewise.
50203 * math/s_cexpf.c: Likewise.
50204 * math/s_cexpl.c: Likewise.
50205 * math/s_clog.c: Likewise.
50206 * math/s_clog10.c: Likewise.
50207 * math/s_clog10f.c: Likewise.
50208 * math/s_clog10l.c: Likewise.
50209 * math/s_clogf.c: Likewise.
50210 * math/s_clogl.c: Likewise.
50211 * math/s_csqrt.c: Likewise.
50212 * math/s_csqrtf.c: Likewise.
50213 * math/s_csqrtl.c: Likewise.
50214 * math/s_ctanf.c: Likewise.
50215 * math/s_ctanh.c: Likewise.
50216 * math/s_ctanhf.c: Likewise.
50217 * math/s_ctanhl.c: Likewise.
50218 * math/s_ctanl.c: Likewise.
50220 * math/math_private.h: Define __nan, __nanf, __nanl.
50221 * math/s_cacosh.c: Include <math_private.h>.
50222 * math/s_cacoshl.c: Likewise.
50223 * math/s_casinh.c: Likewise.
50224 * math/s_casinhf.c: Likewise.
50225 * math/s_casinhl.c: Likewise.
50226 * math/s_ccos.c: Rely entire on ccosh.
50227 * math/s_ccosf.c: Rely entire on ccoshf.
50228 * math/s_ccosl.c: Rely entirely on ccoshl.
50229 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50230 Remove tests for FE_INVALID.
50231 * math/s_ccoshf.c: Likewise.
50232 * math/s_ccoshl.c: Likewise.
50233 * math/s_csin.c: Likewise.
50234 * math/s_csinf.c: Likewise.
50235 * math/s_csinh.c Likewise.
50236 * math/s_csinhf.c: Likewise.
50237 * math/s_csinhl.c: Likewise.
50238 * math/s_csinl.c: Likewise.
50239 * math/s_ctan.c: Likewise.
50240 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50241 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50244 2011-10-21 Ulrich Drepper <drepper@gmail.com>
50246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50247 compilation problems.
50249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50252 2011-10-20 Ulrich Drepper <drepper@gmail.com>
50254 * sysdeps/i386/configure.in: Test for -mfma4 option.
50255 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50256 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50257 COMMON_CPUID_INDEX_80000001.
50258 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50259 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50260 use it if FMA3 is not supported.
50261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50263 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50266 2011-10-20 Andreas Schwab <schwab@redhat.com>
50269 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50270 it would create a cycle with a link time dependency.
50272 2011-10-19 Ulrich Drepper <drepper@gmail.com>
50274 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50276 * string/Makefile (strop-tests): Add rawmemchr.
50277 * string/test-rawmemchr.c: New file.
50279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50281 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50282 when compiling str{,n}casecmp and when AVX is available. Hook up
50283 new optimized code in initializers.
50285 2011-10-19 Andreas Schwab <schwab@redhat.com>
50287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50288 __feraiseexcept instead of feraiseexcept.
50290 2011-10-18 Ulrich Drepper <drepper@gmail.com>
50292 * math/math_private.h: Define defaults for libc_fetestexcept and
50294 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50295 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50299 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50300 libc_fetestexcept and libc_feupdateenv.
50302 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50303 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50304 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50305 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50306 libc_feholdexcept_setround.
50308 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50309 Add s_nearbyint-c and s_nearbyintf-c.
50310 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50311 nearbyintf inlines.
50312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50317 * math/math_private.h: Define defaults for libc_fegetround,
50318 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50319 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50320 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50322 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50323 standard functions.
50324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50325 Remove comments and hacks for old compiler versions.
50326 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50327 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50328 libc_feholdexceptl.
50330 2011-10-18 Andreas Schwab <schwab@redhat.com>
50332 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50333 (__feraiseexcept_renamed): Add __NTH.
50334 (feraiseexcept): Add __NTH. Rename local variables to fix
50335 namespace violations.
50337 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50341 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50343 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50344 recently added interfaces.
50345 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50347 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50348 about macro parameter expansion.
50350 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50351 __NO_MATH_INLINES is defined. Cleanups.
50353 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50354 and __floorf is target has SSE4.1.
50355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50360 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50362 (floorf): Likewise.
50364 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50366 2011-10-17 Andreas Schwab <schwab@redhat.com>
50368 * misc/sys/cdefs.h: Fix last change.
50370 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50373 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50375 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50377 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50385 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50386 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50387 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50388 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50390 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50394 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50395 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50396 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50398 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50401 ceil, ceilf, floor, floorf.
50403 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50404 Perform IRELATIVE relocations last.
50406 * elf/do-rel.h: Add another parameter nrelative, replacing the
50407 local variable with the same name. Change name of the function
50408 to end in Rel or Rela (uppercase).
50409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50410 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50411 elf_dynamic_do_##reloc function.
50413 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50415 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50416 is sufficient, at least on modern CPUs.
50418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50420 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50423 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50425 * math/bits/math-finite.h: Add entries for exp.
50426 * math/e_expl.c: Add __*_finite alias.
50427 * sysdeps/i386/fpu/e_exp.S: Likewise.
50428 * sysdeps/i386/fpu/e_expf.S: Likewise.
50429 * sysdeps/i386/fpu/e_expl.c: Likewise.
50430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50432 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50434 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50438 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50439 is sufficient, at least on modern CPUs.
50441 * ctype/ctype-info.c (__ctype_init): Define.
50442 * include/ctype.h (__ctype_init): Declare.
50443 (__ctype_b_loc): The variable is always initialized.
50444 (__ctype_toupper_loc): Likewise.
50445 (__ctype_tolower_loc): Likewise.
50446 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50447 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50449 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50451 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50453 * configure.in: Also look in $cxxmachine/include for C++ system
50456 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50458 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50459 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50460 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50461 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50463 (USE_AS_WMEMCMP): New macro.
50465 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50466 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50467 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50468 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50470 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50471 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50473 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50474 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50476 (USE_AS_WMEMCMP): New macro.
50477 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50478 * sysdeps/string/test-memcmp.c: Update.
50479 Fix simple_wmemcmp.
50481 * wcsmbs/wmemcmp.c: Update.
50482 (WMEMCMP): New macro.
50485 2011-10-12 Andreas Jaeger <aj@suse.de>
50488 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50490 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50492 * libio/iofwide.c (do_length): Avoid warning.
50494 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50496 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50498 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50500 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50501 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50502 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50503 * sysdeps/i386/i686/fpu/e_log.S: New file.
50504 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50505 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50507 * ctype/ctype.h: Add support for inlined isXXX functions when
50508 compiling C++ code.
50510 2011-10-14 Andreas Schwab <schwab@redhat.com>
50512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50516 2011-10-13 Roland McGrath <roland@hack.frob.com>
50519 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50521 2011-10-13 Andreas Schwab <schwab@redhat.com>
50523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50524 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50527 * sysdeps/x86_64/memrchr.S: Check for zero size.
50529 * string/stratcliff.c: Add memrchr tests.
50531 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50534 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50535 rawmemchr-sse2 rawmemchr-sse2-bsf.
50536 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50537 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50538 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50539 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50540 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50541 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50542 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50543 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50546 * string/memrchr.c (MEMRCHR): New macro.
50548 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50550 Add integration with gcc's -ffinite-math-only and optimize wrapper
50552 * Versions.def: Define GLIBC_2.15 version for libm.
50553 * math/Makefile (headers): Add bits/math-finite.h.
50554 * math/bits/math-finite.h: New file.
50555 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50556 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50557 * math/e_acoshl.c: Add __*_finite alias.
50558 * math/e_acosl.c: Likewise.
50559 * math/e_asinl.c: Likewise.
50560 * math/e_atan2l.c: Likewise.
50561 * math/e_atanhl.c: Likewise.
50562 * math/e_coshl.c: Likewise.
50563 * math/e_exp10.c: Likewise.
50564 * math/e_exp10f.c: Likewise.
50565 * math/e_exp10l.c: Likewise.
50566 * math/e_exp2l.c: Likewise.
50567 * math/e_fmodl.c: Likewise.
50568 * math/e_gammal_r.c: Likewise.
50569 * math/e_hypotl.c: Likewise.
50570 * math/e_j0l.c: Likewise.
50571 * math/e_j1l.c: Likewise.
50572 * math/e_jnl.c: Likewise.
50573 * math/e_lgammal_r.c: Likewise.
50574 * math/e_log10l.c: Likewise.
50575 * math/e_log2l.c: Likewise.
50576 * math/e_logl.c: Likewise.
50577 * math/e_powl.c: Likewise.
50578 * math/e_sinhl.c: Likewise.
50579 * math/e_sqrtl.c: Likewise.
50580 * math/e_scalb.c: Completely rewritten and optimized.
50581 * math/e_scalbf.c: Likewise.
50582 * math/e_scalbl.c: Likewise.
50583 * math/w_acos.c: Likewise.
50584 * math/w_acosf.c: Likewise.
50585 * math/w_acosl.c: Likewise.
50586 * math/w_acosh.c: Likewise.
50587 * math/w_acoshf.c: Likewise.
50588 * math/w_acoshl.c: Likewise.
50589 * math/w_asin.c: Likewise.
50590 * math/w_asinf.c: Likewise.
50591 * math/w_asinl.c: Likewise.
50592 * math/w_atan2.c: Likewise.
50593 * math/w_atan2f.c: Likewise.
50594 * math/w_atan2l.c: Likewise.
50595 * math/w_atanh.c: Likewise.
50596 * math/w_atanhf.c: Likewise.
50597 * math/w_atanhl.c: Likewise.
50598 * math/w_exp10.c: Likewise.
50599 * math/w_exp10f.c: Likewise.
50600 * math/w_exp10l.c: Likewise.
50601 * math/w_fmod.c: Likewise.
50602 * math/w_fmodf.c: Likewise.
50603 * math/w_fmodl.c: Likewise.
50604 * math/w_j0.c: Likewise.
50605 * math/w_j0f.c: Likewise.
50606 * math/w_j0l.c: Likewise.
50607 * math/w_j1.c: Likewise.
50608 * math/w_j1f.c: Likewise.
50609 * math/w_j1l.c: Likewise.
50610 * math/w_jn.c: Likewise.
50611 * math/w_jnf.c: Likewise.
50612 * math/w_log.c: Likewise.
50613 * math/w_logf.c: Likewise.
50614 * math/w_logl.c: Likewise.
50615 * math/w_log10.c: Likewise.
50616 * math/w_log10f.c: Likewise.
50617 * math/w_log10l.c: Likewise.
50618 * math/w_log2.c: Likewise.
50619 * math/w_log2f.c: Likewise.
50620 * math/w_log2l.c: Likewise.
50621 * math/w_pow.c: Likewise.
50622 * math/w_powf.c: Likewise.
50623 * math/w_powl.c: Likewise.
50624 * math/w_remainder.c: Likewise.
50625 * math/w_remainderf.c: Likewise.
50626 * math/w_remainderl.c: Likewise.
50627 * math/w_scalb.c: Likewise.
50628 * math/w_scalbf.c: Likewise.
50629 * math/w_scalbl.c: Likewise.
50630 * math/w_sqrt.c: Likewise.
50631 * math/w_sqrtf.c: Likewise.
50632 * math/w_sqrtl.c: Likewise.
50633 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50634 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50636 * math/math_private.h: Declare __kernel_standard_f.
50637 * math/w_cosh.c: Remove cruft and optimize a bit.
50638 * math/w_coshf.c: Likewise.
50639 * math/w_coshl.c: Likewise.
50640 * math/w_exp2.c: Likewise.
50641 * math/w_exp2f.c: Likewise.
50642 * math/w_exp2l.c: Likewise.
50643 * math/w_hypot.c: Likewise.
50644 * math/w_hypotf.c: Likewise.
50645 * math/w_hypotl.c: Likewise.
50646 * math/w_lgamma.c: Likewise.
50647 * math/w_lgamma_r.c: Likewise.
50648 * math/w_lgammaf.c: Likewise.
50649 * math/w_lgammaf_r.c: Likewise.
50650 * math/w_lgammal.c: Likewise.
50651 * math/w_lgammal_r.c: Likewise.
50652 * math/w_sinh.c: Likewise.
50653 * math/w_sinhf.c: Likewise.
50654 * math/w_sinhl.c: Likewise.
50655 * math/w_tgamma.c: Likewise.
50656 * math/w_tgammaf.c: Likewise.
50657 * math/w_tgammal.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50660 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50661 Minor optimizations. Pretty printing. Remove cruft.
50662 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50666 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50667 * sysdeps/i386/fpu/e_asin.S: Likewise.
50668 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50669 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50670 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50671 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50674 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50675 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50676 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50677 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50678 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50679 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50680 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50681 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50682 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50683 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50684 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50685 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50686 * sysdeps/i386/fpu/e_log.S: Likewise.
50687 * sysdeps/i386/fpu/e_log10.S: Likewise.
50688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50690 * sysdeps/i386/fpu/e_log2.S: Likewise.
50691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50693 * sysdeps/i386/fpu/e_logf.S: Likewise.
50694 * sysdeps/i386/fpu/e_logl.S: Likewise.
50695 * sysdeps/i386/fpu/e_pow.S: Likewise.
50696 * sysdeps/i386/fpu/e_powf.S: Likewise.
50697 * sysdeps/i386/fpu/e_powl.S: Likewise.
50698 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50699 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50700 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50704 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50705 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50706 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50725 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50757 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50762 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50763 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50764 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50790 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50794 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50795 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50796 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50797 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50804 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50805 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50806 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50807 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50808 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50809 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50810 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50815 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50817 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50818 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50819 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50820 (__isnanf): Likewise.
50821 (__isinf_ns): Likewise.
50822 (__isinf_nsf): Likewise.
50823 (__finite): Likewise.
50824 (__finitef): Likewise.
50825 (__ieee754_sqrt): Define as macro.
50826 (__ieee754_sqrtf): Define as macro.
50827 (__ieee754_sqrtl): Define as macro.
50828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50830 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50831 __FINITE_MATH_ONLY__ consistent.
50832 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50834 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50836 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50841 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50843 * po/ja.po: Update from translation team.
50845 2011-10-08 Roland McGrath <roland@hack.frob.com>
50847 * locale/programs/locarchive.c (prepare_address_space): New function.
50848 (create_archive, enlarge_archive, open_archive): Use it.
50850 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50851 inside [SHARED], where it is used.
50853 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50855 * nss/getent.c (netgroup_keys): Remove unused variable.
50856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50858 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50860 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50866 * math/Makefile (libm-calls): Add s_isinf_ns.
50867 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50868 * math/multc3.c: Likewise.
50869 * math/s_casin.c: Likewise.
50870 * math/s_casinf.c: Likewise.
50871 * math/s_casinl.c: Likewise.
50872 * math/s_ccos.c: Likewise.
50873 * math/s_ccosf.c: Likewise.
50874 * math/s_ccosl.c: Likewise.
50875 * math/s_ctan.c: Likewise.
50876 * math/s_ctanf.c: Likewise.
50877 * math/s_ctanh.c: Likewise.
50878 * math/s_ctanhf.c: Likewise.
50879 * math/s_ctanhl.c: Likewise.
50880 * math/s_ctanl.c: Likewise.
50881 * math/w_fmod.c: Likewise.
50882 * math/w_fmodf.c: Likewise.
50883 * math/w_fmodl.c: Likewise.
50884 * math/w_remainder.c: Likewise.
50885 * math/w_remainderf.c: Likewise.
50886 * math/w_remainderl.c: Likewise.
50887 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50888 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50891 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50892 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50893 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50894 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50896 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50898 * stdio-common/printf_fphex.c: Likewise.
50899 * stdio-common/printf_size.c: Likewise.
50901 * math/e_exp10.c: Include math_private.h using <...> not "...".
50902 * math/e_exp10f.c: Likewise.
50903 * math/e_exp10l.c: Likewise.
50904 * math/e_exp2l.c: Likewise.
50905 * math/e_j0l.c: Likewise.
50906 * math/e_j1l.c: Likewise.
50907 * math/e_jnl.c: Likewise.
50908 * math/e_lgammal_r.c: Likewise.
50909 * math/e_rem_pio2l.c: Likewise.
50910 * math/e_scalb.c: Likewise.
50911 * math/e_scalbf.c: Likewise.
50912 * math/e_scalbl.c: Likewise.
50913 * math/k_cosl.c: Likewise.
50914 * math/k_sinl.c: Likewise.
50915 * math/k_tanl.c: Likewise.
50916 * math/s_cacoshf.c: Likewise.
50917 * math/s_catan.c: Likewise.
50918 * math/s_catanf.c: Likewise.
50919 * math/s_catanh.c: Likewise.
50920 * math/s_catanhf.c: Likewise.
50921 * math/s_catanhl.c: Likewise.
50922 * math/s_catanl.c: Likewise.
50923 * math/s_ccosh.c: Likewise.
50924 * math/s_ccoshf.c: Likewise.
50925 * math/s_ccoshl.c: Likewise.
50926 * math/s_cexp.c: Likewise.
50927 * math/s_cexpf.c: Likewise.
50928 * math/s_cexpl.c: Likewise.
50929 * math/s_clog.c: Likewise.
50930 * math/s_clog10.c: Likewise.
50931 * math/s_clog10f.c: Likewise.
50932 * math/s_clog10l.c: Likewise.
50933 * math/s_clogf.c: Likewise.
50934 * math/s_clogl.c: Likewise.
50935 * math/s_csin.c: Likewise.
50936 * math/s_csinf.c: Likewise.
50937 * math/s_csinh.c: Likewise.
50938 * math/s_csinhf.c: Likewise.
50939 * math/s_csinhl.c: Likewise.
50940 * math/s_csinl.c: Likewise.
50941 * math/s_csqrt.c: Likewise.
50942 * math/s_csqrtf.c: Likewise.
50943 * math/s_csqrtl.c: Likewise.
50944 * math/s_ctan.c: Likewise.
50945 * math/s_ctanf.c: Likewise.
50946 * math/s_ctanh.c: Likewise.
50947 * math/s_ctanhf.c: Likewise.
50948 * math/s_ctanhl.c: Likewise.
50949 * math/s_ctanl.c: Likewise.
50950 * math/s_ldexp.c: Likewise.
50951 * math/s_ldexpf.c: Likewise.
50952 * math/s_ldexpl.c: Likewise.
50953 * math/s_significand.c: Likewise.
50954 * math/s_significandf.c: Likewise.
50955 * math/s_significandl.c: Likewise.
50956 * math/w_acos.c: Likewise.
50957 * math/w_acosf.c: Likewise.
50958 * math/w_acosh.c: Likewise.
50959 * math/w_acoshf.c: Likewise.
50960 * math/w_acoshl.c: Likewise.
50961 * math/w_acosl.c: Likewise.
50962 * math/w_asin.c: Likewise.
50963 * math/w_asinf.c: Likewise.
50964 * math/w_asinl.c: Likewise.
50965 * math/w_atan2.c: Likewise.
50966 * math/w_atan2f.c: Likewise.
50967 * math/w_atan2l.c: Likewise.
50968 * math/w_atanh.c: Likewise.
50969 * math/w_atanhf.c: Likewise.
50970 * math/w_atanhl.c: Likewise.
50971 * math/w_cosh.c: Likewise.
50972 * math/w_coshf.c: Likewise.
50973 * math/w_coshl.c: Likewise.
50974 * math/w_dremf.c: Likewise.
50975 * math/w_exp10.c: Likewise.
50976 * math/w_exp10f.c: Likewise.
50977 * math/w_exp10l.c: Likewise.
50978 * math/w_exp2.c: Likewise.
50979 * math/w_exp2f.c: Likewise.
50980 * math/w_fmod.c: Likewise.
50981 * math/w_fmodf.c: Likewise.
50982 * math/w_fmodl.c: Likewise.
50983 * math/w_hypot.c: Likewise.
50984 * math/w_hypotf.c: Likewise.
50985 * math/w_hypotl.c: Likewise.
50986 * math/w_j0.c: Likewise.
50987 * math/w_j0f.c: Likewise.
50988 * math/w_j0l.c: Likewise.
50989 * math/w_j1.c: Likewise.
50990 * math/w_j1f.c: Likewise.
50991 * math/w_j1l.c: Likewise.
50992 * math/w_jn.c: Likewise.
50993 * math/w_jnf.c: Likewise.
50994 * math/w_jnl.c: Likewise.
50995 * math/w_lgamma.c: Likewise.
50996 * math/w_lgamma_r.c: Likewise.
50997 * math/w_lgammaf.c: Likewise.
50998 * math/w_lgammaf_r.c: Likewise.
50999 * math/w_lgammal.c: Likewise.
51000 * math/w_lgammal_r.c: Likewise.
51001 * math/w_log.c: Likewise.
51002 * math/w_log10.c: Likewise.
51003 * math/w_log10f.c: Likewise.
51004 * math/w_log10l.c: Likewise.
51005 * math/w_log2.c: Likewise.
51006 * math/w_log2f.c: Likewise.
51007 * math/w_log2l.c: Likewise.
51008 * math/w_logf.c: Likewise.
51009 * math/w_logl.c: Likewise.
51010 * math/w_pow.c: Likewise.
51011 * math/w_powf.c: Likewise.
51012 * math/w_powl.c: Likewise.
51013 * math/w_remainder.c: Likewise.
51014 * math/w_remainderf.c: Likewise.
51015 * math/w_remainderl.c: Likewise.
51016 * math/w_scalb.c: Likewise.
51017 * math/w_scalbf.c: Likewise.
51018 * math/w_scalbl.c: Likewise.
51019 * math/w_sinh.c: Likewise.
51020 * math/w_sinhf.c: Likewise.
51021 * math/w_sinhl.c: Likewise.
51022 * math/w_sqrt.c: Likewise.
51023 * math/w_sqrtf.c: Likewise.
51024 * math/w_sqrtl.c: Likewise.
51025 * math/w_tgamma.c: Likewise.
51026 * math/w_tgammaf.c: Likewise.
51027 * math/w_tgammal.c: Likewise.
51029 * po/ja.po: Update from translation team.
51031 2011-09-29 Andreas Jaeger <aj@suse.de>
51034 * sunrpc/netname.c (netname2host): Fix logic.
51038 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51040 * math/w_remainder.c (__remainder): Likewise.
51041 * math/w_remainderf.c (__remainderf): Likewise.
51042 * math/libm-test.inc (remainder_test): Add test cases.
51044 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51046 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51049 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51051 * string/test-memcmp.c: Avoid unncessary #defines.
51052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51054 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51056 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51057 Use new sse2 version for core i3 - i7 as it's faster
51058 than sse42 version.
51059 (bit_Prefer_PMINUB_for_stringop): New.
51060 * sysdeps/x86_64/rawmemchr.S: Update.
51061 Replace with faster SSE2 version.
51062 * sysdeps/x86_64/memrchr.S: New file.
51063 * sysdeps/x86_64/memchr.S: Update.
51064 Replace with faster SSE2 version.
51066 2011-09-12 Marek Polacek <mpolacek@redhat.com>
51068 * elf/dl-load.c (lose): Add cast to avoid warning.
51070 2011-10-07 Ulrich Drepper <drepper@gmail.com>
51072 * po/ca.po: Update from translation team.
51074 * inet/getnetgrent_r.c: Hook up nscd.
51075 * nscd/Makefile (routines): Add nscd_netgroup.
51076 (nscd-modules): Add netgroupcache.
51077 (CFLAGS-netgroupcache.c): Define.
51078 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51079 (cache_search): Add const to second parameter.
51080 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51082 (dbs): Add netgrdb entry.
51083 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51084 (verify_persistent_db): Handle netgrdb.
51085 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51086 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51088 (netgroup_response_header): Define.
51089 (innetgroup_response_header): Define.
51090 (datahead): Add netgroup_response_header and innetgroup_response_header
51092 * nscd/nscd.conf: Add entries for netgroup cache.
51093 * nscd/nscd.h (dbtype): Add netgrdb.
51094 (_PATH_NSCD_NETGROUP_DB): Define.
51095 (netgroup_iov_disabled): Declare.
51096 (xmalloc, xcalloc, xrealloc): Move declarations here.
51097 (cache_search): Adjust prototype.
51098 Add netgroup-related prototypes.
51099 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51100 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51101 (__nscd_innetgr): Declare.
51102 * nscd/selinux.c (perms): Use access_vector_t as element type and
51103 add netgroup-related initializers.
51104 * nscd/netgroupcache.c: New file.
51105 * nscd/nscd_netgroup.c: New file.
51106 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51107 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51108 For four parameters use innetgr.
51109 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51110 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51111 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51112 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51114 * nscd/connections.c (register_traced_file): Don't register file
51115 for disabled databases.
51117 2011-10-06 Ulrich Drepper <drepper@gmail.com>
51119 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51121 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51122 from tree and freeing node.
51124 2011-09-25 Jiri Olsa <jolsa@redhat.com>
51126 * nss/nsswitch.c (__nss_database_lookup): Handle
51127 nss_parse_service_list out of memory case.
51129 2011-09-15 Jiri Olsa <jolsa@redhat.com>
51131 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51132 out of memory case.
51134 2011-10-04 Andreas Schwab <schwab@redhat.com>
51136 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51137 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51139 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51140 elf_machine_rela, elf_machine_lazy_rel.
51141 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51142 (ELF_DYNAMIC_DO_REL): Likewise.
51143 (ELF_DYNAMIC_DO_RELA): Likewise.
51144 (ELF_DYNAMIC_RELOCATE): Likewise.
51145 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51146 to ELF_DYNAMIC_DO_REL.
51147 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51148 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51149 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51152 skip_ifunc, don't call ifunc function if non-zero.
51153 (elf_machine_rela): Likewise.
51154 (elf_machine_lazy_rel): Likewise.
51155 (elf_machine_lazy_rela): Likewise.
51156 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51157 (elf_machine_lazy_rel): Likewise.
51158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51160 (elf_machine_lazy_rel): Likewise.
51161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51163 (elf_machine_lazy_rel): Likewise.
51164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51165 (elf_machine_lazy_rel): Likewise.
51166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51167 (elf_machine_lazy_rel): Likewise.
51168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51169 (elf_machine_lazy_rel): Likewise.
51170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51171 (elf_machine_lazy_rel): Likewise.
51172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51173 (elf_machine_lazy_rel): Likewise.
51174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51175 (elf_machine_lazy_rel): Likewise.
51177 2011-09-28 Ulrich Drepper <drepper@gmail.com>
51179 * nss/nss_files/files-init.c (_nss_files_init): Use static
51180 initialization for all the *_traced_file variables.
51182 2011-09-28 Andreas Schwab <schwab@redhat.com>
51184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51186 2011-09-27 Roland McGrath <roland@hack.frob.com>
51189 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51191 2011-09-27 Andreas Schwab <schwab@redhat.com>
51193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51194 Reread the line before reparsing it.
51196 2011-09-26 Andreas Schwab <schwab@redhat.com>
51198 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51200 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51201 Maxim Kuvyrkov <maxim@codesourcery.com>
51202 Joseph Myers <joseph@codesourcery.com>
51204 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51205 if needed for __stack_chk_guard.
51207 2011-09-19 Roland McGrath <roland@hack.frob.com>
51209 * sysdeps/posix/spawni.c (script_execute): Always define it.
51210 It will be optimized away if unused.
51211 (maybe_script_execute): New function.
51212 (__spawni): Call it.
51214 * Makerules: Don't include tls.make.
51215 (config-tls): Always set to thread.
51216 * tls.make.c: File removed.
51218 2011-09-19 Mike Frysinger <vapier@gentoo.org>
51220 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51221 * config.make.in (CPPFLAGS-config): New substituted variable.
51223 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51228 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51229 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51231 2011-09-15 Roland McGrath <roland@hack.frob.com>
51233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51234 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51236 (CALL_FAIL): Likewise.
51237 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51238 (CALL_FAIL): Macro removed.
51239 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51241 2011-09-15 Ulrich Drepper <drepper@gmail.com>
51243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51244 for __FINITE_MATH_ONLY__ == 1.
51246 2011-09-15 Andreas Schwab <schwab@redhat.com>
51248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51249 __ieee754_sqrt instead of sqrt.
51250 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51251 __ieee754_sqrtf instead of sqrtf.
51252 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51253 __floorf instead of floorf.
51254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51255 __floorf, __truncf instead of floorf, truncf.
51257 2011-09-14 Ulrich Drepper <drepper@gmail.com>
51259 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51261 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51262 __extern_always_inline.
51263 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51266 2011-09-14 Andreas Schwab <schwab@redhat.com>
51268 * elf/rtld.c (dl_main): Also relocate in dependency order when
51269 doing symbol dependency testing.
51271 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51274 Always define `refsym'.
51276 2011-09-13 Andreas Schwab <schwab@redhat.com>
51278 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51279 (__FD_ELT): Renamed from __FDELT.
51280 * misc/bits/select2.h (__FD_ELT): Likewise.
51281 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51282 __FD_MASK instead of __FDELT, __FDMASK.
51283 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51285 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51288 * elf/Makefile (gen-ldd): Fix pattern.
51290 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51291 (init_tls): Likewise.
51293 2011-09-12 Ulrich Drepper <drepper@gmail.com>
51295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51297 2011-09-12 Andreas Schwab <schwab@redhat.com>
51299 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51300 `struct cmsghdr *' instead of `void *'.
51301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51304 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51306 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51308 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51309 ldd_rewrite_script.
51311 2011-09-11 Ulrich Drepper <drepper@gmail.com>
51313 * configure.in: Remove --with-tls option.
51314 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51315 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51316 out in case it is missing.
51317 * sysdeps/ia64/elf/configure.in: Likewise.
51318 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51319 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51320 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51321 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51322 * sysdeps/sh/elf/configure.in: Likewise.
51323 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51325 * sysdeps/x86_64/elf/configure.in: Likewise.
51326 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51327 * sysdeps/mach/hurd/tls.h: Likewise.
51330 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51333 * configure.in: Fix use of AC_INIT.
51335 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51337 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51339 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51341 * malloc/hooks.c: Likewise.
51344 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51345 variables statically.
51346 (narenas): Initialize.
51347 (list_lock): Initialize.
51348 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51349 initializtion of main_arena and list_lock. Small cleanups.
51350 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51351 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51352 Add initializers to main_arena and mp_.
51353 (malloc_state): Remove pagesize member. Change all users to use
51356 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51357 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51358 is always initialized.
51360 * malloc/malloc.c: Removed unused configurations and dead code.
51361 * malloc/arena.c: Likewise.
51362 * malloc/hooks.c: Likewise.
51363 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51365 * include/tls.h: Removed. USE___THREAD must always be defined.
51366 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51367 * elf/dl-libc.c: Likewise.
51368 * elf/dl-tsd.c: Likewise.
51369 * include/errno.h: Likewise.
51370 * include/netdb.h: Likewise.
51371 * include/resolv.h: Likewise.
51372 * inet/herrno-loc.c: Likewise.
51373 * inet/herrno.c: Likewise.
51374 * malloc/arena.c: Likewise.
51375 * malloc/hooks.c: Likewise.
51376 * malloc/malloc.c: Likewise.
51377 * resolv/res-state.c: Likewise.
51378 * resolv/res_libc.c: Likewise.
51379 * sysdeps/i386/dl-machine.h: Likewise.
51380 * sysdeps/ia64/dl-machine.h: Likewise.
51381 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51383 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51384 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51385 * sysdeps/sh/dl-machine.h: Likewise.
51386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51388 * sysdeps/unix/i386/sysdep.S: Likewise.
51389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51390 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51400 * sysdeps/x86_64/dl-machine.h: Likewise.
51401 * tls.make.c: Likewise.
51403 * configure.in: Remove --with-__thread option. Make tests for
51404 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51405 tls_model attribute fail if no support is available. Remove
51407 * Makeconfig: Adjust for dropped configure option. All features are
51409 * Makerules: Likewise.
51410 * Versions.def: Likewise.
51411 * argp/argp-fmtstream.c: Likewise.
51412 * argp/argp-fmtstream.h: Likewise.
51413 * argp/argp-help.c: Likewise.
51414 * assert/assert.c: Likewise.
51415 * config.h.in: Likewise.
51416 * config.make.in: Likewise.
51417 * configure: Likewise.
51418 * configure.in: Likewise.
51419 * csu/Versions: Likewise.
51420 * csu/init.c: Likewise.
51421 * elf/tst-audit2.c: Likewise.
51422 * elf/tst-tls10.c: Likewise.
51423 * elf/tst-tls10.h: Likewise.
51424 * elf/tst-tls11.c: Likewise.
51425 * elf/tst-tls12.c: Likewise.
51426 * elf/tst-tls14.c: Likewise.
51427 * elf/tst-tlsmod11.c: Likewise.
51428 * elf/tst-tlsmod12.c: Likewise.
51429 * elf/tst-tlsmod13.c: Likewise.
51430 * elf/tst-tlsmod13a.c: Likewise.
51431 * elf/tst-tlsmod14a.c: Likewise.
51432 * elf/tst-tlsmod15b.c: Likewise.
51433 * elf/tst-tlsmod16a.c: Likewise.
51434 * elf/tst-tlsmod16b.c: Likewise.
51435 * elf/tst-tlsmod7.c: Likewise.
51436 * elf/tst-tlsmod8.c: Likewise.
51437 * elf/tst-tlsmod9.c: Likewise.
51438 * gmon/gmon.c: Likewise.
51439 * grp/fgetgrent_r.c: Likewise.
51440 * grp/putgrent.c: Likewise.
51441 * hurd/fopenport.c: Likewise.
51442 * include/libc-symbols.h: Likewise.
51443 * include/tls.h: Likewise.
51444 * intl/gettextP.h: Likewise.
51445 * intl/loadinfo.h: Likewise.
51446 * locale/global-locale.c: Likewise.
51447 * locale/localeinfo.h: Likewise.
51448 * mach/devstream.c: Likewise.
51449 * malloc/arena.c: Likewise.
51450 * malloc/set-freeres.c: Likewise.
51451 * misc/err.c: Likewise.
51452 * misc/getttyent.c: Likewise.
51453 * misc/mntent_r.c: Likewise.
51454 * posix/getopt.c: Likewise.
51455 * posix/wordexp.c: Likewise.
51456 * pwd/fgetpwent_r.c: Likewise.
51457 * resolv/Versions: Likewise.
51458 * resolv/res_hconf.c: Likewise.
51459 * shadow/fgetspent_r.c: Likewise.
51460 * shadow/putspent.c: Likewise.
51461 * stdio-common/printf_fphex.c: Likewise.
51462 * stdio-common/tmpfile.c: Likewise.
51463 * stdlib/abort.c: Likewise.
51464 * stdlib/fmtmsg.c: Likewise.
51465 * sunrpc/auth_unix.c: Likewise.
51466 * sunrpc/clnt_perr.c: Likewise.
51467 * sunrpc/clnt_tcp.c: Likewise.
51468 * sunrpc/clnt_udp.c: Likewise.
51469 * sunrpc/clnt_unix.c: Likewise.
51470 * sunrpc/openchild.c: Likewise.
51471 * sunrpc/svc_simple.c: Likewise.
51472 * sunrpc/svc_tcp.c: Likewise.
51473 * sunrpc/svc_udp.c: Likewise.
51474 * sunrpc/svc_unix.c: Likewise.
51475 * sunrpc/xdr.c: Likewise.
51476 * sunrpc/xdr_array.c: Likewise.
51477 * sunrpc/xdr_rec.c: Likewise.
51478 * sunrpc/xdr_ref.c: Likewise.
51479 * sunrpc/xdr_stdio.c: Likewise.
51481 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51483 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51485 2011-07-03 Andreas Jaeger <aj@suse.de>
51487 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51488 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51489 regenerate with gen-libm-tests.pl.
51491 2010-05-12 Petr Baudis <pasky@suse.cz>
51494 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51495 around j0() zero points by switching to j1().
51496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51501 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51508 Patch in part by Pavel Roskin <proski@gnu.org>.
51511 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51513 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51514 Free memory block if necessary.
51517 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51518 be NULL. Don't lock in this case.
51520 2011-09-09 Roland McGrath <roland@hack.frob.com>
51522 * elf/elf.h (ELFOSABI_GNU): New macro.
51523 (ELFOSABI_LINUX): Define to that.
51525 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51527 * string/strncat.c (strncat): Undef the symbol in case it has been
51528 defined in bits/string.h.
51530 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51532 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51534 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51537 2011-08-17 Andreas Jaeger <aj@suse.de>
51539 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51541 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51542 Ian Lance Taylor <iant@google.com>
51544 * math/libm-test.inc (lround_test): New testcase.
51545 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51547 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51549 * Makefile: Remove support for automatic cvs check-ins.
51550 * Makerules: Likewise.
51551 * config.make.in: Likewise.
51552 * configure.in: Likewise.
51553 * intl/Makefile: Likewise.
51554 * locale/Makefile: Likewise.
51555 * po/Makefile: Likewise.
51556 * posix/Makefile: Likewise.
51557 * sysdeps/gnu/Makefile: Likewise.
51558 * sysdeps/mach/hurd/Makefile: Likewise.
51559 * sysdeps/sparc/sparc32/Makefile: Likewise.
51562 * posix/Makefile (bug-regex32-ENV): Define.
51563 Patch by John Stanley <jpsinthemix@verizon.net>.
51565 * misc/Makefile (headers): Add bits/select2.h.
51566 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51567 * misc/bits/select2.h: New file.
51568 * include/bits/select2.h: New file.
51569 * debug/Makefile (routines): Add fdelt_chk.
51570 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51571 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51573 * debug/fdelt_chk.c: New file.
51575 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51576 * wcsmbs/test-wmemcmp.c: Likewise.
51577 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51578 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51580 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51582 * string/Makefile (strop-tests): Add memcmp.
51583 * string/test-wmemcmp.c: New file.
51584 * string/test-memcmp.c: Add wmemcmp support.
51586 2011-09-08 Roland McGrath <roland@hack.frob.com>
51589 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51592 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51593 garbage value in a __mach_port_mod_refs call in the cases of the
51594 task-self and thread-self ports.
51596 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51598 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51600 2011-09-08 Andreas Schwab <schwab@redhat.com>
51602 * elf/dl-load.c (lose): Check for non-null L.
51604 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51606 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51608 * elf/dl-libc.c (dlerror_run): Pass back error code from
51612 * elf/dl-load.c (lose): Free l_origin if it is valid.
51614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51621 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51623 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51625 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51626 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51629 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51630 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51631 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51632 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51633 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51634 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51636 2011-08-15 Alan Modra <amodra@gmail.com>
51639 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51640 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51641 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51642 ppc_mcount to static-only-routines.
51643 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51645 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51646 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51648 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51651 for finite and infinity parameters.
51653 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51656 and add nop instructions for throughput optimization.
51657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51659 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51662 aligned copy for power7 with vector-scalar instructions.
51663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51665 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51670 2011-09-07 Andreas Schwab <schwab@redhat.com>
51673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51676 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51679 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51680 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51684 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51687 Forgot to demangle the pointer.
51689 * sysdeps/i386/sysdep.h: Define atom_text_section.
51690 * sysdeps/x86_64/sysdep.h: Likewise.
51691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51692 section with atom_text_section.
51693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51701 already be defined. Change to take two parameters and don't assign
51702 result to variable. Adjust all users.
51703 Define INTERNAL_GETTIME if not already defined.
51704 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51707 HAVE_CLOCK_GETTIME_VSYSCALL.
51708 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51711 gettimeofday vsyscall, just use time.
51713 2011-09-06 Andreas Schwab <schwab@redhat.com>
51715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51718 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51720 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51724 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51726 syscall if possible.
51728 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51730 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51731 e_ident. Don't pass to find_mapsXX.
51732 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51734 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51737 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51738 * sysdeps/x86_64/multiarch/strchr.S: Update.
51739 Check bit_slow_BSF bit.
51740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51744 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51747 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51749 (tryshell): Define.
51750 (__spawni): Change last parameter to be flag. Test
51751 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51752 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51753 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51754 * posix/spawni.c: Likewise.
51755 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51756 * posix/spawnp.c: Likewise. Change normal version to use
51757 SPAWN_XFLAGS_USE_PATH.
51758 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51759 SPAWN_XFLAGS_TRY_SHELL.
51762 * posix/glob.h: Remove gcc 1.x support.
51765 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51767 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51770 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51772 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51773 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51776 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51779 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51781 * sysdeps/x86_64/wcscmp.S: New file.
51783 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51784 wcscmp-c wcscmp-sse2
51785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51786 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51788 * wcsmbs/wcscmp.c: Allow renaming.
51790 2011-09-05 David S. Miller <davem@davemloft.net>
51792 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51793 stack slot, rather than the struct return pointer slot.
51794 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51795 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51799 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51801 * po/ja.po: Update from translation team.
51804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51805 kernel in 64-bit binaries.
51807 2011-09-01 David S. Miller <davem@davemloft.net>
51809 * elf/elf.h (HWCAP_SPARC_*): Move to..
51810 * sysdeps/sparc/sysdep.h: this new file and add new values.
51811 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51812 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51813 _DL_HWCAP_COUNT to 24.
51814 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51816 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51817 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51818 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51820 instead of magic constants.
51821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51823 2011-08-31 David S. Miller <davem@davemloft.net>
51825 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51827 Reimplement to do errno handling inline.
51828 (SYSCALL_ERROR_HANDLER): New macro.
51829 (__SYSCALL_STRING): Do not do errno handling in asm.
51830 (__CLONE_SYSCALL_STRING): Delete.
51831 (__INTERNAL_SYSCALL_STRING): Delete.
51832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51833 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51834 (PSEUDO): Reimplement to do errno handling inline.
51835 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51836 (SYSCALL_ERROR_HANDLER): New macro.
51837 (__SYSCALL_STRING): Do not do errno handling in asm.
51838 (__CLONE_SYSCALL_STRING): Delete.
51839 (__INTERNAL_SYSCALL_STRING): Delete.
51840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51841 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51843 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51844 (inline_syscall*): Add 'err' argument.
51845 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51846 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51847 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51848 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51850 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51853 2011-08-30 Andreas Schwab <schwab@redhat.com>
51855 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51857 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51859 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51862 2011-08-24 David S. Miller <davem@davemloft.net>
51864 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51866 2011-08-24 Andreas Schwab <schwab@redhat.com>
51868 * elf/Makefile: Add rules to build and run unload8 test.
51869 * elf/unload8.c: New file.
51870 * elf/unload8mod1.c: New file.
51871 * elf/unload8mod1x.c: New file.
51872 * elf/unload8mod2.c: New file.
51873 * elf/unload8mod3.c: New file.
51875 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51878 2011-08-23 David S. Miller <davem@davemloft.net>
51880 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51881 subtract stack bias.
51882 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51883 %sp not %fp in calculations.
51884 (_JMPBUF_UNWINDS_ADJ): Likewise.
51886 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51887 (aio_suspend): Call it to force an exception region around the
51888 AIO_MISC_WAIT() invocation.
51890 2011-08-23 Andreas Schwab <schwab@redhat.com>
51892 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51895 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51897 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51899 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51900 and <dl-machine.h>.
51901 (Elf64_FuncDesc): Remove.
51903 2011-08-22 David S. Miller <davem@davemloft.net>
51905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51906 sigaltstack check, add missing cfi directives.
51907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51908 missing cfi directives, and sigaltstack handling.
51910 2011-08-16 Andreas Schwab <schwab@redhat.com>
51913 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51914 object is seen twice.
51915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51917 * elf/Makefile (distribute): Add tst-initorder2.c.
51918 (tests): Add tst-initorder2.
51919 (modules-names): Add tst-initorder2a tst-initorder2b
51920 tst-initorder2c tst-initorder2d. Add rules to build them.
51921 ($(objpfx)tst-initorder2.out): New rule.
51922 * elf/tst-initorder2.c: New file.
51923 * elf/tst-initorder2.exp: New file.
51925 2011-08-22 Andreas Schwab <schwab@redhat.com>
51927 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51929 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51930 dependencies back to end of function.
51932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51933 $(elfobjdir)/ld.so.
51935 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51938 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51940 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51941 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51942 of __vdso_gettimeofday.
51943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51944 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51946 (_libc_vdso_platform_setup): Remove initialization of
51947 __vdso_gettimeofday and __vdso_time.
51949 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51951 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51952 and fgetc_unlocked.
51953 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51956 * elf/dl-open.c (add_to_global): Report additions to the global scope
51957 for LD_DEBUG=scopes.
51958 (dl_open_worker): Also print scope of newly loaded dependencies.
51959 (_dl_show_scope): Indicate if there is no scope.
51962 * stdio-common/Makefile (tests): Add bug24.
51963 * stdio-common/bug24.c: New file.
51965 2011-08-19 Andreas Jaeger <aj@suse.de>
51968 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51969 non-existant file when using close-on-exec mode.
51971 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51974 the very first instruction.
51976 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51977 the CFI state in the end.
51978 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51979 inclusion of dl-trampoline.h.
51980 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51982 2011-08-19 Andreas Schwab <schwab@redhat.com>
51984 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51985 expectations for long double.
51987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51988 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51990 2011-08-14 David S. Miller <davem@davemloft.net>
51992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51993 artificual limit depends upon the system page size.
51995 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51997 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51998 * resolv/Makefile: Define CFLAGS-libresolv.
52000 2011-08-17 Andreas Schwab <schwab@redhat.com>
52002 * nss/makedb.c (compute_tables): Make variables used in nested
52005 2011-08-17 Ulrich Drepper <drepper@gmail.com>
52007 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52008 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52009 if buffer was too small.
52011 * elf/pldd.c (main): Attach to all threads in the process.
52012 Rewrite /proc handling to use *at functions.
52014 2011-08-16 Ulrich Drepper <drepper@gmail.com>
52016 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52017 specifies first scope to show.
52018 (dl_open_worker): Update callers. Move printing scope of new
52019 object to before the relocation.
52020 * elf/rtld.c (dl_main): Update _dl_show_scope call.
52021 * sysdeps/generic/ldsodefs.h: Update declaration.
52023 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52024 string for the scope number.
52026 2011-08-14 Ulrich Drepper <drepper@gmail.com>
52028 * nscd/servicescache.c (cache_addserv): Make sure written is always
52031 2011-08-14 Roland McGrath <roland@hack.frob.com>
52033 * sysdeps/i386/i486/bits/atomic.h
52034 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52035 statement expression, so as to suppress "set but not used" warning.
52036 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52038 * string/strncat.c (STRNCAT): Use prototype definition.
52040 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52041 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52043 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52044 (localedef-modules): Add localedef.
52045 (locale-modules): Add locale.
52047 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52048 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52049 to avoid a warning.
52051 2011-08-14 David S. Miller <davem@davemloft.net>
52053 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52054 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52056 2011-08-13 Ulrich Drepper <drepper@gmail.com>
52058 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52059 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52060 * elf/rtld.c (dl_main): Set l_name of vDSO.
52061 Call _dl_show_scope when DL_DEBUG_SCOPES.
52062 (process_dl_debug): Recognize scopes flag and also set it for all.
52063 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52064 Declare _dl_show_scope.
52066 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52067 (do_dlopen): Pass caller_dlopen to dl_open.
52068 (__libc_dlopen_mode): Initialize caller_dlopen.
52070 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52071 of libc. Make tolower call locale-independent. Optimize a bit by
52072 using isdigit instead of isalnum.
52073 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52075 2011-08-12 Ulrich Drepper <drepper@gmail.com>
52077 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52078 was a dependency or dynamically loaded.
52080 2011-08-11 Ulrich Drepper <drepper@gmail.com>
52082 * intl/l10nflist.c: Allow architecture-specific pop function.
52083 * sysdeps/x86_64/l10nflist.c: New file.
52085 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52088 2011-08-10 Andreas Schwab <schwab@redhat.com>
52090 * include/dirent.h: Add libc_hidden_proto for scandirat and
52091 scandirat64. Don't declare __scandirat64.
52092 * dirent/scandirat.c: Add libc_hidden_def.
52093 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52094 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52096 2011-08-10 David S. Miller <davem@davemloft.net>
52098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52104 2011-08-09 Ulrich Drepper <drepper@gmail.com>
52106 * Versions.def [libc]: Add GLIBC_2.15.
52107 * dirent/Makefile (routines): Add scandirat and scandirat64.
52108 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52110 * dirent/dirent.h: Declare scandirat and scandirat64.
52111 * dirent/scandirat.c: New file.
52112 * dirent/scandirat64.c: New file.
52113 * sysdeps/wordsize-64/scandirat.c: New file.
52114 * sysdeps/wordsize-64/scandirat64.c: New file.
52115 * dirent/opendir.c: Define opendirat.
52116 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52118 * dirent/scandir64.c: Adjust for scandir.c change.
52119 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52120 __scandirat64, and __scandir_cancel_handler.
52121 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52122 additional parameter and use openat instead of open (outside of ld.so).
52123 Add new __opendir as wrapper around __opendirat.
52124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52125 here without requiring old scandirat implementation.
52127 2011-08-08 Ulrich Drepper <drepper@gmail.com>
52129 * dirent/scandir.c (cancel_handler): Renamed to
52130 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52131 defined. Adjust users.
52132 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52135 2011-08-04 Ulrich Drepper <drepper@gmail.com>
52137 * string/test-string.h (IMPL): Use __STRING to expand name and then
52140 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52143 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52145 * string/Makefile: Update.
52146 (strop-tests): Append strncat.
52147 * string/test-wcscmp.c: New file.
52148 New comprehensive test for wcscmp.
52149 * string/test-strcmp.c: Update.
52150 (WIDE): New define.
52152 2011-07-22 Andreas Schwab <schwab@redhat.com>
52154 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52157 2011-07-26 Andreas Schwab <schwab@redhat.com>
52159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52160 encoding to ACE if AI_IDN.
52162 2011-08-01 Jakub Jelinek <jakub@redhat.com>
52164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52165 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52167 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52170 Fix overflow bug in strncat.
52171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52173 * string/test-strncat.c: Update.
52174 Add new tests for checking overflow bugs.
52176 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52179 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52180 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52181 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52183 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52184 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52185 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52186 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52189 (USE_AS_STRCAT): Define.
52190 Add strcat and strncat support.
52191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52193 2011-07-25 Andreas Schwab <schwab@redhat.com>
52195 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52196 __n bigger than INT_MAX+1.
52197 (__strncmp_g): Likewise.
52199 2011-07-23 Ulrich Drepper <drepper@gmail.com>
52201 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52202 * libio/stido.h: Likewise.
52204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52216 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52221 (_dl_x86_64_save_sse): Likewise.
52223 2011-07-22 Ulrich Drepper <drepper@gmail.com>
52225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52227 (_dl_x86_64_save_sse): Likewise.
52229 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52231 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52233 2011-07-21 Andreas Schwab <schwab@redhat.com>
52235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52237 (_dl_x86_64_save_sse): Use correct AVX check.
52239 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52242 bug in strncpy/strncat.
52243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52245 2011-07-21 Ulrich Drepper <drepper@gmail.com>
52247 * string/tester.c (test_strcat): Add tests for different alignments
52248 of source and destination.
52249 (test_strncat): Likewise.
52251 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52254 * posix/glob.c (glob): Check passed in values before using them in
52255 expressions to avoid some overflows.
52256 (glob_in_dir): Likewise.
52259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52260 check for AVX enablement so that we don't crash with old kernels and
52262 * elf/tst-audit4.c: Add same checks here.
52263 * elf/tst-audit6.c: Likewise.
52265 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52267 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52269 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52271 2011-07-20 Ulrich Drepper <drepper@gmail.com>
52273 * po/cs.po: Update from translation team.
52274 * po/bg.po: Likewise.
52276 2011-07-12 Marek Polacek <mpolacek@redhat.com>
52278 * misc/sys/cdefs.h: Add support for const attribute.
52279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52280 to gnu_dev_{major,minor,makedev} functions.
52282 2011-07-20 Marek Polacek <mpolacek@redhat.com>
52284 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52286 2011-07-20 Andreas Schwab <schwab@redhat.com>
52288 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52291 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52294 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52295 register in order to avoid conflicts with the soft frame pointer
52296 being held in r11 when necessary.
52297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52298 (INTERNAL_VSYSCALL_NCS): Likewise.
52300 2011-07-14 Marek Polacek <mpolacek@redhat.com>
52302 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52303 * elf/dl-fini.c (_dl_fini): Adjust caller.
52304 * elf/dl-close.c (_dl_close_worker): Likewise.
52305 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52307 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52309 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52310 "aux_cache->nlibs < 0".
52312 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52313 in the reload-count case.
52315 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52318 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52319 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52321 * sysdeps/x86_64/multiarch/strcat.S: New file.
52322 * sysdeps/x86_64/multiarch/strncat.S: New file.
52323 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52325 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52326 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52328 (USE_AS_STRCAT): Define.
52329 Add strcat and strncat support.
52330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52332 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52333 * string/strncat.c: Update.
52334 (USE_AS_STRNCAT): Define.
52335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52336 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52338 * sysdeps/x86_64/multiarch/init-arch.h
52339 (bit_Prefer_PMINUB_for_stringop): New.
52340 (index_Prefer_PMINUB_for_stringop): Likewise.
52341 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52342 bit_Prefer_PMINUB_for_stringop.
52344 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52346 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52348 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52349 of casting of buffer.
52350 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52351 buffer32 and buffer64.
52352 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52353 writes instead of casting of buffer.
52354 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52356 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52359 2011-07-19 Andreas Schwab <schwab@redhat.com>
52361 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52363 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52365 * nscd/nscd.c (termination_handler): Don't do anything for a database
52366 if it has not yet been initialized.
52368 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52370 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52372 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52374 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52376 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52378 * po/nl.po: Update from translation team.
52379 * po/sv.po: Likewise.
52381 2011-07-16 Roland McGrath <roland@hack.frob.com>
52383 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52384 now disallowed by GCC.
52386 * configure.in (use-default-link): Default to yes if a test -shared
52387 link meets our qualifications.
52388 * configure: Regenerated.
52390 * config.make.in (output-format): New variable.
52391 * configure.in: Check for ld --print-output-format support.
52392 * configure: Regenerated.
52393 * Makerules ($(common-objpfx)format.lds)
52394 [$(output-format) != unknown]: Just use $(output-format),
52395 instead of the linker-script munging.
52397 2011-07-14 Roland McGrath <roland@hack.frob.com>
52399 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52400 of $(common-objpfx)shlib.lds.
52401 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52403 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52404 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52406 * configure.in (-z relro check): Adjust test code to add a large
52407 writable data section after it.
52408 * configure: Regenerated.
52410 2011-07-11 Roland McGrath <roland@hack.frob.com>
52412 * configure.in (-z relro check): Fix test code to make the variable
52414 * configure: Regenerated.
52416 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52418 * nscd/nscd.h (struct traced_file): Define.
52419 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52420 elements. Add traced_files.
52421 (inotify_fd): Declare.
52422 (register_traced_file): Declare.
52423 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52424 (inotify_fd): Export.
52425 (resolv_conf_descr): Remove.
52426 (nscd_init): Move inotify descriptor creation to main.
52427 Don't register files for notification here.
52428 (register_traced_file): New function.
52429 (invalidate_cache): Don't use reset_res to determine whether to call
52430 res_init, go through the list of registered files.
52431 (main_loop_poll): The inotify descriptors are now stored in the
52432 structures for the traced files.
52433 (main_loop_epoll): Likewise
52434 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52435 to __nss_disable_nscd.
52436 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52437 for a database anymore. Check the records for all the registered
52439 * nss/Makefile (libnss_files-routines): Add files-init.
52440 (libnss_db-routines): Add db-init.
52441 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52442 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52443 * nss/nss_db/db-init.c: New file.
52444 * nss/nss_files/files-init.c: New file.
52445 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52446 __nss_lookup_function.
52447 (__nss_lookup_function): Call nss_load_library.
52448 (nss_load_all_libraries): New function.
52449 (__nss_disable_nscd): Take parameter with callback function for files
52450 to register. Set is_nscd. Load all the DSOs for the NSS modules
52451 used for the cached services.
52452 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52453 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52454 options for features to all the files in nscd.
52456 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52458 2011-07-10 Roland McGrath <roland@hack.frob.com>
52460 * csu/elf-init.c (__libc_csu_init): Comment typo.
52462 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52464 * po/pl.po: Update from translation team.
52465 * po/ja.po: Likewise.
52466 * po/ru.po: Likewise.
52467 * po/ko.po: Likewise.
52468 * po/fr.po: Likewise.
52470 2011-07-09 Roland McGrath <roland@hack.frob.com>
52472 * configure.in (.ctors/.dtors header and trailer check):
52473 Use an empirical test on a built program.
52474 * configure: Regenerated.
52476 * configure.in (-z relro check): Use an empirical test on a built DSO.
52477 Detect, but do not require, on ia64.
52478 * configure: Regenerated.
52480 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52481 Update tests that use readelf to use $READELF instead.
52482 * configure: Regenerated.
52484 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52486 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52487 if the result is not used.
52489 2011-07-05 Andreas Jaeger <aj@suse.de>
52492 * stdlib/tst-strtod.c: Add testcase.
52494 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52496 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52497 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52498 The latter has a higher limit. Take additional parameter to pass to
52500 (__pathconf): Pass file to __statfs_link_max.
52501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52503 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52507 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52511 (__statfs_filesize_max): Likewise.
52512 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52514 2011-07-05 Andreas Jaeger <aj@suse.de>
52516 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52518 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52520 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52522 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52525 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52527 * Makefile (strop-tests): Add strncat.
52528 * string/test-strncat.c: New file.
52530 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52532 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52534 2011-06-21 Andreas Jaeger <aj@suse.de>
52536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52537 Copy rule from iconvdata/Makefile.
52539 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52542 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52543 but no long options are defined, just return 'W'.
52545 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52548 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52550 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52552 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52554 (innetgr): Likewise.
52556 2011-07-05 Roland McGrath <roland@hack.frob.com>
52558 * config.make.in (install_root): Default to $(DESTDIR).
52560 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52564 2011-07-02 Roland McGrath <roland@hack.frob.com>
52566 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52568 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52569 containing directory rather than embedding absolute directory names.
52571 * scripts/check-local-headers.sh: Rewritten using awk.
52572 Match by word, not by line. Print error messages for matches.
52573 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52575 * Makerules [shlib-lds-flags empty]:
52576 ($(common-objpfx)libc_pic.opts): New target.
52577 ($(common-objpfx)libc_pic.os.clean): New target.
52578 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52580 * config.make.in (OBJCOPY): New variable.
52581 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52582 * configure: Regenerated.
52584 * config.make.in (use-default-link): New variable.
52585 * configure.in (use_default_link): Grok --with-default-link to set it.
52586 * configure: Regenerated.
52587 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52588 (shlib-lds, shlib-lds-flags): Define to empty.
52590 * Makerules (shlib-lds): New variable.
52591 (shlib-lds-flags): New variable.
52592 (build-shlib, build-moduile, build-module-asneeded): Use it.
52593 ($(common-objpfx)libc.so): Use $(shlib-lds).
52594 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52597 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52598 DT_FLAGS/DT_FLAGS_1 with zero flags.
52600 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52601 linker script munging.
52603 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52605 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52607 * crypt/sha512.c (sha512_process_block): Perform total addition using
52608 128-bit if possible.
52609 (__sha512_finish_ctx): Likewise.
52610 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52612 * crypt/sha256.c (SWAP64): Define.
52613 (sha256_process_block): Perform total addition using 64-bit if
52615 (__sha256_finish_ctx): Likewise.
52617 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52619 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52621 * nscd/hstcache.c (cache_addhst): Likewise.
52622 * nscd/grpcache.c (cache_addgr): Likewise.
52623 * nscd/aicache.c (addhstaiX): Likewise
52624 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52626 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52628 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52630 * nscd/hstcache.c (cache_addhst): Likewise.
52631 * nscd/grpcache.c (cache_addgr): Likewise.
52632 * nscd/aicache.c (addhstaiX): Likewise
52634 2011-07-01 Andreas Schwab <schwab@redhat.com>
52636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52637 domain only when needed.
52639 2011-06-30 Andreas Schwab <schwab@redhat.com>
52641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52642 is always restored.
52644 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52646 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52647 are re-adding the entry.
52648 * nscd/servicescache.c (cache_addserv): Likewise.
52650 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52652 * sysdeps/generic/dl-irel.h: fix protection against multiple
52654 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52656 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52659 * malloc/memusage.sh: Fix quoting in message.
52660 * debug/xtrace.sh: Likewise.
52662 * configure.in: Remove support for --experimental-malloc option, make
52664 * config.make.in: Likewise.
52665 * malloc/Makefile: Likewise.
52667 2011-06-27 Andreas Schwab <schwab@redhat.com>
52669 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52670 two-byte characters.
52672 2011-06-27 Roland McGrath <roland@hack.frob.com>
52674 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52675 AC_CACHE_CHECK invocation.
52676 * configure: Regenerated.
52678 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52680 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52683 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52684 bit from old_res_options.
52686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52688 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52689 value type for setfct.
52691 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52694 __gettimeofday instead of gettimeofday.
52696 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52698 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52700 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52707 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52710 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52711 strcpy-sse2-unaligned strncpy-sse2-unaligned
52712 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52713 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52714 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52715 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52716 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52719 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52720 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52721 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52722 (STRCPY): Support SSE2 and SSSE3 versions.
52724 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52728 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52729 kernels which artificially limit size of requests.
52731 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52734 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52735 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52736 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52737 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52738 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52739 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52740 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52743 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52744 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52745 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52746 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52747 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52749 Enable unaligned load optimization for Intel Core i3, i5 and i7
52751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52753 (index_Fast_Unaligned_Load): Define.
52754 (HAS_FAST_UNALIGNED_LOAD): Define.
52756 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52758 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52760 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52764 until it is clear that the information is realy needed.
52765 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52767 2011-06-22 Andreas Schwab <schwab@redhat.com>
52769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52771 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52774 /sys/devices/system/cpu/online if it is usable.
52776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52777 reading the information from the /proc filesystem to once a second.
52779 2011-06-21 Andreas Jaeger <aj@suse.de>
52781 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52782 NULL after inclusion of kernel headers.
52784 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52786 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52787 calls to internal_setent.
52790 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52791 addresses using gethostbyname4_r ignore IPv4 addresses.
52793 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52794 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52796 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52798 2011-06-20 David S. Miller <davem@davemloft.net>
52800 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52802 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52804 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52805 (elf_irel): Use it.
52806 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52807 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52808 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52809 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52810 * sysdeps/x86_64/dl-irel.h: Likewise.
52812 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52813 * elf/dl-sym.c: Likewise.
52815 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52817 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52818 need to dereference resplen2.
52820 2011-06-14 Andreas Schwab <schwab@redhat.com>
52822 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52824 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52826 * Makeconfig: Define vardbdir and inst_vardbdir.
52827 * nss/Makefile: Add rules to install db-Makefile.
52829 * nss/nss_db/db-XXX.c: Cleanup.
52831 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52832 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52834 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52835 * nss/makedb.c: Implement -g option to specify that value strings
52836 are generated and should not be added to table iterated over for
52838 * nss/nss_db/db-initgroups.c: New file.
52840 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52843 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52844 (internal_getgrouplist): Adjust to name change.
52845 Update use_initgroups_entry if this is not the first call.
52846 * nss/databases.def: Add initgroups entry.
52848 * nss/makedb.c (compute_tables): Check result of multiple hash table
52849 sizes to minimize maximum chain length.
52851 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52853 * Versions.def: Add entry for libnss_db.
52854 * shlib-versions: Likewise.
52855 * nss/Makefile: Add rules to build libnss_db.
52856 * nss/Versions: Add libnss_db information. Organize libnss_files
52858 * nss/db-Makefile: Add gshadow support. Change rules for the new
52859 makedb progra. Some minor improvements to generate smaller files.
52860 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52862 * nss/makedb.c: ...here.
52863 Improve database format to be smaller and require less memory at
52865 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52867 * nss/nss_db/db-netgrp.c: Likewise.
52868 * nss/nss_db/db-open.c: Likewise.
52869 * nss/nss_files/flies-XXX.x: Adjust comments.
52870 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52871 * nss/nss_files/files-grp.c: Likewise.
52872 * nss/nss_files/files-hosts.c: Likewise.
52873 * nss/nss_files/files-network.c: Likewise.
52874 * nss/nss_files/files-proto.c: Likewise.
52875 * nss/nss_files/files-pwd.c: Likewise.
52876 * nss/nss_files/files-rpc.c: Likewise.
52877 * nss/nss_files/files-service.c: Likewise.
52878 * nss/nss_files/files-sgrp.c: Likewise.
52879 * nss/nss_files/files-spwd.c: Likewise.
52880 * nss/nss_db/db-alias.c: Removed.
52881 * nss/nss_db/dummy-db.h: Removed.
52883 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52885 * nss/makedb.c: Rewritten to not use database library.
52886 * nss/Makefile: Update to build new makedb program.
52888 2011-06-14 Andreas Jaeger <aj@suse.de>
52890 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52891 memset declaration.
52893 2011-06-10 Andreas Schwab <schwab@redhat.com>
52895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52898 2011-06-10 Roland McGrath <roland@hack.frob.com>
52900 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52901 * elf/Makefile ($(objpfx)ld.so): Likewise.
52903 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52904 Don't list ld.so twice in dependencies.
52906 * posix/bug-regex31.c: Include <stdlib.h>.
52908 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52910 * nis/nss_compat/compat-spwd.c
52911 (getspent_next_nss_netgr): Remove unused variable.
52912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52914 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52915 nonmembers" output to use the right array.
52917 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52919 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52921 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52922 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52923 * catgets/gencat.c (read_input_file): Likewise.
52924 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52927 variable definition inside #if's controlling its use.
52929 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52931 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52933 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52935 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52938 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52940 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52941 * configure: Regenerated.
52943 * Makerules: Revert last change.
52944 * elf/Makefile: Likewise.
52946 2011-06-09 Roland McGrath <roland@hack.frob.com>
52948 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52949 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52950 (reloc-link): Likewise.
52952 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52954 * elf/Makefile: Add rules to build pldd.
52955 * elf/pldd.c: New file.
52956 * elf/pldd-xx.c: New file.
52958 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52960 * version.h: Update for 2.15 development version.
52962 2011-06-07 David S. Miller <davem@davemloft.net>
52964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52967 elf_machine_lazy_rel): Likewise.
52968 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52970 elf_machine_lazy_rel): Likewise.
52971 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52972 dl_hwcap via passed in argument.
52973 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52976 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52978 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52980 2011-06-06 Roland McGrath <roland@hack.frob.com>
52983 * manual/fdl-1.1.texi: New file, verbatim from:
52984 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52985 * manual/lgpl-2.1.texi: New file, verbatim from:
52986 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52987 * manual/Makefile (licenses): New variable, list those new file names.
52989 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52991 * manual/fdl.texi: File removed.
52992 * manual/lesser.texi: File removed.
52993 * manual/libc.texinfo (Copying, Documentation License):
52994 Use new @include file names, put @appendix directive before @include.
52996 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52999 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53000 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53001 (mq_open): Add __NTH.
53003 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53006 Assume Intel Core i3/i5/i7 processor if AVX is available.
53008 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53013 2011-05-31 Andreas Schwab <schwab@redhat.com>
53015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53016 memory. Use alloca_account. Fix memory leak when retrying.
53018 2011-05-31 Ulrich Drepper <drepper@gmail.com>
53020 * version.h (RELEASE): Bump for 2.14 release.
53021 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53023 * config.make.in (RANLIB): Remove entry.
53025 2011-05-30 Ulrich Drepper <drepper@gmail.com>
53027 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53028 (libc.pot): Work around missing support for .ksh extension in xgettext.
53031 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53032 if both request failed.
53033 (send_dg): In case of server errors clear resplen or *resplen2.
53036 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53037 when there are multiple maps.
53038 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53039 (_dl_fini): Remove test here.
53041 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53043 2011-05-29 Ulrich Drepper <drepper@gmail.com>
53046 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53047 bit from old_res_options.
53048 (gaih_inet): Likewise.
53051 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53054 * resolv/res_init.c (res_setoptions): Make the code more compact.
53057 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53061 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53063 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53066 * malloc/malloc.h: Declare malloc hook variables as volatile.
53068 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53072 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53073 raise in the comment.
53074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53076 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53078 2011-05-28 Ulrich Drepper <drepper@gmail.com>
53081 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53082 grow the buffers more if it already has to be sufficient.
53083 (build_wcs_upper_buffer): Likewise.
53084 * posix/regexec.c (check_matching): Likewise.
53085 (clean_state_log_if_needed): Likewise.
53086 (extend_buffers): Don't enlarge buffers beyond size of the input
53088 Patches mostly by Emil Wojak <emil@wojak.eu>.
53089 * posix/bug-regex32.c: New file.
53090 * posix/Makefile (tests): Add bug-regex32.
53092 * locale/findlocale.c (_nl_find_locale): Return right away if
53093 _nl_explode_name failed.
53094 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53098 * debug/xtrace.sh: Unify messages.
53099 * malloc/memusage.sh: Likewise.
53102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53103 time symbol from vDSO. Substitute with vsyscall if not available.
53104 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53108 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53109 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53110 Add sendmmsg and internal_sendmmsg.
53111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53115 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53116 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53119 2011-05-27 Ulrich Drepper <drepper@gmail.com>
53122 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53123 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53129 * iconvdata/Makefile (tests): Add bug-iconv9.
53130 * iconvdata/bug-iconv9.c: New file.
53132 2011-05-27 Andreas Schwab <schwab@redhat.com>
53135 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53137 2011-05-25 Jakub Jelinek <jakub@redhat.com>
53139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53140 (struct user_regs_struct): Change intcs field back to cs.
53142 2011-05-25 Ulrich Drepper <drepper@gmail.com>
53144 * po/ja.po: Update from translation team.
53146 2011-05-23 Ulrich Drepper <drepper@gmail.com>
53149 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53152 2011-05-20 Andreas Schwab <schwab@redhat.com>
53154 * stdlib/longlong.h: Update from GCC.
53156 2011-05-23 Andreas Schwab <schwab@redhat.com>
53158 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53160 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53161 Add parameter name.
53162 (__sysconf): Pass it down.
53164 2011-05-22 Ulrich Drepper <drepper@gmail.com>
53167 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53170 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53171 add in in __libc_use_alloca calls. Adjust callers.
53172 (glob): Use malloc in some situations.
53174 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53175 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53178 2011-05-21 Ulrich Drepper <drepper@gmail.com>
53180 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53181 and CLOCK_BOOTTIME_ALARM.
53184 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53187 * string/_strerror.c (__strerror_r): Print negative errors as signed
53191 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53192 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53193 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53195 * configure.in: Fix typo in redirection and correct removal of test
53196 files in two cases.
53199 * locale/setlocale.c (new_composite_name): Fix test to check for
53200 identical name of all categories.
53203 * libio/filedoalloc.c (local_isatty): New function.
53204 (_IO_file_doallocate): Use local_isatty.
53205 * stdio-common/perror.c (perror): In case a new stream is used
53206 forward the stream error.
53207 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53210 2011-05-20 Ulrich Drepper <drepper@gmail.com>
53213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53215 * include/alloca.h (extend_alloca_account): Define.
53218 * posix/regex.h: Fix comments with documentation of user-accessible
53219 fields after compilation and describe correct free'ing of pattern
53220 after re_compile_pattern.
53221 Patch by Reuben Thomas <rrt@sc3d.org>.
53223 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53225 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53226 and -mno-altivec to prevent the compiler from using Altivec and/or
53227 VSX instructions when the corresponding registers are not available.
53229 2011-05-19 Andreas Schwab <schwab@redhat.com>
53231 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53233 2011-05-19 Ulrich Drepper <drepper@gmail.com>
53235 * libio/freopen.c (freopen): Use __dup2, not dup2.
53236 * libio/freopen64.c (freopen64): Likewise.
53238 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53241 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53242 * math/Makefile (tests): Add test-powl.
53243 (CFLAGS-test-powl.c): Define.
53244 * math/test-powl.c: New file.
53246 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53248 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53250 2011-05-17 Ulrich Drepper <drepper@gmail.com>
53253 * iconvdata/gb18030.c: Update to GB18020-2005.
53255 2011-05-16 Ulrich Drepper <drepper@gmail.com>
53257 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53258 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53259 Patch by Aharon Robbins <arnold@skeeve.com>.
53262 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53266 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53267 through underflows.
53270 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53271 point to strings before performing equality test for error_one_per_line
53275 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53279 (struct user_fpregs_struct): Avoid __uint*_t types.
53282 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53283 symbol info. Use it instead of calling _dl_addr locally.
53284 (lock_and_info): New function.
53285 (tr_freehook): Call lock_and_info and pass symbol info as additional
53286 parameter to tr_where.
53287 (tr_mallochook): Likewise.
53288 (tr_reallochook): Likewise.
53289 (tr_memalignhook): Likewise.
53291 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53292 used and couldn't be at all thread-safe.
53294 2011-05-15 Ulrich Drepper <drepper@gmail.com>
53296 * libio/freopen.c (freopen): Don't close old file descriptor
53297 before the new one is opened. Instead dup the new file descriptor
53298 to the old one after the new stream is created.
53299 * libio/freopen64.c (freopen64): Likewise.
53300 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53301 * libio/fileops.c (_IO_new_file_close_it): Handle new
53302 _IO_FLAGS2_NOCLOSE flag.
53303 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53304 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53305 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53306 _IO_FLAGS2_NOCLOSE flag.
53307 * include/unistd.h: Add hidden_proto for dup3.
53308 Define __have_dup3.
53309 * io/dup3.c: Define hidden symbol.
53310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53313 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53314 when an incomplete long option is used.
53315 * posix/tst-getopt_long1.c: New file.
53316 * posix/Makefile (tests): Add tst-getopt_long1.
53319 * scripts/config.guess: Update from autoconf-2.68.
53320 * scripts/config.sub: Likewise.
53323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53325 (has_cpuclock): ...this. New function.
53326 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53327 macro here based on has_cpuclock code.
53330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53331 First byte (not low byte) is now always NUL.
53332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53335 Use non-cancelable interfaces.
53338 * locale/iso-639.def: Add entry for Sorani.
53341 * include/stdlib.h: Move include protection to the right place.
53342 Define abort_msg_s. Declare __abort_msg with it.
53343 * stdlib/abort.c (__abort_msg): Adjust type.
53344 * assert/assert.c (__assert_fail_base): New function. Majority
53345 of code from __assert_fail. Allocate memory for __abort_msg with
53347 (__assert_fail): Now call __assert_fail_base.
53348 * assert/assert-perr.c: Remove bulk of implementation. Use
53349 __assert_fail_base.
53350 * include/assert.hL Declare __assert_fail_base.
53351 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53353 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53355 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53359 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53360 until all modules are registered in the DTV.
53361 * elf/Makefile: Add rules to build and run tst-tls19.
53362 * elf/tst-tls19.c: New file.
53363 * elf/tst-tls19mod1.c: New file.
53364 * elf/tst-tls19mod2.c: New file.
53365 * elf/tst-tls19mod3.c: New file.
53366 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53369 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53373 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53374 two-byte sequence errors.
53375 * iconvdata/Makefile (tests): Add bug-iconv8.
53376 * iconvdata/bug-iconv8.c: New file.
53379 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53382 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53385 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53386 (dummy_getcfa): New function.
53387 (init): Get _Unwind_GetCFA address, use dummy if not found.
53388 (backtrace_helper): In recursion check, also check whether CFA changes.
53389 (__backtrace): Completely initialize arg.
53391 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53392 storing incomplete byte sequence in state object. Avoid testing for
53393 guaranteed too small input if we know there is enough data available.
53395 2011-05-11 Andreas Schwab <schwab@redhat.com>
53397 * Makeconfig (+link-pie): Indent.
53398 * Rules (binaries-pie): Define if $(have-fpie) and
53400 (binaries-shared): Also filter out $(binaries-pie).
53401 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53402 * nscd/Makefile (others-pie): Add nscd.
53403 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53404 ($(objpfx)nscd): Remove command override.
53405 * login/Makefile (others-pie): Add pt_chown.
53406 ($(objpfx)pt_chown): Remove command override.
53407 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53408 remove command overrides.
53410 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53412 * libio/tst_putwc.c: Fix error messages.
53415 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53416 currently writing and seek to current position when not.
53417 * libio/Makefile (tests): Add bug-fclose1.
53418 * libio/bug-fclose1.c: New file.
53420 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53423 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53424 don't set DF_1_NODELETE here.
53425 (do_lookup_x): When entering new entry test for copy relocation
53426 and if necessary set DF_1_NODELETE flag.
53427 * elf/tst-unique4.cc: New file.
53428 * elf/tst-unique4.h: New file.
53429 * elf/tst-unique4lib.cc: New file.
53430 * elf/Makefile: Add rules to build and run tst-unique4.
53431 Patch by Piotr Bury <pbury@goahead.com>.
53433 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53436 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53439 * misc/mntent_r.c (addmntent): Flush the stream after the output
53442 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53443 (is_trusted_path_normalize): Skip initial colon. Append slash
53444 to empty buffer. Duplicate is_trusted_path code but allow
53445 constructed patch to be prefix.
53446 (is_dst): Allow $ORIGIN followed by /.
53447 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53448 Correct testing of result of is_trusted_path_normalize
53449 (decompose_rpath): Fix warning.
53451 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53454 * grp/initgroups.c (internal_getgrouplist): When we found the service
53455 list through the initgroups entry in nsswitch.conf do not always
53456 continue on a successful lookup. Don't always use the
53457 __nss_group_database value if it is set.
53458 * nss/nsswitch.conf (initgroups): Change action for successful db
53459 lookup to continue for compatibility.
53461 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53464 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53466 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53468 * iconvdata/tst-tables.sh: Likewise.
53469 * iconvdata/cp770.c: New file.
53470 * iconvdata/cp771.c: New file.
53471 * iconvdata/cp772.c: New file.
53472 * iconvdata/cp773.c: New file.
53473 * iconvdata/cp774.c: New file.
53474 * iconvdata/testdata/CP770: New file.
53475 * iconvdata/testdata/CP770..UTF8: New file.
53476 * iconvdata/testdata/CP771: New file.
53477 * iconvdata/testdata/CP771..UTF8: New file.
53478 * iconvdata/testdata/CP772: New file.
53479 * iconvdata/testdata/CP772..UTF8: New file.
53480 * iconvdata/testdata/CP773: New file.
53481 * iconvdata/testdata/CP773..UTF8: New file.
53482 * iconvdata/testdata/CP774: New file.
53483 * iconvdata/testdata/CP774..UTF8: New file.
53485 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53487 * iconvdata/gen-8bit-gap.sh: Likewise.
53488 * iconvdata/gen-8bit.sh: Likewise.
53490 * locale/iso-639.def: Add ary entry.
53493 * locale/C-translit.h.in: Add U20A1 transliteration.
53496 * locale/iso-639.def: Add wae entry.
53497 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53500 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53504 * locale/C-translit.h.in: Add entry for U20B9.
53505 Patch by pravin.d.s@gmail.com.
53507 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53510 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53511 ENAMETOOLONG use generic getcwd.
53512 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53513 in rtld. Use *stat64.
53514 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53515 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53516 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53517 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53518 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53519 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53520 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53521 __fstatat64 macros.
53522 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53523 * dirent/rewinddir.c: Add libc_hidden_def.
53524 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53525 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53527 * include/dirent.h (__alloc_dir): Add flags parameter.
53528 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53529 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53531 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53532 from fdopendir if O_CLOEXEC is already set.
53534 2011-03-15 Alan Modra <amodra@gmail.com>
53536 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53537 l_tls_firstbyte_offset non-zero. Save padding offset in
53538 l_tls_firstbyte_offset for later use.
53539 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53540 freeing static tls block.
53542 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53544 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53545 where #ifdef was intended. The intent is to prevent ARG_MAX from
53546 being defined by the kernel headers.
53548 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53551 * resolv/resolv.h: Define RES_NOTLDQUERY.
53552 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53553 no-tld-query and set RES_NOTLDQUERY.
53554 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53555 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53556 modern BIND to search name as TLD unless forbidden.
53558 2011-05-07 Petr Baudis <pasky@suse.cz>
53559 Ulrich Drepper <drepper@gmail.com>
53562 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53563 (is_trusted_path): ...to here.
53564 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53565 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53566 using is_trusted_path_normalize() in setuid scripts.
53568 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53571 __BEGIN/__END_DECLS.
53573 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53576 NSS_STATUS_NOTFOUND if no record was found.
53578 2011-05-05 Andreas Schwab <schwab@redhat.com>
53580 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53581 (headers-not-in-tirpc): Remove rpc/netdb.h
53582 * resolv/netdb.h: Revert last change.
53584 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53586 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53587 circular dependency between libgcc.a and libc.a.
53589 2011-05-05 Andreas Schwab <schwab@redhat.com>
53591 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53592 * nis/Makefile: Don't install rpcsvc/*.
53593 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53594 instead of <rpc/types.h>.
53595 (MAXHOSTNAMELEN): Define.
53597 2011-05-03 Andreas Schwab <schwab@redhat.com>
53599 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53601 2011-04-28 Maciej Babinski <mbabinski@google.com>
53604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53605 gethostbyname4_r when IPv6 results are possible.
53607 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53610 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53611 _PC_PIPE_BUF handling.
53613 2011-04-30 Bruno Haible <bruno@clisp.org>
53616 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53617 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53619 * inet/getnameinfo.c (getnameinfo): Likewise.
53621 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53623 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53624 to groups setting in database lookup.
53625 * nss/nsswitch.conf: Add initgroups entry.
53627 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53630 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53632 Patch by Eric Blake <eblake@redhat.com>.
53634 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53636 * sunrpc/Makefile (need-export-routines): Add svc_run.
53637 (routines): Remove svc_run.
53638 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53639 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53640 * sunrpc/svc_run.c (svc_run): Likewise.
53641 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53643 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53646 problem in reallocation in last patch.
53648 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53650 * sunrpc/Makefile: Move inclusion of Rules.
53652 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53654 * nss/nss_files/files-initgroups.c: New file.
53655 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53656 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53657 _nss_files_initgroups_dyn.
53659 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53661 * elf/elf.h (R_ARM_IRELATIVE): Define.
53663 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53665 * po/ru.po: Update from translation team.
53667 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53669 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53672 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53676 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53681 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53689 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53694 * stdlib/bug-getcontext.c: New file.
53695 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53697 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53699 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53700 instructions into .machine "z9-109".
53701 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53702 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53704 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53706 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53707 between environment variables and auxiliary vector.
53709 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53711 * Makefile: Add rules to build linkobj/libc.so.
53712 * include/libc-symbols.h: Define libc_hidden_nolink.
53713 * include/rpc/auth.h: Mark functions which are to be hidden.
53714 * include/rpc/auth_des.h: Likewise.
53715 * include/rpc/auth_unix.h: Likewise.
53716 * include/rpc/clnt.h: Likewise.
53717 * include/rpc/des_crypt.h: Likewise.
53718 * include/rpc/key_prot.h: Likewise.
53719 * include/rpc/pmap_clnt.h: Likewise.
53720 * include/rpc/pmap_prot.h: Likewise.
53721 * include/rpc/pmap_rmt.h: Likewise.
53722 * include/rpc/rpc_msg.h: Likewise.
53723 * include/rpc/svc.h: Likewise.
53724 * include/rpc/svc_auth.h: Likewise.
53725 * include/rpc/xdr.h: Likewise.
53726 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53727 * nss/Makefile: Likewise.
53728 * sunrpc/Makefile: Don't install headers. Build library with normal
53729 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53730 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53731 for the compat linking library. Remove use of INTDEF/INTUSE.
53732 * sunrpc/auth_none.c: Likewise.
53733 * sunrpc/auth_unix.c: Likewise.
53734 * sunrpc/authdes_prot.c: Likewise.
53735 * sunrpc/authuxprot.c: Likewise.
53736 * sunrpc/clnt_gen.c: Likewise.
53737 * sunrpc/clnt_perr.c: Likewise.
53738 * sunrpc/clnt_raw.c: Likewise.
53739 * sunrpc/clnt_simp.c: Likewise.
53740 * sunrpc/clnt_tcp.c: Likewise.
53741 * sunrpc/clnt_udp.c: Likewise.
53742 * sunrpc/clnt_unix.c: Likewise.
53743 * sunrpc/des_crypt.c: Likewise.
53744 * sunrpc/des_soft.c: Likewise.
53745 * sunrpc/get_myaddr.c: Likewise.
53746 * sunrpc/key_call.c: Likewise.
53747 * sunrpc/key_prot.c: Likewise.
53748 * sunrpc/netname.c: Likewise.
53749 * sunrpc/pm_getmaps.c: Likewise.
53750 * sunrpc/pm_getport.c: Likewise.
53751 * sunrpc/pmap_clnt.c: Likewise.
53752 * sunrpc/pmap_prot.c: Likewise.
53753 * sunrpc/pmap_prot2.c: Likewise.
53754 * sunrpc/pmap_rmt.c: Likewise.
53755 * sunrpc/publickey.c: Likewise.
53756 * sunrpc/rpc_cmsg.c: Likewise.
53757 * sunrpc/rpc_common.c: Likewise.
53758 * sunrpc/rpc_dtable.c: Likewise.
53759 * sunrpc/rpc_prot.c: Likewise.
53760 * sunrpc/rpc_thread.c: Likewise.
53761 * sunrpc/rtime.c: Likewise.
53762 * sunrpc/svc.c: Likewise.
53763 * sunrpc/svc_auth.c: Likewise.
53764 * sunrpc/svc_authux.c: Likewise.
53765 * sunrpc/svc_raw.c: Likewise.
53766 * sunrpc/svc_run.c: Likewise.
53767 * sunrpc/svc_simple.c: Likewise.
53768 * sunrpc/svc_tcp.c: Likewise.
53769 * sunrpc/svc_udp.c: Likewise.
53770 * sunrpc/svc_unix.c: Likewise.
53771 * sunrpc/svcauth_des.c: Likewise.
53772 * sunrpc/xcrypt.c: Likewise.
53773 * sunrpc/xdr.c: Likewise.
53774 * sunrpc/xdr_array.c: Likewise.
53775 * sunrpc/xdr_float.c: Likewise.
53776 * sunrpc/xdr_intXX_t.c: Likewise.
53777 * sunrpc/xdr_mem.c: Likewise.
53778 * sunrpc/xdr_rec.c: Likewise.
53779 * sunrpc/xdr_ref.c: Likewise.
53780 * sunrpc/xdr_sizeof.c: Likewise.
53781 * sunrpc/xdr_stdio.c: Likewise.
53783 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53786 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53787 * sysdeps/ia64/dl-tls.h: Likewise.
53788 * sysdeps/powerpc/dl-tls.h: Likewise.
53789 * sysdeps/s390/dl-tls.h: Likewise.
53790 * sysdeps/sh/dl-tls.h: Likewise.
53791 * sysdeps/sparc/dl-tls.h: Likewise.
53792 * sysdeps/x86_64/dl-tls.h: Likewise.
53793 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53795 2011-03-14 Andreas Schwab <schwab@redhat.com>
53797 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53798 rpath element also skip the following colon.
53799 (expand_dynamic_string_token): Add is_path parameter and pass
53800 down to DL_DST_REQUIRED and _dl_dst_substitute.
53801 (decompose_rpath): Call expand_dynamic_string_token with
53802 non-zero is_path. Ignore empty rpaths.
53803 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53806 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53811 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53814 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53815 Patch by Filipe David Manana <fdmanana@apache.org>.
53817 2011-04-07 Andreas Schwab <schwab@redhat.com>
53819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53820 Maintain aligned stack.
53821 (CHECK_RSP): Remove unused macro.
53823 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53825 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53828 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53830 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53832 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53834 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53837 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53838 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53839 * sysdeps/x86_64/memmove.c: New file.
53840 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53841 (memcpy): Renamed to ...
53842 (__new_memcpy): This.
53843 (memcpy): Provide GLIBC_2_14 memcpy.
53844 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53845 (memcpy): Provide GLIBC_2_2_5 memcpy.
53847 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53850 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53852 2011-03-30 Andreas Schwab <schwab@redhat.com>
53854 * misc/syncfs.c: New file.
53855 * misc/Makefile (routines): Add syncfs.
53856 * posix/unistd.h: Declare syncfs.
53857 * sysdeps/unix/syscalls.list: Add syncfs.
53859 2011-04-01 Andreas Schwab <schwab@redhat.com>
53861 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53868 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53881 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53882 sync_file_range.c with -fexceptions.
53883 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53884 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53885 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53886 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53887 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53890 sync_file_range as cancellation point
53891 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53892 now a wrapper around __call_sync_file_range with cancellation handling.
53893 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53894 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53895 function name to __call_sync_file_range.
53896 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53897 Add call_sync_file_range.
53899 2011-04-01 Andreas Schwab <schwab@redhat.com>
53901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53904 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53906 * iconv/iconv.h: Fix typo in comment.
53907 * io/fcntl.h: Likewise.
53908 * libio/stdio.h: Likewise.
53909 * posix/spawn.h: Likewise.
53910 * posix/unistd.h: Likewise.
53911 * stdlib/stdlib.h: Likewise.
53912 * time/time.h: Likewise.
53913 * wcsmbs/wchar.h: Likewise.
53915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53916 open_by_handle): Add.
53917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53918 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53919 Augment a few comments.
53920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53925 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53928 * io/fcntl.h (AT_EMPTY_PATH): Define.
53930 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53932 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53933 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53934 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53936 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53937 * Versions.def: Add GLIBC_2.14.
53938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53941 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53947 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53950 * string/test-strncmp.c (do_page_test): New function.
53951 (check2): Likewise.
53952 (test_main): Call check2.
53953 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53955 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53959 Handle cache information in CPU leaf 4.
53960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53962 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53965 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53966 character representation.
53967 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53969 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53972 END(__isnan) to END(__isnanf) to match function entry point/label
53973 EALIGN(__isnanf,...).
53975 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53977 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53979 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53982 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53983 copy from the symbol referenced in the relocation to initialize the
53985 Patch by Piotr Bury <pbury@goahead.com>.
53986 * elf/Makefile: Add rules to build and tst-unique3.
53987 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53988 * elf/tst-unique3.cc: New file.
53989 * elf/tst-unique3.h: New file.
53990 * elf/tst-unique3lib.cc: New file.
53991 * elf/tst-unique3lib2.cc: New file.
53993 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53995 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53997 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53998 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54001 2011-03-06 Ulrich Drepper <drepper@gmail.com>
54003 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54004 to-be-loaded object along a path to loader is ld.so.
54006 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54007 Ulrich Drepper <drepper@gmail.com>
54009 * sysdeps/x86_64/memset.S: After aligning destination, code
54010 branches to different locations depending on the value of
54011 misalignment, when multiarch is enabled. Fix this.
54013 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54015 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54016 Set _x86_64_preferred_memory_instruction for AMD processsors.
54017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54018 Set bit_Prefer_SSE_for_memop for AMD processors.
54020 2011-03-04 Ulrich Drepper <drepper@gmail.com>
54022 * libio/fmemopen.c (fmemopen): Optimize a bit.
54024 2011-03-03 Andreas Schwab <schwab@redhat.com>
54026 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54028 2011-03-03 Roland McGrath <roland@redhat.com>
54030 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54032 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54034 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54035 __bzero_ultra1 instead of __memset_ultra1.
54037 2011-02-23 Andreas Schwab <schwab@redhat.com>
54038 Ulrich Drepper <drepper@gmail.com>
54041 * include/link.h (struct link_map): Add l_orig_initfini.
54042 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54043 returning unsuccessfully.
54044 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54045 close of a file loaded at startup, restore the original l_initfini
54047 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54048 list, store the pointer.
54049 * elf/Makefile ($(objpfx)noload-mem): New rule.
54050 (noload-ENV): Define.
54051 (tests): Add $(objpfx)noload-mem.
54052 * elf/noload.c: Include <memcheck.h>.
54053 (main): Call mtrace. Close all opened handles.
54055 2011-02-17 Andreas Schwab <schwab@redhat.com>
54058 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54059 dependencies are missing.
54061 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54063 Fix __if_freereq crash: Unlike the generic version which uses free,
54065 * sysdeps/mach/hurd/ifreq.h: New file.
54067 2011-01-27 Petr Baudis <pasky@suse.cz>
54068 Ulrich Drepper <drepper@gmail.com>
54071 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54072 to extend_alloca().
54073 * stdio-common/bug23.c: New file.
54074 * stdio-common/Makefile (tests): Add bug23.
54076 2010-09-28 Andreas Schwab <schwab@redhat.com>
54077 Ulrich Drepper <drepper@gmail.com>
54080 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54081 before performing relro protection. At old place add assertion
54082 to make sure nothing changed.
54084 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54085 Glauber de Oliveira Costa <glommer@gmail.com>
54087 * elf/elf.h: Add new ARM TLS relocs.
54089 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54092 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54094 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54096 * sysdeps/wordsize-64/tst-writev.c: New file.
54098 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54100 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54101 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54102 insns in _dl_start to prevent a TOC reference before relocs are
54105 2011-02-15 Ulrich Drepper <drepper@gmail.com>
54108 * Makeconfig: Remove RANLIB definition.
54109 * Makerules: Don't use RANLIB.
54110 * aclocal.m4: Remove ranlib test.
54111 * configure.in: No need to check for ranlib.
54112 * elf/rtld-Rules: Don't use RANLIB.
54114 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54116 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54118 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54119 inclusion protection macro.
54121 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54122 SIGRTMIN and SIGRTMAX and print information in that case only when
54123 SIGRTMIN is defined.
54125 2011-02-11 Jakub Jelinek <jakub@redhat.com>
54127 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54128 arginfo fn returning -1.
54130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54131 and thousands string is zero terminated.
54133 2011-02-03 Andreas Schwab <schwab@redhat.com>
54135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54136 sysdeps/unix/sysv/linux/bits/socket.h.
54138 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54140 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54141 (__CPU_COUNT): Remove old macros.
54142 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54143 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54144 (__CPU_ALLOC, __CPU_FREE): Add macros.
54145 (__sched_cpualloc, __sched_cpufree): Add declarations.
54147 2011-02-05 Ulrich Drepper <drepper@gmail.com>
54149 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54150 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54151 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54152 (readdhstai): Return value of addhstaiX call.
54153 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54154 (addgrbyX): Return value returned by cache_addgr.
54155 (readdgrbyname): Return value returned by addgrbyX.
54156 (readdgrbygid): Likewise.
54157 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54158 (addpwbyX): Return value returned by cache_addpw.
54159 (readdpwbyname): Return value returned by addhstbyX.
54160 (readdpwbyuid): Likewise.
54161 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54162 (addservbyX): Return value returned by cache_addserv.
54163 (readdservbyname): Return value returned by addservbyX:
54164 (readdservbyport): Likewise.
54165 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54166 (addhstbyX): Return value returned by cache_addhst.
54167 (readdhstbyname): Return value returned by addhstbyX.
54168 (readdhstbyaddr): Likewise.
54169 (readdhstbynamev6): Likewise.
54170 (readdhstbyaddrv6): Likewise.
54171 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54172 (readdinitgroups): Return value returned by addinitgroupsX.
54173 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54174 (prune_cache): Keep track of timeout value of re-added entries.
54175 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54176 * nscd/nscd.h: Adjust prototypes of readd* functions.
54178 2011-02-04 Roland McGrath <roland@redhat.com>
54180 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54181 (nis_stats): Likewise.
54182 * nis/nis_modify.c (nis_modify): Likewise.
54183 * nis/nis_remove.c (nis_remove): Likewise.
54184 * nis/nis_add.c (nis_add): Likewise.
54186 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54188 * posix/fnmatch_loop.c: Add some consts.
54190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54192 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54195 * config.make.in (config-cflags-novzeroupper): Define.
54196 * configure.in: Substitute libc_cv_cc_novzeroupper.
54197 * elf/Makefile (AVX-CFLAGS): Define.
54198 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54199 (CFLAGS-tst-auditmod4a.c): Likewise.
54200 (CFLAGS-tst-auditmod4b.c): Likewise.
54201 (CFLAGS-tst-auditmod6b.c): Likewise.
54202 (CFLAGS-tst-auditmod6c.c): Likewise.
54203 (CFLAGS-tst-auditmod7b.c): Likewise.
54204 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54206 2011-02-02 Ulrich Drepper <drepper@gmail.com>
54208 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54209 function to the callback.
54210 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54212 2011-02-02 Andreas Schwab <schwab@redhat.com>
54214 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54217 2011-01-19 Ulrich Drepper <drepper@gmail.com>
54220 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54222 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54224 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54227 * elf/Makefile: Add rules to build and run new test.
54228 * elf/tst-initorder.c: New file.
54229 * elf/tst-initorder.exp: New file.
54230 * elf/tst-initordera1.c: New file.
54231 * elf/tst-initordera2.c: New file.
54232 * elf/tst-initordera3.c: New file.
54233 * elf/tst-initordera4.c: New file.
54234 * elf/tst-initorderb1.c: New file.
54235 * elf/tst-initorderb2.c: New file.
54236 * elf/tst-order-a1.c: New file.
54237 * elf/tst-order-a2.c: New file.
54238 * elf/tst-order-a3.c: New file.
54239 * elf/tst-order-a4.c: New file.
54240 * elf/tst-order-b1.c: New file.
54241 * elf/tst-order-b2.c: New file.
54242 * elf/tst-order-main.c: New file.
54243 New test case by George Gensure <werkt0@gmail.com>.
54245 2010-10-01 Andreas Schwab <schwab@redhat.com>
54247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54248 decoding ACE if AI_CANONIDN.
54250 2011-01-18 Ulrich Drepper <drepper@gmail.com>
54252 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54254 2011-01-17 Ulrich Drepper <drepper@gmail.com>
54256 * version.h (RELEASE): Bump for 2.13 release.
54257 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54259 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54263 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54270 * posix/getconf.c: Update copyright year.
54271 * catgets/gencat.c: Likewise.
54272 * csu/version.c: Likewise.
54273 * debug/catchsegv.sh: Likewise.
54274 * debug/xtrace.sh: Likewise.
54275 * elf/ldconfig.c: Likewise.
54276 * elf/ldd.bash.in: Likewise.
54277 * elf/sprof.c (print_version): Likewise.
54278 * iconv/iconv_prog.c: Likewise.
54279 * iconv/iconvconfig.c: Likewise.
54280 * locale/programs/locale.c: Likewise.
54281 * locale/programs/localedef.c: Likewise.
54282 * malloc/memusage.sh: Likewise.
54283 * malloc/mtrace.pl: Likewise.
54284 * nscd/nscd.c (print_version): Likewise.
54285 * nss/getent.c: Likewise.
54287 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54288 PF_CAIF, and PF_ALG.
54289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54291 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54293 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54294 (modules-names): Use them.
54295 (ifunc-test-modules, ifunc-pie-tests): Define.
54296 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54297 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54298 (test-extras): Likewise.
54299 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54300 $(compile-command.c).
54301 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54302 (all-built-dso): Define.
54303 (check-textrel.out, check-execstack.out): Depend on it.
54305 * configure.in: Don't override --enable-multi-arch.
54307 2011-01-15 Ulrich Drepper <drepper@gmail.com>
54310 * nscd/hstcache.c (tryagain): Define.
54311 (cache_addhst): Return tryagain not notfound for temporary errors.
54312 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54315 2011-01-14 Ulrich Drepper <drepper@gmail.com>
54318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54319 to make the syscall.
54320 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54323 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54324 and fall back to matching as normal character if the string ends before
54325 the matching ']' is found. This is what POSIX requires.
54326 * posix/testfnm.c: Adjust test result.
54327 * posix/globtest.sh: Adjust test result. Add new test.
54328 * posix/tst-fnmatch.input: Likewise.
54329 * posix/tst-fnmatch2.c: Add new test.
54331 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54333 * elf/Makefile (check-execstack): Revert last change. Depend on
54335 (check-execstack.h): New target.
54336 (generated): Add check-execstack.h.
54337 * elf/check-execstack.c: Include "check-execstack.h".
54338 (main): Revert last change.
54339 (handle_file): Return zero if GNU_STACK is absent and
54340 DEFAULT_STACK_PERMS doesn't include PF_X.
54342 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54344 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54345 in child fails because the descriptor is already closed.
54346 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54347 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54351 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54355 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54356 temporary buffer used to handle multi lookups locally.
54357 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54359 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54361 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54364 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54366 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54367 alignment for SSE2.
54369 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54372 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54373 characters. When rounding increased number of integer digits recompute
54375 * stdio-common/tst-grouping.c: New file.
54376 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54378 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54380 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54381 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54383 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54385 * bits/select.h: Likewise.
54387 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54389 * po/ja.po: Update from translation team.
54391 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54394 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54395 implementation just like for lxstat, fxstatat, et al.
54397 2010-12-27 Jim Meyering <meyering@redhat.com>
54400 * posix/regexec.c (build_trtable): Return failure indication upon
54401 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54403 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54406 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54407 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54412 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54415 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54416 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54418 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54420 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54421 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54422 script has SORT_BY_INIT_PRIORITY.
54423 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54424 NO_CTORS_DTORS_SECTIONS is defined.
54425 * elf/soinit.c: Likewise.
54426 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54427 NO_CTORS_DTORS_SECTIONS is defined.
54428 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54429 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54430 * sysdeps/sh/init-first.c: Likewise.
54431 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54433 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54435 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54436 always use the slow path.
54438 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54440 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54441 similar rule which adds the sysdep directories to the header search in
54442 order to pick up the correct platform stackinfo.h.
54443 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54444 perform test if it is, otherwise return successfully without testing.
54445 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54446 DEFAULT_STACK_PERMS define in stackinfo.h.
54447 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54448 defined in stackinfo.h.
54449 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54450 DEFAULT_STACK_PERMS defined in stackinfo.h.
54451 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54452 * sysdeps/ia64/stackinfo.h: Likewise.
54453 * sysdeps/s390/stackinfo.h: Likewise.
54454 * sysdeps/sh/stackinfo.h: Likewise.
54455 * sysdeps/sparc/stackinfo.h: Likewise.
54456 * sysdeps/x86_64/stackinfo.h: Likewise.
54457 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54458 PF_X for powerpc64. Retain PF_X for powerpc32.
54460 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54462 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54465 GETDENTS_64BIT_ALIGNED.
54467 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54469 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54471 2010-12-10 Andreas Schwab <schwab@redhat.com>
54473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54476 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54477 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54479 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54480 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54482 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54485 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54488 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54490 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54492 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54494 * po/it.po: Update from translation team.
54496 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54501 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54503 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54505 2010-11-24 Andreas Schwab <schwab@redhat.com>
54507 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54509 (gaih_getanswer_slice): Likewise.
54511 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54515 2010-05-31 Petr Baudis <pasky@suse.cz>
54518 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54519 silently even in the chroot mode.
54521 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54523 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54524 last patch a bit. Pretty printing
54526 2010-05-31 Petr Baudis <pasky@suse.cz>
54529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54530 initialization of skip_initgroups_dyn.
54532 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54534 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54537 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54539 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54541 2010-11-11 Andreas Schwab <schwab@redhat.com>
54543 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54544 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54545 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54546 ($(objpfx)tst-fnmatch-mem): New rule.
54547 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54548 * posix/tst-fnmatch.c (main): Call mtrace.
54550 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54553 Support Intel processor model 6 and model 0x2c.
54555 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54560 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54563 * string/test-strncasecmp.c (check_result): New function.
54564 (do_one_test): Use it.
54565 (check1): New function.
54566 (test_main): Use it.
54567 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54568 Support strcasecmp and strncasecmp.
54570 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54573 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54576 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54578 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54582 * sysdeps/x86_64/multiarch/bzero.S: New file.
54583 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54584 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54585 * sysdeps/x86_64/multiarch/memset.S: New file.
54586 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54588 Set bit_Prefer_SSE_for_memop for Intel processors.
54589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54591 (index_Prefer_SSE_for_memop): Define.
54592 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54594 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54599 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54603 (__x86_64_raw_data_cache_size_half): Likewise.
54604 (__x86_64_raw_shared_cache_size): Likewise.
54605 (__x86_64_raw_shared_cache_size_half): Likewise.
54607 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54608 (__x86_64_raw_data_cache_size_half): Likewise.
54609 (__x86_64_raw_shared_cache_size): Likewise.
54610 (__x86_64_raw_shared_cache_size_half): Likewise.
54611 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54612 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54613 and __x86_64_raw_shared_cache_size_half. Round
54614 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54615 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54616 to multiple of 256 bytes.
54618 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54622 of inacessible symlinks. Verify result of symlink before returning it.
54623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54624 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54626 2010-10-28 Erich Ritz <erichritz@gmail.com>
54628 * math/math.h (isinf): Fix typo in comment.
54630 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54632 * po/da.po: Update from translation team.
54634 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54636 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54637 is added to the list.
54639 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54640 Ulrich Drepper <drepper@gmail.com>
54642 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54643 the global list here. Move code to...
54644 (_dl_add_to_namespace_list): ...here. New function.
54645 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54646 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54647 * elf/dl-load.c (lose): Don't remove the element from the list.
54648 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54649 (_dl_map_object): Likewise.
54651 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54654 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54655 into all bytes of SSE register.
54656 Patch by Richard Li <richardpku@gmail.com>.
54658 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54661 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54664 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54666 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54667 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54674 2010-10-22 Andreas Schwab <schwab@redhat.com>
54676 * include/dlfcn.h (__RTLD_SECURE): Define.
54677 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54678 mode & __RTLD_SECURE instead.
54679 (open_path): Rename preloaded parameter to secure.
54680 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54681 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54682 * elf/dl-deps.c (openaux): Likewise.
54683 * elf/rtld.c (struct map_args): Remove is_preloaded.
54684 (map_doit): Don't use it.
54685 (dl_main): Likewise.
54686 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54687 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54689 2010-09-09 Andreas Schwab <schwab@redhat.com>
54691 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54692 (sysd-rules-targets): Remove duplicates.
54693 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54694 rtld-%.$o dependency.
54696 2010-10-18 Andreas Schwab <schwab@redhat.com>
54698 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54699 _dl_map_object do it.
54701 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54703 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54704 fast fma builtins, define the macros in the C99 standard.
54705 (FP_FAST_FMAF): Likewise.
54706 (FP_FAST_FMAL): Likewise.
54707 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54709 * bits/mathdef.h: Update copyright year.
54710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54712 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54714 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54715 builtins, define the macros in the C99 standard.
54716 (FP_FAST_FMAF): Likewise.
54717 (FP_FAST_FMAL): Likewise.
54718 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54720 (FP_FAST_FMAF): Likewise.
54722 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54725 * math/libm-test.inc (fma_test): Some new testcases.
54726 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54728 y and infinite z. Do multiplication by C already in long double.
54729 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54731 y and infinite z. Do bitwise or of inexact bit into u.d.
54732 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54733 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54734 * sysdeps/i386/fpu/s_fma.S: Removed.
54735 * sysdeps/i386/fpu/s_fmal.S: Removed.
54737 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54740 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54742 computation is not scheduled after fetestexcept. Fix value
54743 of minimum denormal long double.
54745 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54748 * math/libm-test.inc (fma_test): Add some more tests.
54749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54752 2010-10-15 Andreas Schwab <schwab@redhat.com>
54754 * scripts/data/localplt-s390-linux-gnu.data: New file.
54755 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54757 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54760 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54761 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54763 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54765 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54767 if one of x and y is very large and the other is subnormal.
54768 * sysdeps/s390/fpu/s_fmaf.c: New file.
54769 * sysdeps/s390/fpu/s_fma.c: New file.
54770 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54771 * sysdeps/powerpc/fpu/s_fma.S: New file.
54772 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54774 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54776 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54779 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54782 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54783 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54784 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54785 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54787 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54789 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54792 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54793 * posix/bug-regex31.input: Add test case.
54795 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54797 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54798 * posix/bug-regex31.input: New file.
54801 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54802 (parse_sub_exp): Fix last change, use postorder.
54804 * posix/bug-regex31.c: New file.
54805 * posix/Makefile: Add rules to build and run bug-regex31.
54807 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54810 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54813 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54814 to have entries in sys_siglist.
54817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54820 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54823 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54824 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54825 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54826 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54828 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54829 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54830 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54831 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54832 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54833 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54834 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54835 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54836 * math/ftestexcept.c (fetestexcept): Likewise.
54837 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54838 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54839 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54840 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54841 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54842 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54845 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54848 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54851 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54853 * string/bug-strstr1.c: New file.
54854 * string/Makefile: Add rules to build and run bug-strstr1.
54856 2010-10-05 Eric Blake <eblake@redhat.com>
54859 * string/str-two-way.h (two_way_long_needle): Always clear memory
54860 when skipping input due to the shift table.
54862 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54865 * malloc/mcheck.c: Handle large requests.
54868 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54869 for strncmp and strncasecmp.
54870 * string/stratcliff.c: Add tests for strcmp and strncmp.
54871 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54873 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54875 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54878 2010-09-30 Andreas Jaeger <aj@suse.de>
54880 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54881 (CGROUP_SUPER_MAGIC): Define.
54882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54883 Handle btrfs and cgroup file systems.
54884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54887 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54889 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54890 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54892 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54895 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54896 trying to locate the ELF header.
54898 2010-09-27 Andreas Schwab <schwab@redhat.com>
54901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54902 Mask out sign-bit copies when constructing f_fsid.
54904 2010-09-24 Petr Baudis <pasky@suse.cz>
54906 * debug/stack_chk_fail_local.c: Add missing licence exception.
54907 * debug/warning-nop.c: Likewise.
54909 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54912 implementing getdents64 using getdents syscall, set d_type if
54913 __ASSUME_GETDENTS32_D_TYPE.
54915 2010-09-16 Andreas Schwab <schwab@redhat.com>
54917 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54918 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54920 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54923 * posix/unistd.h: Undo change of feature selection for ftruncate from
54926 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54928 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54931 2010-09-20 Andreas Schwab <schwab@redhat.com>
54933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54937 2010-09-14 Andreas Schwab <schwab@redhat.com>
54939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54940 variables after CHECK_SP call.
54941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54943 2010-09-13 Andreas Schwab <schwab@redhat.com>
54944 Ulrich Drepper <drepper@redhat.com>
54946 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54947 re-relocationg ld.so.
54948 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54949 _dl_init_paths call.
54950 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54953 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54955 * resolv/res_init.c (__res_vinit): Count the default server we added.
54957 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54958 Ulrich Drepper <drepper@redhat.com>
54961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54962 (____longjmp_chk): Use %ebx for saving value across system call.
54965 2010-09-06 Andreas Schwab <schwab@redhat.com>
54967 * manual/Makefile: Don't mix pattern rules with normal rules.
54969 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54971 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54973 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54974 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54976 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54980 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54983 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54984 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54986 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54988 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54989 * sysdeps/x86_64/addmul_1.S: Likewise.
54990 * sysdeps/x86_64/lshift.S: Likewise.
54991 * sysdeps/x86_64/mul_1.S: Likewise.
54992 * sysdeps/x86_64/rshift.S: Likewise.
54993 * sysdeps/x86_64/sub_n.S: Likewise.
54994 * sysdeps/x86_64/submul_1.S: Likewise.
54996 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54998 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54999 Define __sched_param instead of SCHED_* and sched_param when
55000 <bits/sched.h> is included with __need_schedparam defined.
55001 * bits/sched.h [__need_schedparam]
55002 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55003 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55004 (__defined_schedparam): Define to 1.
55005 (__sched_param): New structure, identical to sched_param.
55006 (__need_schedparam): Undefine.
55008 2010-08-31 Mike Frysinger <vapier@gentoo.org>
55010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55011 (epoll_create1): Declare.
55013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55015 2010-08-31 Andreas Schwab <schwab@redhat.com>
55018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55019 shifting retval into place.
55021 2010-09-01 Ulrich Drepper <drepper@redhat.com>
55023 * nis/rpcsvc/nis.h: Update copyright notice.
55024 * nis/rpcsvc/nis.x: Likewise.
55025 * nis/rpcsvc/nis_callback.h: Likewise.
55026 * nis/rpcsvc/nis_callback.x: Likewise.
55027 * nis/rpcsvc/nis_object.x: Likewise.
55028 * nis/rpcsvc/nis_tags.h: Likewise.
55029 * nis/rpcsvc/yp.h: Likewise.
55030 * nis/rpcsvc/yp.x: Likewise.
55031 * nis/rpcsvc/ypupd.h: Likewise.
55032 * nis/yp_xdr.c: Likewise.
55033 * nis/ypupdate_xdr.c: Likewise.
55035 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55036 mainly the body of pmap_getport. Add parameters to specify timeouts.
55037 (pmap_getport): Use __libc_rpc_getport.
55038 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55039 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55040 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55042 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55047 2010-08-27 Roland McGrath <roland@redhat.com>
55049 * sysdeps/i386/i686/multiarch/Makefile
55050 (CFLAGS-varshift.c): New variable.
55052 2010-08-27 Ulrich Drepper <drepper@redhat.com>
55054 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55055 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55059 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55061 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55063 * sysdeps/x86_64/strlen.S: Unroll the loop.
55064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55065 strlen-sse2 strlen-sse2-bsf.
55066 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55067 __strlen_no_bsf if bit_Slow_BSF is set.
55068 (__strlen_sse42): Removed.
55069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55070 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55072 2010-08-25 Roland McGrath <roland@redhat.com>
55074 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55075 * sysdeps/x86_64/multiarch/varshift.c: New file.
55076 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55077 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55078 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55081 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55084 strlen-sse2 strlen-sse2-bsf.
55085 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55086 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55087 (__strlen_sse2): Removed.
55088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55091 bit_Slow_BSF for Atom.
55092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55093 (index_Slow_BSF): Define.
55094 (HAS_SLOW_BSF): Define.
55096 2010-08-25 Ulrich Drepper <drepper@redhat.com>
55099 * resolv/res_init.c (__res_vinit): When no server address at all
55100 is given default to loopback.
55102 2010-08-24 Roland McGrath <roland@redhat.com>
55104 * configure.in: Remove config-name.h generation.
55105 * configure: Regenerated.
55106 * config-name.in: File removed.
55107 * scripts/config-uname.sh: New file.
55108 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55109 ($(objdir)config-name.h): New target.
55111 * sunrpc/rpc_parse.h: Avoid nested comment.
55113 2010-08-24 Richard Henderson <rth@redhat.com>
55114 Ulrich Drepper <drepper@redhat.com>
55115 H.J. Lu <hongjiu.lu@intel.com>
55117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55119 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55120 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55121 _mm_alignr_epi8 with _mm_loadu_si128.
55122 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55123 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55124 (__m128i_shift_right): Removed.
55125 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55126 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55127 * sysdeps/x86_64/multiarch/varshift.h: New file.
55128 * sysdeps/x86_64/multiarch/varshift.S: New file.
55130 2010-08-21 Mike Frysinger <vapier@gentoo.org>
55132 * configure.in: Move assembler checks to before sysdep dir checking.
55134 2010-08-20 Petr Baudis <pasky@suse.cz>
55136 * LICENSES: Sync the sunrpc license.
55138 2010-08-19 Ulrich Drepper <drepper@redhat.com>
55140 * sunrpc/auth_des.c: Update copyright notice once again.
55141 * sunrpc/auth_none.c: Likewise.
55142 * sunrpc/auth_unix.c: Likewise.
55143 * sunrpc/authdes_prot.c: Likewise.
55144 * sunrpc/authuxprot.c: Likewise.
55145 * sunrpc/bindrsvprt.c: Likewise.
55146 * sunrpc/clnt_gen.c: Likewise.
55147 * sunrpc/clnt_perr.c: Likewise.
55148 * sunrpc/clnt_raw.c: Likewise.
55149 * sunrpc/clnt_simp.c: Likewise.
55150 * sunrpc/clnt_tcp.c: Likewise.
55151 * sunrpc/clnt_udp.c: Likewise.
55152 * sunrpc/clnt_unix.c: Likewise.
55153 * sunrpc/des_crypt.c: Likewise.
55154 * sunrpc/des_soft.c: Likewise.
55155 * sunrpc/get_myaddr.c: Likewise.
55156 * sunrpc/getrpcport.c: Likewise.
55157 * sunrpc/key_call.c: Likewise.
55158 * sunrpc/key_prot.c: Likewise.
55159 * sunrpc/openchild.c: Likewise.
55160 * sunrpc/pm_getmaps.c: Likewise.
55161 * sunrpc/pm_getport.c: Likewise.
55162 * sunrpc/pmap_clnt.c: Likewise.
55163 * sunrpc/pmap_prot.c: Likewise.
55164 * sunrpc/pmap_prot2.c: Likewise.
55165 * sunrpc/pmap_rmt.c: Likewise.
55166 * sunrpc/rpc/auth.h: Likewise.
55167 * sunrpc/rpc/auth_unix.h: Likewise.
55168 * sunrpc/rpc/clnt.h: Likewise.
55169 * sunrpc/rpc/des_crypt.h: Likewise.
55170 * sunrpc/rpc/key_prot.h: Likewise.
55171 * sunrpc/rpc/netdb.h: Likewise.
55172 * sunrpc/rpc/pmap_clnt.h: Likewise.
55173 * sunrpc/rpc/pmap_prot.h: Likewise.
55174 * sunrpc/rpc/pmap_rmt.h: Likewise.
55175 * sunrpc/rpc/rpc.h: Likewise.
55176 * sunrpc/rpc/rpc_des.h: Likewise.
55177 * sunrpc/rpc/rpc_msg.h: Likewise.
55178 * sunrpc/rpc/svc.h: Likewise.
55179 * sunrpc/rpc/svc_auth.h: Likewise.
55180 * sunrpc/rpc/types.h: Likewise.
55181 * sunrpc/rpc/xdr.h: Likewise.
55182 * sunrpc/rpc_clntout.c: Likewise.
55183 * sunrpc/rpc_cmsg.c: Likewise.
55184 * sunrpc/rpc_common.c: Likewise.
55185 * sunrpc/rpc_cout.c: Likewise.
55186 * sunrpc/rpc_dtable.c: Likewise.
55187 * sunrpc/rpc_hout.c: Likewise.
55188 * sunrpc/rpc_main.c: Likewise.
55189 * sunrpc/rpc_parse.c: Likewise.
55190 * sunrpc/rpc_parse.h: Likewise.
55191 * sunrpc/rpc_prot.c: Likewise.
55192 * sunrpc/rpc_sample.c: Likewise.
55193 * sunrpc/rpc_scan.c: Likewise.
55194 * sunrpc/rpc_scan.h: Likewise.
55195 * sunrpc/rpc_svcout.c: Likewise.
55196 * sunrpc/rpc_tblout.c: Likewise.
55197 * sunrpc/rpc_util.c: Likewise.
55198 * sunrpc/rpc_util.h: Likewise.
55199 * sunrpc/rpcinfo.c: Likewise.
55200 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55201 * sunrpc/rpcsvc/key_prot.x: Likewise.
55202 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55203 * sunrpc/rpcsvc/mount.x: Likewise.
55204 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55205 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55206 * sunrpc/rpcsvc/rex.x: Likewise.
55207 * sunrpc/rpcsvc/rstat.x: Likewise.
55208 * sunrpc/rpcsvc/rusers.x: Likewise.
55209 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55210 * sunrpc/rpcsvc/spray.x: Likewise.
55211 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55212 * sunrpc/rtime.c: Likewise.
55213 * sunrpc/svc.c: Likewise.
55214 * sunrpc/svc_auth.c: Likewise.
55215 * sunrpc/svc_authux.c: Likewise.
55216 * sunrpc/svc_raw.c: Likewise.
55217 * sunrpc/svc_run.c: Likewise.
55218 * sunrpc/svc_simple.c: Likewise.
55219 * sunrpc/svc_tcp.c: Likewise.
55220 * sunrpc/svc_udp.c: Likewise.
55221 * sunrpc/svc_unix.c: Likewise.
55222 * sunrpc/svcauth_des.c: Likewise.
55223 * sunrpc/xcrypt.c: Likewise.
55224 * sunrpc/xdr.c: Likewise.
55225 * sunrpc/xdr_array.c: Likewise.
55226 * sunrpc/xdr_float.c: Likewise.
55227 * sunrpc/xdr_mem.c: Likewise.
55228 * sunrpc/xdr_rec.c: Likewise.
55229 * sunrpc/xdr_ref.c: Likewise.
55230 * sunrpc/xdr_sizeof.c: Likewise.
55231 * sunrpc/xdr_stdio.c: Likewise.
55233 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55236 2010-08-19 Andreas Schwab <schwab@redhat.com>
55238 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55240 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
55242 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55245 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55247 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55249 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55252 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55254 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55255 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55257 2010-07-26 Anton Blanchard <anton@samba.org>
55259 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55260 * malloc/arena.c (heap_trim): Likewise.
55262 2010-08-16 Ulrich Drepper <drepper@redhat.com>
55264 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55267 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55269 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55271 * sysdeps/i386/elf/Makefile: New file.
55273 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55275 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55276 from fanotify_init.
55277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55280 2010-08-15 Ulrich Drepper <drepper@redhat.com>
55282 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55284 * sysdeps/multiarch/strcmp.S: Likewise.
55286 2010-08-14 Ulrich Drepper <drepper@redhat.com>
55288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55289 strncase_l-nonascii.
55290 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55291 Add strncase_l-ssse3.
55292 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55293 * sysdeps/x86_64/strcmp.S: Likewise.
55294 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55295 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55296 * sysdeps/x86_64/strncase.S: New file.
55297 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55298 * sysdeps/x86_64/strncase_l.S: New file.
55299 * string/Makefile (strop-tests): Add strncasecmp.
55300 * string/test-strncasecmp.c: New file.
55302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55305 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55308 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55310 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55312 2010-08-12 Ulrich Drepper <drepper@redhat.com>
55314 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55315 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55316 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55318 2010-05-01 Alan Modra <amodra@gmail.com>
55320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55321 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55322 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55323 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55324 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55325 tidying. Don't tail-call __sigjmp_save for static lib.
55326 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55328 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55329 (CALL_MCOUNT): Add eh info, and nop after bl.
55330 (TAIL_CALL_SYSCALL_ERROR): New macro.
55331 (PSEUDO_RET): Use it.
55332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55333 Correct save location of integer regs and cr.
55334 (_dl_profile_resolve): Correct cr save location. Delete nops
55335 after bl when SHARED. Reduce cfi size a little by better
55336 placement of cfi directives.
55337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55338 make a stack frame. Instead use parm save area as a temp.
55339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55340 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55342 Don't make a stack frame for parent, use parm save area.
55343 Increase child stack frame to 112 bytes. Don't save unused reg,
55344 and adjust reg usage. Set up cfi on error recovery and
55345 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55347 (__makecontext): Add dummy nop after jump to exit.
55348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55349 Use correct parm save area and cr save, reduce stack frame.
55350 Correct cfi for possible PSEUDO_RET frame setup.
55351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55352 Branch to local label emitted by PSEUDO_RET rather than
55355 2010-08-12 Andreas Schwab <schwab@redhat.com>
55358 * locale/programs/locale.c (print_assignment): New function.
55359 (show_locale_vars): Use it.
55361 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55363 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55365 (struct statfs64): Likewise.
55366 (_STATFS_F_FLAGS): Define.
55367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55369 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55370 (ST_VALID): Define locally.
55371 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55372 __statvfs_getflags, use the provided value.
55373 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55374 __ASSUME_STATFS_F_FLAGS.
55376 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55379 Add sys/fanotify.h.
55380 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55381 fanotify_mask for GLIBC_2.13.
55382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55383 fanotify_init and fanotify_mark.
55384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55385 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55389 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55390 prlimit64 for GLIBC_2.13.
55391 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55397 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55401 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55404 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55405 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55407 * nss/Makefile: Add rules to build and run tst-nss-test1.
55408 * shlib-versions: Add entry for libnss_test1.
55409 * nss/nss_test1.c: New file.
55410 * nss/tst-nss-test1.c: New file.
55412 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55413 (__nss_configure_lookup): Set appropriate entry in
55414 __nss_configure_lookup to true.
55415 * nss/nsswitch.h: Define enum with indeces of databases in
55416 databases and __nss_database_custom arrays. Declare
55417 __nss_database_custom.
55418 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55419 to avoid using nscd when custom rules are installed.
55420 * nss/getXXbyYY_r.c: Likewise.
55421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55423 * nss/nss_files/files-parse.c: Whitespace fixes.
55425 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55428 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55429 * posix/fnmatch_loop.c: Likewise.
55431 2010-07-17 Andi Kleen <ak@linux.intel.com>
55433 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55434 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55435 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55436 * Versions.def [GLIBC_2.13]: Add.
55438 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55441 Also fail if tpwd after pwuid call is NULL.
55443 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55445 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55446 when converting to ms.
55448 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55450 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55451 EOPNOTSUPP errors with ENOTTY.
55452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55453 EOPNOTSUPP errors with ENOTTY.
55455 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55458 Add strcasecmp_l-ssse3.
55459 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55461 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55465 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55467 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55469 * string/Makefile (strop-tests): Add strcasecmp.
55470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55471 strcasecmp_l-nonascii.
55472 (gen-as-const-headers): Add locale-defines.sym.
55473 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55474 * sysdeps/x86_64/strcasecmp.S: New file.
55475 * sysdeps/x86_64/strcasecmp_l.S: New file.
55476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55477 * sysdeps/x86_64/locale-defines.sym: New file.
55478 * string/test-strcasecmp.c: New file.
55480 * string/test-strcasestr.c: Test both ends of the range of characters.
55481 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55483 2010-07-29 Roland McGrath <roland@redhat.com>
55486 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55488 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55490 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55493 2010-07-27 Andreas Schwab <schwab@redhat.com>
55495 * manual/memory.texi (Malloc Tunable Parameters): Document
55498 2010-07-26 Roland McGrath <roland@redhat.com>
55501 * configure.in (-fgnu89-inline check): Set and substitute
55502 gnu89_inline, not libc_cv_gnu89_inline.
55503 * configure: Regenerated.
55504 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55506 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55508 * string/test-strnlen.c: New file.
55509 * string/Makefile (strop-tests): Add strnlen.
55510 * string/tester.c (test_strnlen): Add a few more test cases.
55511 * string/tst-strlen.c: Better error reporting.
55513 * sysdeps/x86_64/strnlen.S: New file.
55515 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55518 lower-latency instructions.
55520 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55522 * string/test-strcasestr.c: New file.
55523 * string/test-strstr.c: New file.
55524 * string/Makefile (strop-tests): Add strstr and strcasestr.
55525 * string/str-two-way.h: Don't undefine MAX.
55526 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55528 2010-07-21 Andreas Schwab <schwab@redhat.com>
55530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55531 strcasestr-nonascii.
55532 (CFLAGS-strcasestr-nonascii.c): Define.
55533 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55535 Remove unused attribute.
55537 2010-07-20 Roland McGrath <roland@redhat.com>
55539 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55540 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55541 ld.so.cache was broken. With it, there is no way to disable dsocaps
55542 like LD_HWCAP_MASK can disable hwcaps.
55544 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55546 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55548 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55550 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55551 call in strcasestr.
55552 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55553 __strcasestr_sse42_nonascii.
55554 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55555 strcasestr-nonascii.c.
55556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55558 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55565 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55570 2010-07-06 Andreas Schwab <schwab@redhat.com>
55573 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55576 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55579 _PC_PIPE_BUF using F_GETPIPE_SZ.
55581 2010-07-05 Roland McGrath <roland@redhat.com>
55583 * manual/arith.texi (Rounding Functions): Fix rint description
55584 implicit in round description.
55586 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55588 * elf/Makefile: Fix linking for a few tests to make recent linker
55591 2010-06-30 Andreas Schwab <schwab@redhat.com>
55593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55594 $(common-objpfx)libc_nonshared.a.
55596 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55598 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55599 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55600 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55602 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55620 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55621 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55622 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55623 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55624 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55625 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55626 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55627 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55628 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55629 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55630 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55631 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55647 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55649 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55650 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55651 * string/memmove.c (memmove): Renamed to ...
55652 (MEMMOVE): ...this. Default to memmove.
55653 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55654 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55657 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55658 mempcpy-ssse3-back memmove-ssse3-back.
55659 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55662 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55663 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55664 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55665 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55666 * sysdeps/x86_64/multiarch/memmove.c: New file.
55667 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55668 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55669 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55670 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55671 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55674 (index_Fast_Copy_Backward): Define.
55675 (HAS_ARCH_FEATURE): Define.
55676 (HAS_FAST_REP_STRING): Define.
55677 (HAS_FAST_COPY_BACKWARD): Define.
55679 2010-06-21 Andreas Schwab <schwab@redhat.com>
55681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55682 Restore proper fallback handling.
55684 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55687 * posix/group_member.c (__group_member): Correct checking loop.
55689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55690 OOM in getpwuid_r correctly. Return error number when the caller
55691 should return, otherwise -1.
55692 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55693 call returning > 0 value.
55694 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55696 2010-06-07 Andreas Schwab <schwab@redhat.com>
55698 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55699 libc_nonshared.a from targets in modules-names.
55701 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55703 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55706 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55713 2010-06-02 Andreas Schwab <schwab@redhat.com>
55715 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55717 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55728 2010-06-14 Roland McGrath <roland@redhat.com>
55730 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55732 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55734 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55735 __REDIRECT followed by __THROW.
55736 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55737 * posix/getopt.h (getopt): Likewise.
55739 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55741 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55742 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55743 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55745 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55746 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55748 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55752 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55756 Properly check family and model.
55758 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55762 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55764 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55766 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55768 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55771 2010-05-19 Andreas Schwab <schwab@redhat.com>
55773 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55776 2010-05-21 Andreas Schwab <schwab@redhat.com>
55778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55779 and internal_recvmmsg.
55780 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55783 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55785 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55789 2010-05-20 Andreas Schwab <schwab@redhat.com>
55791 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55793 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55795 POWER7 optimizations.
55796 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55797 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55799 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55801 * version.h: Update for 2.13 development version.
55803 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55805 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55806 exceptions. Return 0.
55808 2010-05-07 Roland McGrath <roland@redhat.com>
55810 * elf/ldconfig.c (main): Add a const.
55812 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55814 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55815 (args_options): Add no-idn option.
55816 (ahosts_keys_int): Add idn_flags to ai_flags.
55817 (parse_option): Handle 'i' option to clear idn_flags.
55819 * malloc/malloc.c (_int_free): Possible race in the most recently
55820 added check. Only act on the data if no current modification
55823 See ChangeLog.17 for earlier changes.